@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AmplifyUiBuilderAsyncClient extends AwsClient
builder() method.
The Amplify UI Builder API provides a programmatic interface for creating and configuring user interface (UI) component libraries and themes for use in your Amplify applications. You can then connect these UI components to an application's backend Amazon Web Services resources.
You can also use the Amplify Studio visual designer to create UI components and model data for an app. For more information, see Introduction in the Amplify Docs.
The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation for client app development. For more information, see the Amplify Framework. For more information about deploying an Amplify application to Amazon Web Services, see the Amplify User Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static AmplifyUiBuilderAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
AmplifyUiBuilderAsyncClient. |
static AmplifyUiBuilderAsyncClient |
create()
Create a
AmplifyUiBuilderAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateComponentResponse> |
createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
Creates a new component for an Amplify app.
|
default CompletableFuture<CreateComponentResponse> |
createComponent(CreateComponentRequest createComponentRequest)
Creates a new component for an Amplify app.
|
default CompletableFuture<CreateFormResponse> |
createForm(Consumer<CreateFormRequest.Builder> createFormRequest)
Creates a new form for an Amplify.
|
default CompletableFuture<CreateFormResponse> |
createForm(CreateFormRequest createFormRequest)
Creates a new form for an Amplify.
|
default CompletableFuture<CreateThemeResponse> |
createTheme(Consumer<CreateThemeRequest.Builder> createThemeRequest)
Creates a theme to apply to the components in an Amplify app.
|
default CompletableFuture<CreateThemeResponse> |
createTheme(CreateThemeRequest createThemeRequest)
Creates a theme to apply to the components in an Amplify app.
|
default CompletableFuture<DeleteComponentResponse> |
deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Deletes a component from an Amplify app.
|
default CompletableFuture<DeleteComponentResponse> |
deleteComponent(DeleteComponentRequest deleteComponentRequest)
Deletes a component from an Amplify app.
|
default CompletableFuture<DeleteFormResponse> |
deleteForm(Consumer<DeleteFormRequest.Builder> deleteFormRequest)
Deletes a form from an Amplify app.
|
default CompletableFuture<DeleteFormResponse> |
deleteForm(DeleteFormRequest deleteFormRequest)
Deletes a form from an Amplify app.
|
default CompletableFuture<DeleteThemeResponse> |
deleteTheme(Consumer<DeleteThemeRequest.Builder> deleteThemeRequest)
Deletes a theme from an Amplify app.
|
default CompletableFuture<DeleteThemeResponse> |
deleteTheme(DeleteThemeRequest deleteThemeRequest)
Deletes a theme from an Amplify app.
|
default CompletableFuture<ExchangeCodeForTokenResponse> |
exchangeCodeForToken(Consumer<ExchangeCodeForTokenRequest.Builder> exchangeCodeForTokenRequest)
Exchanges an access code for a token.
|
default CompletableFuture<ExchangeCodeForTokenResponse> |
exchangeCodeForToken(ExchangeCodeForTokenRequest exchangeCodeForTokenRequest)
Exchanges an access code for a token.
|
default CompletableFuture<ExportComponentsResponse> |
exportComponents(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<ExportComponentsResponse> |
exportComponents(ExportComponentsRequest exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
|
default ExportComponentsPublisher |
exportComponentsPaginator(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
|
default ExportComponentsPublisher |
exportComponentsPaginator(ExportComponentsRequest exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<ExportFormsResponse> |
exportForms(Consumer<ExportFormsRequest.Builder> exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<ExportFormsResponse> |
exportForms(ExportFormsRequest exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
|
default ExportFormsPublisher |
exportFormsPaginator(Consumer<ExportFormsRequest.Builder> exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
|
default ExportFormsPublisher |
exportFormsPaginator(ExportFormsRequest exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<ExportThemesResponse> |
exportThemes(Consumer<ExportThemesRequest.Builder> exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<ExportThemesResponse> |
exportThemes(ExportThemesRequest exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
|
default ExportThemesPublisher |
exportThemesPaginator(Consumer<ExportThemesRequest.Builder> exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
|
default ExportThemesPublisher |
exportThemesPaginator(ExportThemesRequest exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
|
default CompletableFuture<GetCodegenJobResponse> |
getCodegenJob(Consumer<GetCodegenJobRequest.Builder> getCodegenJobRequest)
Returns an existing code generation job.
|
default CompletableFuture<GetCodegenJobResponse> |
getCodegenJob(GetCodegenJobRequest getCodegenJobRequest)
Returns an existing code generation job.
|
default CompletableFuture<GetComponentResponse> |
getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest)
Returns an existing component for an Amplify app.
|
default CompletableFuture<GetComponentResponse> |
getComponent(GetComponentRequest getComponentRequest)
Returns an existing component for an Amplify app.
|
default CompletableFuture<GetFormResponse> |
getForm(Consumer<GetFormRequest.Builder> getFormRequest)
Returns an existing form for an Amplify app.
|
default CompletableFuture<GetFormResponse> |
getForm(GetFormRequest getFormRequest)
Returns an existing form for an Amplify app.
|
default CompletableFuture<GetMetadataResponse> |
getMetadata(Consumer<GetMetadataRequest.Builder> getMetadataRequest)
Returns existing metadata for an Amplify app.
|
default CompletableFuture<GetMetadataResponse> |
getMetadata(GetMetadataRequest getMetadataRequest)
Returns existing metadata for an Amplify app.
|
default CompletableFuture<GetThemeResponse> |
getTheme(Consumer<GetThemeRequest.Builder> getThemeRequest)
Returns an existing theme for an Amplify app.
|
default CompletableFuture<GetThemeResponse> |
getTheme(GetThemeRequest getThemeRequest)
Returns an existing theme for an Amplify app.
|
default CompletableFuture<ListCodegenJobsResponse> |
listCodegenJobs(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
|
default CompletableFuture<ListCodegenJobsResponse> |
listCodegenJobs(ListCodegenJobsRequest listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
|
default ListCodegenJobsPublisher |
listCodegenJobsPaginator(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
|
default ListCodegenJobsPublisher |
listCodegenJobsPaginator(ListCodegenJobsRequest listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(ListComponentsRequest listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
|
default ListComponentsPublisher |
listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
|
default ListComponentsPublisher |
listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
|
default CompletableFuture<ListFormsResponse> |
listForms(Consumer<ListFormsRequest.Builder> listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
|
default CompletableFuture<ListFormsResponse> |
listForms(ListFormsRequest listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
|
default ListFormsPublisher |
listFormsPaginator(Consumer<ListFormsRequest.Builder> listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
|
default ListFormsPublisher |
listFormsPaginator(ListFormsRequest listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
|
default CompletableFuture<ListThemesResponse> |
listThemes(Consumer<ListThemesRequest.Builder> listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
|
default CompletableFuture<ListThemesResponse> |
listThemes(ListThemesRequest listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
|
default ListThemesPublisher |
listThemesPaginator(Consumer<ListThemesRequest.Builder> listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
|
default ListThemesPublisher |
listThemesPaginator(ListThemesRequest listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
|
default CompletableFuture<PutMetadataFlagResponse> |
putMetadataFlag(Consumer<PutMetadataFlagRequest.Builder> putMetadataFlagRequest)
Stores the metadata information about a feature on a form.
|
default CompletableFuture<PutMetadataFlagResponse> |
putMetadataFlag(PutMetadataFlagRequest putMetadataFlagRequest)
Stores the metadata information about a feature on a form.
|
default CompletableFuture<RefreshTokenResponse> |
refreshToken(Consumer<RefreshTokenRequest.Builder> refreshTokenRequest)
Refreshes a previously issued access token that might have expired.
|
default CompletableFuture<RefreshTokenResponse> |
refreshToken(RefreshTokenRequest refreshTokenRequest)
Refreshes a previously issued access token that might have expired.
|
default AmplifyUiBuilderServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<StartCodegenJobResponse> |
startCodegenJob(Consumer<StartCodegenJobRequest.Builder> startCodegenJobRequest)
Starts a code generation job for for a specified Amplify app and backend environment.
|
default CompletableFuture<StartCodegenJobResponse> |
startCodegenJob(StartCodegenJobRequest startCodegenJobRequest)
Starts a code generation job for for a specified Amplify app and backend environment.
|
default CompletableFuture<UpdateComponentResponse> |
updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)
Updates an existing component.
|
default CompletableFuture<UpdateComponentResponse> |
updateComponent(UpdateComponentRequest updateComponentRequest)
Updates an existing component.
|
default CompletableFuture<UpdateFormResponse> |
updateForm(Consumer<UpdateFormRequest.Builder> updateFormRequest)
Updates an existing form.
|
default CompletableFuture<UpdateFormResponse> |
updateForm(UpdateFormRequest updateFormRequest)
Updates an existing form.
|
default CompletableFuture<UpdateThemeResponse> |
updateTheme(Consumer<UpdateThemeRequest.Builder> updateThemeRequest)
Updates an existing theme.
|
default CompletableFuture<UpdateThemeResponse> |
updateTheme(UpdateThemeRequest updateThemeRequest)
Updates an existing theme.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest)
Creates a new component for an Amplify app.
createComponentRequest - default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest)
Creates a new component for an Amplify app.
This is a convenience which creates an instance of the CreateComponentRequest.Builder avoiding the need
to create one manually via CreateComponentRequest.builder()
createComponentRequest - A Consumer that will call methods on CreateComponentRequest.Builder to create a request.default CompletableFuture<CreateFormResponse> createForm(CreateFormRequest createFormRequest)
Creates a new form for an Amplify.
createFormRequest - default CompletableFuture<CreateFormResponse> createForm(Consumer<CreateFormRequest.Builder> createFormRequest)
Creates a new form for an Amplify.
This is a convenience which creates an instance of the CreateFormRequest.Builder avoiding the need to
create one manually via CreateFormRequest.builder()
createFormRequest - A Consumer that will call methods on CreateFormRequest.Builder to create a request.default CompletableFuture<CreateThemeResponse> createTheme(CreateThemeRequest createThemeRequest)
Creates a theme to apply to the components in an Amplify app.
createThemeRequest - default CompletableFuture<CreateThemeResponse> createTheme(Consumer<CreateThemeRequest.Builder> createThemeRequest)
Creates a theme to apply to the components in an Amplify app.
This is a convenience which creates an instance of the CreateThemeRequest.Builder avoiding the need to
create one manually via CreateThemeRequest.builder()
createThemeRequest - A Consumer that will call methods on CreateThemeRequest.Builder to create a request.default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest)
Deletes a component from an Amplify app.
deleteComponentRequest - default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest)
Deletes a component from an Amplify app.
This is a convenience which creates an instance of the DeleteComponentRequest.Builder avoiding the need
to create one manually via DeleteComponentRequest.builder()
deleteComponentRequest - A Consumer that will call methods on DeleteComponentRequest.Builder to create a request.default CompletableFuture<DeleteFormResponse> deleteForm(DeleteFormRequest deleteFormRequest)
Deletes a form from an Amplify app.
deleteFormRequest - default CompletableFuture<DeleteFormResponse> deleteForm(Consumer<DeleteFormRequest.Builder> deleteFormRequest)
Deletes a form from an Amplify app.
This is a convenience which creates an instance of the DeleteFormRequest.Builder avoiding the need to
create one manually via DeleteFormRequest.builder()
deleteFormRequest - A Consumer that will call methods on DeleteFormRequest.Builder to create a request.default CompletableFuture<DeleteThemeResponse> deleteTheme(DeleteThemeRequest deleteThemeRequest)
Deletes a theme from an Amplify app.
deleteThemeRequest - default CompletableFuture<DeleteThemeResponse> deleteTheme(Consumer<DeleteThemeRequest.Builder> deleteThemeRequest)
Deletes a theme from an Amplify app.
This is a convenience which creates an instance of the DeleteThemeRequest.Builder avoiding the need to
create one manually via DeleteThemeRequest.builder()
deleteThemeRequest - A Consumer that will call methods on DeleteThemeRequest.Builder to create a request.default CompletableFuture<ExchangeCodeForTokenResponse> exchangeCodeForToken(ExchangeCodeForTokenRequest exchangeCodeForTokenRequest)
Exchanges an access code for a token.
exchangeCodeForTokenRequest - default CompletableFuture<ExchangeCodeForTokenResponse> exchangeCodeForToken(Consumer<ExchangeCodeForTokenRequest.Builder> exchangeCodeForTokenRequest)
Exchanges an access code for a token.
This is a convenience which creates an instance of the ExchangeCodeForTokenRequest.Builder avoiding the
need to create one manually via ExchangeCodeForTokenRequest.builder()
exchangeCodeForTokenRequest - A Consumer that will call methods on ExchangeCodeForTokenRequest.Builder to create a
request.default CompletableFuture<ExportComponentsResponse> exportComponents(ExportComponentsRequest exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
exportComponentsRequest - default CompletableFuture<ExportComponentsResponse> exportComponents(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
This is a convenience which creates an instance of the ExportComponentsRequest.Builder avoiding the need
to create one manually via ExportComponentsRequest.builder()
exportComponentsRequest - A Consumer that will call methods on ExportComponentsRequest.Builder to create a request.default ExportComponentsPublisher exportComponentsPaginator(ExportComponentsRequest exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)
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.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse 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 null 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
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)
operation.
exportComponentsRequest - default ExportComponentsPublisher exportComponentsPaginator(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest)
Exports component configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)
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.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse 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 null 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
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)
operation.
This is a convenience which creates an instance of the ExportComponentsRequest.Builder avoiding the need
to create one manually via ExportComponentsRequest.builder()
exportComponentsRequest - A Consumer that will call methods on ExportComponentsRequest.Builder to create a request.default CompletableFuture<ExportFormsResponse> exportForms(ExportFormsRequest exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
exportFormsRequest - default CompletableFuture<ExportFormsResponse> exportForms(Consumer<ExportFormsRequest.Builder> exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
This is a convenience which creates an instance of the ExportFormsRequest.Builder avoiding the need to
create one manually via ExportFormsRequest.builder()
exportFormsRequest - A Consumer that will call methods on ExportFormsRequest.Builder to create a request.default ExportFormsPublisher exportFormsPaginator(ExportFormsRequest exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest) 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.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse 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 null 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
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest) operation.
exportFormsRequest - default ExportFormsPublisher exportFormsPaginator(Consumer<ExportFormsRequest.Builder> exportFormsRequest)
Exports form configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest) 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.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse 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 null 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
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest) operation.
This is a convenience which creates an instance of the ExportFormsRequest.Builder avoiding the need to
create one manually via ExportFormsRequest.builder()
exportFormsRequest - A Consumer that will call methods on ExportFormsRequest.Builder to create a request.default CompletableFuture<ExportThemesResponse> exportThemes(ExportThemesRequest exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
exportThemesRequest - default CompletableFuture<ExportThemesResponse> exportThemes(Consumer<ExportThemesRequest.Builder> exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
This is a convenience which creates an instance of the ExportThemesRequest.Builder avoiding the need to
create one manually via ExportThemesRequest.builder()
exportThemesRequest - A Consumer that will call methods on ExportThemesRequest.Builder to create a request.default ExportThemesPublisher exportThemesPaginator(ExportThemesRequest exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest) 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.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse 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 null 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
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest) operation.
exportThemesRequest - default ExportThemesPublisher exportThemesPaginator(Consumer<ExportThemesRequest.Builder> exportThemesRequest)
Exports theme configurations to code that is ready to integrate into an Amplify app.
This is a variant of
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest) 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.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse 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 null 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
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest) operation.
This is a convenience which creates an instance of the ExportThemesRequest.Builder avoiding the need to
create one manually via ExportThemesRequest.builder()
exportThemesRequest - A Consumer that will call methods on ExportThemesRequest.Builder to create a request.default CompletableFuture<GetCodegenJobResponse> getCodegenJob(GetCodegenJobRequest getCodegenJobRequest)
Returns an existing code generation job.
getCodegenJobRequest - default CompletableFuture<GetCodegenJobResponse> getCodegenJob(Consumer<GetCodegenJobRequest.Builder> getCodegenJobRequest)
Returns an existing code generation job.
This is a convenience which creates an instance of the GetCodegenJobRequest.Builder avoiding the need to
create one manually via GetCodegenJobRequest.builder()
getCodegenJobRequest - A Consumer that will call methods on GetCodegenJobRequest.Builder to create a request.default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest)
Returns an existing component for an Amplify app.
getComponentRequest - default CompletableFuture<GetComponentResponse> getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest)
Returns an existing component for an Amplify app.
This is a convenience which creates an instance of the GetComponentRequest.Builder avoiding the need to
create one manually via GetComponentRequest.builder()
getComponentRequest - A Consumer that will call methods on GetComponentRequest.Builder to create a request.default CompletableFuture<GetFormResponse> getForm(GetFormRequest getFormRequest)
Returns an existing form for an Amplify app.
getFormRequest - default CompletableFuture<GetFormResponse> getForm(Consumer<GetFormRequest.Builder> getFormRequest)
Returns an existing form for an Amplify app.
This is a convenience which creates an instance of the GetFormRequest.Builder avoiding the need to create
one manually via GetFormRequest.builder()
getFormRequest - A Consumer that will call methods on GetFormRequest.Builder to create a request.default CompletableFuture<GetMetadataResponse> getMetadata(GetMetadataRequest getMetadataRequest)
Returns existing metadata for an Amplify app.
getMetadataRequest - default CompletableFuture<GetMetadataResponse> getMetadata(Consumer<GetMetadataRequest.Builder> getMetadataRequest)
Returns existing metadata for an Amplify app.
This is a convenience which creates an instance of the GetMetadataRequest.Builder avoiding the need to
create one manually via GetMetadataRequest.builder()
getMetadataRequest - A Consumer that will call methods on GetMetadataRequest.Builder to create a request.default CompletableFuture<GetThemeResponse> getTheme(GetThemeRequest getThemeRequest)
Returns an existing theme for an Amplify app.
getThemeRequest - default CompletableFuture<GetThemeResponse> getTheme(Consumer<GetThemeRequest.Builder> getThemeRequest)
Returns an existing theme for an Amplify app.
This is a convenience which creates an instance of the GetThemeRequest.Builder avoiding the need to
create one manually via GetThemeRequest.builder()
getThemeRequest - A Consumer that will call methods on GetThemeRequest.Builder to create a request.default CompletableFuture<ListCodegenJobsResponse> listCodegenJobs(ListCodegenJobsRequest listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
listCodegenJobsRequest - default CompletableFuture<ListCodegenJobsResponse> listCodegenJobs(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the ListCodegenJobsRequest.Builder avoiding the need
to create one manually via ListCodegenJobsRequest.builder()
listCodegenJobsRequest - A Consumer that will call methods on ListCodegenJobsRequest.Builder to create a request.default ListCodegenJobsPublisher listCodegenJobsPaginator(ListCodegenJobsRequest listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
This is a variant of
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)
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.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse 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
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)
operation.
listCodegenJobsRequest - default ListCodegenJobsPublisher listCodegenJobsPaginator(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest)
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
This is a variant of
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)
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.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse 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
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)
operation.
This is a convenience which creates an instance of the ListCodegenJobsRequest.Builder avoiding the need
to create one manually via ListCodegenJobsRequest.builder()
listCodegenJobsRequest - A Consumer that will call methods on ListCodegenJobsRequest.Builder to create a request.default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
listComponentsRequest - default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
This is a variant of
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest) 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.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest)
operation.
listComponentsRequest - default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Retrieves a list of components for a specified Amplify app and backend environment.
This is a variant of
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest) 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.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest)
operation.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on ListComponentsRequest.Builder to create a request.default CompletableFuture<ListFormsResponse> listForms(ListFormsRequest listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
listFormsRequest - default CompletableFuture<ListFormsResponse> listForms(Consumer<ListFormsRequest.Builder> listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the ListFormsRequest.Builder avoiding the need to
create one manually via ListFormsRequest.builder()
listFormsRequest - A Consumer that will call methods on ListFormsRequest.Builder to create a request.default ListFormsPublisher listFormsPaginator(ListFormsRequest listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
This is a variant of listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest)
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.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse 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
listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest) operation.
listFormsRequest - default ListFormsPublisher listFormsPaginator(Consumer<ListFormsRequest.Builder> listFormsRequest)
Retrieves a list of forms for a specified Amplify app and backend environment.
This is a variant of listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest)
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.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse 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
listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest) operation.
This is a convenience which creates an instance of the ListFormsRequest.Builder avoiding the need to
create one manually via ListFormsRequest.builder()
listFormsRequest - A Consumer that will call methods on ListFormsRequest.Builder to create a request.default CompletableFuture<ListThemesResponse> listThemes(ListThemesRequest listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
listThemesRequest - default CompletableFuture<ListThemesResponse> listThemes(Consumer<ListThemesRequest.Builder> listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the ListThemesRequest.Builder avoiding the need to
create one manually via ListThemesRequest.builder()
listThemesRequest - A Consumer that will call methods on ListThemesRequest.Builder to create a request.default ListThemesPublisher listThemesPaginator(ListThemesRequest listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
This is a variant of
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest) 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.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse 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
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest) operation.
listThemesRequest - default ListThemesPublisher listThemesPaginator(Consumer<ListThemesRequest.Builder> listThemesRequest)
Retrieves a list of themes for a specified Amplify app and backend environment.
This is a variant of
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest) 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.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse 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
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest) operation.
This is a convenience which creates an instance of the ListThemesRequest.Builder avoiding the need to
create one manually via ListThemesRequest.builder()
listThemesRequest - A Consumer that will call methods on ListThemesRequest.Builder to create a request.default CompletableFuture<PutMetadataFlagResponse> putMetadataFlag(PutMetadataFlagRequest putMetadataFlagRequest)
Stores the metadata information about a feature on a form.
putMetadataFlagRequest - default CompletableFuture<PutMetadataFlagResponse> putMetadataFlag(Consumer<PutMetadataFlagRequest.Builder> putMetadataFlagRequest)
Stores the metadata information about a feature on a form.
This is a convenience which creates an instance of the PutMetadataFlagRequest.Builder avoiding the need
to create one manually via PutMetadataFlagRequest.builder()
putMetadataFlagRequest - A Consumer that will call methods on PutMetadataFlagRequest.Builder to create a request.default CompletableFuture<RefreshTokenResponse> refreshToken(RefreshTokenRequest refreshTokenRequest)
Refreshes a previously issued access token that might have expired.
refreshTokenRequest - default CompletableFuture<RefreshTokenResponse> refreshToken(Consumer<RefreshTokenRequest.Builder> refreshTokenRequest)
Refreshes a previously issued access token that might have expired.
This is a convenience which creates an instance of the RefreshTokenRequest.Builder avoiding the need to
create one manually via RefreshTokenRequest.builder()
refreshTokenRequest - A Consumer that will call methods on RefreshTokenRequest.Builder to create a request.default CompletableFuture<StartCodegenJobResponse> startCodegenJob(StartCodegenJobRequest startCodegenJobRequest)
Starts a code generation job for for a specified Amplify app and backend environment.
startCodegenJobRequest - default CompletableFuture<StartCodegenJobResponse> startCodegenJob(Consumer<StartCodegenJobRequest.Builder> startCodegenJobRequest)
Starts a code generation job for for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the StartCodegenJobRequest.Builder avoiding the need
to create one manually via StartCodegenJobRequest.builder()
startCodegenJobRequest - A Consumer that will call methods on StartCodegenJobRequest.Builder to create a request.default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest)
Updates an existing component.
updateComponentRequest - default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest)
Updates an existing component.
This is a convenience which creates an instance of the UpdateComponentRequest.Builder avoiding the need
to create one manually via UpdateComponentRequest.builder()
updateComponentRequest - A Consumer that will call methods on UpdateComponentRequest.Builder to create a request.default CompletableFuture<UpdateFormResponse> updateForm(UpdateFormRequest updateFormRequest)
Updates an existing form.
updateFormRequest - default CompletableFuture<UpdateFormResponse> updateForm(Consumer<UpdateFormRequest.Builder> updateFormRequest)
Updates an existing form.
This is a convenience which creates an instance of the UpdateFormRequest.Builder avoiding the need to
create one manually via UpdateFormRequest.builder()
updateFormRequest - A Consumer that will call methods on UpdateFormRequest.Builder to create a request.default CompletableFuture<UpdateThemeResponse> updateTheme(UpdateThemeRequest updateThemeRequest)
Updates an existing theme.
updateThemeRequest - default CompletableFuture<UpdateThemeResponse> updateTheme(Consumer<UpdateThemeRequest.Builder> updateThemeRequest)
Updates an existing theme.
This is a convenience which creates an instance of the UpdateThemeRequest.Builder avoiding the need to
create one manually via UpdateThemeRequest.builder()
updateThemeRequest - A Consumer that will call methods on UpdateThemeRequest.Builder to create a request.default AmplifyUiBuilderServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic AmplifyUiBuilderAsyncClient create()
AmplifyUiBuilderAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AmplifyUiBuilderAsyncClientBuilder builder()
AmplifyUiBuilderAsyncClient.Copyright © 2023. All rights reserved.