Interface AmplifyUiBuilderAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aAmplifyUiBuilderAsyncClient.static AmplifyUiBuilderAsyncClientcreate()Create aAmplifyUiBuilderAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.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 app.default CompletableFuture<CreateFormResponse> createForm(CreateFormRequest createFormRequest) Creates a new form for an Amplify app.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.exchangeCodeForToken(Consumer<ExchangeCodeForTokenRequest.Builder> exchangeCodeForTokenRequest) exchangeCodeForToken(ExchangeCodeForTokenRequest exchangeCodeForTokenRequest) exportComponents(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest) Exports component configurations to code that is ready to integrate into an Amplify app.exportComponents(ExportComponentsRequest exportComponentsRequest) Exports component configurations to code that is ready to integrate into an Amplify app.default ExportComponentsPublisherexportComponentsPaginator(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest) Exports component configurations to code that is ready to integrate into an Amplify app.default ExportComponentsPublisherexportComponentsPaginator(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 ExportFormsPublisherexportFormsPaginator(Consumer<ExportFormsRequest.Builder> exportFormsRequest) Exports form configurations to code that is ready to integrate into an Amplify app.default ExportFormsPublisherexportFormsPaginator(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 ExportThemesPublisherexportThemesPaginator(Consumer<ExportThemesRequest.Builder> exportThemesRequest) Exports theme configurations to code that is ready to integrate into an Amplify app.default ExportThemesPublisherexportThemesPaginator(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 ListCodegenJobsPublisherlistCodegenJobsPaginator(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest) Retrieves a list of code generation jobs for a specified Amplify app and backend environment.default ListCodegenJobsPublisherlistCodegenJobsPaginator(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 ListComponentsPublisherlistComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) Retrieves a list of components for a specified Amplify app and backend environment.default ListComponentsPublisherlistComponentsPaginator(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 ListFormsPublisherlistFormsPaginator(Consumer<ListFormsRequest.Builder> listFormsRequest) Retrieves a list of forms for a specified Amplify app and backend environment.default ListFormsPublisherlistFormsPaginator(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 ListThemesPublisherlistThemesPaginator(Consumer<ListThemesRequest.Builder> listThemesRequest) Retrieves a list of themes for a specified Amplify app and backend environment.default ListThemesPublisherlistThemesPaginator(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) default CompletableFuture<RefreshTokenResponse> refreshToken(RefreshTokenRequest refreshTokenRequest) The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartCodegenJobResponse> startCodegenJob(Consumer<StartCodegenJobRequest.Builder> startCodegenJobRequest) Starts a code generation job for a specified Amplify app and backend environment.default CompletableFuture<StartCodegenJobResponse> startCodegenJob(StartCodegenJobRequest startCodegenJobRequest) Starts a code generation job 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.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest) Creates a new component for an Amplify app.
- Parameters:
createComponentRequest-- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComponent
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.Builderavoiding the need to create one manually viaCreateComponentRequest.builder()- Parameters:
createComponentRequest- AConsumerthat will call methods onCreateComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForm
Creates a new form for an Amplify app.
- Parameters:
createFormRequest-- Returns:
- A Java Future containing the result of the CreateForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createForm
default CompletableFuture<CreateFormResponse> createForm(Consumer<CreateFormRequest.Builder> createFormRequest) Creates a new form for an Amplify app.
This is a convenience which creates an instance of the
CreateFormRequest.Builderavoiding the need to create one manually viaCreateFormRequest.builder()- Parameters:
createFormRequest- AConsumerthat will call methods onCreateFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTheme
Creates a theme to apply to the components in an Amplify app.
- Parameters:
createThemeRequest-- Returns:
- A Java Future containing the result of the CreateTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTheme
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.Builderavoiding the need to create one manually viaCreateThemeRequest.builder()- Parameters:
createThemeRequest- AConsumerthat will call methods onCreateThemeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ServiceQuotaExceededException You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest) Deletes a component from an Amplify app.
- Parameters:
deleteComponentRequest-- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
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.Builderavoiding the need to create one manually viaDeleteComponentRequest.builder()- Parameters:
deleteComponentRequest- AConsumerthat will call methods onDeleteComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForm
Deletes a form from an Amplify app.
- Parameters:
deleteFormRequest-- Returns:
- A Java Future containing the result of the DeleteForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteForm
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.Builderavoiding the need to create one manually viaDeleteFormRequest.builder()- Parameters:
deleteFormRequest- AConsumerthat will call methods onDeleteFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTheme
Deletes a theme from an Amplify app.
- Parameters:
deleteThemeRequest-- Returns:
- A Java Future containing the result of the DeleteTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTheme
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.Builderavoiding the need to create one manually viaDeleteThemeRequest.builder()- Parameters:
deleteThemeRequest- AConsumerthat will call methods onDeleteThemeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exchangeCodeForToken
default CompletableFuture<ExchangeCodeForTokenResponse> exchangeCodeForToken(ExchangeCodeForTokenRequest exchangeCodeForTokenRequest) This is for internal use.
Amplify uses this action to exchange an access code for a token.
- Parameters:
exchangeCodeForTokenRequest-- Returns:
- A Java Future containing the result of the ExchangeCodeForToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exchangeCodeForToken
default CompletableFuture<ExchangeCodeForTokenResponse> exchangeCodeForToken(Consumer<ExchangeCodeForTokenRequest.Builder> exchangeCodeForTokenRequest) This is for internal use.
Amplify uses this action to exchange an access code for a token.
This is a convenience which creates an instance of the
ExchangeCodeForTokenRequest.Builderavoiding the need to create one manually viaExchangeCodeForTokenRequest.builder()- Parameters:
exchangeCodeForTokenRequest- AConsumerthat will call methods onExchangeCodeForTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExchangeCodeForToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComponents
default CompletableFuture<ExportComponentsResponse> exportComponents(ExportComponentsRequest exportComponentsRequest) Exports component configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportComponentsRequest-- Returns:
- A Java Future containing the result of the ExportComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComponents
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.Builderavoiding the need to create one manually viaExportComponentsRequest.builder()- Parameters:
exportComponentsRequest- AConsumerthat will call methods onExportComponentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComponentsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
exportComponentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportComponentsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsPublisher publisher = client.exportComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaExportComponentsRequest.builder()- Parameters:
exportComponentsRequest- AConsumerthat will call methods onExportComponentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportForms
Exports form configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportFormsRequest-- Returns:
- A Java Future containing the result of the ExportForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportForms
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.Builderavoiding the need to create one manually viaExportFormsRequest.builder()- Parameters:
exportFormsRequest- AConsumerthat will call methods onExportFormsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportFormsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
exportFormsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportFormsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsPublisher publisher = client.exportFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaExportFormsRequest.builder()- Parameters:
exportFormsRequest- AConsumerthat will call methods onExportFormsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportThemes
default CompletableFuture<ExportThemesResponse> exportThemes(ExportThemesRequest exportThemesRequest) Exports theme configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportThemesRequest-- Returns:
- A Java Future containing the result of the ExportThemes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportThemes
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.Builderavoiding the need to create one manually viaExportThemesRequest.builder()- Parameters:
exportThemesRequest- AConsumerthat will call methods onExportThemesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ExportThemes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportThemesPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
exportThemesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
exportThemesPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesPublisher publisher = client.exportThemesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaExportThemesRequest.builder()- Parameters:
exportThemesRequest- AConsumerthat will call methods onExportThemesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodegenJob
default CompletableFuture<GetCodegenJobResponse> getCodegenJob(GetCodegenJobRequest getCodegenJobRequest) Returns an existing code generation job.
- Parameters:
getCodegenJobRequest-- Returns:
- A Java Future containing the result of the GetCodegenJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCodegenJob
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.Builderavoiding the need to create one manually viaGetCodegenJobRequest.builder()- Parameters:
getCodegenJobRequest- AConsumerthat will call methods onGetCodegenJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetCodegenJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest) Returns an existing component for an Amplify app.
- Parameters:
getComponentRequest-- Returns:
- A Java Future containing the result of the GetComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
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.Builderavoiding the need to create one manually viaGetComponentRequest.builder()- Parameters:
getComponentRequest- AConsumerthat will call methods onGetComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getForm
Returns an existing form for an Amplify app.
- Parameters:
getFormRequest-- Returns:
- A Java Future containing the result of the GetForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getForm
Returns an existing form for an Amplify app.
This is a convenience which creates an instance of the
GetFormRequest.Builderavoiding the need to create one manually viaGetFormRequest.builder()- Parameters:
getFormRequest- AConsumerthat will call methods onGetFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetadata
Returns existing metadata for an Amplify app.
- Parameters:
getMetadataRequest-- Returns:
- A Java Future containing the result of the GetMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- UnauthorizedException You don't have permission to perform this operation.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMetadata
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.Builderavoiding the need to create one manually viaGetMetadataRequest.builder()- Parameters:
getMetadataRequest- AConsumerthat will call methods onGetMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- UnauthorizedException You don't have permission to perform this operation.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTheme
Returns an existing theme for an Amplify app.
- Parameters:
getThemeRequest-- Returns:
- A Java Future containing the result of the GetTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTheme
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.Builderavoiding the need to create one manually viaGetThemeRequest.builder()- Parameters:
getThemeRequest- AConsumerthat will call methods onGetThemeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ResourceNotFoundException The requested resource does not exist, or access was denied.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodegenJobs
default CompletableFuture<ListCodegenJobsResponse> listCodegenJobs(ListCodegenJobsRequest listCodegenJobsRequest) Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
- Parameters:
listCodegenJobsRequest-- Returns:
- A Java Future containing the result of the ListCodegenJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodegenJobs
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.Builderavoiding the need to create one manually viaListCodegenJobsRequest.builder()- Parameters:
listCodegenJobsRequest- AConsumerthat will call methods onListCodegenJobsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListCodegenJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodegenJobsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
listCodegenJobsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCodegenJobsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsPublisher publisher = client.listCodegenJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListCodegenJobsRequest.builder()- Parameters:
listCodegenJobsRequest- AConsumerthat will call methods onListCodegenJobsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest) Retrieves a list of components for a specified Amplify app and backend environment.
- Parameters:
listComponentsRequest-- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
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.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
listComponentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForms
Retrieves a list of forms for a specified Amplify app and backend environment.
- Parameters:
listFormsRequest-- Returns:
- A Java Future containing the result of the ListForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listForms
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.Builderavoiding the need to create one manually viaListFormsRequest.builder()- Parameters:
listFormsRequest- AConsumerthat will call methods onListFormsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListForms operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFormsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
listFormsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFormsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsPublisher publisher = client.listFormsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListFormsRequest.builder()- Parameters:
listFormsRequest- AConsumerthat will call methods onListFormsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listThemes
Retrieves a list of themes for a specified Amplify app and backend environment.
- Parameters:
listThemesRequest-- Returns:
- A Java Future containing the result of the ListThemes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listThemes
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.Builderavoiding the need to create one manually viaListThemesRequest.builder()- Parameters:
listThemesRequest- AConsumerthat will call methods onListThemesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListThemes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listThemesPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.- Parameters:
listThemesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listThemesPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesPublisher publisher = client.listThemesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListThemesRequest.builder()- Parameters:
listThemesRequest- AConsumerthat will call methods onListThemesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putMetadataFlag
default CompletableFuture<PutMetadataFlagResponse> putMetadataFlag(PutMetadataFlagRequest putMetadataFlagRequest) Stores the metadata information about a feature on a form.
- Parameters:
putMetadataFlagRequest-- Returns:
- A Java Future containing the result of the PutMetadataFlag operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- UnauthorizedException You don't have permission to perform this operation.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putMetadataFlag
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.Builderavoiding the need to create one manually viaPutMetadataFlagRequest.builder()- Parameters:
putMetadataFlagRequest- AConsumerthat will call methods onPutMetadataFlagRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutMetadataFlag operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- UnauthorizedException You don't have permission to perform this operation.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
refreshToken
default CompletableFuture<RefreshTokenResponse> refreshToken(RefreshTokenRequest refreshTokenRequest) This is for internal use.
Amplify uses this action to refresh a previously issued access token that might have expired.
- Parameters:
refreshTokenRequest-- Returns:
- A Java Future containing the result of the RefreshToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
refreshToken
default CompletableFuture<RefreshTokenResponse> refreshToken(Consumer<RefreshTokenRequest.Builder> refreshTokenRequest) This is for internal use.
Amplify uses this action to refresh a previously issued access token that might have expired.
This is a convenience which creates an instance of the
RefreshTokenRequest.Builderavoiding the need to create one manually viaRefreshTokenRequest.builder()- Parameters:
refreshTokenRequest- AConsumerthat will call methods onRefreshTokenRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RefreshToken operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodegenJob
default CompletableFuture<StartCodegenJobResponse> startCodegenJob(StartCodegenJobRequest startCodegenJobRequest) Starts a code generation job for a specified Amplify app and backend environment.
- Parameters:
startCodegenJobRequest-- Returns:
- A Java Future containing the result of the StartCodegenJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startCodegenJob
default CompletableFuture<StartCodegenJobResponse> startCodegenJob(Consumer<StartCodegenJobRequest.Builder> startCodegenJobRequest) Starts a code generation job for a specified Amplify app and backend environment.
This is a convenience which creates an instance of the
StartCodegenJobRequest.Builderavoiding the need to create one manually viaStartCodegenJobRequest.builder()- Parameters:
startCodegenJobRequest- AConsumerthat will call methods onStartCodegenJobRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartCodegenJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- ThrottlingException The request was denied due to request throttling.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest) Updates an existing component.
- Parameters:
updateComponentRequest-- Returns:
- A Java Future containing the result of the UpdateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Updates an existing component.
This is a convenience which creates an instance of the
UpdateComponentRequest.Builderavoiding the need to create one manually viaUpdateComponentRequest.builder()- Parameters:
updateComponentRequest- AConsumerthat will call methods onUpdateComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateComponent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateForm
Updates an existing form.
- Parameters:
updateFormRequest-- Returns:
- A Java Future containing the result of the UpdateForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateForm
default CompletableFuture<UpdateFormResponse> updateForm(Consumer<UpdateFormRequest.Builder> updateFormRequest) Updates an existing form.
This is a convenience which creates an instance of the
UpdateFormRequest.Builderavoiding the need to create one manually viaUpdateFormRequest.builder()- Parameters:
updateFormRequest- AConsumerthat will call methods onUpdateFormRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateForm operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTheme
Updates an existing theme.
- Parameters:
updateThemeRequest-- Returns:
- A Java Future containing the result of the UpdateTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTheme
default CompletableFuture<UpdateThemeResponse> updateTheme(Consumer<UpdateThemeRequest.Builder> updateThemeRequest) Updates an existing theme.
This is a convenience which creates an instance of the
UpdateThemeRequest.Builderavoiding the need to create one manually viaUpdateThemeRequest.builder()- Parameters:
updateThemeRequest- AConsumerthat will call methods onUpdateThemeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTheme operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- ResourceConflictException The resource specified in the request conflicts with an existing resource.
- InternalServerException An internal error has occurred. Please retry your request.
- InvalidParameterException An invalid or out-of-range value was supplied for the input parameter.
- 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.
- AmplifyUiBuilderException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aAmplifyUiBuilderAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAmplifyUiBuilderAsyncClient.
-