All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.mobile.MobileAsyncClient Maven / Gradle / Ivy

/*
 * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.mobile;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.mobile.model.CreateProjectRequest;
import software.amazon.awssdk.services.mobile.model.CreateProjectResponse;
import software.amazon.awssdk.services.mobile.model.DeleteProjectRequest;
import software.amazon.awssdk.services.mobile.model.DeleteProjectResponse;
import software.amazon.awssdk.services.mobile.model.DescribeBundleRequest;
import software.amazon.awssdk.services.mobile.model.DescribeBundleResponse;
import software.amazon.awssdk.services.mobile.model.DescribeProjectRequest;
import software.amazon.awssdk.services.mobile.model.DescribeProjectResponse;
import software.amazon.awssdk.services.mobile.model.ExportBundleRequest;
import software.amazon.awssdk.services.mobile.model.ExportBundleResponse;
import software.amazon.awssdk.services.mobile.model.ExportProjectRequest;
import software.amazon.awssdk.services.mobile.model.ExportProjectResponse;
import software.amazon.awssdk.services.mobile.model.ListBundlesRequest;
import software.amazon.awssdk.services.mobile.model.ListBundlesResponse;
import software.amazon.awssdk.services.mobile.model.ListProjectsRequest;
import software.amazon.awssdk.services.mobile.model.ListProjectsResponse;
import software.amazon.awssdk.services.mobile.model.UpdateProjectRequest;
import software.amazon.awssdk.services.mobile.model.UpdateProjectResponse;
import software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher;
import software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher;

/**
 * Service client for accessing AWS Mobile asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

* AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources * and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of * those resources. *

*/ @Generated("software.amazon.awssdk:codegen") public interface MobileAsyncClient extends SdkClient { String SERVICE_NAME = "AWSMobileHubService"; /** * Create a {@link MobileAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static MobileAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link MobileAsyncClient}. */ static MobileAsyncClientBuilder builder() { return new DefaultMobileAsyncClientBuilder(); } /** *

* Creates an AWS Mobile Hub project. *

* * @param createProjectRequest * Request structure used to request a project be created. * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has * exceeded the maximum number of resources in some AWS service. You should create another sub-account using * AWS Organizations or remove some resources and retry your request.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(CreateProjectRequest createProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an AWS Mobile Hub project. *

*
*

* This is a convenience which creates an instance of the {@link CreateProjectRequest.Builder} avoiding the need to * create one manually via {@link CreateProjectRequest#builder()} *

* * @param createProjectRequest * A {@link Consumer} that will call methods on {@link CreateProjectRequest.Builder} to create a request. * Request structure used to request a project be created. * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has * exceeded the maximum number of resources in some AWS service. You should create another sub-account using * AWS Organizations or remove some resources and retry your request.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(Consumer createProjectRequest) { return createProject(CreateProjectRequest.builder().applyMutation(createProjectRequest).build()); } /** *

* Delets a project in AWS Mobile Hub. *

* * @param deleteProjectRequest * Request structure used to request a project be deleted. * @return A Java Future containing the result of the DeleteProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(DeleteProjectRequest deleteProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Delets a project in AWS Mobile Hub. *

*
*

* This is a convenience which creates an instance of the {@link DeleteProjectRequest.Builder} avoiding the need to * create one manually via {@link DeleteProjectRequest#builder()} *

* * @param deleteProjectRequest * A {@link Consumer} that will call methods on {@link DeleteProjectRequest.Builder} to create a request. * Request structure used to request a project be deleted. * @return A Java Future containing the result of the DeleteProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(Consumer deleteProjectRequest) { return deleteProject(DeleteProjectRequest.builder().applyMutation(deleteProjectRequest).build()); } /** *

* Get the bundle details for the requested bundle id. *

* * @param describeBundleRequest * Request structure to request the details of a specific bundle. * @return A Java Future containing the result of the DescribeBundle operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DescribeBundle * @see AWS API * Documentation */ default CompletableFuture describeBundle(DescribeBundleRequest describeBundleRequest) { throw new UnsupportedOperationException(); } /** *

* Get the bundle details for the requested bundle id. *

*
*

* This is a convenience which creates an instance of the {@link DescribeBundleRequest.Builder} avoiding the need to * create one manually via {@link DescribeBundleRequest#builder()} *

* * @param describeBundleRequest * A {@link Consumer} that will call methods on {@link DescribeBundleRequest.Builder} to create a request. * Request structure to request the details of a specific bundle. * @return A Java Future containing the result of the DescribeBundle operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DescribeBundle * @see AWS API * Documentation */ default CompletableFuture describeBundle(Consumer describeBundleRequest) { return describeBundle(DescribeBundleRequest.builder().applyMutation(describeBundleRequest).build()); } /** *

* Gets details about a project in AWS Mobile Hub. *

* * @param describeProjectRequest * Request structure used to request details about a project. * @return A Java Future containing the result of the DescribeProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DescribeProject * @see AWS API * Documentation */ default CompletableFuture describeProject(DescribeProjectRequest describeProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Gets details about a project in AWS Mobile Hub. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProjectRequest.Builder} avoiding the need * to create one manually via {@link DescribeProjectRequest#builder()} *

* * @param describeProjectRequest * A {@link Consumer} that will call methods on {@link DescribeProjectRequest.Builder} to create a request. * Request structure used to request details about a project. * @return A Java Future containing the result of the DescribeProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.DescribeProject * @see AWS API * Documentation */ default CompletableFuture describeProject( Consumer describeProjectRequest) { return describeProject(DescribeProjectRequest.builder().applyMutation(describeProjectRequest).build()); } /** *

* Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile * app clients with backend AWS resources. *

* * @param exportBundleRequest * Request structure used to request generation of custom SDK and tool packages required to integrate mobile * web or app clients with backed AWS resources. * @return A Java Future containing the result of the ExportBundle operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ExportBundle * @see AWS API * Documentation */ default CompletableFuture exportBundle(ExportBundleRequest exportBundleRequest) { throw new UnsupportedOperationException(); } /** *

* Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile * app clients with backend AWS resources. *

*
*

* This is a convenience which creates an instance of the {@link ExportBundleRequest.Builder} avoiding the need to * create one manually via {@link ExportBundleRequest#builder()} *

* * @param exportBundleRequest * A {@link Consumer} that will call methods on {@link ExportBundleRequest.Builder} to create a request. * Request structure used to request generation of custom SDK and tool packages required to integrate mobile * web or app clients with backed AWS resources. * @return A Java Future containing the result of the ExportBundle operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ExportBundle * @see AWS API * Documentation */ default CompletableFuture exportBundle(Consumer exportBundleRequest) { return exportBundle(ExportBundleRequest.builder().applyMutation(exportBundleRequest).build()); } /** *

* Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push * credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS * account. *

* * @param exportProjectRequest * Request structure used in requests to export project configuration details. * @return A Java Future containing the result of the ExportProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ExportProject * @see AWS API * Documentation */ default CompletableFuture exportProject(ExportProjectRequest exportProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push * credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS * account. *

*
*

* This is a convenience which creates an instance of the {@link ExportProjectRequest.Builder} avoiding the need to * create one manually via {@link ExportProjectRequest#builder()} *

* * @param exportProjectRequest * A {@link Consumer} that will call methods on {@link ExportProjectRequest.Builder} to create a request. * Request structure used in requests to export project configuration details. * @return A Java Future containing the result of the ExportProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ExportProject * @see AWS API * Documentation */ default CompletableFuture exportProject(Consumer exportProjectRequest) { return exportProject(ExportProjectRequest.builder().applyMutation(exportProjectRequest).build()); } /** *

* List all available bundles. *

* * @param listBundlesRequest * Request structure to request all available bundles. * @return A Java Future containing the result of the ListBundles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default CompletableFuture listBundles(ListBundlesRequest listBundlesRequest) { throw new UnsupportedOperationException(); } /** *

* List all available bundles. *

*
*

* This is a convenience which creates an instance of the {@link ListBundlesRequest.Builder} avoiding the need to * create one manually via {@link ListBundlesRequest#builder()} *

* * @param listBundlesRequest * A {@link Consumer} that will call methods on {@link ListBundlesRequest.Builder} to create a request. * Request structure to request all available bundles. * @return A Java Future containing the result of the ListBundles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default CompletableFuture listBundles(Consumer listBundlesRequest) { return listBundles(ListBundlesRequest.builder().applyMutation(listBundlesRequest).build()); } /** *

* List all available bundles. *

* * @return A Java Future containing the result of the ListBundles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default CompletableFuture listBundles() { return listBundles(ListBundlesRequest.builder().build()); } /** *

* List all available bundles. *

*
*

* This is a variant of {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListBundlesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} operation. *

* * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default ListBundlesPublisher listBundlesPaginator() { return listBundlesPaginator(ListBundlesRequest.builder().build()); } /** *

* List all available bundles. *

*
*

* This is a variant of {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListBundlesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} operation. *

* * @param listBundlesRequest * Request structure to request all available bundles. * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default ListBundlesPublisher listBundlesPaginator(ListBundlesRequest listBundlesRequest) { throw new UnsupportedOperationException(); } /** *

* List all available bundles. *

*
*

* This is a variant of {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListBundlesResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListBundlesRequest.Builder} avoiding the need to * create one manually via {@link ListBundlesRequest#builder()} *

* * @param listBundlesRequest * A {@link Consumer} that will call methods on {@link ListBundlesRequest.Builder} to create a request. * Request structure to request all available bundles. * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListBundles * @see AWS API * Documentation */ default ListBundlesPublisher listBundlesPaginator(Consumer listBundlesRequest) { return listBundlesPaginator(ListBundlesRequest.builder().applyMutation(listBundlesRequest).build()); } /** *

* Lists projects in AWS Mobile Hub. *

* * @param listProjectsRequest * Request structure used to request projects list in AWS Mobile Hub. * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists projects in AWS Mobile Hub. *

*
*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsRequest.Builder} to create a request. * Request structure used to request projects list in AWS Mobile Hub. * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(Consumer listProjectsRequest) { return listProjects(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Lists projects in AWS Mobile Hub. *

* * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects() { return listProjects(ListProjectsRequest.builder().build()); } /** *

* Lists projects in AWS Mobile Hub. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} operation. *

* * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator() { return listProjectsPaginator(ListProjectsRequest.builder().build()); } /** *

* Lists projects in AWS Mobile Hub. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} operation. *

* * @param listProjectsRequest * Request structure used to request projects list in AWS Mobile Hub. * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists projects in AWS Mobile Hub. *

*
*

* This is a variant of {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.mobile.model.ListProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsRequest.Builder} to create a request. * Request structure used to request projects list in AWS Mobile Hub. * @return 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. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(Consumer listProjectsRequest) { return listProjectsPaginator(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Update an existing project. *

* * @param updateProjectRequest * Request structure used for requests to update project configuration. * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • AccountActionRequiredException Account Action is required in order to continue the request.
  • *
  • LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has * exceeded the maximum number of resources in some AWS service. You should create another sub-account using * AWS Organizations or remove some resources and retry your request.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(UpdateProjectRequest updateProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Update an existing project. *

*
*

* This is a convenience which creates an instance of the {@link UpdateProjectRequest.Builder} avoiding the need to * create one manually via {@link UpdateProjectRequest#builder()} *

* * @param updateProjectRequest * A {@link Consumer} that will call methods on {@link UpdateProjectRequest.Builder} to create a request. * Request structure used for requests to update project configuration. * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • InternalFailureException The service has encountered an unexpected error condition which prevents it * from servicing the request.
  • *
  • ServiceUnavailableException The service is temporarily unavailable. The request should be retried * after some time delay.
  • *
  • UnauthorizedException Credentials of the caller are insufficient to authorize the request.
  • *
  • TooManyRequestsException Too many requests have been received for this AWS account in too short a * time. The request should be retried after some time delay.
  • *
  • BadRequestException The request cannot be processed because some parameter is not valid or the * project state prevents the operation from being performed.
  • *
  • NotFoundException No entity can be found with the specified identifier.
  • *
  • AccountActionRequiredException Account Action is required in order to continue the request.
  • *
  • LimitExceededException There are too many AWS Mobile Hub projects in the account or the account has * exceeded the maximum number of resources in some AWS service. You should create another sub-account using * AWS Organizations or remove some resources and retry your request.
  • *
  • 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.
  • *
  • MobileException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample MobileAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(Consumer updateProjectRequest) { return updateProject(UpdateProjectRequest.builder().applyMutation(updateProjectRequest).build()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy