/* * 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.s3outposts; import javax.annotation.Generated; import com.amazonaws.services.s3outposts.model.*; /** * Interface for accessing Amazon S3 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.s3outposts.AbstractAmazonS3OutpostsAsync} instead. *

*

*

* Amazon S3 on Outposts provides access to S3 on Outposts operations. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonS3OutpostsAsync extends AmazonS3Outposts { /** *

* Creates an endpoint and associates it with the specified Outpost. *

* *

* It can take up to 5 minutes for this action to finish. *

*
*

*

* Related actions include: *

* * * @param createEndpointRequest * @return A Java Future containing the result of the CreateEndpoint operation returned by the service. * @sample AmazonS3OutpostsAsync.CreateEndpoint * @see AWS API * Documentation */ java.util.concurrent.Future createEndpointAsync(CreateEndpointRequest createEndpointRequest); /** *

* Creates an endpoint and associates it with the specified Outpost. *

* *

* It can take up to 5 minutes for this action to finish. *

*
*

*

* Related actions include: *

* * * @param createEndpointRequest * @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 CreateEndpoint operation returned by the service. * @sample AmazonS3OutpostsAsyncHandler.CreateEndpoint * @see AWS API * Documentation */ java.util.concurrent.Future createEndpointAsync(CreateEndpointRequest createEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes an endpoint. *

* *

* It can take up to 5 minutes for this action to finish. *

*
*

*

* Related actions include: *

* * * @param deleteEndpointRequest * @return A Java Future containing the result of the DeleteEndpoint operation returned by the service. * @sample AmazonS3OutpostsAsync.DeleteEndpoint * @see AWS API * Documentation */ java.util.concurrent.Future deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest); /** *

* Deletes an endpoint. *

* *

* It can take up to 5 minutes for this action to finish. *

*
*

*

* Related actions include: *

* * * @param deleteEndpointRequest * @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 DeleteEndpoint operation returned by the service. * @sample AmazonS3OutpostsAsyncHandler.DeleteEndpoint * @see AWS API * Documentation */ java.util.concurrent.Future deleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists endpoints associated with the specified Outpost. *

*

* Related actions include: *

* * * @param listEndpointsRequest * @return A Java Future containing the result of the ListEndpoints operation returned by the service. * @sample AmazonS3OutpostsAsync.ListEndpoints * @see AWS API * Documentation */ java.util.concurrent.Future listEndpointsAsync(ListEndpointsRequest listEndpointsRequest); /** *

* Lists endpoints associated with the specified Outpost. *

*

* Related actions include: *

* * * @param listEndpointsRequest * @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 ListEndpoints operation returned by the service. * @sample AmazonS3OutpostsAsyncHandler.ListEndpoints * @see AWS API * Documentation */ java.util.concurrent.Future listEndpointsAsync(ListEndpointsRequest listEndpointsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account. Includes S3 on Outposts * that you have access to as the Outposts owner, or as a shared user from Resource Access Manager (RAM). *

* * @param listOutpostsWithS3Request * @return A Java Future containing the result of the ListOutpostsWithS3 operation returned by the service. * @sample AmazonS3OutpostsAsync.ListOutpostsWithS3 * @see AWS * API Documentation */ java.util.concurrent.Future listOutpostsWithS3Async(ListOutpostsWithS3Request listOutpostsWithS3Request); /** *

* Lists the Outposts with S3 on Outposts capacity for your Amazon Web Services account. Includes S3 on Outposts * that you have access to as the Outposts owner, or as a shared user from Resource Access Manager (RAM). *

* * @param listOutpostsWithS3Request * @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 ListOutpostsWithS3 operation returned by the service. * @sample AmazonS3OutpostsAsyncHandler.ListOutpostsWithS3 * @see AWS * API Documentation */ java.util.concurrent.Future listOutpostsWithS3Async(ListOutpostsWithS3Request listOutpostsWithS3Request, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access * Manager (RAM). *

*

* Related actions include: *

* * * @param listSharedEndpointsRequest * @return A Java Future containing the result of the ListSharedEndpoints operation returned by the service. * @sample AmazonS3OutpostsAsync.ListSharedEndpoints * @see AWS * API Documentation */ java.util.concurrent.Future listSharedEndpointsAsync(ListSharedEndpointsRequest listSharedEndpointsRequest); /** *

* Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access * Manager (RAM). *

*

* Related actions include: *

* * * @param listSharedEndpointsRequest * @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 ListSharedEndpoints operation returned by the service. * @sample AmazonS3OutpostsAsyncHandler.ListSharedEndpoints * @see AWS * API Documentation */ java.util.concurrent.Future listSharedEndpointsAsync(ListSharedEndpointsRequest listSharedEndpointsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }