@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSOutpostsAsyncClient extends AWSOutpostsClient implements AWSOutpostsAsync
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
AWS Outposts is a fully managed service that extends AWS infrastructure, APIs, and tools to customer premises. By providing local access to AWS managed infrastructure, AWS Outposts enables customers to build and run applications on premises using the same programming interfaces as in AWS Regions, while using local compute and storage resources for lower latency and local data processing needs.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createOrder, createOutpost, deleteOutpost, deleteSite, getCachedResponseMetadata, getOutpost, getOutpostInstanceTypes, listOutposts, listSites, listTagsForResource, tagResource, untagResource
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createOrder, createOutpost, deleteOutpost, deleteSite, getCachedResponseMetadata, getOutpost, getOutpostInstanceTypes, listOutposts, listSites, listTagsForResource, tagResource, untagResource
public static AWSOutpostsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateOrderResult> createOrderAsync(CreateOrderRequest request)
AWSOutpostsAsync
Creates an order for an Outpost.
createOrderAsync
in interface AWSOutpostsAsync
public Future<CreateOrderResult> createOrderAsync(CreateOrderRequest request, AsyncHandler<CreateOrderRequest,CreateOrderResult> asyncHandler)
AWSOutpostsAsync
Creates an order for an Outpost.
createOrderAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<CreateOutpostResult> createOutpostAsync(CreateOutpostRequest request)
AWSOutpostsAsync
Creates an Outpost.
You can specify AvailabilityZone
or AvailabilityZoneId
.
createOutpostAsync
in interface AWSOutpostsAsync
public Future<CreateOutpostResult> createOutpostAsync(CreateOutpostRequest request, AsyncHandler<CreateOutpostRequest,CreateOutpostResult> asyncHandler)
AWSOutpostsAsync
Creates an Outpost.
You can specify AvailabilityZone
or AvailabilityZoneId
.
createOutpostAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<DeleteOutpostResult> deleteOutpostAsync(DeleteOutpostRequest request)
AWSOutpostsAsync
Deletes the Outpost.
deleteOutpostAsync
in interface AWSOutpostsAsync
public Future<DeleteOutpostResult> deleteOutpostAsync(DeleteOutpostRequest request, AsyncHandler<DeleteOutpostRequest,DeleteOutpostResult> asyncHandler)
AWSOutpostsAsync
Deletes the Outpost.
deleteOutpostAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<DeleteSiteResult> deleteSiteAsync(DeleteSiteRequest request)
AWSOutpostsAsync
Deletes the site.
deleteSiteAsync
in interface AWSOutpostsAsync
public Future<DeleteSiteResult> deleteSiteAsync(DeleteSiteRequest request, AsyncHandler<DeleteSiteRequest,DeleteSiteResult> asyncHandler)
AWSOutpostsAsync
Deletes the site.
deleteSiteAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<GetOutpostResult> getOutpostAsync(GetOutpostRequest request)
AWSOutpostsAsync
Gets information about the specified Outpost.
getOutpostAsync
in interface AWSOutpostsAsync
public Future<GetOutpostResult> getOutpostAsync(GetOutpostRequest request, AsyncHandler<GetOutpostRequest,GetOutpostResult> asyncHandler)
AWSOutpostsAsync
Gets information about the specified Outpost.
getOutpostAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<GetOutpostInstanceTypesResult> getOutpostInstanceTypesAsync(GetOutpostInstanceTypesRequest request)
AWSOutpostsAsync
Lists the instance types for the specified Outpost.
getOutpostInstanceTypesAsync
in interface AWSOutpostsAsync
public Future<GetOutpostInstanceTypesResult> getOutpostInstanceTypesAsync(GetOutpostInstanceTypesRequest request, AsyncHandler<GetOutpostInstanceTypesRequest,GetOutpostInstanceTypesResult> asyncHandler)
AWSOutpostsAsync
Lists the instance types for the specified Outpost.
getOutpostInstanceTypesAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<ListOutpostsResult> listOutpostsAsync(ListOutpostsRequest request)
AWSOutpostsAsync
Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of
results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a
), and AZ ID
(use1-az1
).
If you specify multiple filters, the filters are joined with an AND
, and the request returns only
results that match all of the specified filters.
listOutpostsAsync
in interface AWSOutpostsAsync
public Future<ListOutpostsResult> listOutpostsAsync(ListOutpostsRequest request, AsyncHandler<ListOutpostsRequest,ListOutpostsResult> asyncHandler)
AWSOutpostsAsync
Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of
results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a
), and AZ ID
(use1-az1
).
If you specify multiple filters, the filters are joined with an AND
, and the request returns only
results that match all of the specified filters.
listOutpostsAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<ListSitesResult> listSitesAsync(ListSitesRequest request)
AWSOutpostsAsync
Lists the sites for the specified AWS account.
listSitesAsync
in interface AWSOutpostsAsync
public Future<ListSitesResult> listSitesAsync(ListSitesRequest request, AsyncHandler<ListSitesRequest,ListSitesResult> asyncHandler)
AWSOutpostsAsync
Lists the sites for the specified AWS account.
listSitesAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSOutpostsAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSOutpostsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSOutpostsAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSOutpostsAsync
Adds tags to the specified resource.
tagResourceAsync
in interface AWSOutpostsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSOutpostsAsync
Adds tags to the specified resource.
tagResourceAsync
in interface AWSOutpostsAsync
asyncHandler
- 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSOutpostsAsync
Removes tags from the specified resource.
untagResourceAsync
in interface AWSOutpostsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSOutpostsAsync
Removes tags from the specified resource.
untagResourceAsync
in interface AWSOutpostsAsync
asyncHandler
- 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 AWSOutposts
shutdown
in class AWSOutpostsClient