@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface M2Client extends AwsClient
builder()
method.
Amazon Web Services Mainframe Modernization provides tools and resources to help you plan and implement migration and modernization from mainframes to Amazon Web Services managed runtime environments. It provides tools for analyzing existing mainframe applications, developing or updating mainframe applications using COBOL or PL/I, and implementing an automated pipeline for continuous integration and continuous delivery (CI/CD) of the applications.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static M2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
M2Client. |
default CancelBatchJobExecutionResponse |
cancelBatchJobExecution(CancelBatchJobExecutionRequest cancelBatchJobExecutionRequest)
Cancels the running of a specific batch job execution.
|
default CancelBatchJobExecutionResponse |
cancelBatchJobExecution(Consumer<CancelBatchJobExecutionRequest.Builder> cancelBatchJobExecutionRequest)
Cancels the running of a specific batch job execution.
|
static M2Client |
create()
Create a
M2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateApplicationResponse |
createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest)
Creates a new application with given parameters.
|
default CreateApplicationResponse |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates a new application with given parameters.
|
default CreateDataSetImportTaskResponse |
createDataSetImportTask(Consumer<CreateDataSetImportTaskRequest.Builder> createDataSetImportTaskRequest)
Starts a data set import task for a specific application.
|
default CreateDataSetImportTaskResponse |
createDataSetImportTask(CreateDataSetImportTaskRequest createDataSetImportTaskRequest)
Starts a data set import task for a specific application.
|
default CreateDeploymentResponse |
createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest)
Creates and starts a deployment to deploy an application into a runtime environment.
|
default CreateDeploymentResponse |
createDeployment(CreateDeploymentRequest createDeploymentRequest)
Creates and starts a deployment to deploy an application into a runtime environment.
|
default CreateEnvironmentResponse |
createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)
Creates a runtime environment for a given runtime engine.
|
default CreateEnvironmentResponse |
createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Creates a runtime environment for a given runtime engine.
|
default DeleteApplicationResponse |
deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest)
Deletes a specific application.
|
default DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes a specific application.
|
default DeleteApplicationFromEnvironmentResponse |
deleteApplicationFromEnvironment(Consumer<DeleteApplicationFromEnvironmentRequest.Builder> deleteApplicationFromEnvironmentRequest)
Deletes a specific application from the specific runtime environment where it was previously deployed.
|
default DeleteApplicationFromEnvironmentResponse |
deleteApplicationFromEnvironment(DeleteApplicationFromEnvironmentRequest deleteApplicationFromEnvironmentRequest)
Deletes a specific application from the specific runtime environment where it was previously deployed.
|
default DeleteEnvironmentResponse |
deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)
Deletes a specific runtime environment.
|
default DeleteEnvironmentResponse |
deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)
Deletes a specific runtime environment.
|
default GetApplicationResponse |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Describes the details of a specific application.
|
default GetApplicationResponse |
getApplication(GetApplicationRequest getApplicationRequest)
Describes the details of a specific application.
|
default GetApplicationVersionResponse |
getApplicationVersion(Consumer<GetApplicationVersionRequest.Builder> getApplicationVersionRequest)
Returns details about a specific version of a specific application.
|
default GetApplicationVersionResponse |
getApplicationVersion(GetApplicationVersionRequest getApplicationVersionRequest)
Returns details about a specific version of a specific application.
|
default GetBatchJobExecutionResponse |
getBatchJobExecution(Consumer<GetBatchJobExecutionRequest.Builder> getBatchJobExecutionRequest)
Gets the details of a specific batch job execution for a specific application.
|
default GetBatchJobExecutionResponse |
getBatchJobExecution(GetBatchJobExecutionRequest getBatchJobExecutionRequest)
Gets the details of a specific batch job execution for a specific application.
|
default GetDataSetDetailsResponse |
getDataSetDetails(Consumer<GetDataSetDetailsRequest.Builder> getDataSetDetailsRequest)
Gets the details of a specific data set.
|
default GetDataSetDetailsResponse |
getDataSetDetails(GetDataSetDetailsRequest getDataSetDetailsRequest)
Gets the details of a specific data set.
|
default GetDataSetImportTaskResponse |
getDataSetImportTask(Consumer<GetDataSetImportTaskRequest.Builder> getDataSetImportTaskRequest)
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
|
default GetDataSetImportTaskResponse |
getDataSetImportTask(GetDataSetImportTaskRequest getDataSetImportTaskRequest)
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
|
default GetDeploymentResponse |
getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest)
Gets details of a specific deployment with a given deployment identifier.
|
default GetDeploymentResponse |
getDeployment(GetDeploymentRequest getDeploymentRequest)
Gets details of a specific deployment with a given deployment identifier.
|
default GetEnvironmentResponse |
getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)
Describes a specific runtime environment.
|
default GetEnvironmentResponse |
getEnvironment(GetEnvironmentRequest getEnvironmentRequest)
Describes a specific runtime environment.
|
default ListApplicationsResponse |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications associated with a specific Amazon Web Services account.
|
default ListApplicationsResponse |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists the applications associated with a specific Amazon Web Services account.
|
default ListApplicationsIterable |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists the applications associated with a specific Amazon Web Services account.
|
default ListApplicationsIterable |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists the applications associated with a specific Amazon Web Services account.
|
default ListApplicationVersionsResponse |
listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest)
Returns a list of the application versions for a specific application.
|
default ListApplicationVersionsResponse |
listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest)
Returns a list of the application versions for a specific application.
|
default ListApplicationVersionsIterable |
listApplicationVersionsPaginator(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest)
Returns a list of the application versions for a specific application.
|
default ListApplicationVersionsIterable |
listApplicationVersionsPaginator(ListApplicationVersionsRequest listApplicationVersionsRequest)
Returns a list of the application versions for a specific application.
|
default ListBatchJobDefinitionsResponse |
listBatchJobDefinitions(Consumer<ListBatchJobDefinitionsRequest.Builder> listBatchJobDefinitionsRequest)
Lists all the available batch job definitions based on the batch job resources uploaded during the application
creation.
|
default ListBatchJobDefinitionsResponse |
listBatchJobDefinitions(ListBatchJobDefinitionsRequest listBatchJobDefinitionsRequest)
Lists all the available batch job definitions based on the batch job resources uploaded during the application
creation.
|
default ListBatchJobDefinitionsIterable |
listBatchJobDefinitionsPaginator(Consumer<ListBatchJobDefinitionsRequest.Builder> listBatchJobDefinitionsRequest)
Lists all the available batch job definitions based on the batch job resources uploaded during the application
creation.
|
default ListBatchJobDefinitionsIterable |
listBatchJobDefinitionsPaginator(ListBatchJobDefinitionsRequest listBatchJobDefinitionsRequest)
Lists all the available batch job definitions based on the batch job resources uploaded during the application
creation.
|
default ListBatchJobExecutionsResponse |
listBatchJobExecutions(Consumer<ListBatchJobExecutionsRequest.Builder> listBatchJobExecutionsRequest)
Lists historical, current, and scheduled batch job executions for a specific application.
|
default ListBatchJobExecutionsResponse |
listBatchJobExecutions(ListBatchJobExecutionsRequest listBatchJobExecutionsRequest)
Lists historical, current, and scheduled batch job executions for a specific application.
|
default ListBatchJobExecutionsIterable |
listBatchJobExecutionsPaginator(Consumer<ListBatchJobExecutionsRequest.Builder> listBatchJobExecutionsRequest)
Lists historical, current, and scheduled batch job executions for a specific application.
|
default ListBatchJobExecutionsIterable |
listBatchJobExecutionsPaginator(ListBatchJobExecutionsRequest listBatchJobExecutionsRequest)
Lists historical, current, and scheduled batch job executions for a specific application.
|
default ListDataSetImportHistoryResponse |
listDataSetImportHistory(Consumer<ListDataSetImportHistoryRequest.Builder> listDataSetImportHistoryRequest)
Lists the data set imports for the specified application.
|
default ListDataSetImportHistoryResponse |
listDataSetImportHistory(ListDataSetImportHistoryRequest listDataSetImportHistoryRequest)
Lists the data set imports for the specified application.
|
default ListDataSetImportHistoryIterable |
listDataSetImportHistoryPaginator(Consumer<ListDataSetImportHistoryRequest.Builder> listDataSetImportHistoryRequest)
Lists the data set imports for the specified application.
|
default ListDataSetImportHistoryIterable |
listDataSetImportHistoryPaginator(ListDataSetImportHistoryRequest listDataSetImportHistoryRequest)
Lists the data set imports for the specified application.
|
default ListDataSetsResponse |
listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
Lists the data sets imported for a specific application.
|
default ListDataSetsResponse |
listDataSets(ListDataSetsRequest listDataSetsRequest)
Lists the data sets imported for a specific application.
|
default ListDataSetsIterable |
listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest)
Lists the data sets imported for a specific application.
|
default ListDataSetsIterable |
listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest)
Lists the data sets imported for a specific application.
|
default ListDeploymentsResponse |
listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Returns a list of all deployments of a specific application.
|
default ListDeploymentsResponse |
listDeployments(ListDeploymentsRequest listDeploymentsRequest)
Returns a list of all deployments of a specific application.
|
default ListDeploymentsIterable |
listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest)
Returns a list of all deployments of a specific application.
|
default ListDeploymentsIterable |
listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest)
Returns a list of all deployments of a specific application.
|
default ListEngineVersionsResponse |
listEngineVersions(Consumer<ListEngineVersionsRequest.Builder> listEngineVersionsRequest)
Lists the available engine versions.
|
default ListEngineVersionsResponse |
listEngineVersions(ListEngineVersionsRequest listEngineVersionsRequest)
Lists the available engine versions.
|
default ListEngineVersionsIterable |
listEngineVersionsPaginator(Consumer<ListEngineVersionsRequest.Builder> listEngineVersionsRequest)
Lists the available engine versions.
|
default ListEngineVersionsIterable |
listEngineVersionsPaginator(ListEngineVersionsRequest listEngineVersionsRequest)
Lists the available engine versions.
|
default ListEnvironmentsResponse |
listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)
Lists the runtime environments.
|
default ListEnvironmentsResponse |
listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the runtime environments.
|
default ListEnvironmentsIterable |
listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)
Lists the runtime environments.
|
default ListEnvironmentsIterable |
listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)
Lists the runtime environments.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
default M2ServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartApplicationResponse |
startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest)
Starts an application that is currently stopped.
|
default StartApplicationResponse |
startApplication(StartApplicationRequest startApplicationRequest)
Starts an application that is currently stopped.
|
default StartBatchJobResponse |
startBatchJob(Consumer<StartBatchJobRequest.Builder> startBatchJobRequest)
Starts a batch job and returns the unique identifier of this execution of the batch job.
|
default StartBatchJobResponse |
startBatchJob(StartBatchJobRequest startBatchJobRequest)
Starts a batch job and returns the unique identifier of this execution of the batch job.
|
default StopApplicationResponse |
stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest)
Stops a running application.
|
default StopApplicationResponse |
stopApplication(StopApplicationRequest stopApplicationRequest)
Stops a running application.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds one or more tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds one or more tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from the specified resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from the specified resource.
|
default UpdateApplicationResponse |
updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest)
Updates an application and creates a new version.
|
default UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates an application and creates a new version.
|
default UpdateEnvironmentResponse |
updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)
Updates the configuration details for a specific runtime environment.
|
default UpdateEnvironmentResponse |
updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates the configuration details for a specific runtime environment.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CancelBatchJobExecutionResponse cancelBatchJobExecution(CancelBatchJobExecutionRequest cancelBatchJobExecutionRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Cancels the running of a specific batch job execution.
cancelBatchJobExecutionRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CancelBatchJobExecutionResponse cancelBatchJobExecution(Consumer<CancelBatchJobExecutionRequest.Builder> cancelBatchJobExecutionRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Cancels the running of a specific batch job execution.
This is a convenience which creates an instance of the CancelBatchJobExecutionRequest.Builder avoiding
the need to create one manually via CancelBatchJobExecutionRequest.builder()
cancelBatchJobExecutionRequest - A Consumer that will call methods on CancelBatchJobExecutionRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Creates a new application with given parameters. Requires an existing runtime environment and application definition file.
createApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Creates a new application with given parameters. Requires an existing runtime environment and application definition file.
This is a convenience which creates an instance of the CreateApplicationRequest.Builder avoiding the need
to create one manually via CreateApplicationRequest.builder()
createApplicationRequest - A Consumer that will call methods on CreateApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDataSetImportTaskResponse createDataSetImportTask(CreateDataSetImportTaskRequest createDataSetImportTaskRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts a data set import task for a specific application.
createDataSetImportTaskRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDataSetImportTaskResponse createDataSetImportTask(Consumer<CreateDataSetImportTaskRequest.Builder> createDataSetImportTaskRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts a data set import task for a specific application.
This is a convenience which creates an instance of the CreateDataSetImportTaskRequest.Builder avoiding
the need to create one manually via CreateDataSetImportTaskRequest.builder()
createDataSetImportTaskRequest - A Consumer that will call methods on CreateDataSetImportTaskRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeploymentResponse createDeployment(CreateDeploymentRequest createDeploymentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Creates and starts a deployment to deploy an application into a runtime environment.
createDeploymentRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDeploymentResponse createDeployment(Consumer<CreateDeploymentRequest.Builder> createDeploymentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Creates and starts a deployment to deploy an application into a runtime environment.
This is a convenience which creates an instance of the CreateDeploymentRequest.Builder avoiding the need
to create one manually via CreateDeploymentRequest.builder()
createDeploymentRequest - A Consumer that will call methods on CreateDeploymentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Creates a runtime environment for a given runtime engine.
createEnvironmentRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Creates a runtime environment for a given runtime engine.
This is a convenience which creates an instance of the CreateEnvironmentRequest.Builder avoiding the need
to create one manually via CreateEnvironmentRequest.builder()
createEnvironmentRequest - A Consumer that will call methods on CreateEnvironmentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific application. You cannot delete a running application.
deleteApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific application. You cannot delete a running application.
This is a convenience which creates an instance of the DeleteApplicationRequest.Builder avoiding the need
to create one manually via DeleteApplicationRequest.builder()
deleteApplicationRequest - A Consumer that will call methods on DeleteApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationFromEnvironmentResponse deleteApplicationFromEnvironment(DeleteApplicationFromEnvironmentRequest deleteApplicationFromEnvironmentRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific application from the specific runtime environment where it was previously deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has ever been deployed to it. This API removes the association of the application with the runtime environment so you can delete the environment smoothly.
deleteApplicationFromEnvironmentRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteApplicationFromEnvironmentResponse deleteApplicationFromEnvironment(Consumer<DeleteApplicationFromEnvironmentRequest.Builder> deleteApplicationFromEnvironmentRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific application from the specific runtime environment where it was previously deployed. You cannot delete a runtime environment using DeleteEnvironment if any application has ever been deployed to it. This API removes the association of the application with the runtime environment so you can delete the environment smoothly.
This is a convenience which creates an instance of the DeleteApplicationFromEnvironmentRequest.Builder
avoiding the need to create one manually via DeleteApplicationFromEnvironmentRequest.builder()
deleteApplicationFromEnvironmentRequest - A Consumer that will call methods on DeleteApplicationFromEnvironmentRequest.Builder to
create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific runtime environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.
deleteEnvironmentRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Deletes a specific runtime environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.
This is a convenience which creates an instance of the DeleteEnvironmentRequest.Builder avoiding the need
to create one manually via DeleteEnvironmentRequest.builder()
deleteEnvironmentRequest - A Consumer that will call methods on DeleteEnvironmentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(GetApplicationRequest getApplicationRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Describes the details of a specific application.
getApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationResponse getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Describes the details of a specific application.
This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest - A Consumer that will call methods on GetApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationVersionResponse getApplicationVersion(GetApplicationVersionRequest getApplicationVersionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns details about a specific version of a specific application.
getApplicationVersionRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetApplicationVersionResponse getApplicationVersion(Consumer<GetApplicationVersionRequest.Builder> getApplicationVersionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns details about a specific version of a specific application.
This is a convenience which creates an instance of the GetApplicationVersionRequest.Builder avoiding the
need to create one manually via GetApplicationVersionRequest.builder()
getApplicationVersionRequest - A Consumer that will call methods on GetApplicationVersionRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBatchJobExecutionResponse getBatchJobExecution(GetBatchJobExecutionRequest getBatchJobExecutionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the details of a specific batch job execution for a specific application.
getBatchJobExecutionRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBatchJobExecutionResponse getBatchJobExecution(Consumer<GetBatchJobExecutionRequest.Builder> getBatchJobExecutionRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the details of a specific batch job execution for a specific application.
This is a convenience which creates an instance of the GetBatchJobExecutionRequest.Builder avoiding the
need to create one manually via GetBatchJobExecutionRequest.builder()
getBatchJobExecutionRequest - A Consumer that will call methods on GetBatchJobExecutionRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSetDetailsResponse getDataSetDetails(GetDataSetDetailsRequest getDataSetDetailsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the details of a specific data set.
getDataSetDetailsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSetDetailsResponse getDataSetDetails(Consumer<GetDataSetDetailsRequest.Builder> getDataSetDetailsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the details of a specific data set.
This is a convenience which creates an instance of the GetDataSetDetailsRequest.Builder avoiding the need
to create one manually via GetDataSetDetailsRequest.builder()
getDataSetDetailsRequest - A Consumer that will call methods on GetDataSetDetailsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSetImportTaskResponse getDataSetImportTask(GetDataSetImportTaskRequest getDataSetImportTaskRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
getDataSetImportTaskRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataSetImportTaskResponse getDataSetImportTask(Consumer<GetDataSetImportTaskRequest.Builder> getDataSetImportTaskRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
This is a convenience which creates an instance of the GetDataSetImportTaskRequest.Builder avoiding the
need to create one manually via GetDataSetImportTaskRequest.builder()
getDataSetImportTaskRequest - A Consumer that will call methods on GetDataSetImportTaskRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentResponse getDeployment(GetDeploymentRequest getDeploymentRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets details of a specific deployment with a given deployment identifier.
getDeploymentRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDeploymentResponse getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Gets details of a specific deployment with a given deployment identifier.
This is a convenience which creates an instance of the GetDeploymentRequest.Builder avoiding the need to
create one manually via GetDeploymentRequest.builder()
getDeploymentRequest - A Consumer that will call methods on GetDeploymentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Describes a specific runtime environment.
getEnvironmentRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Describes a specific runtime environment.
This is a convenience which creates an instance of the GetEnvironmentRequest.Builder avoiding the need to
create one manually via GetEnvironmentRequest.builder()
getEnvironmentRequest - A Consumer that will call methods on GetEnvironmentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(ListApplicationVersionsRequest listApplicationVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of the application versions for a specific application.
listApplicationVersionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationVersionsResponse listApplicationVersions(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of the application versions for a specific application.
This is a convenience which creates an instance of the ListApplicationVersionsRequest.Builder avoiding
the need to create one manually via ListApplicationVersionsRequest.builder()
listApplicationVersionsRequest - A Consumer that will call methods on ListApplicationVersionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationVersionsIterable listApplicationVersionsPaginator(ListApplicationVersionsRequest listApplicationVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of the application versions for a specific application.
This is a variant of
listApplicationVersions(software.amazon.awssdk.services.m2.model.ListApplicationVersionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client
.listApplicationVersionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListApplicationVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(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
listApplicationVersions(software.amazon.awssdk.services.m2.model.ListApplicationVersionsRequest)
operation.
listApplicationVersionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationVersionsIterable listApplicationVersionsPaginator(Consumer<ListApplicationVersionsRequest.Builder> listApplicationVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of the application versions for a specific application.
This is a variant of
listApplicationVersions(software.amazon.awssdk.services.m2.model.ListApplicationVersionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client
.listApplicationVersionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListApplicationVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListApplicationVersionsIterable responses = client.listApplicationVersionsPaginator(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
listApplicationVersions(software.amazon.awssdk.services.m2.model.ListApplicationVersionsRequest)
operation.
This is a convenience which creates an instance of the ListApplicationVersionsRequest.Builder avoiding
the need to create one manually via ListApplicationVersionsRequest.builder()
listApplicationVersionsRequest - A Consumer that will call methods on ListApplicationVersionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
listApplicationsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsResponse listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
This is a variant of listApplications(software.amazon.awssdk.services.m2.model.ListApplicationsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.m2.model.ListApplicationsRequest) operation.
listApplicationsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListApplicationsIterable listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the applications associated with a specific Amazon Web Services account. You can provide the unique identifier of a specific runtime environment in a query parameter to see all applications associated with that environment.
This is a variant of listApplications(software.amazon.awssdk.services.m2.model.ListApplicationsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListApplicationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListApplicationsIterable responses = client.listApplicationsPaginator(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
listApplications(software.amazon.awssdk.services.m2.model.ListApplicationsRequest) operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on ListApplicationsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobDefinitionsResponse listBatchJobDefinitions(ListBatchJobDefinitionsRequest listBatchJobDefinitionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
listBatchJobDefinitionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobDefinitionsResponse listBatchJobDefinitions(Consumer<ListBatchJobDefinitionsRequest.Builder> listBatchJobDefinitionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
This is a convenience which creates an instance of the ListBatchJobDefinitionsRequest.Builder avoiding
the need to create one manually via ListBatchJobDefinitionsRequest.builder()
listBatchJobDefinitionsRequest - A Consumer that will call methods on ListBatchJobDefinitionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobDefinitionsIterable listBatchJobDefinitionsPaginator(ListBatchJobDefinitionsRequest listBatchJobDefinitionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
This is a variant of
listBatchJobDefinitions(software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client.listBatchJobDefinitionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client
.listBatchJobDefinitionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client.listBatchJobDefinitionsPaginator(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
listBatchJobDefinitions(software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsRequest)
operation.
listBatchJobDefinitionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobDefinitionsIterable listBatchJobDefinitionsPaginator(Consumer<ListBatchJobDefinitionsRequest.Builder> listBatchJobDefinitionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
This is a variant of
listBatchJobDefinitions(software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client.listBatchJobDefinitionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client
.listBatchJobDefinitionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListBatchJobDefinitionsIterable responses = client.listBatchJobDefinitionsPaginator(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
listBatchJobDefinitions(software.amazon.awssdk.services.m2.model.ListBatchJobDefinitionsRequest)
operation.
This is a convenience which creates an instance of the ListBatchJobDefinitionsRequest.Builder avoiding
the need to create one manually via ListBatchJobDefinitionsRequest.builder()
listBatchJobDefinitionsRequest - A Consumer that will call methods on ListBatchJobDefinitionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobExecutionsResponse listBatchJobExecutions(ListBatchJobExecutionsRequest listBatchJobExecutionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists historical, current, and scheduled batch job executions for a specific application.
listBatchJobExecutionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobExecutionsResponse listBatchJobExecutions(Consumer<ListBatchJobExecutionsRequest.Builder> listBatchJobExecutionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists historical, current, and scheduled batch job executions for a specific application.
This is a convenience which creates an instance of the ListBatchJobExecutionsRequest.Builder avoiding the
need to create one manually via ListBatchJobExecutionsRequest.builder()
listBatchJobExecutionsRequest - A Consumer that will call methods on ListBatchJobExecutionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobExecutionsIterable listBatchJobExecutionsPaginator(ListBatchJobExecutionsRequest listBatchJobExecutionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists historical, current, and scheduled batch job executions for a specific application.
This is a variant of
listBatchJobExecutions(software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client.listBatchJobExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client
.listBatchJobExecutionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client.listBatchJobExecutionsPaginator(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
listBatchJobExecutions(software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsRequest)
operation.
listBatchJobExecutionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBatchJobExecutionsIterable listBatchJobExecutionsPaginator(Consumer<ListBatchJobExecutionsRequest.Builder> listBatchJobExecutionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists historical, current, and scheduled batch job executions for a specific application.
This is a variant of
listBatchJobExecutions(software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client.listBatchJobExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client
.listBatchJobExecutionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListBatchJobExecutionsIterable responses = client.listBatchJobExecutionsPaginator(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
listBatchJobExecutions(software.amazon.awssdk.services.m2.model.ListBatchJobExecutionsRequest)
operation.
This is a convenience which creates an instance of the ListBatchJobExecutionsRequest.Builder avoiding the
need to create one manually via ListBatchJobExecutionsRequest.builder()
listBatchJobExecutionsRequest - A Consumer that will call methods on ListBatchJobExecutionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetImportHistoryResponse listDataSetImportHistory(ListDataSetImportHistoryRequest listDataSetImportHistoryRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data set imports for the specified application.
listDataSetImportHistoryRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetImportHistoryResponse listDataSetImportHistory(Consumer<ListDataSetImportHistoryRequest.Builder> listDataSetImportHistoryRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data set imports for the specified application.
This is a convenience which creates an instance of the ListDataSetImportHistoryRequest.Builder avoiding
the need to create one manually via ListDataSetImportHistoryRequest.builder()
listDataSetImportHistoryRequest - A Consumer that will call methods on ListDataSetImportHistoryRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetImportHistoryIterable listDataSetImportHistoryPaginator(ListDataSetImportHistoryRequest listDataSetImportHistoryRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data set imports for the specified application.
This is a variant of
listDataSetImportHistory(software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client.listDataSetImportHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client
.listDataSetImportHistoryPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client.listDataSetImportHistoryPaginator(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
listDataSetImportHistory(software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryRequest)
operation.
listDataSetImportHistoryRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetImportHistoryIterable listDataSetImportHistoryPaginator(Consumer<ListDataSetImportHistoryRequest.Builder> listDataSetImportHistoryRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data set imports for the specified application.
This is a variant of
listDataSetImportHistory(software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client.listDataSetImportHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client
.listDataSetImportHistoryPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDataSetImportHistoryIterable responses = client.listDataSetImportHistoryPaginator(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
listDataSetImportHistory(software.amazon.awssdk.services.m2.model.ListDataSetImportHistoryRequest)
operation.
This is a convenience which creates an instance of the ListDataSetImportHistoryRequest.Builder avoiding
the need to create one manually via ListDataSetImportHistoryRequest.builder()
listDataSetImportHistoryRequest - A Consumer that will call methods on ListDataSetImportHistoryRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetsResponse listDataSets(ListDataSetsRequest listDataSetsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
listDataSetsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetsResponse listDataSets(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
This is a convenience which creates an instance of the ListDataSetsRequest.Builder avoiding the need to
create one manually via ListDataSetsRequest.builder()
listDataSetsRequest - A Consumer that will call methods on ListDataSetsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetsIterable listDataSetsPaginator(ListDataSetsRequest listDataSetsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
This is a variant of listDataSets(software.amazon.awssdk.services.m2.model.ListDataSetsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDataSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(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
listDataSets(software.amazon.awssdk.services.m2.model.ListDataSetsRequest) operation.
listDataSetsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDataSetsIterable listDataSetsPaginator(Consumer<ListDataSetsRequest.Builder> listDataSetsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
This is a variant of listDataSets(software.amazon.awssdk.services.m2.model.ListDataSetsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDataSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDataSetsIterable responses = client.listDataSetsPaginator(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
listDataSets(software.amazon.awssdk.services.m2.model.ListDataSetsRequest) operation.
This is a convenience which creates an instance of the ListDataSetsRequest.Builder avoiding the need to
create one manually via ListDataSetsRequest.builder()
listDataSetsRequest - A Consumer that will call methods on ListDataSetsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsResponse listDeployments(ListDeploymentsRequest listDeploymentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
listDeploymentsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsResponse listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsIterable listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
This is a variant of listDeployments(software.amazon.awssdk.services.m2.model.ListDeploymentsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(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
listDeployments(software.amazon.awssdk.services.m2.model.ListDeploymentsRequest) operation.
listDeploymentsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDeploymentsIterable listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Returns a list of all deployments of a specific application. A deployment is a combination of a specific application and a specific version of that application. Each deployment is mapped to a particular application version.
This is a variant of listDeployments(software.amazon.awssdk.services.m2.model.ListDeploymentsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListDeploymentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListDeploymentsIterable responses = client.listDeploymentsPaginator(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
listDeployments(software.amazon.awssdk.services.m2.model.ListDeploymentsRequest) operation.
This is a convenience which creates an instance of the ListDeploymentsRequest.Builder avoiding the need
to create one manually via ListDeploymentsRequest.builder()
listDeploymentsRequest - A Consumer that will call methods on ListDeploymentsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEngineVersionsResponse listEngineVersions(ListEngineVersionsRequest listEngineVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the available engine versions.
listEngineVersionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEngineVersionsResponse listEngineVersions(Consumer<ListEngineVersionsRequest.Builder> listEngineVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the available engine versions.
This is a convenience which creates an instance of the ListEngineVersionsRequest.Builder avoiding the
need to create one manually via ListEngineVersionsRequest.builder()
listEngineVersionsRequest - A Consumer that will call methods on ListEngineVersionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEngineVersionsIterable listEngineVersionsPaginator(ListEngineVersionsRequest listEngineVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the available engine versions.
This is a variant of
listEngineVersions(software.amazon.awssdk.services.m2.model.ListEngineVersionsRequest) 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
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client.listEngineVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client
.listEngineVersionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListEngineVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client.listEngineVersionsPaginator(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
listEngineVersions(software.amazon.awssdk.services.m2.model.ListEngineVersionsRequest) operation.
listEngineVersionsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEngineVersionsIterable listEngineVersionsPaginator(Consumer<ListEngineVersionsRequest.Builder> listEngineVersionsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the available engine versions.
This is a variant of
listEngineVersions(software.amazon.awssdk.services.m2.model.ListEngineVersionsRequest) 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
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client.listEngineVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client
.listEngineVersionsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListEngineVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListEngineVersionsIterable responses = client.listEngineVersionsPaginator(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
listEngineVersions(software.amazon.awssdk.services.m2.model.ListEngineVersionsRequest) operation.
This is a convenience which creates an instance of the ListEngineVersionsRequest.Builder avoiding the
need to create one manually via ListEngineVersionsRequest.builder()
listEngineVersionsRequest - A Consumer that will call methods on ListEngineVersionsRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the runtime environments.
listEnvironmentsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the runtime environments.
This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need
to create one manually via ListEnvironmentsRequest.builder()
listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the runtime environments.
This is a variant of listEnvironments(software.amazon.awssdk.services.m2.model.ListEnvironmentsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListEnvironmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(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
listEnvironments(software.amazon.awssdk.services.m2.model.ListEnvironmentsRequest) operation.
listEnvironmentsRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, M2Exception
Lists the runtime environments.
This is a variant of listEnvironments(software.amazon.awssdk.services.m2.model.ListEnvironmentsRequest)
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
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request);
for (software.amazon.awssdk.services.m2.model.ListEnvironmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.m2.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(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
listEnvironments(software.amazon.awssdk.services.m2.model.ListEnvironmentsRequest) operation.
This is a convenience which creates an instance of the ListEnvironmentsRequest.Builder avoiding the need
to create one manually via ListEnvironmentsRequest.builder()
listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the tags for the specified resource.
listTagsForResourceRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Lists the tags for the specified resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartApplicationResponse startApplication(StartApplicationRequest startApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts an application that is currently stopped.
startApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartApplicationResponse startApplication(Consumer<StartApplicationRequest.Builder> startApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts an application that is currently stopped.
This is a convenience which creates an instance of the StartApplicationRequest.Builder avoiding the need
to create one manually via StartApplicationRequest.builder()
startApplicationRequest - A Consumer that will call methods on StartApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBatchJobResponse startBatchJob(StartBatchJobRequest startBatchJobRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.
startBatchJobRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBatchJobResponse startBatchJob(Consumer<StartBatchJobRequest.Builder> startBatchJobRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.
This is a convenience which creates an instance of the StartBatchJobRequest.Builder avoiding the need to
create one manually via StartBatchJobRequest.builder()
startBatchJobRequest - A Consumer that will call methods on StartBatchJobRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopApplicationResponse stopApplication(StopApplicationRequest stopApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Stops a running application.
stopApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopApplicationResponse stopApplication(Consumer<StopApplicationRequest.Builder> stopApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Stops a running application.
This is a convenience which creates an instance of the StopApplicationRequest.Builder avoiding the need
to create one manually via StopApplicationRequest.builder()
stopApplicationRequest - A Consumer that will call methods on StopApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Adds one or more tags to the specified resource.
tagResourceRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ServiceQuotaExceededException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Adds one or more tags to the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Removes one or more tags from the specified resource.
untagResourceRequest - ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Removes one or more tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Updates an application and creates a new version.
updateApplicationRequest - ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws ValidationException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Updates an application and creates a new version.
This is a convenience which creates an instance of the UpdateApplicationRequest.Builder avoiding the need
to create one manually via UpdateApplicationRequest.builder()
updateApplicationRequest - A Consumer that will call methods on UpdateApplicationRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Updates the configuration details for a specific runtime environment.
updateEnvironmentRequest - ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws ValidationException, ServiceQuotaExceededException, ConflictException, InternalServerException, AccessDeniedException, ThrottlingException, ResourceNotFoundException, AwsServiceException, SdkClientException, M2Exception
Updates the configuration details for a specific runtime environment.
This is a convenience which creates an instance of the UpdateEnvironmentRequest.Builder avoiding the need
to create one manually via UpdateEnvironmentRequest.builder()
updateEnvironmentRequest - A Consumer that will call methods on UpdateEnvironmentRequest.Builder to create a request.ValidationException - One or more parameters provided in the request is not valid.ServiceQuotaExceededException - One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.ConflictException - The parameters provided in the request conflict with existing resources.InternalServerException - An unexpected error occurred during the processing of the request.AccessDeniedException - The account or role doesn't have the right permissions to make the request.ThrottlingException - The number of requests made exceeds the limit.ResourceNotFoundException - The specified resource was not found.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.M2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic M2Client create()
M2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static M2ClientBuilder builder()
M2Client.static ServiceMetadata serviceMetadata()
default M2ServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.