@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSS3ControlClient extends AmazonWebServiceClient implements AWSS3Control
AWS S3 Control provides access to Amazon S3 control plane operations.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSS3ControlClientBuilder |
builder() |
CreateAccessPointResult |
createAccessPoint(CreateAccessPointRequest request)
Creates an access point and associates it with the specified bucket.
|
CreateJobResult |
createJob(CreateJobRequest request)
You can use Amazon S3 Batch Operations to perform large-scale Batch Operations on Amazon S3 objects.
|
DeleteAccessPointResult |
deleteAccessPoint(DeleteAccessPointRequest request)
Deletes the specified access point.
|
DeleteAccessPointPolicyResult |
deleteAccessPointPolicy(DeleteAccessPointPolicyRequest request)
Deletes the access point policy for the specified access point.
|
DeleteJobTaggingResult |
deleteJobTagging(DeleteJobTaggingRequest request)
Removes the entire tag set from the specified Amazon S3 Batch Operations job.
|
DeletePublicAccessBlockResult |
deletePublicAccessBlock(DeletePublicAccessBlockRequest request)
Removes the
PublicAccessBlock configuration for an Amazon Web Services account. |
DescribeJobResult |
describeJob(DescribeJobRequest request)
Retrieves the configuration parameters and status for a Batch Operations job.
|
GetAccessPointResult |
getAccessPoint(GetAccessPointRequest request)
Returns configuration information about the specified access point.
|
GetAccessPointPolicyResult |
getAccessPointPolicy(GetAccessPointPolicyRequest request)
Returns the access point policy associated with the specified access point.
|
GetAccessPointPolicyStatusResult |
getAccessPointPolicyStatus(GetAccessPointPolicyStatusRequest request)
Indicates whether the specified access point currently has a policy that allows public access.
|
S3ControlResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetJobTaggingResult |
getJobTagging(GetJobTaggingRequest request)
Returns the tags on an Amazon S3 Batch Operations job.
|
GetPublicAccessBlockResult |
getPublicAccessBlock(GetPublicAccessBlockRequest request)
Retrieves the
PublicAccessBlock configuration for an Amazon Web Services account. |
ListAccessPointsResult |
listAccessPoints(ListAccessPointsRequest request)
Returns a list of the access points currently associated with the specified bucket.
|
ListJobsResult |
listJobs(ListJobsRequest request)
Lists current Amazon S3 Batch Operations jobs and jobs that have ended within the last 30 days for the AWS
account making the request.
|
PutAccessPointPolicyResult |
putAccessPointPolicy(PutAccessPointPolicyRequest request)
Associates an access policy with the specified access point.
|
PutJobTaggingResult |
putJobTagging(PutJobTaggingRequest request)
Set the supplied tag-set on an Amazon S3 Batch Operations job.
|
PutPublicAccessBlockResult |
putPublicAccessBlock(PutPublicAccessBlockRequest request)
Creates or modifies the
PublicAccessBlock configuration for an Amazon Web Services account. |
UpdateJobPriorityResult |
updateJobPriority(UpdateJobPriorityRequest request)
Updates an existing Amazon S3 Batch Operations job's priority.
|
UpdateJobStatusResult |
updateJobStatus(UpdateJobStatusRequest request)
Updates the status for the specified job.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSS3ControlClientBuilder builder()
public CreateAccessPointResult createAccessPoint(CreateAccessPointRequest request)
Creates an access point and associates it with the specified bucket.
createAccessPoint
in interface AWSS3Control
createAccessPointRequest
- public CreateJobResult createJob(CreateJobRequest request)
You can use Amazon S3 Batch Operations to perform large-scale Batch Operations on Amazon S3 objects. Amazon S3 Batch Operations can execute a single operation or action on lists of Amazon S3 objects that you specify. For more information, see Amazon S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
Related actions include:
createJob
in interface AWSS3Control
createJobRequest
- TooManyRequestsException
BadRequestException
IdempotencyException
InternalServiceException
public DeleteAccessPointResult deleteAccessPoint(DeleteAccessPointRequest request)
Deletes the specified access point.
deleteAccessPoint
in interface AWSS3Control
deleteAccessPointRequest
- public DeleteAccessPointPolicyResult deleteAccessPointPolicy(DeleteAccessPointPolicyRequest request)
Deletes the access point policy for the specified access point.
deleteAccessPointPolicy
in interface AWSS3Control
deleteAccessPointPolicyRequest
- public DeleteJobTaggingResult deleteJobTagging(DeleteJobTaggingRequest request)
Removes the entire tag set from the specified Amazon S3 Batch Operations job. To use this operation, you must
have permission to perform the s3:DeleteJobTagging
action. For more information, see Using Job
Tags in the Amazon Simple Storage Service Developer Guide.
Related actions include:
deleteJobTagging
in interface AWSS3Control
deleteJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
public DeletePublicAccessBlockResult deletePublicAccessBlock(DeletePublicAccessBlockRequest request)
Removes the PublicAccessBlock
configuration for an Amazon Web Services account.
deletePublicAccessBlock
in interface AWSS3Control
deletePublicAccessBlockRequest
- public DescribeJobResult describeJob(DescribeJobRequest request)
Retrieves the configuration parameters and status for a Batch Operations job. For more information, see Amazon S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
Related actions include:
describeJob
in interface AWSS3Control
describeJobRequest
- BadRequestException
TooManyRequestsException
NotFoundException
InternalServiceException
public GetAccessPointResult getAccessPoint(GetAccessPointRequest request)
Returns configuration information about the specified access point.
getAccessPoint
in interface AWSS3Control
getAccessPointRequest
- public GetAccessPointPolicyResult getAccessPointPolicy(GetAccessPointPolicyRequest request)
Returns the access point policy associated with the specified access point.
getAccessPointPolicy
in interface AWSS3Control
getAccessPointPolicyRequest
- public GetAccessPointPolicyStatusResult getAccessPointPolicyStatus(GetAccessPointPolicyStatusRequest request)
Indicates whether the specified access point currently has a policy that allows public access. For more information about public access through access points, see Managing Data Access with Amazon S3 Access Points in the Amazon Simple Storage Service Developer Guide.
getAccessPointPolicyStatus
in interface AWSS3Control
getAccessPointPolicyStatusRequest
- public GetJobTaggingResult getJobTagging(GetJobTaggingRequest request)
Returns the tags on an Amazon S3 Batch Operations job. To use this operation, you must have permission to perform
the s3:GetJobTagging
action. For more information, see Using Job
Tags in the Amazon Simple Storage Service Developer Guide.
Related actions include:
getJobTagging
in interface AWSS3Control
getJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
public GetPublicAccessBlockResult getPublicAccessBlock(GetPublicAccessBlockRequest request)
Retrieves the PublicAccessBlock
configuration for an Amazon Web Services account.
getPublicAccessBlock
in interface AWSS3Control
getPublicAccessBlockRequest
- NoSuchPublicAccessBlockConfigurationException
- Amazon S3 throws this exception if you make a GetPublicAccessBlock
request against an
account that doesn't have a PublicAccessBlockConfiguration
set.public ListAccessPointsResult listAccessPoints(ListAccessPointsRequest request)
Returns a list of the access points currently associated with the specified bucket. You can retrieve up to 1000
access points per call. If the specified bucket has more than 1,000 access points (or the number specified in
maxResults
, whichever is less), the response will include a continuation token that you can use to
list the additional access points.
listAccessPoints
in interface AWSS3Control
listAccessPointsRequest
- public ListJobsResult listJobs(ListJobsRequest request)
Lists current Amazon S3 Batch Operations jobs and jobs that have ended within the last 30 days for the AWS account making the request. For more information, see Amazon S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
Related actions include:
listJobs
in interface AWSS3Control
listJobsRequest
- InvalidRequestException
InternalServiceException
InvalidNextTokenException
public PutAccessPointPolicyResult putAccessPointPolicy(PutAccessPointPolicyRequest request)
Associates an access policy with the specified access point. Each access point can have only one policy, so a request made to this API replaces any existing policy associated with the specified access point.
putAccessPointPolicy
in interface AWSS3Control
putAccessPointPolicyRequest
- public PutJobTaggingResult putJobTagging(PutJobTaggingRequest request)
Set the supplied tag-set on an Amazon S3 Batch Operations job.
A tag is a key-value pair. You can associate Amazon S3 Batch Operations tags with any job by sending a PUT request against the tagging subresource that is associated with the job. To modify the existing tag set, you can either replace the existing tag set entirely, or make changes within the existing tag set by retrieving the existing tag set using GetJobTagging, modify that tag set, and use this API action to replace the tag set with the one you have modified.. For more information, see Using Job Tags in the Amazon Simple Storage Service Developer Guide.
If you send this request with an empty tag set, Amazon S3 deletes the existing tag set on the Batch Operations job. If you use this method, you will be charged for a Tier 1 Request (PUT). For more information, see Amazon S3 pricing.
For deleting existing tags for your batch operations job, DeleteJobTagging request is preferred because it achieves the same result without incurring charges.
A few things to consider about using tags:
Amazon S3 limits the maximum number of tags to 50 tags per job.
You can associate up to 50 tags with a job as long as they have unique tag keys.
A tag key can be up to 128 Unicode characters in length, and tag values can be up to 256 Unicode characters in length.
The key and values are case sensitive.
For tagging-related restrictions related to characters and encodings, see User-Defined Tag Restrictions.
To use this operation, you must have permission to perform the s3:PutJobTagging
action.
Related actions include:
putJobTagging
in interface AWSS3Control
putJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
TooManyTagsException
public PutPublicAccessBlockResult putPublicAccessBlock(PutPublicAccessBlockRequest request)
Creates or modifies the PublicAccessBlock
configuration for an Amazon Web Services account.
putPublicAccessBlock
in interface AWSS3Control
putPublicAccessBlockRequest
- public UpdateJobPriorityResult updateJobPriority(UpdateJobPriorityRequest request)
Updates an existing Amazon S3 Batch Operations job's priority. For more information, see Amazon S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
Related actions include:
updateJobPriority
in interface AWSS3Control
updateJobPriorityRequest
- BadRequestException
TooManyRequestsException
NotFoundException
InternalServiceException
public UpdateJobStatusResult updateJobStatus(UpdateJobStatusRequest request)
Updates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job. For more information, see Amazon S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.
Related actions include:
updateJobStatus
in interface AWSS3Control
updateJobStatusRequest
- BadRequestException
TooManyRequestsException
NotFoundException
JobStatusException
InternalServiceException
public S3ControlResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSS3Control
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.