@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSS3Control
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSS3Control
instead.
AWS S3 Control provides access to Amazon S3 control plane operations.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateAccessPointResult |
createAccessPoint(CreateAccessPointRequest createAccessPointRequest)
Creates an access point and associates it with the specified bucket.
|
CreateJobResult |
createJob(CreateJobRequest createJobRequest)
You can use Amazon S3 Batch Operations to perform large-scale Batch Operations on Amazon S3 objects.
|
DeleteAccessPointResult |
deleteAccessPoint(DeleteAccessPointRequest deleteAccessPointRequest)
Deletes the specified access point.
|
DeleteAccessPointPolicyResult |
deleteAccessPointPolicy(DeleteAccessPointPolicyRequest deleteAccessPointPolicyRequest)
Deletes the access point policy for the specified access point.
|
DeleteJobTaggingResult |
deleteJobTagging(DeleteJobTaggingRequest deleteJobTaggingRequest)
Removes the entire tag set from the specified Amazon S3 Batch Operations job.
|
DeletePublicAccessBlockResult |
deletePublicAccessBlock(DeletePublicAccessBlockRequest deletePublicAccessBlockRequest)
Removes the
PublicAccessBlock configuration for an Amazon Web Services account. |
DescribeJobResult |
describeJob(DescribeJobRequest describeJobRequest)
Retrieves the configuration parameters and status for a Batch Operations job.
|
GetAccessPointResult |
getAccessPoint(GetAccessPointRequest getAccessPointRequest)
Returns configuration information about the specified access point.
|
GetAccessPointPolicyResult |
getAccessPointPolicy(GetAccessPointPolicyRequest getAccessPointPolicyRequest)
Returns the access point policy associated with the specified access point.
|
GetAccessPointPolicyStatusResult |
getAccessPointPolicyStatus(GetAccessPointPolicyStatusRequest getAccessPointPolicyStatusRequest)
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 getJobTaggingRequest)
Returns the tags on an Amazon S3 Batch Operations job.
|
GetPublicAccessBlockResult |
getPublicAccessBlock(GetPublicAccessBlockRequest getPublicAccessBlockRequest)
Retrieves the
PublicAccessBlock configuration for an Amazon Web Services account. |
ListAccessPointsResult |
listAccessPoints(ListAccessPointsRequest listAccessPointsRequest)
Returns a list of the access points currently associated with the specified bucket.
|
ListJobsResult |
listJobs(ListJobsRequest listJobsRequest)
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 putAccessPointPolicyRequest)
Associates an access policy with the specified access point.
|
PutJobTaggingResult |
putJobTagging(PutJobTaggingRequest putJobTaggingRequest)
Set the supplied tag-set on an Amazon S3 Batch Operations job.
|
PutPublicAccessBlockResult |
putPublicAccessBlock(PutPublicAccessBlockRequest putPublicAccessBlockRequest)
Creates or modifies the
PublicAccessBlock configuration for an Amazon Web Services account. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateJobPriorityResult |
updateJobPriority(UpdateJobPriorityRequest updateJobPriorityRequest)
Updates an existing Amazon S3 Batch Operations job's priority.
|
UpdateJobStatusResult |
updateJobStatus(UpdateJobStatusRequest updateJobStatusRequest)
Updates the status for the specified job.
|
static final String ENDPOINT_PREFIX
CreateAccessPointResult createAccessPoint(CreateAccessPointRequest createAccessPointRequest)
Creates an access point and associates it with the specified bucket.
createAccessPointRequest
- CreateJobResult createJob(CreateJobRequest createJobRequest)
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:
createJobRequest
- TooManyRequestsException
BadRequestException
IdempotencyException
InternalServiceException
DeleteAccessPointResult deleteAccessPoint(DeleteAccessPointRequest deleteAccessPointRequest)
Deletes the specified access point.
deleteAccessPointRequest
- DeleteAccessPointPolicyResult deleteAccessPointPolicy(DeleteAccessPointPolicyRequest deleteAccessPointPolicyRequest)
Deletes the access point policy for the specified access point.
deleteAccessPointPolicyRequest
- DeleteJobTaggingResult deleteJobTagging(DeleteJobTaggingRequest deleteJobTaggingRequest)
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:
deleteJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
DeletePublicAccessBlockResult deletePublicAccessBlock(DeletePublicAccessBlockRequest deletePublicAccessBlockRequest)
Removes the PublicAccessBlock
configuration for an Amazon Web Services account.
deletePublicAccessBlockRequest
- DescribeJobResult describeJob(DescribeJobRequest describeJobRequest)
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:
describeJobRequest
- BadRequestException
TooManyRequestsException
NotFoundException
InternalServiceException
GetAccessPointResult getAccessPoint(GetAccessPointRequest getAccessPointRequest)
Returns configuration information about the specified access point.
getAccessPointRequest
- GetAccessPointPolicyResult getAccessPointPolicy(GetAccessPointPolicyRequest getAccessPointPolicyRequest)
Returns the access point policy associated with the specified access point.
getAccessPointPolicyRequest
- GetAccessPointPolicyStatusResult getAccessPointPolicyStatus(GetAccessPointPolicyStatusRequest getAccessPointPolicyStatusRequest)
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.
getAccessPointPolicyStatusRequest
- GetJobTaggingResult getJobTagging(GetJobTaggingRequest getJobTaggingRequest)
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:
getJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
GetPublicAccessBlockResult getPublicAccessBlock(GetPublicAccessBlockRequest getPublicAccessBlockRequest)
Retrieves the PublicAccessBlock
configuration for an Amazon Web Services account.
getPublicAccessBlockRequest
- NoSuchPublicAccessBlockConfigurationException
- Amazon S3 throws this exception if you make a GetPublicAccessBlock
request against an
account that doesn't have a PublicAccessBlockConfiguration
set.ListAccessPointsResult listAccessPoints(ListAccessPointsRequest listAccessPointsRequest)
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.
listAccessPointsRequest
- ListJobsResult listJobs(ListJobsRequest listJobsRequest)
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:
listJobsRequest
- InvalidRequestException
InternalServiceException
InvalidNextTokenException
PutAccessPointPolicyResult putAccessPointPolicy(PutAccessPointPolicyRequest putAccessPointPolicyRequest)
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.
putAccessPointPolicyRequest
- PutJobTaggingResult putJobTagging(PutJobTaggingRequest putJobTaggingRequest)
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:
putJobTaggingRequest
- InternalServiceException
TooManyRequestsException
NotFoundException
TooManyTagsException
PutPublicAccessBlockResult putPublicAccessBlock(PutPublicAccessBlockRequest putPublicAccessBlockRequest)
Creates or modifies the PublicAccessBlock
configuration for an Amazon Web Services account.
putPublicAccessBlockRequest
- UpdateJobPriorityResult updateJobPriority(UpdateJobPriorityRequest updateJobPriorityRequest)
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:
updateJobPriorityRequest
- BadRequestException
TooManyRequestsException
NotFoundException
InternalServiceException
UpdateJobStatusResult updateJobStatus(UpdateJobStatusRequest updateJobStatusRequest)
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:
updateJobStatusRequest
- BadRequestException
TooManyRequestsException
NotFoundException
JobStatusException
InternalServiceException
void shutdown()
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 a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.