/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace MainframeModernization
{
/**
* 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.
*/
class AWS_MAINFRAMEMODERNIZATION_API MainframeModernizationClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef MainframeModernizationClientConfiguration ClientConfigurationType;
typedef MainframeModernizationEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MainframeModernizationClient(const Aws::MainframeModernization::MainframeModernizationClientConfiguration& clientConfiguration = Aws::MainframeModernization::MainframeModernizationClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MainframeModernizationClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MainframeModernization::MainframeModernizationClientConfiguration& clientConfiguration = Aws::MainframeModernization::MainframeModernizationClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
MainframeModernizationClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::MainframeModernization::MainframeModernizationClientConfiguration& clientConfiguration = Aws::MainframeModernization::MainframeModernizationClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MainframeModernizationClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
MainframeModernizationClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
MainframeModernizationClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~MainframeModernizationClient();
/**
* Cancels the running of a specific batch job execution.
See
* Also:
AWS
* API Reference
*/
virtual Model::CancelBatchJobExecutionOutcome CancelBatchJobExecution(const Model::CancelBatchJobExecutionRequest& request) const;
/**
* A Callable wrapper for CancelBatchJobExecution that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CancelBatchJobExecutionOutcomeCallable CancelBatchJobExecutionCallable(const CancelBatchJobExecutionRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::CancelBatchJobExecution, request);
}
/**
* An Async wrapper for CancelBatchJobExecution that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CancelBatchJobExecutionAsync(const CancelBatchJobExecutionRequestT& request, const CancelBatchJobExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::CancelBatchJobExecution, request, handler, context);
}
/**
* Creates a new application with given parameters. Requires an existing runtime
* environment and application definition file.
See Also:
AWS
* API Reference
*/
virtual Model::CreateApplicationOutcome CreateApplication(const Model::CreateApplicationRequest& request) const;
/**
* A Callable wrapper for CreateApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateApplicationOutcomeCallable CreateApplicationCallable(const CreateApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::CreateApplication, request);
}
/**
* An Async wrapper for CreateApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateApplicationAsync(const CreateApplicationRequestT& request, const CreateApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::CreateApplication, request, handler, context);
}
/**
* Starts a data set import task for a specific application.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreateDataSetImportTaskOutcome CreateDataSetImportTask(const Model::CreateDataSetImportTaskRequest& request) const;
/**
* A Callable wrapper for CreateDataSetImportTask that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateDataSetImportTaskOutcomeCallable CreateDataSetImportTaskCallable(const CreateDataSetImportTaskRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::CreateDataSetImportTask, request);
}
/**
* An Async wrapper for CreateDataSetImportTask that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateDataSetImportTaskAsync(const CreateDataSetImportTaskRequestT& request, const CreateDataSetImportTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::CreateDataSetImportTask, request, handler, context);
}
/**
* Creates and starts a deployment to deploy an application into a runtime
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::CreateDeploymentOutcome CreateDeployment(const Model::CreateDeploymentRequest& request) const;
/**
* A Callable wrapper for CreateDeployment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateDeploymentOutcomeCallable CreateDeploymentCallable(const CreateDeploymentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::CreateDeployment, request);
}
/**
* An Async wrapper for CreateDeployment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateDeploymentAsync(const CreateDeploymentRequestT& request, const CreateDeploymentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::CreateDeployment, request, handler, context);
}
/**
* Creates a runtime environment for a given runtime engine.
See
* Also:
AWS
* API Reference
*/
virtual Model::CreateEnvironmentOutcome CreateEnvironment(const Model::CreateEnvironmentRequest& request) const;
/**
* A Callable wrapper for CreateEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateEnvironmentOutcomeCallable CreateEnvironmentCallable(const CreateEnvironmentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::CreateEnvironment, request);
}
/**
* An Async wrapper for CreateEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateEnvironmentAsync(const CreateEnvironmentRequestT& request, const CreateEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::CreateEnvironment, request, handler, context);
}
/**
* Deletes a specific application. You cannot delete a running
* application.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteApplicationOutcome DeleteApplication(const Model::DeleteApplicationRequest& request) const;
/**
* A Callable wrapper for DeleteApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteApplicationOutcomeCallable DeleteApplicationCallable(const DeleteApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::DeleteApplication, request);
}
/**
* An Async wrapper for DeleteApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteApplicationAsync(const DeleteApplicationRequestT& request, const DeleteApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::DeleteApplication, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteApplicationFromEnvironmentOutcome DeleteApplicationFromEnvironment(const Model::DeleteApplicationFromEnvironmentRequest& request) const;
/**
* A Callable wrapper for DeleteApplicationFromEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteApplicationFromEnvironmentOutcomeCallable DeleteApplicationFromEnvironmentCallable(const DeleteApplicationFromEnvironmentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::DeleteApplicationFromEnvironment, request);
}
/**
* An Async wrapper for DeleteApplicationFromEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteApplicationFromEnvironmentAsync(const DeleteApplicationFromEnvironmentRequestT& request, const DeleteApplicationFromEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::DeleteApplicationFromEnvironment, request, handler, context);
}
/**
* Deletes a specific runtime environment. The environment cannot contain
* deployed applications. If it does, you must delete those applications before you
* delete the environment.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteEnvironmentOutcome DeleteEnvironment(const Model::DeleteEnvironmentRequest& request) const;
/**
* A Callable wrapper for DeleteEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteEnvironmentOutcomeCallable DeleteEnvironmentCallable(const DeleteEnvironmentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::DeleteEnvironment, request);
}
/**
* An Async wrapper for DeleteEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteEnvironmentAsync(const DeleteEnvironmentRequestT& request, const DeleteEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::DeleteEnvironment, request, handler, context);
}
/**
* Describes the details of a specific application.
See Also:
* AWS
* API Reference
*/
virtual Model::GetApplicationOutcome GetApplication(const Model::GetApplicationRequest& request) const;
/**
* A Callable wrapper for GetApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetApplicationOutcomeCallable GetApplicationCallable(const GetApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetApplication, request);
}
/**
* An Async wrapper for GetApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetApplicationAsync(const GetApplicationRequestT& request, const GetApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetApplication, request, handler, context);
}
/**
* Returns details about a specific version of a specific
* application.
See Also:
AWS
* API Reference
*/
virtual Model::GetApplicationVersionOutcome GetApplicationVersion(const Model::GetApplicationVersionRequest& request) const;
/**
* A Callable wrapper for GetApplicationVersion that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetApplicationVersionOutcomeCallable GetApplicationVersionCallable(const GetApplicationVersionRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetApplicationVersion, request);
}
/**
* An Async wrapper for GetApplicationVersion that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetApplicationVersionAsync(const GetApplicationVersionRequestT& request, const GetApplicationVersionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetApplicationVersion, request, handler, context);
}
/**
* Gets the details of a specific batch job execution for a specific
* application.
See Also:
AWS
* API Reference
*/
virtual Model::GetBatchJobExecutionOutcome GetBatchJobExecution(const Model::GetBatchJobExecutionRequest& request) const;
/**
* A Callable wrapper for GetBatchJobExecution that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBatchJobExecutionOutcomeCallable GetBatchJobExecutionCallable(const GetBatchJobExecutionRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetBatchJobExecution, request);
}
/**
* An Async wrapper for GetBatchJobExecution that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBatchJobExecutionAsync(const GetBatchJobExecutionRequestT& request, const GetBatchJobExecutionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetBatchJobExecution, request, handler, context);
}
/**
* Gets the details of a specific data set.
See Also:
AWS
* API Reference
*/
virtual Model::GetDataSetDetailsOutcome GetDataSetDetails(const Model::GetDataSetDetailsRequest& request) const;
/**
* A Callable wrapper for GetDataSetDetails that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetDataSetDetailsOutcomeCallable GetDataSetDetailsCallable(const GetDataSetDetailsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetDataSetDetails, request);
}
/**
* An Async wrapper for GetDataSetDetails that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetDataSetDetailsAsync(const GetDataSetDetailsRequestT& request, const GetDataSetDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetDataSetDetails, request, handler, context);
}
/**
* Gets the status of a data set import task initiated with the
* CreateDataSetImportTask operation.
See Also:
AWS
* API Reference
*/
virtual Model::GetDataSetImportTaskOutcome GetDataSetImportTask(const Model::GetDataSetImportTaskRequest& request) const;
/**
* A Callable wrapper for GetDataSetImportTask that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetDataSetImportTaskOutcomeCallable GetDataSetImportTaskCallable(const GetDataSetImportTaskRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetDataSetImportTask, request);
}
/**
* An Async wrapper for GetDataSetImportTask that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetDataSetImportTaskAsync(const GetDataSetImportTaskRequestT& request, const GetDataSetImportTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetDataSetImportTask, request, handler, context);
}
/**
* Gets details of a specific deployment with a given deployment
* identifier.
See Also:
AWS
* API Reference
*/
virtual Model::GetDeploymentOutcome GetDeployment(const Model::GetDeploymentRequest& request) const;
/**
* A Callable wrapper for GetDeployment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetDeploymentOutcomeCallable GetDeploymentCallable(const GetDeploymentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetDeployment, request);
}
/**
* An Async wrapper for GetDeployment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetDeploymentAsync(const GetDeploymentRequestT& request, const GetDeploymentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetDeployment, request, handler, context);
}
/**
* Describes a specific runtime environment.
See Also:
AWS
* API Reference
*/
virtual Model::GetEnvironmentOutcome GetEnvironment(const Model::GetEnvironmentRequest& request) const;
/**
* A Callable wrapper for GetEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetEnvironmentOutcomeCallable GetEnvironmentCallable(const GetEnvironmentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::GetEnvironment, request);
}
/**
* An Async wrapper for GetEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetEnvironmentAsync(const GetEnvironmentRequestT& request, const GetEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetEnvironment, request, handler, context);
}
/**
* Gets a single sign-on URL that can be used to connect to AWS Blu
* Insights.
See Also:
AWS
* API Reference
*/
virtual Model::GetSignedBluinsightsUrlOutcome GetSignedBluinsightsUrl() const;
/**
* A Callable wrapper for GetSignedBluinsightsUrl that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetSignedBluinsightsUrlOutcomeCallable GetSignedBluinsightsUrlCallable() const
{
return SubmitCallable(&MainframeModernizationClient::GetSignedBluinsightsUrl);
}
/**
* An Async wrapper for GetSignedBluinsightsUrl that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetSignedBluinsightsUrlAsync(const GetSignedBluinsightsUrlResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::GetSignedBluinsightsUrl, handler, context);
}
/**
* Returns a list of the application versions for a specific
* application.
See Also:
AWS
* API Reference
*/
virtual Model::ListApplicationVersionsOutcome ListApplicationVersions(const Model::ListApplicationVersionsRequest& request) const;
/**
* A Callable wrapper for ListApplicationVersions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListApplicationVersionsOutcomeCallable ListApplicationVersionsCallable(const ListApplicationVersionsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListApplicationVersions, request);
}
/**
* An Async wrapper for ListApplicationVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListApplicationVersionsAsync(const ListApplicationVersionsRequestT& request, const ListApplicationVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListApplicationVersions, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListApplicationsOutcome ListApplications(const Model::ListApplicationsRequest& request) const;
/**
* A Callable wrapper for ListApplications that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListApplicationsOutcomeCallable ListApplicationsCallable(const ListApplicationsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListApplications, request);
}
/**
* An Async wrapper for ListApplications that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListApplicationsAsync(const ListApplicationsRequestT& request, const ListApplicationsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListApplications, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListBatchJobDefinitionsOutcome ListBatchJobDefinitions(const Model::ListBatchJobDefinitionsRequest& request) const;
/**
* A Callable wrapper for ListBatchJobDefinitions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBatchJobDefinitionsOutcomeCallable ListBatchJobDefinitionsCallable(const ListBatchJobDefinitionsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListBatchJobDefinitions, request);
}
/**
* An Async wrapper for ListBatchJobDefinitions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBatchJobDefinitionsAsync(const ListBatchJobDefinitionsRequestT& request, const ListBatchJobDefinitionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListBatchJobDefinitions, request, handler, context);
}
/**
* Lists historical, current, and scheduled batch job executions for a specific
* application.
See Also:
AWS
* API Reference
*/
virtual Model::ListBatchJobExecutionsOutcome ListBatchJobExecutions(const Model::ListBatchJobExecutionsRequest& request) const;
/**
* A Callable wrapper for ListBatchJobExecutions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBatchJobExecutionsOutcomeCallable ListBatchJobExecutionsCallable(const ListBatchJobExecutionsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListBatchJobExecutions, request);
}
/**
* An Async wrapper for ListBatchJobExecutions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBatchJobExecutionsAsync(const ListBatchJobExecutionsRequestT& request, const ListBatchJobExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListBatchJobExecutions, request, handler, context);
}
/**
* Lists the data set imports for the specified application.
See
* Also:
AWS
* API Reference
*/
virtual Model::ListDataSetImportHistoryOutcome ListDataSetImportHistory(const Model::ListDataSetImportHistoryRequest& request) const;
/**
* A Callable wrapper for ListDataSetImportHistory that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDataSetImportHistoryOutcomeCallable ListDataSetImportHistoryCallable(const ListDataSetImportHistoryRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListDataSetImportHistory, request);
}
/**
* An Async wrapper for ListDataSetImportHistory that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDataSetImportHistoryAsync(const ListDataSetImportHistoryRequestT& request, const ListDataSetImportHistoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListDataSetImportHistory, request, handler, context);
}
/**
* 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.
See
* Also:
AWS API
* Reference
*/
virtual Model::ListDataSetsOutcome ListDataSets(const Model::ListDataSetsRequest& request) const;
/**
* A Callable wrapper for ListDataSets that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDataSetsOutcomeCallable ListDataSetsCallable(const ListDataSetsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListDataSets, request);
}
/**
* An Async wrapper for ListDataSets that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDataSetsAsync(const ListDataSetsRequestT& request, const ListDataSetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListDataSets, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::ListDeploymentsOutcome ListDeployments(const Model::ListDeploymentsRequest& request) const;
/**
* A Callable wrapper for ListDeployments that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListDeploymentsOutcomeCallable ListDeploymentsCallable(const ListDeploymentsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListDeployments, request);
}
/**
* An Async wrapper for ListDeployments that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListDeploymentsAsync(const ListDeploymentsRequestT& request, const ListDeploymentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListDeployments, request, handler, context);
}
/**
* Lists the available engine versions.
See Also:
AWS
* API Reference
*/
virtual Model::ListEngineVersionsOutcome ListEngineVersions(const Model::ListEngineVersionsRequest& request) const;
/**
* A Callable wrapper for ListEngineVersions that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListEngineVersionsOutcomeCallable ListEngineVersionsCallable(const ListEngineVersionsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListEngineVersions, request);
}
/**
* An Async wrapper for ListEngineVersions that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListEngineVersionsAsync(const ListEngineVersionsRequestT& request, const ListEngineVersionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListEngineVersions, request, handler, context);
}
/**
* Lists the runtime environments.
See Also:
AWS
* API Reference
*/
virtual Model::ListEnvironmentsOutcome ListEnvironments(const Model::ListEnvironmentsRequest& request) const;
/**
* A Callable wrapper for ListEnvironments that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListEnvironmentsOutcomeCallable ListEnvironmentsCallable(const ListEnvironmentsRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListEnvironments, request);
}
/**
* An Async wrapper for ListEnvironments that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListEnvironmentsAsync(const ListEnvironmentsRequestT& request, const ListEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListEnvironments, request, handler, context);
}
/**
* Lists the tags for the specified resource.
See Also:
AWS
* API Reference
*/
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const;
/**
* A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::ListTagsForResource, request);
}
/**
* An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::ListTagsForResource, request, handler, context);
}
/**
* Starts an application that is currently stopped.
See Also:
* AWS
* API Reference
*/
virtual Model::StartApplicationOutcome StartApplication(const Model::StartApplicationRequest& request) const;
/**
* A Callable wrapper for StartApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartApplicationOutcomeCallable StartApplicationCallable(const StartApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::StartApplication, request);
}
/**
* An Async wrapper for StartApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartApplicationAsync(const StartApplicationRequestT& request, const StartApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::StartApplication, request, handler, context);
}
/**
* 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.
See Also:
AWS
* API Reference
*/
virtual Model::StartBatchJobOutcome StartBatchJob(const Model::StartBatchJobRequest& request) const;
/**
* A Callable wrapper for StartBatchJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StartBatchJobOutcomeCallable StartBatchJobCallable(const StartBatchJobRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::StartBatchJob, request);
}
/**
* An Async wrapper for StartBatchJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StartBatchJobAsync(const StartBatchJobRequestT& request, const StartBatchJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::StartBatchJob, request, handler, context);
}
/**
* Stops a running application.
See Also:
AWS
* API Reference
*/
virtual Model::StopApplicationOutcome StopApplication(const Model::StopApplicationRequest& request) const;
/**
* A Callable wrapper for StopApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::StopApplicationOutcomeCallable StopApplicationCallable(const StopApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::StopApplication, request);
}
/**
* An Async wrapper for StopApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void StopApplicationAsync(const StopApplicationRequestT& request, const StopApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::StopApplication, request, handler, context);
}
/**
* Adds one or more tags to the specified resource.
See Also:
* AWS
* API Reference
*/
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const;
/**
* A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::TagResource, request);
}
/**
* An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::TagResource, request, handler, context);
}
/**
* Removes one or more tags from the specified resource.
See
* Also:
AWS
* API Reference
*/
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const;
/**
* A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::UntagResource, request);
}
/**
* An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::UntagResource, request, handler, context);
}
/**
* Updates an application and creates a new version.
See Also:
* AWS
* API Reference
*/
virtual Model::UpdateApplicationOutcome UpdateApplication(const Model::UpdateApplicationRequest& request) const;
/**
* A Callable wrapper for UpdateApplication that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateApplicationOutcomeCallable UpdateApplicationCallable(const UpdateApplicationRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::UpdateApplication, request);
}
/**
* An Async wrapper for UpdateApplication that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateApplicationAsync(const UpdateApplicationRequestT& request, const UpdateApplicationResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::UpdateApplication, request, handler, context);
}
/**
* Updates the configuration details for a specific runtime
* environment.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateEnvironmentOutcome UpdateEnvironment(const Model::UpdateEnvironmentRequest& request) const;
/**
* A Callable wrapper for UpdateEnvironment that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateEnvironmentOutcomeCallable UpdateEnvironmentCallable(const UpdateEnvironmentRequestT& request) const
{
return SubmitCallable(&MainframeModernizationClient::UpdateEnvironment, request);
}
/**
* An Async wrapper for UpdateEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateEnvironmentAsync(const UpdateEnvironmentRequestT& request, const UpdateEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&MainframeModernizationClient::UpdateEnvironment, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const MainframeModernizationClientConfiguration& clientConfiguration);
MainframeModernizationClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace MainframeModernization
} // namespace Aws