@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSS3ControlAsyncClient extends AWSS3ControlClient implements AWSS3ControlAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS S3 Control provides access to Amazon S3 control plane operations.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createAccessPoint, createJob, deleteAccessPoint, deleteAccessPointPolicy, deletePublicAccessBlock, describeJob, getAccessPoint, getAccessPointPolicy, getAccessPointPolicyStatus, getCachedResponseMetadata, getPublicAccessBlock, listAccessPoints, listJobs, putAccessPointPolicy, putPublicAccessBlock, updateJobPriority, updateJobStatusaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAccessPoint, createJob, deleteAccessPoint, deleteAccessPointPolicy, deletePublicAccessBlock, describeJob, getAccessPoint, getAccessPointPolicy, getAccessPointPolicyStatus, getCachedResponseMetadata, getPublicAccessBlock, listAccessPoints, listJobs, putAccessPointPolicy, putPublicAccessBlock, updateJobPriority, updateJobStatuspublic static AWSS3ControlAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAccessPointResult> createAccessPointAsync(CreateAccessPointRequest request)
AWSS3ControlAsyncCreates an access point and associates it with the specified bucket.
createAccessPointAsync in interface AWSS3ControlAsyncpublic Future<CreateAccessPointResult> createAccessPointAsync(CreateAccessPointRequest request, AsyncHandler<CreateAccessPointRequest,CreateAccessPointResult> asyncHandler)
AWSS3ControlAsyncCreates an access point and associates it with the specified bucket.
createAccessPointAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSS3ControlAsyncCreates an Amazon S3 batch operations job.
createJobAsync in interface AWSS3ControlAsyncpublic Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSS3ControlAsyncCreates an Amazon S3 batch operations job.
createJobAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAccessPointResult> deleteAccessPointAsync(DeleteAccessPointRequest request)
AWSS3ControlAsyncDeletes the specified access point.
deleteAccessPointAsync in interface AWSS3ControlAsyncpublic Future<DeleteAccessPointResult> deleteAccessPointAsync(DeleteAccessPointRequest request, AsyncHandler<DeleteAccessPointRequest,DeleteAccessPointResult> asyncHandler)
AWSS3ControlAsyncDeletes the specified access point.
deleteAccessPointAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAccessPointPolicyResult> deleteAccessPointPolicyAsync(DeleteAccessPointPolicyRequest request)
AWSS3ControlAsyncDeletes the access point policy for the specified access point.
deleteAccessPointPolicyAsync in interface AWSS3ControlAsyncpublic Future<DeleteAccessPointPolicyResult> deleteAccessPointPolicyAsync(DeleteAccessPointPolicyRequest request, AsyncHandler<DeleteAccessPointPolicyRequest,DeleteAccessPointPolicyResult> asyncHandler)
AWSS3ControlAsyncDeletes the access point policy for the specified access point.
deleteAccessPointPolicyAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request)
AWSS3ControlAsync
Removes the PublicAccessBlock configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<DeletePublicAccessBlockResult> deletePublicAccessBlockAsync(DeletePublicAccessBlockRequest request, AsyncHandler<DeletePublicAccessBlockRequest,DeletePublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Removes the PublicAccessBlock configuration for an Amazon Web Services account.
deletePublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeJobResult> describeJobAsync(DescribeJobRequest request)
AWSS3ControlAsyncRetrieves the configuration parameters and status for a batch operations job.
describeJobAsync in interface AWSS3ControlAsyncpublic Future<DescribeJobResult> describeJobAsync(DescribeJobRequest request, AsyncHandler<DescribeJobRequest,DescribeJobResult> asyncHandler)
AWSS3ControlAsyncRetrieves the configuration parameters and status for a batch operations job.
describeJobAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAccessPointResult> getAccessPointAsync(GetAccessPointRequest request)
AWSS3ControlAsyncReturns configuration information about the specified access point.
getAccessPointAsync in interface AWSS3ControlAsyncpublic Future<GetAccessPointResult> getAccessPointAsync(GetAccessPointRequest request, AsyncHandler<GetAccessPointRequest,GetAccessPointResult> asyncHandler)
AWSS3ControlAsyncReturns configuration information about the specified access point.
getAccessPointAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAccessPointPolicyResult> getAccessPointPolicyAsync(GetAccessPointPolicyRequest request)
AWSS3ControlAsyncReturns the access point policy associated with the specified access point.
getAccessPointPolicyAsync in interface AWSS3ControlAsyncpublic Future<GetAccessPointPolicyResult> getAccessPointPolicyAsync(GetAccessPointPolicyRequest request, AsyncHandler<GetAccessPointPolicyRequest,GetAccessPointPolicyResult> asyncHandler)
AWSS3ControlAsyncReturns the access point policy associated with the specified access point.
getAccessPointPolicyAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAccessPointPolicyStatusResult> getAccessPointPolicyStatusAsync(GetAccessPointPolicyStatusRequest request)
AWSS3ControlAsyncIndicates 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.
getAccessPointPolicyStatusAsync in interface AWSS3ControlAsyncpublic Future<GetAccessPointPolicyStatusResult> getAccessPointPolicyStatusAsync(GetAccessPointPolicyStatusRequest request, AsyncHandler<GetAccessPointPolicyStatusRequest,GetAccessPointPolicyStatusResult> asyncHandler)
AWSS3ControlAsyncIndicates 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.
getAccessPointPolicyStatusAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request)
AWSS3ControlAsync
Retrieves the PublicAccessBlock configuration for an Amazon Web Services account.
getPublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<GetPublicAccessBlockResult> getPublicAccessBlockAsync(GetPublicAccessBlockRequest request, AsyncHandler<GetPublicAccessBlockRequest,GetPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Retrieves the PublicAccessBlock configuration for an Amazon Web Services account.
getPublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAccessPointsResult> listAccessPointsAsync(ListAccessPointsRequest request)
AWSS3ControlAsync
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.
listAccessPointsAsync in interface AWSS3ControlAsyncpublic Future<ListAccessPointsResult> listAccessPointsAsync(ListAccessPointsRequest request, AsyncHandler<ListAccessPointsRequest,ListAccessPointsResult> asyncHandler)
AWSS3ControlAsync
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.
listAccessPointsAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSS3ControlAsyncLists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
listJobsAsync in interface AWSS3ControlAsyncpublic Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSS3ControlAsyncLists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
listJobsAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutAccessPointPolicyResult> putAccessPointPolicyAsync(PutAccessPointPolicyRequest request)
AWSS3ControlAsyncAssociates 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.
putAccessPointPolicyAsync in interface AWSS3ControlAsyncpublic Future<PutAccessPointPolicyResult> putAccessPointPolicyAsync(PutAccessPointPolicyRequest request, AsyncHandler<PutAccessPointPolicyRequest,PutAccessPointPolicyResult> asyncHandler)
AWSS3ControlAsyncAssociates 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.
putAccessPointPolicyAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request)
AWSS3ControlAsync
Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account.
putPublicAccessBlockAsync in interface AWSS3ControlAsyncpublic Future<PutPublicAccessBlockResult> putPublicAccessBlockAsync(PutPublicAccessBlockRequest request, AsyncHandler<PutPublicAccessBlockRequest,PutPublicAccessBlockResult> asyncHandler)
AWSS3ControlAsync
Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account.
putPublicAccessBlockAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateJobPriorityResult> updateJobPriorityAsync(UpdateJobPriorityRequest request)
AWSS3ControlAsyncUpdates an existing job's priority.
updateJobPriorityAsync in interface AWSS3ControlAsyncpublic Future<UpdateJobPriorityResult> updateJobPriorityAsync(UpdateJobPriorityRequest request, AsyncHandler<UpdateJobPriorityRequest,UpdateJobPriorityResult> asyncHandler)
AWSS3ControlAsyncUpdates an existing job's priority.
updateJobPriorityAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateJobStatusResult> updateJobStatusAsync(UpdateJobStatusRequest request)
AWSS3ControlAsyncUpdates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
updateJobStatusAsync in interface AWSS3ControlAsyncpublic Future<UpdateJobStatusResult> updateJobStatusAsync(UpdateJobStatusRequest request, AsyncHandler<UpdateJobStatusRequest,UpdateJobStatusResult> asyncHandler)
AWSS3ControlAsyncUpdates the status for the specified job. Use this operation to confirm that you want to run a job or to cancel an existing job.
updateJobStatusAsync in interface AWSS3ControlAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSS3Controlshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.