@Generated(value="software.amazon.awssdk:codegen") public interface MobileAsyncClient extends SdkClient
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.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static MobileAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
MobileAsyncClient . |
static MobileAsyncClient |
create()
Create a
MobileAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateProjectResponse> |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates an AWS Mobile Hub project.
|
default CompletableFuture<CreateProjectResponse> |
createProject(CreateProjectRequest createProjectRequest)
Creates an AWS Mobile Hub project.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Delets a project in AWS Mobile Hub.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Delets a project in AWS Mobile Hub.
|
default CompletableFuture<DescribeBundleResponse> |
describeBundle(Consumer<DescribeBundleRequest.Builder> describeBundleRequest)
Get the bundle details for the requested bundle id.
|
default CompletableFuture<DescribeBundleResponse> |
describeBundle(DescribeBundleRequest describeBundleRequest)
Get the bundle details for the requested bundle id.
|
default CompletableFuture<DescribeProjectResponse> |
describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest)
Gets details about a project in AWS Mobile Hub.
|
default CompletableFuture<DescribeProjectResponse> |
describeProject(DescribeProjectRequest describeProjectRequest)
Gets details about a project in AWS Mobile Hub.
|
default CompletableFuture<ExportBundleResponse> |
exportBundle(Consumer<ExportBundleRequest.Builder> exportBundleRequest)
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile
app clients with backend AWS resources.
|
default CompletableFuture<ExportBundleResponse> |
exportBundle(ExportBundleRequest exportBundleRequest)
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile
app clients with backend AWS resources.
|
default CompletableFuture<ExportProjectResponse> |
exportProject(Consumer<ExportProjectRequest.Builder> exportProjectRequest)
Exports project configuration to a snapshot which can be downloaded and shared.
|
default CompletableFuture<ExportProjectResponse> |
exportProject(ExportProjectRequest exportProjectRequest)
Exports project configuration to a snapshot which can be downloaded and shared.
|
default CompletableFuture<ListBundlesResponse> |
listBundles()
List all available bundles.
|
default CompletableFuture<ListBundlesResponse> |
listBundles(Consumer<ListBundlesRequest.Builder> listBundlesRequest)
List all available bundles.
|
default CompletableFuture<ListBundlesResponse> |
listBundles(ListBundlesRequest listBundlesRequest)
List all available bundles.
|
default ListBundlesPublisher |
listBundlesPaginator()
List all available bundles.
|
default ListBundlesPublisher |
listBundlesPaginator(Consumer<ListBundlesRequest.Builder> listBundlesRequest)
List all available bundles.
|
default ListBundlesPublisher |
listBundlesPaginator(ListBundlesRequest listBundlesRequest)
List all available bundles.
|
default CompletableFuture<ListProjectsResponse> |
listProjects()
Lists projects in AWS Mobile Hub.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Lists projects in AWS Mobile Hub.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(ListProjectsRequest listProjectsRequest)
Lists projects in AWS Mobile Hub.
|
default ListProjectsPublisher |
listProjectsPaginator()
Lists projects in AWS Mobile Hub.
|
default ListProjectsPublisher |
listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Lists projects in AWS Mobile Hub.
|
default ListProjectsPublisher |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Lists projects in AWS Mobile Hub.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Update an existing project.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(UpdateProjectRequest updateProjectRequest)
Update an existing project.
|
serviceName
close
static final String SERVICE_NAME
static MobileAsyncClient create()
MobileAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static MobileAsyncClientBuilder builder()
MobileAsyncClient
.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates an AWS Mobile Hub project.
createProjectRequest
- Request structure used to request a project be created.default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates an AWS Mobile Hub project.
This is a convenience which creates an instance of the CreateProjectRequest.Builder
avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest
- A Consumer
that will call methods on CreateProjectRequest.Builder
to create a request.
Request structure used to request a project be created.default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)
Delets a project in AWS Mobile Hub.
deleteProjectRequest
- Request structure used to request a project be deleted.default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Delets a project in AWS Mobile Hub.
This is a convenience which creates an instance of the DeleteProjectRequest.Builder
avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest
- A Consumer
that will call methods on DeleteProjectRequest.Builder
to create a request.
Request structure used to request a project be deleted.default CompletableFuture<DescribeBundleResponse> describeBundle(DescribeBundleRequest describeBundleRequest)
Get the bundle details for the requested bundle id.
describeBundleRequest
- Request structure to request the details of a specific bundle.default CompletableFuture<DescribeBundleResponse> describeBundle(Consumer<DescribeBundleRequest.Builder> describeBundleRequest)
Get the bundle details for the requested bundle id.
This is a convenience which creates an instance of the DescribeBundleRequest.Builder
avoiding the need to
create one manually via DescribeBundleRequest.builder()
describeBundleRequest
- A Consumer
that will call methods on DescribeBundleRequest.Builder
to create a request.
Request structure to request the details of a specific bundle.default CompletableFuture<DescribeProjectResponse> describeProject(DescribeProjectRequest describeProjectRequest)
Gets details about a project in AWS Mobile Hub.
describeProjectRequest
- Request structure used to request details about a project.default CompletableFuture<DescribeProjectResponse> describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest)
Gets details about a project in AWS Mobile Hub.
This is a convenience which creates an instance of the DescribeProjectRequest.Builder
avoiding the need
to create one manually via DescribeProjectRequest.builder()
describeProjectRequest
- A Consumer
that will call methods on DescribeProjectRequest.Builder
to create a request.
Request structure used to request details about a project.default CompletableFuture<ExportBundleResponse> exportBundle(ExportBundleRequest exportBundleRequest)
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
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.default CompletableFuture<ExportBundleResponse> exportBundle(Consumer<ExportBundleRequest.Builder> exportBundleRequest)
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 ExportBundleRequest.Builder
avoiding the need to
create one manually via ExportBundleRequest.builder()
exportBundleRequest
- A Consumer
that will call methods on 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.default CompletableFuture<ExportProjectResponse> exportProject(ExportProjectRequest exportProjectRequest)
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.
exportProjectRequest
- Request structure used in requests to export project configuration details.default CompletableFuture<ExportProjectResponse> exportProject(Consumer<ExportProjectRequest.Builder> exportProjectRequest)
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 ExportProjectRequest.Builder
avoiding the need to
create one manually via ExportProjectRequest.builder()
exportProjectRequest
- A Consumer
that will call methods on ExportProjectRequest.Builder
to create a request.
Request structure used in requests to export project configuration details.default CompletableFuture<ListBundlesResponse> listBundles(ListBundlesRequest listBundlesRequest)
List all available bundles.
listBundlesRequest
- Request structure to request all available bundles.default CompletableFuture<ListBundlesResponse> listBundles(Consumer<ListBundlesRequest.Builder> listBundlesRequest)
List all available bundles.
This is a convenience which creates an instance of the ListBundlesRequest.Builder
avoiding the need to
create one manually via ListBundlesRequest.builder()
listBundlesRequest
- A Consumer
that will call methods on ListBundlesRequest.Builder
to create a request.
Request structure to request all available bundles.default CompletableFuture<ListBundlesResponse> listBundles()
List all available bundles.
default ListBundlesPublisher listBundlesPaginator()
List all available bundles.
This is a variant of 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
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.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListBundlesResponse>() {
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
listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)
operation.
default ListBundlesPublisher listBundlesPaginator(ListBundlesRequest listBundlesRequest)
List all available bundles.
This is a variant of 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
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.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListBundlesResponse>() {
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
listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)
operation.
listBundlesRequest
- Request structure to request all available bundles.default ListBundlesPublisher listBundlesPaginator(Consumer<ListBundlesRequest.Builder> listBundlesRequest)
List all available bundles.
This is a variant of 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
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.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListBundlesPublisher publisher = client.listBundlesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListBundlesResponse>() {
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
listBundles(software.amazon.awssdk.services.mobile.model.ListBundlesRequest)
operation.
This is a convenience which creates an instance of the ListBundlesRequest.Builder
avoiding the need to
create one manually via ListBundlesRequest.builder()
listBundlesRequest
- A Consumer
that will call methods on ListBundlesRequest.Builder
to create a request.
Request structure to request all available bundles.default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Lists projects in AWS Mobile Hub.
listProjectsRequest
- Request structure used to request projects list in AWS Mobile Hub.default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Lists projects in AWS Mobile Hub.
This is a convenience which creates an instance of the ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsRequest.Builder
to create a request.
Request structure used to request projects list in AWS Mobile Hub.default CompletableFuture<ListProjectsResponse> listProjects()
Lists projects in AWS Mobile Hub.
default ListProjectsPublisher listProjectsPaginator()
Lists projects in AWS Mobile Hub.
This is a variant of 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
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.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListProjectsResponse>() {
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
listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)
operation.
default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Lists projects in AWS Mobile Hub.
This is a variant of 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
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.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListProjectsResponse>() {
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
listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)
operation.
listProjectsRequest
- Request structure used to request projects list in AWS Mobile Hub.default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Lists projects in AWS Mobile Hub.
This is a variant of 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
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.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.mobile.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mobile.model.ListProjectsResponse>() {
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
listProjects(software.amazon.awssdk.services.mobile.model.ListProjectsRequest)
operation.
This is a convenience which creates an instance of the ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsRequest.Builder
to create a request.
Request structure used to request projects list in AWS Mobile Hub.default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)
Update an existing project.
updateProjectRequest
- Request structure used for requests to update project configuration.default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Update an existing project.
This is a convenience which creates an instance of the UpdateProjectRequest.Builder
avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest
- A Consumer
that will call methods on UpdateProjectRequest.Builder
to create a request.
Request structure used for requests to update project configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.