@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.
Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, cancelOrder, createOrder, createOutpost, createSite, deleteOutpost, deleteSite, getCachedResponseMetadata, getCatalogItem, getOrder, getOutpost, getOutpostInstanceTypes, getSite, getSiteAddress, listCatalogItems, listOrders, listOutposts, listSites, listTagsForResource, tagResource, untagResource, updateOutpost, updateSite, updateSiteAddress, updateSiteRackPhysicalProperties
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
cancelOrder, createOrder, createOutpost, createSite, deleteOutpost, deleteSite, getCachedResponseMetadata, getCatalogItem, getOrder, getOutpost, getOutpostInstanceTypes, getSite, getSiteAddress, listCatalogItems, listOrders, listOutposts, listSites, listTagsForResource, tagResource, untagResource, updateOutpost, updateSite, updateSiteAddress, updateSiteRackPhysicalProperties
public static AWSOutpostsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelOrderResult> cancelOrderAsync(CancelOrderRequest request)
AWSOutpostsAsync
Cancels an order for an Outpost.
cancelOrderAsync
in interface AWSOutpostsAsync
public Future<CancelOrderResult> cancelOrderAsync(CancelOrderRequest request, AsyncHandler<CancelOrderRequest,CancelOrderResult> asyncHandler)
AWSOutpostsAsync
Cancels an order for an Outpost.
cancelOrderAsync
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<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<CreateSiteResult> createSiteAsync(CreateSiteRequest request)
AWSOutpostsAsync
Creates a site for an Outpost.
createSiteAsync
in interface AWSOutpostsAsync
public Future<CreateSiteResult> createSiteAsync(CreateSiteRequest request, AsyncHandler<CreateSiteRequest,CreateSiteResult> asyncHandler)
AWSOutpostsAsync
Creates a site for an Outpost.
createSiteAsync
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<GetCatalogItemResult> getCatalogItemAsync(GetCatalogItemRequest request)
AWSOutpostsAsync
Gets information about a catalog item.
getCatalogItemAsync
in interface AWSOutpostsAsync
public Future<GetCatalogItemResult> getCatalogItemAsync(GetCatalogItemRequest request, AsyncHandler<GetCatalogItemRequest,GetCatalogItemResult> asyncHandler)
AWSOutpostsAsync
Gets information about a catalog item.
getCatalogItemAsync
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<GetOrderResult> getOrderAsync(GetOrderRequest request)
AWSOutpostsAsync
Gets an order.
getOrderAsync
in interface AWSOutpostsAsync
public Future<GetOrderResult> getOrderAsync(GetOrderRequest request, AsyncHandler<GetOrderRequest,GetOrderResult> asyncHandler)
AWSOutpostsAsync
Gets an order.
getOrderAsync
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<GetSiteResult> getSiteAsync(GetSiteRequest request)
AWSOutpostsAsync
Gets information about the specified Outpost site.
getSiteAsync
in interface AWSOutpostsAsync
public Future<GetSiteResult> getSiteAsync(GetSiteRequest request, AsyncHandler<GetSiteRequest,GetSiteResult> asyncHandler)
AWSOutpostsAsync
Gets information about the specified Outpost site.
getSiteAsync
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<GetSiteAddressResult> getSiteAddressAsync(GetSiteAddressRequest request)
AWSOutpostsAsync
Gets the site address.
getSiteAddressAsync
in interface AWSOutpostsAsync
public Future<GetSiteAddressResult> getSiteAddressAsync(GetSiteAddressRequest request, AsyncHandler<GetSiteAddressRequest,GetSiteAddressResult> asyncHandler)
AWSOutpostsAsync
Gets the site address.
getSiteAddressAsync
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<ListCatalogItemsResult> listCatalogItemsAsync(ListCatalogItemsRequest request)
AWSOutpostsAsync
Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.
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.
listCatalogItemsAsync
in interface AWSOutpostsAsync
public Future<ListCatalogItemsResult> listCatalogItemsAsync(ListCatalogItemsRequest request, AsyncHandler<ListCatalogItemsRequest,ListCatalogItemsResult> asyncHandler)
AWSOutpostsAsync
Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.
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.
listCatalogItemsAsync
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<ListOrdersResult> listOrdersAsync(ListOrdersRequest request)
AWSOutpostsAsync
Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.
listOrdersAsync
in interface AWSOutpostsAsync
public Future<ListOrdersResult> listOrdersAsync(ListOrdersRequest request, AsyncHandler<ListOrdersRequest,ListOrdersResult> asyncHandler)
AWSOutpostsAsync
Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.
listOrdersAsync
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 Amazon Web Services account. Add filters to your request to return a more
specific list of results. Use filters to match an Outpost lifecycle status, Availability 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 Amazon Web Services account. Add filters to your request to return a more
specific list of results. Use filters to match an Outpost lifecycle status, Availability 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 your Amazon Web Services account.
listSitesAsync
in interface AWSOutpostsAsync
public Future<ListSitesResult> listSitesAsync(ListSitesRequest request, AsyncHandler<ListSitesRequest,ListSitesResult> asyncHandler)
AWSOutpostsAsync
Lists the sites for your Amazon Web Services 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 Future<UpdateOutpostResult> updateOutpostAsync(UpdateOutpostRequest request)
AWSOutpostsAsync
Updates an Outpost.
updateOutpostAsync
in interface AWSOutpostsAsync
public Future<UpdateOutpostResult> updateOutpostAsync(UpdateOutpostRequest request, AsyncHandler<UpdateOutpostRequest,UpdateOutpostResult> asyncHandler)
AWSOutpostsAsync
Updates an Outpost.
updateOutpostAsync
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<UpdateSiteResult> updateSiteAsync(UpdateSiteRequest request)
AWSOutpostsAsync
Updates the site.
updateSiteAsync
in interface AWSOutpostsAsync
public Future<UpdateSiteResult> updateSiteAsync(UpdateSiteRequest request, AsyncHandler<UpdateSiteRequest,UpdateSiteResult> asyncHandler)
AWSOutpostsAsync
Updates the site.
updateSiteAsync
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<UpdateSiteAddressResult> updateSiteAddressAsync(UpdateSiteAddressRequest request)
AWSOutpostsAsync
Updates the site address.
To update a site address with an order IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
updateSiteAddressAsync
in interface AWSOutpostsAsync
public Future<UpdateSiteAddressResult> updateSiteAddressAsync(UpdateSiteAddressRequest request, AsyncHandler<UpdateSiteAddressRequest,UpdateSiteAddressResult> asyncHandler)
AWSOutpostsAsync
Updates the site address.
To update a site address with an order IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.
updateSiteAddressAsync
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<UpdateSiteRackPhysicalPropertiesResult> updateSiteRackPhysicalPropertiesAsync(UpdateSiteRackPhysicalPropertiesRequest request)
AWSOutpostsAsync
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
updateSiteRackPhysicalPropertiesAsync
in interface AWSOutpostsAsync
public Future<UpdateSiteRackPhysicalPropertiesResult> updateSiteRackPhysicalPropertiesAsync(UpdateSiteRackPhysicalPropertiesRequest request, AsyncHandler<UpdateSiteRackPhysicalPropertiesRequest,UpdateSiteRackPhysicalPropertiesResult> asyncHandler)
AWSOutpostsAsync
Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.
To update a rack at a site with an order of IN_PROGRESS
, you must wait for the order to complete or
cancel the order.
updateSiteRackPhysicalPropertiesAsync
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