Interface AmplifyUiBuilderClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AmplifyUiBuilderClient extends AwsClient
Service client for accessing AWS Amplify UI Builder. This can be created using the staticbuilder()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
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createComponent
default CreateComponentResponse createComponent(CreateComponentRequest createComponentRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Creates a new component for an Amplify app.
- Parameters:
createComponentRequest-- Returns:
- Result of the CreateComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createComponent
default CreateComponentResponse createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the CreateComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createForm
default CreateFormResponse createForm(CreateFormRequest createFormRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Creates a new form for an Amplify app.
- Parameters:
createFormRequest-- Returns:
- Result of the CreateForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createForm
default CreateFormResponse createForm(Consumer<CreateFormRequest.Builder> createFormRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the CreateForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createTheme
default CreateThemeResponse createTheme(CreateThemeRequest createThemeRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Creates a theme to apply to the components in an Amplify app.
- Parameters:
createThemeRequest-- Returns:
- Result of the CreateTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
createTheme
default CreateThemeResponse createTheme(Consumer<CreateThemeRequest.Builder> createThemeRequest) throws ServiceQuotaExceededException, ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the CreateTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteComponent
default DeleteComponentResponse deleteComponent(DeleteComponentRequest deleteComponentRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Deletes a component from an Amplify app.
- Parameters:
deleteComponentRequest-- Returns:
- Result of the DeleteComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteComponent
default DeleteComponentResponse deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the DeleteComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteForm
default DeleteFormResponse deleteForm(DeleteFormRequest deleteFormRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Deletes a form from an Amplify app.
- Parameters:
deleteFormRequest-- Returns:
- Result of the DeleteForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteForm
default DeleteFormResponse deleteForm(Consumer<DeleteFormRequest.Builder> deleteFormRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the DeleteForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTheme
default DeleteThemeResponse deleteTheme(DeleteThemeRequest deleteThemeRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Deletes a theme from an Amplify app.
- Parameters:
deleteThemeRequest-- Returns:
- Result of the DeleteTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
deleteTheme
default DeleteThemeResponse deleteTheme(Consumer<DeleteThemeRequest.Builder> deleteThemeRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the DeleteTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exchangeCodeForToken
default ExchangeCodeForTokenResponse exchangeCodeForToken(ExchangeCodeForTokenRequest exchangeCodeForTokenRequest) throws InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is for internal use.
Amplify uses this action to exchange an access code for a token.
- Parameters:
exchangeCodeForTokenRequest-- Returns:
- Result of the ExchangeCodeForToken operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exchangeCodeForToken
default ExchangeCodeForTokenResponse exchangeCodeForToken(Consumer<ExchangeCodeForTokenRequest.Builder> exchangeCodeForTokenRequest) throws InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ExchangeCodeForToken operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportComponents
default ExportComponentsResponse exportComponents(ExportComponentsRequest exportComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Exports component configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportComponentsRequest-- Returns:
- Result of the ExportComponents operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportComponents
default ExportComponentsResponse exportComponents(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ExportComponents operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportComponentsPaginator
default ExportComponentsIterable exportComponentsPaginator(ExportComponentsRequest exportComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client.exportComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client .exportComponentsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client.exportComponentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportComponentsPaginator
default ExportComponentsIterable exportComponentsPaginator(Consumer<ExportComponentsRequest.Builder> exportComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client.exportComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client .exportComponentsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportComponentsIterable responses = client.exportComponentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportForms
default ExportFormsResponse exportForms(ExportFormsRequest exportFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Exports form configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportFormsRequest-- Returns:
- Result of the ExportForms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportForms
default ExportFormsResponse exportForms(Consumer<ExportFormsRequest.Builder> exportFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ExportForms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportFormsPaginator
default ExportFormsIterable exportFormsPaginator(ExportFormsRequest exportFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client.exportFormsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client .exportFormsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client.exportFormsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportFormsPaginator
default ExportFormsIterable exportFormsPaginator(Consumer<ExportFormsRequest.Builder> exportFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportForms(software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client.exportFormsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client .exportFormsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportFormsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportFormsIterable responses = client.exportFormsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportThemes
default ExportThemesResponse exportThemes(ExportThemesRequest exportThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Exports theme configurations to code that is ready to integrate into an Amplify app.
- Parameters:
exportThemesRequest-- Returns:
- Result of the ExportThemes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportThemes
default ExportThemesResponse exportThemes(Consumer<ExportThemesRequest.Builder> exportThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ExportThemes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportThemesPaginator
default ExportThemesIterable exportThemesPaginator(ExportThemesRequest exportThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client.exportThemesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client .exportThemesPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client.exportThemesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
exportThemesPaginator
default ExportThemesIterable exportThemesPaginator(Consumer<ExportThemesRequest.Builder> exportThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
exportThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client.exportThemesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client .exportThemesPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ExportThemesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ExportThemesIterable responses = client.exportThemesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCodegenJob
default GetCodegenJobResponse getCodegenJob(GetCodegenJobRequest getCodegenJobRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Returns an existing code generation job.
- Parameters:
getCodegenJobRequest-- Returns:
- Result of the GetCodegenJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getCodegenJob
default GetCodegenJobResponse getCodegenJob(Consumer<GetCodegenJobRequest.Builder> getCodegenJobRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the GetCodegenJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getComponent
default GetComponentResponse getComponent(GetComponentRequest getComponentRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Returns an existing component for an Amplify app.
- Parameters:
getComponentRequest-- Returns:
- Result of the GetComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getComponent
default GetComponentResponse getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the GetComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getForm
default GetFormResponse getForm(GetFormRequest getFormRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Returns an existing form for an Amplify app.
- Parameters:
getFormRequest-- Returns:
- Result of the GetForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getForm
default GetFormResponse getForm(Consumer<GetFormRequest.Builder> getFormRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the GetForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMetadata
default GetMetadataResponse getMetadata(GetMetadataRequest getMetadataRequest) throws UnauthorizedException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Returns existing metadata for an Amplify app.
- Parameters:
getMetadataRequest-- Returns:
- Result of the GetMetadata operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getMetadata
default GetMetadataResponse getMetadata(Consumer<GetMetadataRequest.Builder> getMetadataRequest) throws UnauthorizedException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the GetMetadata operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTheme
default GetThemeResponse getTheme(GetThemeRequest getThemeRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Returns an existing theme for an Amplify app.
- Parameters:
getThemeRequest-- Returns:
- Result of the GetTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
getTheme
default GetThemeResponse getTheme(Consumer<GetThemeRequest.Builder> getThemeRequest) throws InternalServerException, InvalidParameterException, ResourceNotFoundException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the GetTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCodegenJobs
default ListCodegenJobsResponse listCodegenJobs(ListCodegenJobsRequest listCodegenJobsRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Retrieves a list of code generation jobs for a specified Amplify app and backend environment.
- Parameters:
listCodegenJobsRequest-- Returns:
- Result of the ListCodegenJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCodegenJobs
default ListCodegenJobsResponse listCodegenJobs(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ListCodegenJobs operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCodegenJobsPaginator
default ListCodegenJobsIterable listCodegenJobsPaginator(ListCodegenJobsRequest listCodegenJobsRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client.listCodegenJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client .listCodegenJobsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client.listCodegenJobsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listCodegenJobsPaginator
default ListCodegenJobsIterable listCodegenJobsPaginator(Consumer<ListCodegenJobsRequest.Builder> listCodegenJobsRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listCodegenJobs(software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client.listCodegenJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client .listCodegenJobsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListCodegenJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListCodegenJobsIterable responses = client.listCodegenJobsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listComponents
default ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Retrieves a list of components for a specified Amplify app and backend environment.
- Parameters:
listComponentsRequest-- Returns:
- Result of the ListComponents operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listComponents
default ListComponentsResponse listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ListComponents operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client .listComponentsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listComponentsPaginator
default ListComponentsIterable listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listComponents(software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client .listComponentsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listForms
default ListFormsResponse listForms(ListFormsRequest listFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Retrieves a list of forms for a specified Amplify app and backend environment.
- Parameters:
listFormsRequest-- Returns:
- Result of the ListForms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listForms
default ListFormsResponse listForms(Consumer<ListFormsRequest.Builder> listFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ListForms operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listFormsPaginator
default ListFormsIterable listFormsPaginator(ListFormsRequest listFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listFormsPaginator
default ListFormsIterable listFormsPaginator(Consumer<ListFormsRequest.Builder> listFormsRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listForms(software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListFormsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListFormsIterable responses = client.listFormsPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listThemes
default ListThemesResponse listThemes(ListThemesRequest listThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Retrieves a list of themes for a specified Amplify app and backend environment.
- Parameters:
listThemesRequest-- Returns:
- Result of the ListThemes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listThemes
default ListThemesResponse listThemes(Consumer<ListThemesRequest.Builder> listThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the ListThemes operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listThemesPaginator
default ListThemesIterable listThemesPaginator(ListThemesRequest listThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client.listThemesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client .listThemesPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client.listThemesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
listThemesPaginator
default ListThemesIterable listThemesPaginator(Consumer<ListThemesRequest.Builder> listThemesRequest) throws InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is a variant of
listThemes(software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client.listThemesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client .listThemesPaginator(request); for (software.amazon.awssdk.services.amplifyuibuilder.model.ListThemesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.amplifyuibuilder.paginators.ListThemesIterable responses = client.listThemesPaginator(request); responses.iterator().forEachRemaining(....);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 iterable that can be used to iterate through all the response pages.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putMetadataFlag
default PutMetadataFlagResponse putMetadataFlag(PutMetadataFlagRequest putMetadataFlagRequest) throws UnauthorizedException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Stores the metadata information about a feature on a form.
- Parameters:
putMetadataFlagRequest-- Returns:
- Result of the PutMetadataFlag operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
putMetadataFlag
default PutMetadataFlagResponse putMetadataFlag(Consumer<PutMetadataFlagRequest.Builder> putMetadataFlagRequest) throws UnauthorizedException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the PutMetadataFlag operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
refreshToken
default RefreshTokenResponse refreshToken(RefreshTokenRequest refreshTokenRequest) throws InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
This is for internal use.
Amplify uses this action to refresh a previously issued access token that might have expired.
- Parameters:
refreshTokenRequest-- Returns:
- Result of the RefreshToken operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
refreshToken
default RefreshTokenResponse refreshToken(Consumer<RefreshTokenRequest.Builder> refreshTokenRequest) throws InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the RefreshToken operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startCodegenJob
default StartCodegenJobResponse startCodegenJob(StartCodegenJobRequest startCodegenJobRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Starts a code generation job for a specified Amplify app and backend environment.
- Parameters:
startCodegenJobRequest-- Returns:
- Result of the StartCodegenJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
startCodegenJob
default StartCodegenJobResponse startCodegenJob(Consumer<StartCodegenJobRequest.Builder> startCodegenJobRequest) throws InternalServerException, InvalidParameterException, ThrottlingException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the StartCodegenJob operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponent
default UpdateComponentResponse updateComponent(UpdateComponentRequest updateComponentRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Updates an existing component.
- Parameters:
updateComponentRequest-- Returns:
- Result of the UpdateComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateComponent
default UpdateComponentResponse updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the UpdateComponent operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateForm
default UpdateFormResponse updateForm(UpdateFormRequest updateFormRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Updates an existing form.
- Parameters:
updateFormRequest-- Returns:
- Result of the UpdateForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateForm
default UpdateFormResponse updateForm(Consumer<UpdateFormRequest.Builder> updateFormRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the UpdateForm operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateTheme
default UpdateThemeResponse updateTheme(UpdateThemeRequest updateThemeRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
Updates an existing theme.
- Parameters:
updateThemeRequest-- Returns:
- Result of the UpdateTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
updateTheme
default UpdateThemeResponse updateTheme(Consumer<UpdateThemeRequest.Builder> updateThemeRequest) throws ResourceConflictException, InternalServerException, InvalidParameterException, AwsServiceException, SdkClientException, AmplifyUiBuilderException
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:
- Result of the UpdateTheme operation returned by the service.
- Throws:
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.AwsServiceException- See Also:
- AWS API Documentation
-
create
static AmplifyUiBuilderClient create()
Create aAmplifyUiBuilderClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static AmplifyUiBuilderClientBuilder builder()
Create a builder that can be used to configure and create aAmplifyUiBuilderClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default AmplifyUiBuilderServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-