@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_METRICENDPOINT_PREFIXbuilder, cancelOrder, createOrder, createOutpost, createSite, deleteOutpost, deleteSite, getCachedResponseMetadata, getCatalogItem, getOrder, getOutpost, getOutpostInstanceTypes, getSite, getSiteAddress, listAssets, listCatalogItems, listOrders, listOutposts, listSites, listTagsForResource, tagResource, untagResource, updateOutpost, updateSite, updateSiteAddress, updateSiteRackPhysicalPropertiesaddRequestHandler, 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, waitcancelOrder, createOrder, createOutpost, createSite, deleteOutpost, deleteSite, getCachedResponseMetadata, getCatalogItem, getOrder, getOutpost, getOutpostInstanceTypes, getSite, getSiteAddress, listAssets, listCatalogItems, listOrders, listOutposts, listSites, listTagsForResource, tagResource, untagResource, updateOutpost, updateSite, updateSiteAddress, updateSiteRackPhysicalPropertiespublic static AWSOutpostsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelOrderResult> cancelOrderAsync(CancelOrderRequest request)
AWSOutpostsAsyncCancels an order for an Outpost.
cancelOrderAsync in interface AWSOutpostsAsyncpublic Future<CancelOrderResult> cancelOrderAsync(CancelOrderRequest request, AsyncHandler<CancelOrderRequest,CancelOrderResult> asyncHandler)
AWSOutpostsAsyncCancels an order for an Outpost.
cancelOrderAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncCreates an order for an Outpost.
createOrderAsync in interface AWSOutpostsAsyncpublic Future<CreateOrderResult> createOrderAsync(CreateOrderRequest request, AsyncHandler<CreateOrderRequest,CreateOrderResult> asyncHandler)
AWSOutpostsAsyncCreates an order for an Outpost.
createOrderAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncCreates an Outpost.
You can specify AvailabilityZone or AvailabilityZoneId.
createOutpostAsync in interface AWSOutpostsAsyncpublic Future<CreateOutpostResult> createOutpostAsync(CreateOutpostRequest request, AsyncHandler<CreateOutpostRequest,CreateOutpostResult> asyncHandler)
AWSOutpostsAsyncCreates an Outpost.
You can specify AvailabilityZone or AvailabilityZoneId.
createOutpostAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncCreates a site for an Outpost.
createSiteAsync in interface AWSOutpostsAsyncpublic Future<CreateSiteResult> createSiteAsync(CreateSiteRequest request, AsyncHandler<CreateSiteRequest,CreateSiteResult> asyncHandler)
AWSOutpostsAsyncCreates a site for an Outpost.
createSiteAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncDeletes the Outpost.
deleteOutpostAsync in interface AWSOutpostsAsyncpublic Future<DeleteOutpostResult> deleteOutpostAsync(DeleteOutpostRequest request, AsyncHandler<DeleteOutpostRequest,DeleteOutpostResult> asyncHandler)
AWSOutpostsAsyncDeletes the Outpost.
deleteOutpostAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncDeletes the site.
deleteSiteAsync in interface AWSOutpostsAsyncpublic Future<DeleteSiteResult> deleteSiteAsync(DeleteSiteRequest request, AsyncHandler<DeleteSiteRequest,DeleteSiteResult> asyncHandler)
AWSOutpostsAsyncDeletes the site.
deleteSiteAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets information about a catalog item.
getCatalogItemAsync in interface AWSOutpostsAsyncpublic Future<GetCatalogItemResult> getCatalogItemAsync(GetCatalogItemRequest request, AsyncHandler<GetCatalogItemRequest,GetCatalogItemResult> asyncHandler)
AWSOutpostsAsyncGets information about a catalog item.
getCatalogItemAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets an order.
getOrderAsync in interface AWSOutpostsAsyncpublic Future<GetOrderResult> getOrderAsync(GetOrderRequest request, AsyncHandler<GetOrderRequest,GetOrderResult> asyncHandler)
AWSOutpostsAsyncGets an order.
getOrderAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets information about the specified Outpost.
getOutpostAsync in interface AWSOutpostsAsyncpublic Future<GetOutpostResult> getOutpostAsync(GetOutpostRequest request, AsyncHandler<GetOutpostRequest,GetOutpostResult> asyncHandler)
AWSOutpostsAsyncGets information about the specified Outpost.
getOutpostAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets the instance types for the specified Outpost.
getOutpostInstanceTypesAsync in interface AWSOutpostsAsyncpublic Future<GetOutpostInstanceTypesResult> getOutpostInstanceTypesAsync(GetOutpostInstanceTypesRequest request, AsyncHandler<GetOutpostInstanceTypesRequest,GetOutpostInstanceTypesResult> asyncHandler)
AWSOutpostsAsyncGets the instance types for the specified Outpost.
getOutpostInstanceTypesAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets information about the specified Outpost site.
getSiteAsync in interface AWSOutpostsAsyncpublic Future<GetSiteResult> getSiteAsync(GetSiteRequest request, AsyncHandler<GetSiteRequest,GetSiteResult> asyncHandler)
AWSOutpostsAsyncGets information about the specified Outpost site.
getSiteAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncGets the site address.
getSiteAddressAsync in interface AWSOutpostsAsyncpublic Future<GetSiteAddressResult> getSiteAddressAsync(GetSiteAddressRequest request, AsyncHandler<GetSiteAddressRequest,GetSiteAddressResult> asyncHandler)
AWSOutpostsAsyncGets the site address.
getSiteAddressAsync in interface AWSOutpostsAsyncasyncHandler - 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<ListAssetsResult> listAssetsAsync(ListAssetsRequest request)
AWSOutpostsAsyncLists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.
listAssetsAsync in interface AWSOutpostsAsyncpublic Future<ListAssetsResult> listAssetsAsync(ListAssetsRequest request, AsyncHandler<ListAssetsRequest,ListAssetsResult> asyncHandler)
AWSOutpostsAsyncLists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.
listAssetsAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncLists the items 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 AWSOutpostsAsyncpublic Future<ListCatalogItemsResult> listCatalogItemsAsync(ListCatalogItemsRequest request, AsyncHandler<ListCatalogItemsRequest,ListCatalogItemsResult> asyncHandler)
AWSOutpostsAsyncLists the items 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 AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncLists 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 AWSOutpostsAsyncpublic Future<ListOrdersResult> listOrdersAsync(ListOrdersRequest request, AsyncHandler<ListOrdersRequest,ListOrdersResult> asyncHandler)
AWSOutpostsAsyncLists 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 AWSOutpostsAsyncasyncHandler - 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
Lists 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 AWSOutpostsAsyncpublic Future<ListOutpostsResult> listOutpostsAsync(ListOutpostsRequest request, AsyncHandler<ListOutpostsRequest,ListOutpostsResult> asyncHandler)
AWSOutpostsAsync
Lists 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 AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncLists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.
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.
listSitesAsync in interface AWSOutpostsAsyncpublic Future<ListSitesResult> listSitesAsync(ListSitesRequest request, AsyncHandler<ListSitesRequest,ListSitesResult> asyncHandler)
AWSOutpostsAsyncLists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address.
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.
listSitesAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSOutpostsAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSOutpostsAsyncLists the tags for the specified resource.
listTagsForResourceAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncAdds tags to the specified resource.
tagResourceAsync in interface AWSOutpostsAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSOutpostsAsyncAdds tags to the specified resource.
tagResourceAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncRemoves tags from the specified resource.
untagResourceAsync in interface AWSOutpostsAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSOutpostsAsyncRemoves tags from the specified resource.
untagResourceAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncUpdates an Outpost.
updateOutpostAsync in interface AWSOutpostsAsyncpublic Future<UpdateOutpostResult> updateOutpostAsync(UpdateOutpostRequest request, AsyncHandler<UpdateOutpostRequest,UpdateOutpostResult> asyncHandler)
AWSOutpostsAsyncUpdates an Outpost.
updateOutpostAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncUpdates the site.
updateSiteAsync in interface AWSOutpostsAsyncpublic Future<UpdateSiteResult> updateSiteAsync(UpdateSiteRequest request, AsyncHandler<UpdateSiteRequest,UpdateSiteResult> asyncHandler)
AWSOutpostsAsyncUpdates the site.
updateSiteAsync in interface AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncUpdates 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 AWSOutpostsAsyncpublic Future<UpdateSiteAddressResult> updateSiteAddressAsync(UpdateSiteAddressRequest request, AsyncHandler<UpdateSiteAddressRequest,UpdateSiteAddressResult> asyncHandler)
AWSOutpostsAsyncUpdates 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 AWSOutpostsAsyncasyncHandler - 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)
AWSOutpostsAsyncUpdate 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 AWSOutpostsAsyncpublic Future<UpdateSiteRackPhysicalPropertiesResult> updateSiteRackPhysicalPropertiesAsync(UpdateSiteRackPhysicalPropertiesRequest request, AsyncHandler<UpdateSiteRackPhysicalPropertiesRequest,UpdateSiteRackPhysicalPropertiesResult> asyncHandler)
AWSOutpostsAsyncUpdate 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 AWSOutpostsAsyncasyncHandler - 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 AWSOutpostsshutdown in class AWSOutpostsClient