**To retrieve an access point policy** The following ``get-access-point-policy`` example retrieves the access point policy from the access point named ``finance-ap`` in account 123456789012. Before running this example, replace the access point name and account number with appropriate values for your use case. :: aws s3control get-access-point-policy \ --account-id 123456789012 \ --name finance-ap Output:: { "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:role/Admin\"},\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:us-west-2:123456789012:accesspoint/finance-ap/object/records/*\"}]}" } For more information, see `Managing Data Access with Amazon S3 Access Points <https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html>`__ in the *Amazon Simple Storage Service Developer Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
create-access-point.rst | File | 694 B | 0644 |
|
create-job.rst | File | 970 B | 0644 |
|
delete-access-point-policy.rst | File | 676 B | 0644 |
|
delete-access-point.rst | File | 625 B | 0644 |
|
delete-public-access-block.rst | File | 295 B | 0644 |
|
describe-job.rst | File | 1.99 KB | 0644 |
|
get-access-point-policy-status.rst | File | 959 B | 0644 |
|
get-access-point-policy.rst | File | 939 B | 0644 |
|
get-access-point.rst | File | 1.02 KB | 0644 |
|
get-multi-region-access-point-routes.rst | File | 867 B | 0644 |
|
get-public-access-block.rst | File | 481 B | 0644 |
|
list-access-points.rst | File | 2.15 KB | 0644 |
|
list-jobs.rst | File | 1.19 KB | 0644 |
|
put-access-point-policy.rst | File | 1.29 KB | 0644 |
|
put-public-access-block.rst | File | 461 B | 0644 |
|
submit-multi-region-access-point-routes.rst | File | 640 B | 0644 |
|
update-job-priority.rst | File | 421 B | 0644 |
|
update-job-status.rst | File | 1.19 KB | 0644 |
|