Interface OutpostsAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface OutpostsAsyncClient
    extends AwsClient
    Service client for accessing Outposts asynchronously. This can be created using the static builder() method.

    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.

    • Method Detail

      • cancelOrder

        default CompletableFuture<CancelOrderResponse> cancelOrder​(CancelOrderRequest cancelOrderRequest)

        Cancels the specified order for an Outpost.

        Parameters:
        cancelOrderRequest -
        Returns:
        A Java Future containing the result of the CancelOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • cancelOrder

        default CompletableFuture<CancelOrderResponse> cancelOrder​(Consumer<CancelOrderRequest.Builder> cancelOrderRequest)

        Cancels the specified order for an Outpost.


        This is a convenience which creates an instance of the CancelOrderRequest.Builder avoiding the need to create one manually via CancelOrderRequest.builder()

        Parameters:
        cancelOrderRequest - A Consumer that will call methods on CancelOrderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CancelOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createOrder

        default CompletableFuture<CreateOrderResponse> createOrder​(CreateOrderRequest createOrderRequest)

        Creates an order for an Outpost.

        Parameters:
        createOrderRequest -
        Returns:
        A Java Future containing the result of the CreateOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createOrder

        default CompletableFuture<CreateOrderResponse> createOrder​(Consumer<CreateOrderRequest.Builder> createOrderRequest)

        Creates an order for an Outpost.


        This is a convenience which creates an instance of the CreateOrderRequest.Builder avoiding the need to create one manually via CreateOrderRequest.builder()

        Parameters:
        createOrderRequest - A Consumer that will call methods on CreateOrderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createOutpost

        default CompletableFuture<CreateOutpostResponse> createOutpost​(CreateOutpostRequest createOutpostRequest)

        Creates an Outpost.

        You can specify either an Availability one or an AZ ID.

        Parameters:
        createOutpostRequest -
        Returns:
        A Java Future containing the result of the CreateOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createOutpost

        default CompletableFuture<CreateOutpostResponse> createOutpost​(Consumer<CreateOutpostRequest.Builder> createOutpostRequest)

        Creates an Outpost.

        You can specify either an Availability one or an AZ ID.


        This is a convenience which creates an instance of the CreateOutpostRequest.Builder avoiding the need to create one manually via CreateOutpostRequest.builder()

        Parameters:
        createOutpostRequest - A Consumer that will call methods on CreateOutpostRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSite

        default CompletableFuture<CreateSiteResponse> createSite​(CreateSiteRequest createSiteRequest)

        Creates a site for an Outpost.

        Parameters:
        createSiteRequest -
        Returns:
        A Java Future containing the result of the CreateSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSite

        default CompletableFuture<CreateSiteResponse> createSite​(Consumer<CreateSiteRequest.Builder> createSiteRequest)

        Creates a site for an Outpost.


        This is a convenience which creates an instance of the CreateSiteRequest.Builder avoiding the need to create one manually via CreateSiteRequest.builder()

        Parameters:
        createSiteRequest - A Consumer that will call methods on CreateSiteRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • ServiceQuotaExceededException You have exceeded a service quota.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteOutpost

        default CompletableFuture<DeleteOutpostResponse> deleteOutpost​(DeleteOutpostRequest deleteOutpostRequest)

        Deletes the specified Outpost.

        Parameters:
        deleteOutpostRequest -
        Returns:
        A Java Future containing the result of the DeleteOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteOutpost

        default CompletableFuture<DeleteOutpostResponse> deleteOutpost​(Consumer<DeleteOutpostRequest.Builder> deleteOutpostRequest)

        Deletes the specified Outpost.


        This is a convenience which creates an instance of the DeleteOutpostRequest.Builder avoiding the need to create one manually via DeleteOutpostRequest.builder()

        Parameters:
        deleteOutpostRequest - A Consumer that will call methods on DeleteOutpostRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSite

        default CompletableFuture<DeleteSiteResponse> deleteSite​(DeleteSiteRequest deleteSiteRequest)

        Deletes the specified site.

        Parameters:
        deleteSiteRequest -
        Returns:
        A Java Future containing the result of the DeleteSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSite

        default CompletableFuture<DeleteSiteResponse> deleteSite​(Consumer<DeleteSiteRequest.Builder> deleteSiteRequest)

        Deletes the specified site.


        This is a convenience which creates an instance of the DeleteSiteRequest.Builder avoiding the need to create one manually via DeleteSiteRequest.builder()

        Parameters:
        deleteSiteRequest - A Consumer that will call methods on DeleteSiteRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCatalogItem

        default CompletableFuture<GetCatalogItemResponse> getCatalogItem​(GetCatalogItemRequest getCatalogItemRequest)

        Gets information about the specified catalog item.

        Parameters:
        getCatalogItemRequest -
        Returns:
        A Java Future containing the result of the GetCatalogItem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCatalogItem

        default CompletableFuture<GetCatalogItemResponse> getCatalogItem​(Consumer<GetCatalogItemRequest.Builder> getCatalogItemRequest)

        Gets information about the specified catalog item.


        This is a convenience which creates an instance of the GetCatalogItemRequest.Builder avoiding the need to create one manually via GetCatalogItemRequest.builder()

        Parameters:
        getCatalogItemRequest - A Consumer that will call methods on GetCatalogItemRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCatalogItem operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnection

        default CompletableFuture<GetConnectionResponse> getConnection​(GetConnectionRequest getConnectionRequest)

        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.

        Parameters:
        getConnectionRequest -
        Returns:
        A Java Future containing the result of the GetConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have permission to perform this operation.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getConnection

        default CompletableFuture<GetConnectionResponse> getConnection​(Consumer<GetConnectionRequest.Builder> getConnectionRequest)

        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.


        This is a convenience which creates an instance of the GetConnectionRequest.Builder avoiding the need to create one manually via GetConnectionRequest.builder()

        Parameters:
        getConnectionRequest - A Consumer that will call methods on GetConnectionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have permission to perform this operation.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOrder

        default CompletableFuture<GetOrderResponse> getOrder​(GetOrderRequest getOrderRequest)

        Gets information about the specified order.

        Parameters:
        getOrderRequest -
        Returns:
        A Java Future containing the result of the GetOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOrder

        default CompletableFuture<GetOrderResponse> getOrder​(Consumer<GetOrderRequest.Builder> getOrderRequest)

        Gets information about the specified order.


        This is a convenience which creates an instance of the GetOrderRequest.Builder avoiding the need to create one manually via GetOrderRequest.builder()

        Parameters:
        getOrderRequest - A Consumer that will call methods on GetOrderRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetOrder operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpost

        default CompletableFuture<GetOutpostResponse> getOutpost​(GetOutpostRequest getOutpostRequest)

        Gets information about the specified Outpost.

        Parameters:
        getOutpostRequest -
        Returns:
        A Java Future containing the result of the GetOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpost

        default CompletableFuture<GetOutpostResponse> getOutpost​(Consumer<GetOutpostRequest.Builder> getOutpostRequest)

        Gets information about the specified Outpost.


        This is a convenience which creates an instance of the GetOutpostRequest.Builder avoiding the need to create one manually via GetOutpostRequest.builder()

        Parameters:
        getOutpostRequest - A Consumer that will call methods on GetOutpostRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpostInstanceTypes

        default CompletableFuture<GetOutpostInstanceTypesResponse> getOutpostInstanceTypes​(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest)

        Gets the instance types for the specified Outpost.

        Parameters:
        getOutpostInstanceTypesRequest -
        Returns:
        A Java Future containing the result of the GetOutpostInstanceTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpostInstanceTypes

        default CompletableFuture<GetOutpostInstanceTypesResponse> getOutpostInstanceTypes​(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest)

        Gets the instance types for the specified Outpost.


        This is a convenience which creates an instance of the GetOutpostInstanceTypesRequest.Builder avoiding the need to create one manually via GetOutpostInstanceTypesRequest.builder()

        Parameters:
        getOutpostInstanceTypesRequest - A Consumer that will call methods on GetOutpostInstanceTypesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetOutpostInstanceTypes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpostInstanceTypesPaginator

        default GetOutpostInstanceTypesPublisher getOutpostInstanceTypesPaginator​(GetOutpostInstanceTypesRequest getOutpostInstanceTypesRequest)

        Gets the instance types for the specified Outpost.


        This is a variant of getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest) operation.

        Parameters:
        getOutpostInstanceTypesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getOutpostInstanceTypesPaginator

        default GetOutpostInstanceTypesPublisher getOutpostInstanceTypesPaginator​(Consumer<GetOutpostInstanceTypesRequest.Builder> getOutpostInstanceTypesRequest)

        Gets the instance types for the specified Outpost.


        This is a variant of getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.GetOutpostInstanceTypesPublisher publisher = client.getOutpostInstanceTypesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getOutpostInstanceTypes(software.amazon.awssdk.services.outposts.model.GetOutpostInstanceTypesRequest) operation.

        This is a convenience which creates an instance of the GetOutpostInstanceTypesRequest.Builder avoiding the need to create one manually via GetOutpostInstanceTypesRequest.builder()

        Parameters:
        getOutpostInstanceTypesRequest - A Consumer that will call methods on GetOutpostInstanceTypesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSite

        default CompletableFuture<GetSiteResponse> getSite​(GetSiteRequest getSiteRequest)

        Gets information about the specified Outpost site.

        Parameters:
        getSiteRequest -
        Returns:
        A Java Future containing the result of the GetSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSite

        default CompletableFuture<GetSiteResponse> getSite​(Consumer<GetSiteRequest.Builder> getSiteRequest)

        Gets information about the specified Outpost site.


        This is a convenience which creates an instance of the GetSiteRequest.Builder avoiding the need to create one manually via GetSiteRequest.builder()

        Parameters:
        getSiteRequest - A Consumer that will call methods on GetSiteRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSiteAddress

        default CompletableFuture<GetSiteAddressResponse> getSiteAddress​(GetSiteAddressRequest getSiteAddressRequest)

        Gets the site address of the specified site.

        Parameters:
        getSiteAddressRequest -
        Returns:
        A Java Future containing the result of the GetSiteAddress operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSiteAddress

        default CompletableFuture<GetSiteAddressResponse> getSiteAddress​(Consumer<GetSiteAddressRequest.Builder> getSiteAddressRequest)

        Gets the site address of the specified site.


        This is a convenience which creates an instance of the GetSiteAddressRequest.Builder avoiding the need to create one manually via GetSiteAddressRequest.builder()

        Parameters:
        getSiteAddressRequest - A Consumer that will call methods on GetSiteAddressRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSiteAddress operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssets

        default CompletableFuture<ListAssetsResponse> listAssets​(ListAssetsRequest listAssetsRequest)

        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.

        Parameters:
        listAssetsRequest -
        Returns:
        A Java Future containing the result of the ListAssets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssets

        default CompletableFuture<ListAssetsResponse> listAssets​(Consumer<ListAssetsRequest.Builder> listAssetsRequest)

        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.


        This is a convenience which creates an instance of the ListAssetsRequest.Builder avoiding the need to create one manually via ListAssetsRequest.builder()

        Parameters:
        listAssetsRequest - A Consumer that will call methods on ListAssetsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAssets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssetsPaginator

        default ListAssetsPublisher listAssetsPaginator​(ListAssetsRequest listAssetsRequest)

        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.


        This is a variant of listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListAssetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListAssetsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation.

        Parameters:
        listAssetsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAssetsPaginator

        default ListAssetsPublisher listAssetsPaginator​(Consumer<ListAssetsRequest.Builder> listAssetsRequest)

        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.


        This is a variant of listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListAssetsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListAssetsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAssets(software.amazon.awssdk.services.outposts.model.ListAssetsRequest) operation.

        This is a convenience which creates an instance of the ListAssetsRequest.Builder avoiding the need to create one manually via ListAssetsRequest.builder()

        Parameters:
        listAssetsRequest - A Consumer that will call methods on ListAssetsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCatalogItems

        default CompletableFuture<ListCatalogItemsResponse> listCatalogItems​(ListCatalogItemsRequest listCatalogItemsRequest)

        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.

        Parameters:
        listCatalogItemsRequest -
        Returns:
        A Java Future containing the result of the ListCatalogItems operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCatalogItems

        default CompletableFuture<ListCatalogItemsResponse> listCatalogItems​(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest)

        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.


        This is a convenience which creates an instance of the ListCatalogItemsRequest.Builder avoiding the need to create one manually via ListCatalogItemsRequest.builder()

        Parameters:
        listCatalogItemsRequest - A Consumer that will call methods on ListCatalogItemsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCatalogItems operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCatalogItemsPaginator

        default ListCatalogItemsPublisher listCatalogItemsPaginator​(ListCatalogItemsRequest listCatalogItemsRequest)

        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.


        This is a variant of listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation.

        Parameters:
        listCatalogItemsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCatalogItemsPaginator

        default ListCatalogItemsPublisher listCatalogItemsPaginator​(Consumer<ListCatalogItemsRequest.Builder> listCatalogItemsRequest)

        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.


        This is a variant of listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListCatalogItemsPublisher publisher = client.listCatalogItemsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListCatalogItemsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCatalogItems(software.amazon.awssdk.services.outposts.model.ListCatalogItemsRequest) operation.

        This is a convenience which creates an instance of the ListCatalogItemsRequest.Builder avoiding the need to create one manually via ListCatalogItemsRequest.builder()

        Parameters:
        listCatalogItemsRequest - A Consumer that will call methods on ListCatalogItemsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrders

        default CompletableFuture<ListOrdersResponse> listOrders​(ListOrdersRequest listOrdersRequest)

        Lists the Outpost orders for your Amazon Web Services account.

        Parameters:
        listOrdersRequest -
        Returns:
        A Java Future containing the result of the ListOrders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrders

        default CompletableFuture<ListOrdersResponse> listOrders​(Consumer<ListOrdersRequest.Builder> listOrdersRequest)

        Lists the Outpost orders for your Amazon Web Services account.


        This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to create one manually via ListOrdersRequest.builder()

        Parameters:
        listOrdersRequest - A Consumer that will call methods on ListOrdersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListOrders operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrdersPaginator

        default ListOrdersPublisher listOrdersPaginator​(ListOrdersRequest listOrdersRequest)

        Lists the Outpost orders for your Amazon Web Services account.


        This is a variant of listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOrdersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListOrdersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation.

        Parameters:
        listOrdersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrdersPaginator

        default ListOrdersPublisher listOrdersPaginator​(Consumer<ListOrdersRequest.Builder> listOrdersRequest)

        Lists the Outpost orders for your Amazon Web Services account.


        This is a variant of listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListOrdersPublisher publisher = client.listOrdersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOrdersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListOrdersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOrders(software.amazon.awssdk.services.outposts.model.ListOrdersRequest) operation.

        This is a convenience which creates an instance of the ListOrdersRequest.Builder avoiding the need to create one manually via ListOrdersRequest.builder()

        Parameters:
        listOrdersRequest - A Consumer that will call methods on ListOrdersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOutposts

        default CompletableFuture<ListOutpostsResponse> listOutposts​(ListOutpostsRequest listOutpostsRequest)

        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.

        Parameters:
        listOutpostsRequest -
        Returns:
        A Java Future containing the result of the ListOutposts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOutposts

        default CompletableFuture<ListOutpostsResponse> listOutposts​(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest)

        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.


        This is a convenience which creates an instance of the ListOutpostsRequest.Builder avoiding the need to create one manually via ListOutpostsRequest.builder()

        Parameters:
        listOutpostsRequest - A Consumer that will call methods on ListOutpostsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListOutposts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOutpostsPaginator

        default ListOutpostsPublisher listOutpostsPaginator​(ListOutpostsRequest listOutpostsRequest)

        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.


        This is a variant of listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOutpostsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListOutpostsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation.

        Parameters:
        listOutpostsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOutpostsPaginator

        default ListOutpostsPublisher listOutpostsPaginator​(Consumer<ListOutpostsRequest.Builder> listOutpostsRequest)

        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.


        This is a variant of listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListOutpostsPublisher publisher = client.listOutpostsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListOutpostsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListOutpostsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOutposts(software.amazon.awssdk.services.outposts.model.ListOutpostsRequest) operation.

        This is a convenience which creates an instance of the ListOutpostsRequest.Builder avoiding the need to create one manually via ListOutpostsRequest.builder()

        Parameters:
        listOutpostsRequest - A Consumer that will call methods on ListOutpostsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSites

        default CompletableFuture<ListSitesResponse> listSites​(ListSitesRequest listSitesRequest)

        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.

        Parameters:
        listSitesRequest -
        Returns:
        A Java Future containing the result of the ListSites operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSites

        default CompletableFuture<ListSitesResponse> listSites​(Consumer<ListSitesRequest.Builder> listSitesRequest)

        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.


        This is a convenience which creates an instance of the ListSitesRequest.Builder avoiding the need to create one manually via ListSitesRequest.builder()

        Parameters:
        listSitesRequest - A Consumer that will call methods on ListSitesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSites operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSitesPaginator

        default ListSitesPublisher listSitesPaginator​(ListSitesRequest listSitesRequest)

        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.


        This is a variant of listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListSitesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListSitesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation.

        Parameters:
        listSitesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSitesPaginator

        default ListSitesPublisher listSitesPaginator​(Consumer<ListSitesRequest.Builder> listSitesRequest)

        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.


        This is a variant of listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.outposts.paginators.ListSitesPublisher publisher = client.listSitesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.outposts.model.ListSitesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.outposts.model.ListSitesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSites(software.amazon.awssdk.services.outposts.model.ListSitesRequest) operation.

        This is a convenience which creates an instance of the ListSitesRequest.Builder avoiding the need to create one manually via ListSitesRequest.builder()

        Parameters:
        listSitesRequest - A Consumer that will call methods on ListSitesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Lists the tags for the specified resource.

        Parameters:
        listTagsForResourceRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

        Lists the tags for the specified resource.


        This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startConnection

        default CompletableFuture<StartConnectionResponse> startConnection​(StartConnectionRequest startConnectionRequest)

        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.

        Parameters:
        startConnectionRequest -
        Returns:
        A Java Future containing the result of the StartConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have permission to perform this operation.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startConnection

        default CompletableFuture<StartConnectionResponse> startConnection​(Consumer<StartConnectionRequest.Builder> startConnectionRequest)

        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.


        This is a convenience which creates an instance of the StartConnectionRequest.Builder avoiding the need to create one manually via StartConnectionRequest.builder()

        Parameters:
        startConnectionRequest - A Consumer that will call methods on StartConnectionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartConnection operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have permission to perform this operation.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Adds tags to the specified resource.

        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Adds tags to the specified resource.


        This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes tags from the specified resource.

        Parameters:
        untagResourceRequest -
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes tags from the specified resource.


        This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • InternalServerException An internal error has occurred.
        • ValidationException A parameter is not valid.
        • NotFoundException The specified request is not valid.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateOutpost

        default CompletableFuture<UpdateOutpostResponse> updateOutpost​(UpdateOutpostRequest updateOutpostRequest)

        Updates an Outpost.

        Parameters:
        updateOutpostRequest -
        Returns:
        A Java Future containing the result of the UpdateOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateOutpost

        default CompletableFuture<UpdateOutpostResponse> updateOutpost​(Consumer<UpdateOutpostRequest.Builder> updateOutpostRequest)

        Updates an Outpost.


        This is a convenience which creates an instance of the UpdateOutpostRequest.Builder avoiding the need to create one manually via UpdateOutpostRequest.builder()

        Parameters:
        updateOutpostRequest - A Consumer that will call methods on UpdateOutpostRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateOutpost operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSite

        default CompletableFuture<UpdateSiteResponse> updateSite​(UpdateSiteRequest updateSiteRequest)

        Updates the specified site.

        Parameters:
        updateSiteRequest -
        Returns:
        A Java Future containing the result of the UpdateSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSite

        default CompletableFuture<UpdateSiteResponse> updateSite​(Consumer<UpdateSiteRequest.Builder> updateSiteRequest)

        Updates the specified site.


        This is a convenience which creates an instance of the UpdateSiteRequest.Builder avoiding the need to create one manually via UpdateSiteRequest.builder()

        Parameters:
        updateSiteRequest - A Consumer that will call methods on UpdateSiteRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSite operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSiteAddress

        default CompletableFuture<UpdateSiteAddressResponse> updateSiteAddress​(UpdateSiteAddressRequest updateSiteAddressRequest)

        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.

        Parameters:
        updateSiteAddressRequest -
        Returns:
        A Java Future containing the result of the UpdateSiteAddress operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSiteAddress

        default CompletableFuture<UpdateSiteAddressResponse> updateSiteAddress​(Consumer<UpdateSiteAddressRequest.Builder> updateSiteAddressRequest)

        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.


        This is a convenience which creates an instance of the UpdateSiteAddressRequest.Builder avoiding the need to create one manually via UpdateSiteAddressRequest.builder()

        Parameters:
        updateSiteAddressRequest - A Consumer that will call methods on UpdateSiteAddressRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSiteAddress operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • NotFoundException The specified request is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSiteRackPhysicalProperties

        default CompletableFuture<UpdateSiteRackPhysicalPropertiesResponse> updateSiteRackPhysicalProperties​(UpdateSiteRackPhysicalPropertiesRequest updateSiteRackPhysicalPropertiesRequest)

        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.

        Parameters:
        updateSiteRackPhysicalPropertiesRequest -
        Returns:
        A Java Future containing the result of the UpdateSiteRackPhysicalProperties operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSiteRackPhysicalProperties

        default CompletableFuture<UpdateSiteRackPhysicalPropertiesResponse> updateSiteRackPhysicalProperties​(Consumer<UpdateSiteRackPhysicalPropertiesRequest.Builder> updateSiteRackPhysicalPropertiesRequest)

        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.


        This is a convenience which creates an instance of the UpdateSiteRackPhysicalPropertiesRequest.Builder avoiding the need to create one manually via UpdateSiteRackPhysicalPropertiesRequest.builder()

        Parameters:
        updateSiteRackPhysicalPropertiesRequest - A Consumer that will call methods on UpdateSiteRackPhysicalPropertiesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSiteRackPhysicalProperties operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException A parameter is not valid.
        • ConflictException Updating or deleting this resource can cause an inconsistent state.
        • NotFoundException The specified request is not valid.
        • AccessDeniedException You do not have permission to perform this operation.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • OutpostsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation