@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)
Creates an Amazon S3 batch operations job.
|
DeleteAccessPointResult |
deleteAccessPoint(DeleteAccessPointRequest deleteAccessPointRequest)
Deletes the specified access point.
|
DeleteAccessPointPolicyResult |
deleteAccessPointPolicy(DeleteAccessPointPolicyRequest deleteAccessPointPolicyRequest)
Deletes the access point policy for the specified access point.
|
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.
|
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 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.
|
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 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)
Creates an Amazon S3 batch operations job.
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
- 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.
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
- 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 1000 access points (or the number specified in
maxResults
, whichever is less), then the response will include a continuation token that you can use
to list the additional access points.
listAccessPointsRequest
- ListJobsResult listJobs(ListJobsRequest listJobsRequest)
Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
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
- PutPublicAccessBlockResult putPublicAccessBlock(PutPublicAccessBlockRequest putPublicAccessBlockRequest)
Creates or modifies the PublicAccessBlock
configuration for an Amazon Web Services account.
putPublicAccessBlockRequest
- UpdateJobPriorityResult updateJobPriority(UpdateJobPriorityRequest updateJobPriorityRequest)
Updates an existing job's priority.
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.
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.