aws-sdk-s3control 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3control/client.rb +676 -77
- data/lib/aws-sdk-s3control/client_api.rb +298 -0
- data/lib/aws-sdk-s3control/types.rb +945 -56
- data/lib/aws-sdk-s3control.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a017dac3daaf23028de3bdcb31de7a4175d433b68249782d7ae2431f54b0d085
|
4
|
+
data.tar.gz: 2ebd70149f7d5dc8e4cc87fcf6078448aa62389531ee3016fbb19b13c407bf87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5d487345db913952e7525387ed11f4d3782ae9a676a0da1e2623c360103244b8639591b28c699abc89a8369c63ff35b585d9a7f4b1fdc62cbcdec8c9b1af683
|
7
|
+
data.tar.gz: 24d18160efcf6c82faf88478fc2ccaf8e0a002791555f6927e08e4b7ded630a1cfba367a30d503e75908e4741a56f89111f9e5ca46fc74c49ba0e4a17172d836
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2021-09-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - S3 Multi-Region Access Points provide a single global endpoint to access a data set that spans multiple S3 buckets in different AWS Regions.
|
8
|
+
|
4
9
|
1.39.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -385,8 +385,8 @@ module Aws::S3Control
|
|
385
385
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html
|
386
386
|
#
|
387
387
|
# @option params [required, String] :account_id
|
388
|
-
# The account ID for the owner of the bucket for
|
389
|
-
# create an access point.
|
388
|
+
# The Amazon Web Services account ID for the owner of the bucket for
|
389
|
+
# which you want to create an access point.
|
390
390
|
#
|
391
391
|
# @option params [required, String] :name
|
392
392
|
# The name you want to assign to this access point.
|
@@ -478,7 +478,8 @@ module Aws::S3Control
|
|
478
478
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html
|
479
479
|
#
|
480
480
|
# @option params [required, String] :account_id
|
481
|
-
# The account ID for owner of the specified Object
|
481
|
+
# The Amazon Web Services account ID for owner of the specified Object
|
482
|
+
# Lambda Access Point.
|
482
483
|
#
|
483
484
|
# @option params [required, String] :name
|
484
485
|
# The name you want to assign to this Object Lambda Access Point.
|
@@ -715,7 +716,7 @@ module Aws::S3Control
|
|
715
716
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html
|
716
717
|
#
|
717
718
|
# @option params [required, String] :account_id
|
718
|
-
# The account ID that creates the job.
|
719
|
+
# The Amazon Web Services account ID that creates the job.
|
719
720
|
#
|
720
721
|
# @option params [Boolean] :confirmation_required
|
721
722
|
# Indicates whether confirmation is required before Amazon S3 runs the
|
@@ -913,6 +914,94 @@ module Aws::S3Control
|
|
913
914
|
req.send_request(options)
|
914
915
|
end
|
915
916
|
|
917
|
+
# Creates a Multi-Region Access Point and associates it with the
|
918
|
+
# specified buckets. For more information about creating Multi-Region
|
919
|
+
# Access Points, see [Creating Multi-Region Access Points][1] in the
|
920
|
+
# *Amazon S3 User Guide*.
|
921
|
+
#
|
922
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
923
|
+
# more information about the restrictions around managing Multi-Region
|
924
|
+
# Access Points, see [Managing Multi-Region Access Points][2] in the
|
925
|
+
# *Amazon S3 User Guide*.
|
926
|
+
#
|
927
|
+
# This request is asynchronous, meaning that you might receive a
|
928
|
+
# response before the command has completed. When this request provides
|
929
|
+
# a response, it provides a token that you can use to monitor the status
|
930
|
+
# of the request with `DescribeMultiRegionAccessPointOperation`.
|
931
|
+
#
|
932
|
+
# The following actions are related to `CreateMultiRegionAccessPoint`\:
|
933
|
+
#
|
934
|
+
# * [DeleteMultiRegionAccessPoint][3]
|
935
|
+
#
|
936
|
+
# * [DescribeMultiRegionAccessPointOperation][4]
|
937
|
+
#
|
938
|
+
# * [GetMultiRegionAccessPoint][5]
|
939
|
+
#
|
940
|
+
# * [ListMultiRegionAccessPoints][6]
|
941
|
+
#
|
942
|
+
#
|
943
|
+
#
|
944
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html
|
945
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
946
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
|
947
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
|
948
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
|
949
|
+
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
|
950
|
+
#
|
951
|
+
# @option params [required, String] :account_id
|
952
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
953
|
+
# Access Point. The owner of the Multi-Region Access Point also must own
|
954
|
+
# the underlying buckets.
|
955
|
+
#
|
956
|
+
# @option params [required, String] :client_token
|
957
|
+
# An idempotency token used to identify the request and guarantee that
|
958
|
+
# requests are unique.
|
959
|
+
#
|
960
|
+
# **A suitable default value is auto-generated.** You should normally
|
961
|
+
# not need to pass this option.**
|
962
|
+
#
|
963
|
+
# @option params [required, Types::CreateMultiRegionAccessPointInput] :details
|
964
|
+
# A container element containing details about the Multi-Region Access
|
965
|
+
# Point.
|
966
|
+
#
|
967
|
+
# @return [Types::CreateMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
968
|
+
#
|
969
|
+
# * {Types::CreateMultiRegionAccessPointResult#request_token_arn #request_token_arn} => String
|
970
|
+
#
|
971
|
+
# @example Request syntax with placeholder values
|
972
|
+
#
|
973
|
+
# resp = client.create_multi_region_access_point({
|
974
|
+
# account_id: "AccountId", # required
|
975
|
+
# client_token: "MultiRegionAccessPointClientToken", # required
|
976
|
+
# details: { # required
|
977
|
+
# name: "MultiRegionAccessPointName", # required
|
978
|
+
# public_access_block: {
|
979
|
+
# block_public_acls: false,
|
980
|
+
# ignore_public_acls: false,
|
981
|
+
# block_public_policy: false,
|
982
|
+
# restrict_public_buckets: false,
|
983
|
+
# },
|
984
|
+
# regions: [ # required
|
985
|
+
# {
|
986
|
+
# bucket: "BucketName", # required
|
987
|
+
# },
|
988
|
+
# ],
|
989
|
+
# },
|
990
|
+
# })
|
991
|
+
#
|
992
|
+
# @example Response structure
|
993
|
+
#
|
994
|
+
# resp.request_token_arn #=> String
|
995
|
+
#
|
996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateMultiRegionAccessPoint AWS API Documentation
|
997
|
+
#
|
998
|
+
# @overload create_multi_region_access_point(params = {})
|
999
|
+
# @param [Hash] params ({})
|
1000
|
+
def create_multi_region_access_point(params = {}, options = {})
|
1001
|
+
req = build_request(:create_multi_region_access_point, params)
|
1002
|
+
req.send_request(options)
|
1003
|
+
end
|
1004
|
+
|
916
1005
|
# Deletes the specified access point.
|
917
1006
|
#
|
918
1007
|
# All Amazon S3 on Outposts REST API requests for this action require an
|
@@ -1280,21 +1369,22 @@ module Aws::S3Control
|
|
1280
1369
|
#
|
1281
1370
|
# This implementation of the DELETE action uses the policy subresource
|
1282
1371
|
# 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
|
1284
|
-
# owns the bucket, the calling identity must have
|
1285
|
-
# `s3-outposts:DeleteBucketPolicy` permissions on the specified
|
1286
|
-
# bucket and belong to the bucket owner's account to use this
|
1287
|
-
# For more information, see [Using Amazon S3 on Outposts][2] in
|
1288
|
-
# S3 User Guide*.
|
1372
|
+
# you are using an identity other than the root user of the Amazon Web
|
1373
|
+
# Services account that owns the bucket, the calling identity must have
|
1374
|
+
# the `s3-outposts:DeleteBucketPolicy` permissions on the specified
|
1375
|
+
# Outposts bucket and belong to the bucket owner's account to use this
|
1376
|
+
# action. For more information, see [Using Amazon S3 on Outposts][2] in
|
1377
|
+
# *Amazon S3 User Guide*.
|
1289
1378
|
#
|
1290
1379
|
# If you don't have `DeleteBucketPolicy` permissions, Amazon S3 returns
|
1291
1380
|
# a `403 Access Denied` error. If you have the correct permissions, but
|
1292
1381
|
# you're not using an identity that belongs to the bucket owner's
|
1293
1382
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
1294
1383
|
#
|
1295
|
-
# As a security precaution, the root user of the
|
1296
|
-
# bucket can always use this action, even if the
|
1297
|
-
# denies the root user the ability to perform this
|
1384
|
+
# As a security precaution, the root user of the Amazon Web Services
|
1385
|
+
# account that owns a bucket can always use this action, even if the
|
1386
|
+
# policy explicitly denies the root user the ability to perform this
|
1387
|
+
# action.
|
1298
1388
|
#
|
1299
1389
|
# For more information about bucket policies, see [Using Bucket Policies
|
1300
1390
|
# and User Policies][3].
|
@@ -1395,7 +1485,8 @@ module Aws::S3Control
|
|
1395
1485
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html
|
1396
1486
|
#
|
1397
1487
|
# @option params [required, String] :account_id
|
1398
|
-
# The account ID of the Outposts bucket tag set to
|
1488
|
+
# The Amazon Web Services account ID of the Outposts bucket tag set to
|
1489
|
+
# be removed.
|
1399
1490
|
#
|
1400
1491
|
# @option params [required, String] :bucket
|
1401
1492
|
# The bucket ARN that has the tag set to be removed.
|
@@ -1454,7 +1545,8 @@ module Aws::S3Control
|
|
1454
1545
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html
|
1455
1546
|
#
|
1456
1547
|
# @option params [required, String] :account_id
|
1457
|
-
# The account ID associated with the S3 Batch
|
1548
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
1549
|
+
# Operations job.
|
1458
1550
|
#
|
1459
1551
|
# @option params [required, String] :job_id
|
1460
1552
|
# The ID for the S3 Batch Operations job whose tags you want to delete.
|
@@ -1477,8 +1569,83 @@ module Aws::S3Control
|
|
1477
1569
|
req.send_request(options)
|
1478
1570
|
end
|
1479
1571
|
|
1480
|
-
#
|
1481
|
-
#
|
1572
|
+
# Deletes a Multi-Region Access Point. This action does not delete the
|
1573
|
+
# buckets associated with the Multi-Region Access Point, only the
|
1574
|
+
# Multi-Region Access Point itself.
|
1575
|
+
#
|
1576
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
1577
|
+
# more information about the restrictions around managing Multi-Region
|
1578
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
1579
|
+
# *Amazon S3 User Guide*.
|
1580
|
+
#
|
1581
|
+
# This request is asynchronous, meaning that you might receive a
|
1582
|
+
# response before the command has completed. When this request provides
|
1583
|
+
# a response, it provides a token that you can use to monitor the status
|
1584
|
+
# of the request with `DescribeMultiRegionAccessPointOperation`.
|
1585
|
+
#
|
1586
|
+
# The following actions are related to `DeleteMultiRegionAccessPoint`\:
|
1587
|
+
#
|
1588
|
+
# * [CreateMultiRegionAccessPoint][2]
|
1589
|
+
#
|
1590
|
+
# * [DescribeMultiRegionAccessPointOperation][3]
|
1591
|
+
#
|
1592
|
+
# * [GetMultiRegionAccessPoint][4]
|
1593
|
+
#
|
1594
|
+
# * [ListMultiRegionAccessPoints][5]
|
1595
|
+
#
|
1596
|
+
#
|
1597
|
+
#
|
1598
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
1599
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
|
1600
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
|
1601
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
|
1602
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
|
1603
|
+
#
|
1604
|
+
# @option params [required, String] :account_id
|
1605
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
1606
|
+
# Access Point.
|
1607
|
+
#
|
1608
|
+
# @option params [required, String] :client_token
|
1609
|
+
# An idempotency token used to identify the request and guarantee that
|
1610
|
+
# requests are unique.
|
1611
|
+
#
|
1612
|
+
# **A suitable default value is auto-generated.** You should normally
|
1613
|
+
# not need to pass this option.**
|
1614
|
+
#
|
1615
|
+
# @option params [required, Types::DeleteMultiRegionAccessPointInput] :details
|
1616
|
+
# A container element containing details about the Multi-Region Access
|
1617
|
+
# Point.
|
1618
|
+
#
|
1619
|
+
# @return [Types::DeleteMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1620
|
+
#
|
1621
|
+
# * {Types::DeleteMultiRegionAccessPointResult#request_token_arn #request_token_arn} => String
|
1622
|
+
#
|
1623
|
+
# @example Request syntax with placeholder values
|
1624
|
+
#
|
1625
|
+
# resp = client.delete_multi_region_access_point({
|
1626
|
+
# account_id: "AccountId", # required
|
1627
|
+
# client_token: "MultiRegionAccessPointClientToken", # required
|
1628
|
+
# details: { # required
|
1629
|
+
# name: "MultiRegionAccessPointName", # required
|
1630
|
+
# },
|
1631
|
+
# })
|
1632
|
+
#
|
1633
|
+
# @example Response structure
|
1634
|
+
#
|
1635
|
+
# resp.request_token_arn #=> String
|
1636
|
+
#
|
1637
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMultiRegionAccessPoint AWS API Documentation
|
1638
|
+
#
|
1639
|
+
# @overload delete_multi_region_access_point(params = {})
|
1640
|
+
# @param [Hash] params ({})
|
1641
|
+
def delete_multi_region_access_point(params = {}, options = {})
|
1642
|
+
req = build_request(:delete_multi_region_access_point, params)
|
1643
|
+
req.send_request(options)
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# Removes the `PublicAccessBlock` configuration for an Amazon Web
|
1647
|
+
# Services account. For more information, see [ Using Amazon S3 block
|
1648
|
+
# public access][1].
|
1482
1649
|
#
|
1483
1650
|
# Related actions include:
|
1484
1651
|
#
|
@@ -1493,8 +1660,8 @@ module Aws::S3Control
|
|
1493
1660
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html
|
1494
1661
|
#
|
1495
1662
|
# @option params [required, String] :account_id
|
1496
|
-
# The account ID for the account whose
|
1497
|
-
# you want to remove.
|
1663
|
+
# The account ID for the Amazon Web Services account whose
|
1664
|
+
# `PublicAccessBlock` configuration you want to remove.
|
1498
1665
|
#
|
1499
1666
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1500
1667
|
#
|
@@ -1619,7 +1786,8 @@ module Aws::S3Control
|
|
1619
1786
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
1620
1787
|
#
|
1621
1788
|
# @option params [required, String] :account_id
|
1622
|
-
# The account ID associated with the S3 Batch
|
1789
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
1790
|
+
# Operations job.
|
1623
1791
|
#
|
1624
1792
|
# @option params [required, String] :job_id
|
1625
1793
|
# The ID for the job whose information you want to retrieve.
|
@@ -1728,6 +1896,84 @@ module Aws::S3Control
|
|
1728
1896
|
req.send_request(options)
|
1729
1897
|
end
|
1730
1898
|
|
1899
|
+
# Retrieves the status of an asynchronous request to manage a
|
1900
|
+
# Multi-Region Access Point. For more information about managing
|
1901
|
+
# Multi-Region Access Points and how asynchronous requests work, see
|
1902
|
+
# [Managing Multi-Region Access Points][1] in the *Amazon S3 User
|
1903
|
+
# Guide*.
|
1904
|
+
#
|
1905
|
+
# The following actions are related to `GetMultiRegionAccessPoint`\:
|
1906
|
+
#
|
1907
|
+
# * [CreateMultiRegionAccessPoint][2]
|
1908
|
+
#
|
1909
|
+
# * [DeleteMultiRegionAccessPoint][3]
|
1910
|
+
#
|
1911
|
+
# * [GetMultiRegionAccessPoint][4]
|
1912
|
+
#
|
1913
|
+
# * [ListMultiRegionAccessPoints][5]
|
1914
|
+
#
|
1915
|
+
#
|
1916
|
+
#
|
1917
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
1918
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
|
1919
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
|
1920
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
|
1921
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
|
1922
|
+
#
|
1923
|
+
# @option params [required, String] :account_id
|
1924
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
1925
|
+
# Access Point.
|
1926
|
+
#
|
1927
|
+
# @option params [required, String] :request_token_arn
|
1928
|
+
# The request token associated with the request you want to know about.
|
1929
|
+
# This request token is returned as part of the response when you make
|
1930
|
+
# an asynchronous request. You provide this token to query about the
|
1931
|
+
# status of the asynchronous action.
|
1932
|
+
#
|
1933
|
+
# @return [Types::DescribeMultiRegionAccessPointOperationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1934
|
+
#
|
1935
|
+
# * {Types::DescribeMultiRegionAccessPointOperationResult#async_operation #async_operation} => Types::AsyncOperation
|
1936
|
+
#
|
1937
|
+
# @example Request syntax with placeholder values
|
1938
|
+
#
|
1939
|
+
# resp = client.describe_multi_region_access_point_operation({
|
1940
|
+
# account_id: "AccountId", # required
|
1941
|
+
# request_token_arn: "AsyncRequestTokenARN", # required
|
1942
|
+
# })
|
1943
|
+
#
|
1944
|
+
# @example Response structure
|
1945
|
+
#
|
1946
|
+
# resp.async_operation.creation_time #=> Time
|
1947
|
+
# resp.async_operation.operation #=> String, one of "CreateMultiRegionAccessPoint", "DeleteMultiRegionAccessPoint", "PutMultiRegionAccessPointPolicy"
|
1948
|
+
# resp.async_operation.request_token_arn #=> String
|
1949
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.name #=> String
|
1950
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.block_public_acls #=> Boolean
|
1951
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.ignore_public_acls #=> Boolean
|
1952
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.block_public_policy #=> Boolean
|
1953
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.public_access_block.restrict_public_buckets #=> Boolean
|
1954
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.regions #=> Array
|
1955
|
+
# resp.async_operation.request_parameters.create_multi_region_access_point_request.regions[0].bucket #=> String
|
1956
|
+
# resp.async_operation.request_parameters.delete_multi_region_access_point_request.name #=> String
|
1957
|
+
# resp.async_operation.request_parameters.put_multi_region_access_point_policy_request.name #=> String
|
1958
|
+
# resp.async_operation.request_parameters.put_multi_region_access_point_policy_request.policy #=> String
|
1959
|
+
# resp.async_operation.request_status #=> String
|
1960
|
+
# resp.async_operation.response_details.multi_region_access_point_details.regions #=> Array
|
1961
|
+
# resp.async_operation.response_details.multi_region_access_point_details.regions[0].name #=> String
|
1962
|
+
# resp.async_operation.response_details.multi_region_access_point_details.regions[0].request_status #=> String
|
1963
|
+
# resp.async_operation.response_details.error_details.code #=> String
|
1964
|
+
# resp.async_operation.response_details.error_details.message #=> String
|
1965
|
+
# resp.async_operation.response_details.error_details.resource #=> String
|
1966
|
+
# resp.async_operation.response_details.error_details.request_id #=> String
|
1967
|
+
#
|
1968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeMultiRegionAccessPointOperation AWS API Documentation
|
1969
|
+
#
|
1970
|
+
# @overload describe_multi_region_access_point_operation(params = {})
|
1971
|
+
# @param [Hash] params ({})
|
1972
|
+
def describe_multi_region_access_point_operation(params = {}, options = {})
|
1973
|
+
req = build_request(:describe_multi_region_access_point_operation, params)
|
1974
|
+
req.send_request(options)
|
1975
|
+
end
|
1976
|
+
|
1731
1977
|
# Returns configuration information about the specified access point.
|
1732
1978
|
#
|
1733
1979
|
#
|
@@ -2105,12 +2351,13 @@ module Aws::S3Control
|
|
2105
2351
|
# Gets an Amazon S3 on Outposts bucket. For more information, see [
|
2106
2352
|
# Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
2107
2353
|
#
|
2108
|
-
# If you are using an identity other than the root user of the
|
2109
|
-
# that owns the Outposts bucket, the calling
|
2110
|
-
# `s3-outposts:GetBucket` permissions on the
|
2111
|
-
# and belong to the Outposts bucket owner's
|
2112
|
-
# this action. Only users from Outposts bucket
|
2113
|
-
# right permissions can perform actions on an
|
2354
|
+
# If you are using an identity other than the root user of the Amazon
|
2355
|
+
# Web Services account that owns the Outposts bucket, the calling
|
2356
|
+
# identity must have the `s3-outposts:GetBucket` permissions on the
|
2357
|
+
# specified Outposts bucket and belong to the Outposts bucket owner's
|
2358
|
+
# account in order to use this action. Only users from Outposts bucket
|
2359
|
+
# owner account with the right permissions can perform actions on an
|
2360
|
+
# Outposts bucket.
|
2114
2361
|
#
|
2115
2362
|
# If you don't have `s3-outposts:GetBucket` permissions or you're not
|
2116
2363
|
# using an identity that belongs to the bucket owner's account, Amazon
|
@@ -2142,7 +2389,7 @@ module Aws::S3Control
|
|
2142
2389
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html
|
2143
2390
|
#
|
2144
2391
|
# @option params [required, String] :account_id
|
2145
|
-
# The account ID of the Outposts bucket.
|
2392
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2146
2393
|
#
|
2147
2394
|
# @option params [required, String] :bucket
|
2148
2395
|
# Specifies the bucket.
|
@@ -2243,7 +2490,7 @@ module Aws::S3Control
|
|
2243
2490
|
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
2244
2491
|
#
|
2245
2492
|
# @option params [required, String] :account_id
|
2246
|
-
# The account ID of the Outposts bucket.
|
2493
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2247
2494
|
#
|
2248
2495
|
# @option params [required, String] :bucket
|
2249
2496
|
# The Amazon Resource Name (ARN) of the bucket.
|
@@ -2316,10 +2563,10 @@ module Aws::S3Control
|
|
2316
2563
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
2317
2564
|
# User Guide*.
|
2318
2565
|
#
|
2319
|
-
# If you are using an identity other than the root user of the
|
2320
|
-
# that owns the bucket, the calling identity must
|
2321
|
-
# `GetBucketPolicy` permissions on the specified bucket and
|
2322
|
-
# the bucket owner's account in order to use this action.
|
2566
|
+
# If you are using an identity other than the root user of the Amazon
|
2567
|
+
# Web Services account that owns the bucket, the calling identity must
|
2568
|
+
# have the `GetBucketPolicy` permissions on the specified bucket and
|
2569
|
+
# belong to the bucket owner's account in order to use this action.
|
2323
2570
|
#
|
2324
2571
|
# Only users from Outposts bucket owner account with the right
|
2325
2572
|
# permissions can perform actions on an Outposts bucket. If you don't
|
@@ -2327,9 +2574,10 @@ module Aws::S3Control
|
|
2327
2574
|
# identity that belongs to the bucket owner's account, Amazon S3
|
2328
2575
|
# returns a `403 Access Denied` error.
|
2329
2576
|
#
|
2330
|
-
# As a security precaution, the root user of the
|
2331
|
-
# bucket can always use this action, even if the
|
2332
|
-
# denies the root user the ability to perform this
|
2577
|
+
# As a security precaution, the root user of the Amazon Web Services
|
2578
|
+
# account that owns a bucket can always use this action, even if the
|
2579
|
+
# policy explicitly denies the root user the ability to perform this
|
2580
|
+
# action.
|
2333
2581
|
#
|
2334
2582
|
# For more information about bucket policies, see [Using Bucket Policies
|
2335
2583
|
# and User Policies][3].
|
@@ -2361,7 +2609,7 @@ module Aws::S3Control
|
|
2361
2609
|
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
|
2362
2610
|
#
|
2363
2611
|
# @option params [required, String] :account_id
|
2364
|
-
# The account ID of the Outposts bucket.
|
2612
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2365
2613
|
#
|
2366
2614
|
# @option params [required, String] :bucket
|
2367
2615
|
# Specifies the bucket.
|
@@ -2448,7 +2696,7 @@ module Aws::S3Control
|
|
2448
2696
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
2449
2697
|
#
|
2450
2698
|
# @option params [required, String] :account_id
|
2451
|
-
# The account ID of the Outposts bucket.
|
2699
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2452
2700
|
#
|
2453
2701
|
# @option params [required, String] :bucket
|
2454
2702
|
# Specifies the bucket.
|
@@ -2515,7 +2763,8 @@ module Aws::S3Control
|
|
2515
2763
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html
|
2516
2764
|
#
|
2517
2765
|
# @option params [required, String] :account_id
|
2518
|
-
# The account ID associated with the S3 Batch
|
2766
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
2767
|
+
# Operations job.
|
2519
2768
|
#
|
2520
2769
|
# @option params [required, String] :job_id
|
2521
2770
|
# The ID for the S3 Batch Operations job whose tags you want to
|
@@ -2547,8 +2796,206 @@ module Aws::S3Control
|
|
2547
2796
|
req.send_request(options)
|
2548
2797
|
end
|
2549
2798
|
|
2550
|
-
#
|
2551
|
-
#
|
2799
|
+
# Returns configuration information about the specified Multi-Region
|
2800
|
+
# Access Point.
|
2801
|
+
#
|
2802
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
2803
|
+
# more information about the restrictions around managing Multi-Region
|
2804
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
2805
|
+
# *Amazon S3 User Guide*.
|
2806
|
+
#
|
2807
|
+
# The following actions are related to `GetMultiRegionAccessPoint`\:
|
2808
|
+
#
|
2809
|
+
# * [CreateMultiRegionAccessPoint][2]
|
2810
|
+
#
|
2811
|
+
# * [DeleteMultiRegionAccessPoint][3]
|
2812
|
+
#
|
2813
|
+
# * [DescribeMultiRegionAccessPointOperation][4]
|
2814
|
+
#
|
2815
|
+
# * [ListMultiRegionAccessPoints][5]
|
2816
|
+
#
|
2817
|
+
#
|
2818
|
+
#
|
2819
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
2820
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
|
2821
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
|
2822
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
|
2823
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html
|
2824
|
+
#
|
2825
|
+
# @option params [required, String] :account_id
|
2826
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
2827
|
+
# Access Point.
|
2828
|
+
#
|
2829
|
+
# @option params [required, String] :name
|
2830
|
+
# The name of the Multi-Region Access Point whose configuration
|
2831
|
+
# information you want to receive. The name of the Multi-Region Access
|
2832
|
+
# Point is different from the alias. For more information about the
|
2833
|
+
# distinction between the name and the alias of an Multi-Region Access
|
2834
|
+
# Point, see [Managing Multi-Region Access Points][1] in the *Amazon S3
|
2835
|
+
# User Guide*.
|
2836
|
+
#
|
2837
|
+
#
|
2838
|
+
#
|
2839
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
|
2840
|
+
#
|
2841
|
+
# @return [Types::GetMultiRegionAccessPointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2842
|
+
#
|
2843
|
+
# * {Types::GetMultiRegionAccessPointResult#access_point #access_point} => Types::MultiRegionAccessPointReport
|
2844
|
+
#
|
2845
|
+
# @example Request syntax with placeholder values
|
2846
|
+
#
|
2847
|
+
# resp = client.get_multi_region_access_point({
|
2848
|
+
# account_id: "AccountId", # required
|
2849
|
+
# name: "MultiRegionAccessPointName", # required
|
2850
|
+
# })
|
2851
|
+
#
|
2852
|
+
# @example Response structure
|
2853
|
+
#
|
2854
|
+
# resp.access_point.name #=> String
|
2855
|
+
# resp.access_point.alias #=> String
|
2856
|
+
# resp.access_point.created_at #=> Time
|
2857
|
+
# resp.access_point.public_access_block.block_public_acls #=> Boolean
|
2858
|
+
# resp.access_point.public_access_block.ignore_public_acls #=> Boolean
|
2859
|
+
# resp.access_point.public_access_block.block_public_policy #=> Boolean
|
2860
|
+
# resp.access_point.public_access_block.restrict_public_buckets #=> Boolean
|
2861
|
+
# resp.access_point.status #=> String, one of "READY", "INCONSISTENT_ACROSS_REGIONS", "CREATING", "PARTIALLY_CREATED", "PARTIALLY_DELETED", "DELETING"
|
2862
|
+
# resp.access_point.regions #=> Array
|
2863
|
+
# resp.access_point.regions[0].bucket #=> String
|
2864
|
+
# resp.access_point.regions[0].region #=> String
|
2865
|
+
#
|
2866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPoint AWS API Documentation
|
2867
|
+
#
|
2868
|
+
# @overload get_multi_region_access_point(params = {})
|
2869
|
+
# @param [Hash] params ({})
|
2870
|
+
def get_multi_region_access_point(params = {}, options = {})
|
2871
|
+
req = build_request(:get_multi_region_access_point, params)
|
2872
|
+
req.send_request(options)
|
2873
|
+
end
|
2874
|
+
|
2875
|
+
# Returns the access control policy of the specified Multi-Region Access
|
2876
|
+
# Point.
|
2877
|
+
#
|
2878
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
2879
|
+
# more information about the restrictions around managing Multi-Region
|
2880
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
2881
|
+
# *Amazon S3 User Guide*.
|
2882
|
+
#
|
2883
|
+
# The following actions are related to
|
2884
|
+
# `GetMultiRegionAccessPointPolicy`\:
|
2885
|
+
#
|
2886
|
+
# * [GetMultiRegionAccessPointPolicyStatus][2]
|
2887
|
+
#
|
2888
|
+
# * [PutMultiRegionAccessPointPolicy][3]
|
2889
|
+
#
|
2890
|
+
#
|
2891
|
+
#
|
2892
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
2893
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html
|
2894
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html
|
2895
|
+
#
|
2896
|
+
# @option params [required, String] :account_id
|
2897
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
2898
|
+
# Access Point.
|
2899
|
+
#
|
2900
|
+
# @option params [required, String] :name
|
2901
|
+
# Specifies the Multi-Region Access Point. The name of the Multi-Region
|
2902
|
+
# Access Point is different from the alias. For more information about
|
2903
|
+
# the distinction between the name and the alias of an Multi-Region
|
2904
|
+
# Access Point, see [Managing Multi-Region Access Points][1] in the
|
2905
|
+
# *Amazon S3 User Guide*.
|
2906
|
+
#
|
2907
|
+
#
|
2908
|
+
#
|
2909
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
|
2910
|
+
#
|
2911
|
+
# @return [Types::GetMultiRegionAccessPointPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2912
|
+
#
|
2913
|
+
# * {Types::GetMultiRegionAccessPointPolicyResult#policy #policy} => Types::MultiRegionAccessPointPolicyDocument
|
2914
|
+
#
|
2915
|
+
# @example Request syntax with placeholder values
|
2916
|
+
#
|
2917
|
+
# resp = client.get_multi_region_access_point_policy({
|
2918
|
+
# account_id: "AccountId", # required
|
2919
|
+
# name: "MultiRegionAccessPointName", # required
|
2920
|
+
# })
|
2921
|
+
#
|
2922
|
+
# @example Response structure
|
2923
|
+
#
|
2924
|
+
# resp.policy.established.policy #=> String
|
2925
|
+
# resp.policy.proposed.policy #=> String
|
2926
|
+
#
|
2927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicy AWS API Documentation
|
2928
|
+
#
|
2929
|
+
# @overload get_multi_region_access_point_policy(params = {})
|
2930
|
+
# @param [Hash] params ({})
|
2931
|
+
def get_multi_region_access_point_policy(params = {}, options = {})
|
2932
|
+
req = build_request(:get_multi_region_access_point_policy, params)
|
2933
|
+
req.send_request(options)
|
2934
|
+
end
|
2935
|
+
|
2936
|
+
# Indicates whether the specified Multi-Region Access Point has an
|
2937
|
+
# access control policy that allows public access.
|
2938
|
+
#
|
2939
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
2940
|
+
# more information about the restrictions around managing Multi-Region
|
2941
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
2942
|
+
# *Amazon S3 User Guide*.
|
2943
|
+
#
|
2944
|
+
# The following actions are related to
|
2945
|
+
# `GetMultiRegionAccessPointPolicyStatus`\:
|
2946
|
+
#
|
2947
|
+
# * [GetMultiRegionAccessPointPolicy][2]
|
2948
|
+
#
|
2949
|
+
# * [PutMultiRegionAccessPointPolicy][3]
|
2950
|
+
#
|
2951
|
+
#
|
2952
|
+
#
|
2953
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
2954
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html
|
2955
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html
|
2956
|
+
#
|
2957
|
+
# @option params [required, String] :account_id
|
2958
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
2959
|
+
# Access Point.
|
2960
|
+
#
|
2961
|
+
# @option params [required, String] :name
|
2962
|
+
# Specifies the Multi-Region Access Point. The name of the Multi-Region
|
2963
|
+
# Access Point is different from the alias. For more information about
|
2964
|
+
# the distinction between the name and the alias of an Multi-Region
|
2965
|
+
# Access Point, see [Managing Multi-Region Access Points][1] in the
|
2966
|
+
# *Amazon S3 User Guide*.
|
2967
|
+
#
|
2968
|
+
#
|
2969
|
+
#
|
2970
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/CreatingMultiRegionAccessPoints.html#multi-region-access-point-naming
|
2971
|
+
#
|
2972
|
+
# @return [Types::GetMultiRegionAccessPointPolicyStatusResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2973
|
+
#
|
2974
|
+
# * {Types::GetMultiRegionAccessPointPolicyStatusResult#established #established} => Types::PolicyStatus
|
2975
|
+
#
|
2976
|
+
# @example Request syntax with placeholder values
|
2977
|
+
#
|
2978
|
+
# resp = client.get_multi_region_access_point_policy_status({
|
2979
|
+
# account_id: "AccountId", # required
|
2980
|
+
# name: "MultiRegionAccessPointName", # required
|
2981
|
+
# })
|
2982
|
+
#
|
2983
|
+
# @example Response structure
|
2984
|
+
#
|
2985
|
+
# resp.established.is_public #=> Boolean
|
2986
|
+
#
|
2987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicyStatus AWS API Documentation
|
2988
|
+
#
|
2989
|
+
# @overload get_multi_region_access_point_policy_status(params = {})
|
2990
|
+
# @param [Hash] params ({})
|
2991
|
+
def get_multi_region_access_point_policy_status(params = {}, options = {})
|
2992
|
+
req = build_request(:get_multi_region_access_point_policy_status, params)
|
2993
|
+
req.send_request(options)
|
2994
|
+
end
|
2995
|
+
|
2996
|
+
# Retrieves the `PublicAccessBlock` configuration for an Amazon Web
|
2997
|
+
# Services account. For more information, see [ Using Amazon S3 block
|
2998
|
+
# public access][1].
|
2552
2999
|
#
|
2553
3000
|
# Related actions include:
|
2554
3001
|
#
|
@@ -2563,8 +3010,8 @@ module Aws::S3Control
|
|
2563
3010
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html
|
2564
3011
|
#
|
2565
3012
|
# @option params [required, String] :account_id
|
2566
|
-
# The account ID for the account whose
|
2567
|
-
# you want to retrieve.
|
3013
|
+
# The account ID for the Amazon Web Services account whose
|
3014
|
+
# `PublicAccessBlock` configuration you want to retrieve.
|
2568
3015
|
#
|
2569
3016
|
# @return [Types::GetPublicAccessBlockOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2570
3017
|
#
|
@@ -2743,8 +3190,8 @@ module Aws::S3Control
|
|
2743
3190
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html
|
2744
3191
|
#
|
2745
3192
|
# @option params [required, String] :account_id
|
2746
|
-
# The account ID for owner of the bucket whose
|
2747
|
-
# list.
|
3193
|
+
# The Amazon Web Services account ID for owner of the bucket whose
|
3194
|
+
# access points you want to list.
|
2748
3195
|
#
|
2749
3196
|
# @option params [String] :bucket
|
2750
3197
|
# The name of the bucket whose associated access points you want to
|
@@ -2881,9 +3328,9 @@ module Aws::S3Control
|
|
2881
3328
|
end
|
2882
3329
|
|
2883
3330
|
# Lists current S3 Batch Operations jobs and jobs that have ended within
|
2884
|
-
# the last 30 days for the account making the
|
2885
|
-
# information, see [S3 Batch Operations][1] in the
|
2886
|
-
# Guide*.
|
3331
|
+
# the last 30 days for the Amazon Web Services account making the
|
3332
|
+
# request. For more information, see [S3 Batch Operations][1] in the
|
3333
|
+
# *Amazon S3 User Guide*.
|
2887
3334
|
#
|
2888
3335
|
# Related actions include:
|
2889
3336
|
#
|
@@ -2906,7 +3353,8 @@ module Aws::S3Control
|
|
2906
3353
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
2907
3354
|
#
|
2908
3355
|
# @option params [required, String] :account_id
|
2909
|
-
# The account ID associated with the S3 Batch
|
3356
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
3357
|
+
# Operations job.
|
2910
3358
|
#
|
2911
3359
|
# @option params [Array<String>] :job_statuses
|
2912
3360
|
# The `List Jobs` request returns jobs that match the statuses listed in
|
@@ -2963,6 +3411,85 @@ module Aws::S3Control
|
|
2963
3411
|
req.send_request(options)
|
2964
3412
|
end
|
2965
3413
|
|
3414
|
+
# Returns a list of the Multi-Region Access Points currently associated
|
3415
|
+
# with the specified Amazon Web Services account. Each call can return
|
3416
|
+
# up to 100 Multi-Region Access Points, the maximum number of
|
3417
|
+
# Multi-Region Access Points that can be associated with a single
|
3418
|
+
# account.
|
3419
|
+
#
|
3420
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
3421
|
+
# more information about the restrictions around managing Multi-Region
|
3422
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
3423
|
+
# *Amazon S3 User Guide*.
|
3424
|
+
#
|
3425
|
+
# The following actions are related to `ListMultiRegionAccessPoint`\:
|
3426
|
+
#
|
3427
|
+
# * [CreateMultiRegionAccessPoint][2]
|
3428
|
+
#
|
3429
|
+
# * [DeleteMultiRegionAccessPoint][3]
|
3430
|
+
#
|
3431
|
+
# * [DescribeMultiRegionAccessPointOperation][4]
|
3432
|
+
#
|
3433
|
+
# * [GetMultiRegionAccessPoint][5]
|
3434
|
+
#
|
3435
|
+
#
|
3436
|
+
#
|
3437
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
3438
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html
|
3439
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html
|
3440
|
+
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html
|
3441
|
+
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html
|
3442
|
+
#
|
3443
|
+
# @option params [required, String] :account_id
|
3444
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
3445
|
+
# Access Point.
|
3446
|
+
#
|
3447
|
+
# @option params [String] :next_token
|
3448
|
+
# Not currently used. Do not use this parameter.
|
3449
|
+
#
|
3450
|
+
# @option params [Integer] :max_results
|
3451
|
+
# Not currently used. Do not use this parameter.
|
3452
|
+
#
|
3453
|
+
# @return [Types::ListMultiRegionAccessPointsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3454
|
+
#
|
3455
|
+
# * {Types::ListMultiRegionAccessPointsResult#access_points #access_points} => Array<Types::MultiRegionAccessPointReport>
|
3456
|
+
# * {Types::ListMultiRegionAccessPointsResult#next_token #next_token} => String
|
3457
|
+
#
|
3458
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3459
|
+
#
|
3460
|
+
# @example Request syntax with placeholder values
|
3461
|
+
#
|
3462
|
+
# resp = client.list_multi_region_access_points({
|
3463
|
+
# account_id: "AccountId", # required
|
3464
|
+
# next_token: "NonEmptyMaxLength1024String",
|
3465
|
+
# max_results: 1,
|
3466
|
+
# })
|
3467
|
+
#
|
3468
|
+
# @example Response structure
|
3469
|
+
#
|
3470
|
+
# resp.access_points #=> Array
|
3471
|
+
# resp.access_points[0].name #=> String
|
3472
|
+
# resp.access_points[0].alias #=> String
|
3473
|
+
# resp.access_points[0].created_at #=> Time
|
3474
|
+
# resp.access_points[0].public_access_block.block_public_acls #=> Boolean
|
3475
|
+
# resp.access_points[0].public_access_block.ignore_public_acls #=> Boolean
|
3476
|
+
# resp.access_points[0].public_access_block.block_public_policy #=> Boolean
|
3477
|
+
# resp.access_points[0].public_access_block.restrict_public_buckets #=> Boolean
|
3478
|
+
# resp.access_points[0].status #=> String, one of "READY", "INCONSISTENT_ACROSS_REGIONS", "CREATING", "PARTIALLY_CREATED", "PARTIALLY_DELETED", "DELETING"
|
3479
|
+
# resp.access_points[0].regions #=> Array
|
3480
|
+
# resp.access_points[0].regions[0].bucket #=> String
|
3481
|
+
# resp.access_points[0].regions[0].region #=> String
|
3482
|
+
# resp.next_token #=> String
|
3483
|
+
#
|
3484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListMultiRegionAccessPoints AWS API Documentation
|
3485
|
+
#
|
3486
|
+
# @overload list_multi_region_access_points(params = {})
|
3487
|
+
# @param [Hash] params ({})
|
3488
|
+
def list_multi_region_access_points(params = {}, options = {})
|
3489
|
+
req = build_request(:list_multi_region_access_points, params)
|
3490
|
+
req.send_request(options)
|
3491
|
+
end
|
3492
|
+
|
2966
3493
|
# Returns a list of all Outposts buckets in an Outpost that are owned by
|
2967
3494
|
# the authenticated sender of the request. For more information, see
|
2968
3495
|
# [Using Amazon S3 on Outposts][1] in the *Amazon S3 User Guide*.
|
@@ -2977,7 +3504,7 @@ module Aws::S3Control
|
|
2977
3504
|
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples
|
2978
3505
|
#
|
2979
3506
|
# @option params [required, String] :account_id
|
2980
|
-
# The account ID of the Outposts bucket.
|
3507
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
2981
3508
|
#
|
2982
3509
|
# @option params [String] :next_token
|
2983
3510
|
#
|
@@ -3165,8 +3692,8 @@ module Aws::S3Control
|
|
3165
3692
|
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html
|
3166
3693
|
#
|
3167
3694
|
# @option params [required, String] :account_id
|
3168
|
-
# The account ID for owner of the bucket associated
|
3169
|
-
# access point.
|
3695
|
+
# The Amazon Web Services account ID for owner of the bucket associated
|
3696
|
+
# with the specified access point.
|
3170
3697
|
#
|
3171
3698
|
# @option params [required, String] :name
|
3172
3699
|
# The name of the access point that you want to associate with the
|
@@ -3295,7 +3822,7 @@ module Aws::S3Control
|
|
3295
3822
|
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html
|
3296
3823
|
#
|
3297
3824
|
# @option params [required, String] :account_id
|
3298
|
-
# The account ID of the Outposts bucket.
|
3825
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
3299
3826
|
#
|
3300
3827
|
# @option params [required, String] :bucket
|
3301
3828
|
# The name of the bucket for which to set the configuration.
|
@@ -3379,19 +3906,21 @@ module Aws::S3Control
|
|
3379
3906
|
# information, see [Using Amazon S3 on Outposts][2] in the *Amazon S3
|
3380
3907
|
# User Guide*.
|
3381
3908
|
#
|
3382
|
-
# If you are using an identity other than the root user of the
|
3383
|
-
# that owns the Outposts bucket, the calling
|
3384
|
-
# `PutBucketPolicy` permissions on the specified
|
3385
|
-
# belong to the bucket owner's account in order to
|
3909
|
+
# If you are using an identity other than the root user of the Amazon
|
3910
|
+
# Web Services account that owns the Outposts bucket, the calling
|
3911
|
+
# identity must have the `PutBucketPolicy` permissions on the specified
|
3912
|
+
# Outposts bucket and belong to the bucket owner's account in order to
|
3913
|
+
# use this action.
|
3386
3914
|
#
|
3387
3915
|
# If you don't have `PutBucketPolicy` permissions, Amazon S3 returns a
|
3388
3916
|
# `403 Access Denied` error. If you have the correct permissions, but
|
3389
3917
|
# you're not using an identity that belongs to the bucket owner's
|
3390
3918
|
# account, Amazon S3 returns a `405 Method Not Allowed` error.
|
3391
3919
|
#
|
3392
|
-
# As a security precaution, the root user of the
|
3393
|
-
# bucket can always use this action, even if the
|
3394
|
-
# denies the root user the ability to perform this
|
3920
|
+
# As a security precaution, the root user of the Amazon Web Services
|
3921
|
+
# account that owns a bucket can always use this action, even if the
|
3922
|
+
# policy explicitly denies the root user the ability to perform this
|
3923
|
+
# action.
|
3395
3924
|
#
|
3396
3925
|
# For more information about bucket policies, see [Using Bucket Policies
|
3397
3926
|
# and User Policies][3].
|
@@ -3420,7 +3949,7 @@ module Aws::S3Control
|
|
3420
3949
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html
|
3421
3950
|
#
|
3422
3951
|
# @option params [required, String] :account_id
|
3423
|
-
# The account ID of the Outposts bucket.
|
3952
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
3424
3953
|
#
|
3425
3954
|
# @option params [required, String] :bucket
|
3426
3955
|
# Specifies the bucket.
|
@@ -3479,13 +4008,14 @@ module Aws::S3Control
|
|
3479
4008
|
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
3480
4009
|
#
|
3481
4010
|
# Use tags to organize your Amazon Web Services bill to reflect your own
|
3482
|
-
# cost structure. To do this, sign up to get your
|
3483
|
-
# key values included. Then, to see the cost of
|
3484
|
-
# organize your billing information according to
|
3485
|
-
# tag key values. For example, you can tag
|
3486
|
-
# specific application name, and then organize
|
3487
|
-
# to see the total cost of that application
|
3488
|
-
# more information, see [Cost allocation
|
4011
|
+
# cost structure. To do this, sign up to get your Amazon Web Services
|
4012
|
+
# account bill with tag key values included. Then, to see the cost of
|
4013
|
+
# combined resources, organize your billing information according to
|
4014
|
+
# resources with the same tag key values. For example, you can tag
|
4015
|
+
# several resources with a specific application name, and then organize
|
4016
|
+
# your billing information to see the total cost of that application
|
4017
|
+
# across several services. For more information, see [Cost allocation
|
4018
|
+
# and tagging][3].
|
3489
4019
|
#
|
3490
4020
|
# <note markdown="1"> Within a bucket, if you add a tag that has the same key as an existing
|
3491
4021
|
# tag, the new value overwrites the old value. For more information, see
|
@@ -3561,7 +4091,7 @@ module Aws::S3Control
|
|
3561
4091
|
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html
|
3562
4092
|
#
|
3563
4093
|
# @option params [required, String] :account_id
|
3564
|
-
# The account ID of the Outposts bucket.
|
4094
|
+
# The Amazon Web Services account ID of the Outposts bucket.
|
3565
4095
|
#
|
3566
4096
|
# @option params [required, String] :bucket
|
3567
4097
|
# The Amazon Resource Name (ARN) of the bucket.
|
@@ -3671,7 +4201,8 @@ module Aws::S3Control
|
|
3671
4201
|
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html
|
3672
4202
|
#
|
3673
4203
|
# @option params [required, String] :account_id
|
3674
|
-
# The account ID associated with the S3 Batch
|
4204
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
4205
|
+
# Operations job.
|
3675
4206
|
#
|
3676
4207
|
# @option params [required, String] :job_id
|
3677
4208
|
# The ID for the S3 Batch Operations job whose tags you want to replace.
|
@@ -3703,9 +4234,75 @@ module Aws::S3Control
|
|
3703
4234
|
req.send_request(options)
|
3704
4235
|
end
|
3705
4236
|
|
4237
|
+
# Associates an access control policy with the specified Multi-Region
|
4238
|
+
# Access Point. Each Multi-Region Access Point can have only one policy,
|
4239
|
+
# so a request made to this action replaces any existing policy that is
|
4240
|
+
# associated with the specified Multi-Region Access Point.
|
4241
|
+
#
|
4242
|
+
# This action will always be routed to the US West (Oregon) Region. For
|
4243
|
+
# more information about the restrictions around managing Multi-Region
|
4244
|
+
# Access Points, see [Managing Multi-Region Access Points][1] in the
|
4245
|
+
# *Amazon S3 User Guide*.
|
4246
|
+
#
|
4247
|
+
# The following actions are related to
|
4248
|
+
# `PutMultiRegionAccessPointPolicy`\:
|
4249
|
+
#
|
4250
|
+
# * [GetMultiRegionAccessPointPolicy][2]
|
4251
|
+
#
|
4252
|
+
# * [GetMultiRegionAccessPointPolicyStatus][3]
|
4253
|
+
#
|
4254
|
+
#
|
4255
|
+
#
|
4256
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html
|
4257
|
+
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html
|
4258
|
+
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html
|
4259
|
+
#
|
4260
|
+
# @option params [required, String] :account_id
|
4261
|
+
# The Amazon Web Services account ID for the owner of the Multi-Region
|
4262
|
+
# Access Point.
|
4263
|
+
#
|
4264
|
+
# @option params [required, String] :client_token
|
4265
|
+
# An idempotency token used to identify the request and guarantee that
|
4266
|
+
# requests are unique.
|
4267
|
+
#
|
4268
|
+
# **A suitable default value is auto-generated.** You should normally
|
4269
|
+
# not need to pass this option.**
|
4270
|
+
#
|
4271
|
+
# @option params [required, Types::PutMultiRegionAccessPointPolicyInput] :details
|
4272
|
+
# A container element containing the details of the policy for the
|
4273
|
+
# Multi-Region Access Point.
|
4274
|
+
#
|
4275
|
+
# @return [Types::PutMultiRegionAccessPointPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4276
|
+
#
|
4277
|
+
# * {Types::PutMultiRegionAccessPointPolicyResult#request_token_arn #request_token_arn} => String
|
4278
|
+
#
|
4279
|
+
# @example Request syntax with placeholder values
|
4280
|
+
#
|
4281
|
+
# resp = client.put_multi_region_access_point_policy({
|
4282
|
+
# account_id: "AccountId", # required
|
4283
|
+
# client_token: "MultiRegionAccessPointClientToken", # required
|
4284
|
+
# details: { # required
|
4285
|
+
# name: "MultiRegionAccessPointName", # required
|
4286
|
+
# policy: "Policy", # required
|
4287
|
+
# },
|
4288
|
+
# })
|
4289
|
+
#
|
4290
|
+
# @example Response structure
|
4291
|
+
#
|
4292
|
+
# resp.request_token_arn #=> String
|
4293
|
+
#
|
4294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutMultiRegionAccessPointPolicy AWS API Documentation
|
4295
|
+
#
|
4296
|
+
# @overload put_multi_region_access_point_policy(params = {})
|
4297
|
+
# @param [Hash] params ({})
|
4298
|
+
def put_multi_region_access_point_policy(params = {}, options = {})
|
4299
|
+
req = build_request(:put_multi_region_access_point_policy, params)
|
4300
|
+
req.send_request(options)
|
4301
|
+
end
|
4302
|
+
|
3706
4303
|
# Creates or modifies the `PublicAccessBlock` configuration for an
|
3707
|
-
# account. For more information, see [ Using Amazon
|
3708
|
-
# access][1].
|
4304
|
+
# Amazon Web Services account. For more information, see [ Using Amazon
|
4305
|
+
# S3 block public access][1].
|
3709
4306
|
#
|
3710
4307
|
# Related actions include:
|
3711
4308
|
#
|
@@ -3721,11 +4318,11 @@ module Aws::S3Control
|
|
3721
4318
|
#
|
3722
4319
|
# @option params [required, Types::PublicAccessBlockConfiguration] :public_access_block_configuration
|
3723
4320
|
# The `PublicAccessBlock` configuration that you want to apply to the
|
3724
|
-
# specified account.
|
4321
|
+
# specified Amazon Web Services account.
|
3725
4322
|
#
|
3726
4323
|
# @option params [required, String] :account_id
|
3727
|
-
# The account ID for the account whose
|
3728
|
-
# you want to set.
|
4324
|
+
# The account ID for the Amazon Web Services account whose
|
4325
|
+
# `PublicAccessBlock` configuration you want to set.
|
3729
4326
|
#
|
3730
4327
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3731
4328
|
#
|
@@ -3937,7 +4534,8 @@ module Aws::S3Control
|
|
3937
4534
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3938
4535
|
#
|
3939
4536
|
# @option params [required, String] :account_id
|
3940
|
-
# The account ID associated with the S3 Batch
|
4537
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
4538
|
+
# Operations job.
|
3941
4539
|
#
|
3942
4540
|
# @option params [required, String] :job_id
|
3943
4541
|
# The ID for the job whose priority you want to update.
|
@@ -3998,7 +4596,8 @@ module Aws::S3Control
|
|
3998
4596
|
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html
|
3999
4597
|
#
|
4000
4598
|
# @option params [required, String] :account_id
|
4001
|
-
# The account ID associated with the S3 Batch
|
4599
|
+
# The Amazon Web Services account ID associated with the S3 Batch
|
4600
|
+
# Operations job.
|
4002
4601
|
#
|
4003
4602
|
# @option params [required, String] :job_id
|
4004
4603
|
# The ID of the job whose status you want to update.
|
@@ -4053,7 +4652,7 @@ module Aws::S3Control
|
|
4053
4652
|
params: params,
|
4054
4653
|
config: config)
|
4055
4654
|
context[:gem_name] = 'aws-sdk-s3control'
|
4056
|
-
context[:gem_version] = '1.
|
4655
|
+
context[:gem_version] = '1.40.0'
|
4057
4656
|
Seahorse::Client::Request.new(handlers, context)
|
4058
4657
|
end
|
4059
4658
|
|