/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the m2-2021-04-28.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.MainframeModernization.Model;
namespace Amazon.MainframeModernization
{
///
/// Interface for accessing 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.
///
public partial interface IAmazonMainframeModernization : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IMainframeModernizationPaginatorFactory Paginators { get; }
#endif
#region CancelBatchJobExecution
///
/// Cancels the running of a specific batch job execution.
///
/// Container for the necessary parameters to execute the CancelBatchJobExecution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelBatchJobExecution service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for CancelBatchJobExecution Operation
Task CancelBatchJobExecutionAsync(CancelBatchJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplication
///
/// Creates a new application with given parameters. Requires an existing runtime environment
/// and application definition file.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for CreateApplication Operation
Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDataSetImportTask
///
/// Starts a data set import task for a specific application.
///
/// Container for the necessary parameters to execute the CreateDataSetImportTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDataSetImportTask service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for CreateDataSetImportTask Operation
Task CreateDataSetImportTaskAsync(CreateDataSetImportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDeployment
///
/// Creates and starts a deployment to deploy an application into a runtime environment.
///
/// Container for the necessary parameters to execute the CreateDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDeployment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for CreateDeployment Operation
Task CreateDeploymentAsync(CreateDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateEnvironment
///
/// Creates a runtime environment for a given runtime engine.
///
/// Container for the necessary parameters to execute the CreateEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEnvironment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for CreateEnvironment Operation
Task CreateEnvironmentAsync(CreateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplication
///
/// Deletes a specific application. You cannot delete a running application.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for DeleteApplication Operation
Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplicationFromEnvironment
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteApplicationFromEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplicationFromEnvironment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for DeleteApplicationFromEnvironment Operation
Task DeleteApplicationFromEnvironmentAsync(DeleteApplicationFromEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteEnvironment
///
/// Deletes a specific runtime environment. The environment cannot contain deployed applications.
/// If it does, you must delete those applications before you delete the environment.
///
/// Container for the necessary parameters to execute the DeleteEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEnvironment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for DeleteEnvironment Operation
Task DeleteEnvironmentAsync(DeleteEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApplication
///
/// Describes the details of a specific application.
///
/// Container for the necessary parameters to execute the GetApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetApplication Operation
Task GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApplicationVersion
///
/// Returns details about a specific version of a specific application.
///
/// Container for the necessary parameters to execute the GetApplicationVersion service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetApplicationVersion service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetApplicationVersion Operation
Task GetApplicationVersionAsync(GetApplicationVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBatchJobExecution
///
/// Gets the details of a specific batch job execution for a specific application.
///
/// Container for the necessary parameters to execute the GetBatchJobExecution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBatchJobExecution service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetBatchJobExecution Operation
Task GetBatchJobExecutionAsync(GetBatchJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDataSetDetails
///
/// Gets the details of a specific data set.
///
/// Container for the necessary parameters to execute the GetDataSetDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataSetDetails service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetDataSetDetails Operation
Task GetDataSetDetailsAsync(GetDataSetDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDataSetImportTask
///
/// Gets the status of a data set import task initiated with the CreateDataSetImportTask
/// operation.
///
/// Container for the necessary parameters to execute the GetDataSetImportTask service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDataSetImportTask service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetDataSetImportTask Operation
Task GetDataSetImportTaskAsync(GetDataSetImportTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDeployment
///
/// Gets details of a specific deployment with a given deployment identifier.
///
/// Container for the necessary parameters to execute the GetDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDeployment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetDeployment Operation
Task GetDeploymentAsync(GetDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEnvironment
///
/// Describes a specific runtime environment.
///
/// Container for the necessary parameters to execute the GetEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetEnvironment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for GetEnvironment Operation
Task GetEnvironmentAsync(GetEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSignedBluinsightsUrl
///
/// Gets a single sign-on URL that can be used to connect to AWS Blu Insights.
///
/// Container for the necessary parameters to execute the GetSignedBluinsightsUrl service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSignedBluinsightsUrl service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
/// REST API Reference for GetSignedBluinsightsUrl Operation
Task GetSignedBluinsightsUrlAsync(GetSignedBluinsightsUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplications
///
/// 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.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplications service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListApplications Operation
Task ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplicationVersions
///
/// Returns a list of the application versions for a specific application.
///
/// Container for the necessary parameters to execute the ListApplicationVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListApplicationVersions service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListApplicationVersions Operation
Task ListApplicationVersionsAsync(ListApplicationVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBatchJobDefinitions
///
/// 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.
///
/// Container for the necessary parameters to execute the ListBatchJobDefinitions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBatchJobDefinitions service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListBatchJobDefinitions Operation
Task ListBatchJobDefinitionsAsync(ListBatchJobDefinitionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListBatchJobExecutions
///
/// Lists historical, current, and scheduled batch job executions for a specific application.
///
/// Container for the necessary parameters to execute the ListBatchJobExecutions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListBatchJobExecutions service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListBatchJobExecutions Operation
Task ListBatchJobExecutionsAsync(ListBatchJobExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDataSetImportHistory
///
/// Lists the data set imports for the specified application.
///
/// Container for the necessary parameters to execute the ListDataSetImportHistory service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDataSetImportHistory service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListDataSetImportHistory Operation
Task ListDataSetImportHistoryAsync(ListDataSetImportHistoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDataSets
///
/// 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.
///
/// Container for the necessary parameters to execute the ListDataSets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDataSets service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListDataSets Operation
Task ListDataSetsAsync(ListDataSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDeployments
///
/// 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.
///
/// Container for the necessary parameters to execute the ListDeployments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDeployments service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListDeployments Operation
Task ListDeploymentsAsync(ListDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEngineVersions
///
/// Lists the available engine versions.
///
/// Container for the necessary parameters to execute the ListEngineVersions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEngineVersions service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListEngineVersions Operation
Task ListEngineVersionsAsync(ListEngineVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEnvironments
///
/// Lists the runtime environments.
///
/// Container for the necessary parameters to execute the ListEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEnvironments service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListEnvironments Operation
Task ListEnvironmentsAsync(ListEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags for the specified resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartApplication
///
/// Starts an application that is currently stopped.
///
/// Container for the necessary parameters to execute the StartApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for StartApplication Operation
Task StartApplicationAsync(StartApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartBatchJob
///
/// 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.
///
/// Container for the necessary parameters to execute the StartBatchJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartBatchJob service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for StartBatchJob Operation
Task StartBatchJobAsync(StartBatchJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopApplication
///
/// Stops a running application.
///
/// Container for the necessary parameters to execute the StopApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for StopApplication Operation
Task StopApplicationAsync(StopApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Adds one or more tags to the specified resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes one or more tags from the specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApplication
///
/// Updates an application and creates a new version.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApplication service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for UpdateApplication Operation
Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateEnvironment
///
/// Updates the configuration details for a specific runtime environment.
///
/// Container for the necessary parameters to execute the UpdateEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEnvironment service method, as returned by MainframeModernization.
///
/// The account or role doesn't have the right permissions to make the request.
///
///
/// The parameters provided in the request conflict with existing resources.
///
///
/// An unexpected error occurred during the processing of the request.
///
///
/// The specified resource was not found.
///
///
/// One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
///
///
/// The number of requests made exceeds the limit.
///
///
/// One or more parameters provided in the request is not valid.
///
/// REST API Reference for UpdateEnvironment Operation
Task UpdateEnvironmentAsync(UpdateEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}