@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)
Creates an Amazon S3 batch operations job.
|
DeleteAccessPointResult |
deleteAccessPoint(DeleteAccessPointRequest request)
Deletes the specified access point.
|
DeleteAccessPointPolicyResult |
deleteAccessPointPolicy(DeleteAccessPointPolicyRequest request)
Deletes the access point policy for the specified access point.
|
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.
|
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 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.
|
PutPublicAccessBlockResult |
putPublicAccessBlock(PutPublicAccessBlockRequest request)
Creates or modifies the
PublicAccessBlock configuration for an Amazon Web Services account. |
UpdateJobPriorityResult |
updateJobPriority(UpdateJobPriorityRequest request)
Updates an existing 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)
Creates an Amazon S3 batch operations job.
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 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.
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 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 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.
listAccessPoints
in interface AWSS3Control
listAccessPointsRequest
- public ListJobsResult listJobs(ListJobsRequest request)
Lists current jobs and jobs that have ended within the last 30 days for the AWS account making the request.
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 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 job's priority.
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.
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.