/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.outposts; import javax.annotation.Generated; import com.amazonaws.services.outposts.model.*; /** * Interface for accessing Outposts asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.outposts.AbstractAWSOutpostsAsync} instead. *
**
* 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. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSOutpostsAsync extends AWSOutposts { /** ** Cancels the specified order for an Outpost. *
* * @param cancelOrderRequest * @return A Java Future containing the result of the CancelOrder operation returned by the service. * @sample AWSOutpostsAsync.CancelOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Cancels the specified order for an Outpost. *
* * @param cancelOrderRequest * @param 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. * @return A Java Future containing the result of the CancelOrder operation returned by the service. * @sample AWSOutpostsAsyncHandler.CancelOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Creates an order for an Outpost. *
* * @param createOrderRequest * @return A Java Future containing the result of the CreateOrder operation returned by the service. * @sample AWSOutpostsAsync.CreateOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Creates an order for an Outpost. *
* * @param createOrderRequest * @param 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. * @return A Java Future containing the result of the CreateOrder operation returned by the service. * @sample AWSOutpostsAsyncHandler.CreateOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Creates an Outpost. *
** You can specify either an Availability one or an AZ ID. *
* * @param createOutpostRequest * @return A Java Future containing the result of the CreateOutpost operation returned by the service. * @sample AWSOutpostsAsync.CreateOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Creates an Outpost. *
** You can specify either an Availability one or an AZ ID. *
* * @param createOutpostRequest * @param 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. * @return A Java Future containing the result of the CreateOutpost operation returned by the service. * @sample AWSOutpostsAsyncHandler.CreateOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a site for an Outpost. *
* * @param createSiteRequest * @return A Java Future containing the result of the CreateSite operation returned by the service. * @sample AWSOutpostsAsync.CreateSite * @see AWS API * Documentation */ java.util.concurrent.Future* Creates a site for an Outpost. *
* * @param createSiteRequest * @param 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. * @return A Java Future containing the result of the CreateSite operation returned by the service. * @sample AWSOutpostsAsyncHandler.CreateSite * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified Outpost. *
* * @param deleteOutpostRequest * @return A Java Future containing the result of the DeleteOutpost operation returned by the service. * @sample AWSOutpostsAsync.DeleteOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified Outpost. *
* * @param deleteOutpostRequest * @param 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. * @return A Java Future containing the result of the DeleteOutpost operation returned by the service. * @sample AWSOutpostsAsyncHandler.DeleteOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified site. *
* * @param deleteSiteRequest * @return A Java Future containing the result of the DeleteSite operation returned by the service. * @sample AWSOutpostsAsync.DeleteSite * @see AWS API * Documentation */ java.util.concurrent.Future* Deletes the specified site. *
* * @param deleteSiteRequest * @param 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. * @return A Java Future containing the result of the DeleteSite operation returned by the service. * @sample AWSOutpostsAsyncHandler.DeleteSite * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified catalog item. *
* * @param getCatalogItemRequest * @return A Java Future containing the result of the GetCatalogItem operation returned by the service. * @sample AWSOutpostsAsync.GetCatalogItem * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified catalog item. *
* * @param getCatalogItemRequest * @param 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. * @return A Java Future containing the result of the GetCatalogItem operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetCatalogItem * @see AWS API * Documentation */ java.util.concurrent.Future* Amazon Web Services uses this action to install Outpost servers. *
** Gets information about the specified connection. *
** Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to * secure it. For more information, see Amazon Web Services * managed policies for Amazon Web Services Outposts and Logging Amazon Web * Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User * Guide. *
* * @param getConnectionRequest * @return A Java Future containing the result of the GetConnection operation returned by the service. * @sample AWSOutpostsAsync.GetConnection * @see AWS API * Documentation */ java.util.concurrent.Future* Amazon Web Services uses this action to install Outpost servers. *
** Gets information about the specified connection. *
** Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to * secure it. For more information, see Amazon Web Services * managed policies for Amazon Web Services Outposts and Logging Amazon Web * Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User * Guide. *
* * @param getConnectionRequest * @param 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. * @return A Java Future containing the result of the GetConnection operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetConnection * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified order. *
* * @param getOrderRequest * @return A Java Future containing the result of the GetOrder operation returned by the service. * @sample AWSOutpostsAsync.GetOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified order. *
* * @param getOrderRequest * @param 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. * @return A Java Future containing the result of the GetOrder operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetOrder * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified Outpost. *
* * @param getOutpostRequest * @return A Java Future containing the result of the GetOutpost operation returned by the service. * @sample AWSOutpostsAsync.GetOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified Outpost. *
* * @param getOutpostRequest * @param 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. * @return A Java Future containing the result of the GetOutpost operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Gets the instance types for the specified Outpost. *
* * @param getOutpostInstanceTypesRequest * @return A Java Future containing the result of the GetOutpostInstanceTypes operation returned by the service. * @sample AWSOutpostsAsync.GetOutpostInstanceTypes * @see AWS API Documentation */ java.util.concurrent.Future* Gets the instance types for the specified Outpost. *
* * @param getOutpostInstanceTypesRequest * @param 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. * @return A Java Future containing the result of the GetOutpostInstanceTypes operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetOutpostInstanceTypes * @see AWS API Documentation */ java.util.concurrent.Future* Gets information about the specified Outpost site. *
* * @param getSiteRequest * @return A Java Future containing the result of the GetSite operation returned by the service. * @sample AWSOutpostsAsync.GetSite * @see AWS API * Documentation */ java.util.concurrent.Future* Gets information about the specified Outpost site. *
* * @param getSiteRequest * @param 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. * @return A Java Future containing the result of the GetSite operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetSite * @see AWS API * Documentation */ java.util.concurrent.Future* Gets the site address of the specified site. *
* * @param getSiteAddressRequest * @return A Java Future containing the result of the GetSiteAddress operation returned by the service. * @sample AWSOutpostsAsync.GetSiteAddress * @see AWS API * Documentation */ java.util.concurrent.Future* Gets the site address of the specified site. *
* * @param getSiteAddressRequest * @param 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. * @return A Java Future containing the result of the GetSiteAddress operation returned by the service. * @sample AWSOutpostsAsyncHandler.GetSiteAddress * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the hardware assets for the specified Outpost. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listAssetsRequest * @return A Java Future containing the result of the ListAssets operation returned by the service. * @sample AWSOutpostsAsync.ListAssets * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the hardware assets for the specified Outpost. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listAssetsRequest * @param 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. * @return A Java Future containing the result of the ListAssets operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListAssets * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the items in the catalog. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listCatalogItemsRequest * @return A Java Future containing the result of the ListCatalogItems operation returned by the service. * @sample AWSOutpostsAsync.ListCatalogItems * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the items in the catalog. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listCatalogItemsRequest * @param 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. * @return A Java Future containing the result of the ListCatalogItems operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListCatalogItems * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outpost orders for your Amazon Web Services account. *
* * @param listOrdersRequest * @return A Java Future containing the result of the ListOrders operation returned by the service. * @sample AWSOutpostsAsync.ListOrders * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outpost orders for your Amazon Web Services account. *
* * @param listOrdersRequest * @param 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. * @return A Java Future containing the result of the ListOrders operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListOrders * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outposts for your Amazon Web Services account. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listOutpostsRequest * @return A Java Future containing the result of the ListOutposts operation returned by the service. * @sample AWSOutpostsAsync.ListOutposts * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outposts for your Amazon Web Services account. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listOutpostsRequest * @param 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. * @return A Java Future containing the result of the ListOutposts operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListOutposts * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listSitesRequest * @return A Java Future containing the result of the ListSites operation returned by the service. * @sample AWSOutpostsAsync.ListSites * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results. *
** Use filters to return specific results. If you specify multiple filters, the results include only the resources * that match all of the specified filters. For a filter where you can specify multiple values, the results include * items that match any of the values that you specify for the filter. *
* * @param listSitesRequest * @param 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. * @return A Java Future containing the result of the ListSites operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListSites * @see AWS API * Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSOutpostsAsync.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future* Lists the tags for the specified resource. *
* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSOutpostsAsyncHandler.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future* Amazon Web Services uses this action to install Outpost servers. *
** Starts the connection required for Outpost server installation. *
** Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to * secure it. For more information, see Amazon Web Services * managed policies for Amazon Web Services Outposts and Logging Amazon Web * Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User * Guide. *
* * @param startConnectionRequest * @return A Java Future containing the result of the StartConnection operation returned by the service. * @sample AWSOutpostsAsync.StartConnection * @see AWS API * Documentation */ java.util.concurrent.Future* Amazon Web Services uses this action to install Outpost servers. *
** Starts the connection required for Outpost server installation. *
** Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to * secure it. For more information, see Amazon Web Services * managed policies for Amazon Web Services Outposts and Logging Amazon Web * Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User * Guide. *
* * @param startConnectionRequest * @param 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. * @return A Java Future containing the result of the StartConnection operation returned by the service. * @sample AWSOutpostsAsyncHandler.StartConnection * @see AWS API * Documentation */ java.util.concurrent.Future* Adds tags to the specified resource. *
* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSOutpostsAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Adds tags to the specified resource. *
* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSOutpostsAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from the specified resource. *
* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSOutpostsAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Removes tags from the specified resource. *
* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSOutpostsAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future* Updates an Outpost. *
* * @param updateOutpostRequest * @return A Java Future containing the result of the UpdateOutpost operation returned by the service. * @sample AWSOutpostsAsync.UpdateOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Updates an Outpost. *
* * @param updateOutpostRequest * @param 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. * @return A Java Future containing the result of the UpdateOutpost operation returned by the service. * @sample AWSOutpostsAsyncHandler.UpdateOutpost * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified site. *
* * @param updateSiteRequest * @return A Java Future containing the result of the UpdateSite operation returned by the service. * @sample AWSOutpostsAsync.UpdateSite * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the specified site. *
* * @param updateSiteRequest * @param 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. * @return A Java Future containing the result of the UpdateSite operation returned by the service. * @sample AWSOutpostsAsyncHandler.UpdateSite * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the address of the specified site. *
** You can't update a site address if there is 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. *
* * @param updateSiteAddressRequest * @return A Java Future containing the result of the UpdateSiteAddress operation returned by the service. * @sample AWSOutpostsAsync.UpdateSiteAddress * @see AWS API * Documentation */ java.util.concurrent.Future* Updates the address of the specified site. *
** You can't update a site address if there is 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. *
* * @param updateSiteAddressRequest * @param 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. * @return A Java Future containing the result of the UpdateSiteAddress operation returned by the service. * @sample AWSOutpostsAsyncHandler.UpdateSiteAddress * @see AWS API * Documentation */ java.util.concurrent.Future* 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.
*
* 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.
*