@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMainframeModernizationAsyncClient extends AWSMainframeModernizationClient implements AWSMainframeModernizationAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, cancelBatchJobExecution, createApplication, createDataSetImportTask, createDeployment, createEnvironment, deleteApplication, deleteApplicationFromEnvironment, deleteEnvironment, getApplication, getApplicationVersion, getBatchJobExecution, getCachedResponseMetadata, getDataSetDetails, getDataSetImportTask, getDeployment, getEnvironment, getSignedBluinsightsUrl, listApplications, listApplicationVersions, listBatchJobDefinitions, listBatchJobExecutions, listBatchJobRestartPoints, listDataSetImportHistory, listDataSets, listDeployments, listEngineVersions, listEnvironments, listTagsForResource, startApplication, startBatchJob, stopApplication, tagResource, untagResource, updateApplication, updateEnvironment
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelBatchJobExecution, createApplication, createDataSetImportTask, createDeployment, createEnvironment, deleteApplication, deleteApplicationFromEnvironment, deleteEnvironment, getApplication, getApplicationVersion, getBatchJobExecution, getCachedResponseMetadata, getDataSetDetails, getDataSetImportTask, getDeployment, getEnvironment, getSignedBluinsightsUrl, listApplications, listApplicationVersions, listBatchJobDefinitions, listBatchJobExecutions, listBatchJobRestartPoints, listDataSetImportHistory, listDataSets, listDeployments, listEngineVersions, listEnvironments, listTagsForResource, startApplication, startBatchJob, stopApplication, tagResource, untagResource, updateApplication, updateEnvironment
public static AWSMainframeModernizationAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CancelBatchJobExecutionResult> cancelBatchJobExecutionAsync(CancelBatchJobExecutionRequest request)
AWSMainframeModernizationAsync
Cancels the running of a specific batch job execution.
cancelBatchJobExecutionAsync
in interface AWSMainframeModernizationAsync
public Future<CancelBatchJobExecutionResult> cancelBatchJobExecutionAsync(CancelBatchJobExecutionRequest request, AsyncHandler<CancelBatchJobExecutionRequest,CancelBatchJobExecutionResult> asyncHandler)
AWSMainframeModernizationAsync
Cancels the running of a specific batch job execution.
cancelBatchJobExecutionAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
AWSMainframeModernizationAsync
Creates a new application with given parameters. Requires an existing runtime environment and application definition file.
createApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Creates a new application with given parameters. Requires an existing runtime environment and application definition file.
createApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDataSetImportTaskResult> createDataSetImportTaskAsync(CreateDataSetImportTaskRequest request)
AWSMainframeModernizationAsync
Starts a data set import task for a specific application.
createDataSetImportTaskAsync
in interface AWSMainframeModernizationAsync
public Future<CreateDataSetImportTaskResult> createDataSetImportTaskAsync(CreateDataSetImportTaskRequest request, AsyncHandler<CreateDataSetImportTaskRequest,CreateDataSetImportTaskResult> asyncHandler)
AWSMainframeModernizationAsync
Starts a data set import task for a specific application.
createDataSetImportTaskAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request)
AWSMainframeModernizationAsync
Creates and starts a deployment to deploy an application into a runtime environment.
createDeploymentAsync
in interface AWSMainframeModernizationAsync
public Future<CreateDeploymentResult> createDeploymentAsync(CreateDeploymentRequest request, AsyncHandler<CreateDeploymentRequest,CreateDeploymentResult> asyncHandler)
AWSMainframeModernizationAsync
Creates and starts a deployment to deploy an application into a runtime environment.
createDeploymentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AWSMainframeModernizationAsync
Creates a runtime environment for a given runtime engine.
createEnvironmentAsync
in interface AWSMainframeModernizationAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AWSMainframeModernizationAsync
Creates a runtime environment for a given runtime engine.
createEnvironmentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
AWSMainframeModernizationAsync
Deletes a specific application. You cannot delete a running application.
deleteApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Deletes a specific application. You cannot delete a running application.
deleteApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteApplicationFromEnvironmentResult> deleteApplicationFromEnvironmentAsync(DeleteApplicationFromEnvironmentRequest request)
AWSMainframeModernizationAsync
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.
deleteApplicationFromEnvironmentAsync
in interface AWSMainframeModernizationAsync
public Future<DeleteApplicationFromEnvironmentResult> deleteApplicationFromEnvironmentAsync(DeleteApplicationFromEnvironmentRequest request, AsyncHandler<DeleteApplicationFromEnvironmentRequest,DeleteApplicationFromEnvironmentResult> asyncHandler)
AWSMainframeModernizationAsync
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.
deleteApplicationFromEnvironmentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AWSMainframeModernizationAsync
Deletes a specific runtime environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.
deleteEnvironmentAsync
in interface AWSMainframeModernizationAsync
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AWSMainframeModernizationAsync
Deletes a specific runtime environment. The environment cannot contain deployed applications. If it does, you must delete those applications before you delete the environment.
deleteEnvironmentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request)
AWSMainframeModernizationAsync
Describes the details of a specific application.
getApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<GetApplicationResult> getApplicationAsync(GetApplicationRequest request, AsyncHandler<GetApplicationRequest,GetApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Describes the details of a specific application.
getApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetApplicationVersionResult> getApplicationVersionAsync(GetApplicationVersionRequest request)
AWSMainframeModernizationAsync
Returns details about a specific version of a specific application.
getApplicationVersionAsync
in interface AWSMainframeModernizationAsync
public Future<GetApplicationVersionResult> getApplicationVersionAsync(GetApplicationVersionRequest request, AsyncHandler<GetApplicationVersionRequest,GetApplicationVersionResult> asyncHandler)
AWSMainframeModernizationAsync
Returns details about a specific version of a specific application.
getApplicationVersionAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBatchJobExecutionResult> getBatchJobExecutionAsync(GetBatchJobExecutionRequest request)
AWSMainframeModernizationAsync
Gets the details of a specific batch job execution for a specific application.
getBatchJobExecutionAsync
in interface AWSMainframeModernizationAsync
public Future<GetBatchJobExecutionResult> getBatchJobExecutionAsync(GetBatchJobExecutionRequest request, AsyncHandler<GetBatchJobExecutionRequest,GetBatchJobExecutionResult> asyncHandler)
AWSMainframeModernizationAsync
Gets the details of a specific batch job execution for a specific application.
getBatchJobExecutionAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDataSetDetailsResult> getDataSetDetailsAsync(GetDataSetDetailsRequest request)
AWSMainframeModernizationAsync
Gets the details of a specific data set.
getDataSetDetailsAsync
in interface AWSMainframeModernizationAsync
public Future<GetDataSetDetailsResult> getDataSetDetailsAsync(GetDataSetDetailsRequest request, AsyncHandler<GetDataSetDetailsRequest,GetDataSetDetailsResult> asyncHandler)
AWSMainframeModernizationAsync
Gets the details of a specific data set.
getDataSetDetailsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDataSetImportTaskResult> getDataSetImportTaskAsync(GetDataSetImportTaskRequest request)
AWSMainframeModernizationAsync
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
getDataSetImportTaskAsync
in interface AWSMainframeModernizationAsync
public Future<GetDataSetImportTaskResult> getDataSetImportTaskAsync(GetDataSetImportTaskRequest request, AsyncHandler<GetDataSetImportTaskRequest,GetDataSetImportTaskResult> asyncHandler)
AWSMainframeModernizationAsync
Gets the status of a data set import task initiated with the CreateDataSetImportTask operation.
getDataSetImportTaskAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request)
AWSMainframeModernizationAsync
Gets details of a specific deployment with a given deployment identifier.
getDeploymentAsync
in interface AWSMainframeModernizationAsync
public Future<GetDeploymentResult> getDeploymentAsync(GetDeploymentRequest request, AsyncHandler<GetDeploymentRequest,GetDeploymentResult> asyncHandler)
AWSMainframeModernizationAsync
Gets details of a specific deployment with a given deployment identifier.
getDeploymentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AWSMainframeModernizationAsync
Describes a specific runtime environment.
getEnvironmentAsync
in interface AWSMainframeModernizationAsync
public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AWSMainframeModernizationAsync
Describes a specific runtime environment.
getEnvironmentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetSignedBluinsightsUrlResult> getSignedBluinsightsUrlAsync(GetSignedBluinsightsUrlRequest request)
AWSMainframeModernizationAsync
Gets a single sign-on URL that can be used to connect to AWS Blu Insights.
getSignedBluinsightsUrlAsync
in interface AWSMainframeModernizationAsync
public Future<GetSignedBluinsightsUrlResult> getSignedBluinsightsUrlAsync(GetSignedBluinsightsUrlRequest request, AsyncHandler<GetSignedBluinsightsUrlRequest,GetSignedBluinsightsUrlResult> asyncHandler)
AWSMainframeModernizationAsync
Gets a single sign-on URL that can be used to connect to AWS Blu Insights.
getSignedBluinsightsUrlAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request)
AWSMainframeModernizationAsync
Returns a list of the application versions for a specific application.
listApplicationVersionsAsync
in interface AWSMainframeModernizationAsync
public Future<ListApplicationVersionsResult> listApplicationVersionsAsync(ListApplicationVersionsRequest request, AsyncHandler<ListApplicationVersionsRequest,ListApplicationVersionsResult> asyncHandler)
AWSMainframeModernizationAsync
Returns a list of the application versions for a specific application.
listApplicationVersionsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request)
AWSMainframeModernizationAsync
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.
listApplicationsAsync
in interface AWSMainframeModernizationAsync
public Future<ListApplicationsResult> listApplicationsAsync(ListApplicationsRequest request, AsyncHandler<ListApplicationsRequest,ListApplicationsResult> asyncHandler)
AWSMainframeModernizationAsync
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.
listApplicationsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBatchJobDefinitionsResult> listBatchJobDefinitionsAsync(ListBatchJobDefinitionsRequest request)
AWSMainframeModernizationAsync
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.
listBatchJobDefinitionsAsync
in interface AWSMainframeModernizationAsync
public Future<ListBatchJobDefinitionsResult> listBatchJobDefinitionsAsync(ListBatchJobDefinitionsRequest request, AsyncHandler<ListBatchJobDefinitionsRequest,ListBatchJobDefinitionsResult> asyncHandler)
AWSMainframeModernizationAsync
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.
listBatchJobDefinitionsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBatchJobExecutionsResult> listBatchJobExecutionsAsync(ListBatchJobExecutionsRequest request)
AWSMainframeModernizationAsync
Lists historical, current, and scheduled batch job executions for a specific application.
listBatchJobExecutionsAsync
in interface AWSMainframeModernizationAsync
public Future<ListBatchJobExecutionsResult> listBatchJobExecutionsAsync(ListBatchJobExecutionsRequest request, AsyncHandler<ListBatchJobExecutionsRequest,ListBatchJobExecutionsResult> asyncHandler)
AWSMainframeModernizationAsync
Lists historical, current, and scheduled batch job executions for a specific application.
listBatchJobExecutionsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBatchJobRestartPointsResult> listBatchJobRestartPointsAsync(ListBatchJobRestartPointsRequest request)
AWSMainframeModernizationAsync
Lists all the job steps for JCL files to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.
listBatchJobRestartPointsAsync
in interface AWSMainframeModernizationAsync
public Future<ListBatchJobRestartPointsResult> listBatchJobRestartPointsAsync(ListBatchJobRestartPointsRequest request, AsyncHandler<ListBatchJobRestartPointsRequest,ListBatchJobRestartPointsResult> asyncHandler)
AWSMainframeModernizationAsync
Lists all the job steps for JCL files to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.
listBatchJobRestartPointsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSetImportHistoryResult> listDataSetImportHistoryAsync(ListDataSetImportHistoryRequest request)
AWSMainframeModernizationAsync
Lists the data set imports for the specified application.
listDataSetImportHistoryAsync
in interface AWSMainframeModernizationAsync
public Future<ListDataSetImportHistoryResult> listDataSetImportHistoryAsync(ListDataSetImportHistoryRequest request, AsyncHandler<ListDataSetImportHistoryRequest,ListDataSetImportHistoryResult> asyncHandler)
AWSMainframeModernizationAsync
Lists the data set imports for the specified application.
listDataSetImportHistoryAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request)
AWSMainframeModernizationAsync
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.
listDataSetsAsync
in interface AWSMainframeModernizationAsync
public Future<ListDataSetsResult> listDataSetsAsync(ListDataSetsRequest request, AsyncHandler<ListDataSetsRequest,ListDataSetsResult> asyncHandler)
AWSMainframeModernizationAsync
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.
listDataSetsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request)
AWSMainframeModernizationAsync
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.
listDeploymentsAsync
in interface AWSMainframeModernizationAsync
public Future<ListDeploymentsResult> listDeploymentsAsync(ListDeploymentsRequest request, AsyncHandler<ListDeploymentsRequest,ListDeploymentsResult> asyncHandler)
AWSMainframeModernizationAsync
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.
listDeploymentsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEngineVersionsResult> listEngineVersionsAsync(ListEngineVersionsRequest request)
AWSMainframeModernizationAsync
Lists the available engine versions.
listEngineVersionsAsync
in interface AWSMainframeModernizationAsync
public Future<ListEngineVersionsResult> listEngineVersionsAsync(ListEngineVersionsRequest request, AsyncHandler<ListEngineVersionsRequest,ListEngineVersionsResult> asyncHandler)
AWSMainframeModernizationAsync
Lists the available engine versions.
listEngineVersionsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AWSMainframeModernizationAsync
Lists the runtime environments.
listEnvironmentsAsync
in interface AWSMainframeModernizationAsync
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AWSMainframeModernizationAsync
Lists the runtime environments.
listEnvironmentsAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMainframeModernizationAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSMainframeModernizationAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMainframeModernizationAsync
Lists the tags for the specified resource.
listTagsForResourceAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request)
AWSMainframeModernizationAsync
Starts an application that is currently stopped.
startApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<StartApplicationResult> startApplicationAsync(StartApplicationRequest request, AsyncHandler<StartApplicationRequest,StartApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Starts an application that is currently stopped.
startApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartBatchJobResult> startBatchJobAsync(StartBatchJobRequest request)
AWSMainframeModernizationAsync
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.
startBatchJobAsync
in interface AWSMainframeModernizationAsync
public Future<StartBatchJobResult> startBatchJobAsync(StartBatchJobRequest request, AsyncHandler<StartBatchJobRequest,StartBatchJobResult> asyncHandler)
AWSMainframeModernizationAsync
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.
startBatchJobAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request)
AWSMainframeModernizationAsync
Stops a running application.
stopApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<StopApplicationResult> stopApplicationAsync(StopApplicationRequest request, AsyncHandler<StopApplicationRequest,StopApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Stops a running application.
stopApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMainframeModernizationAsync
Adds one or more tags to the specified resource.
tagResourceAsync
in interface AWSMainframeModernizationAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMainframeModernizationAsync
Adds one or more tags to the specified resource.
tagResourceAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMainframeModernizationAsync
Removes one or more tags from the specified resource.
untagResourceAsync
in interface AWSMainframeModernizationAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMainframeModernizationAsync
Removes one or more tags from the specified resource.
untagResourceAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
AWSMainframeModernizationAsync
Updates an application and creates a new version.
updateApplicationAsync
in interface AWSMainframeModernizationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
AWSMainframeModernizationAsync
Updates an application and creates a new version.
updateApplicationAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AWSMainframeModernizationAsync
Updates the configuration details for a specific runtime environment.
updateEnvironmentAsync
in interface AWSMainframeModernizationAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AWSMainframeModernizationAsync
Updates the configuration details for a specific runtime environment.
updateEnvironmentAsync
in interface AWSMainframeModernizationAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSMainframeModernization
shutdown
in class AWSMainframeModernizationClient