/* * 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 sms-2016-10-24.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ServerMigrationService.Model; namespace Amazon.ServerMigrationService { /// /// Interface for accessing ServerMigrationService /// /// /// /// Product update /// /// /// /// We recommend Amazon /// Web Services Application Migration Service (Amazon Web Services MGN) as the primary /// migration service for lift-and-shift migrations. If Amazon Web Services MGN is unavailable /// in a specific Amazon Web Services Region, you can use the Server Migration Service /// APIs through March 2023. /// /// /// /// Server Migration Service (Server Migration Service) makes it easier and faster for /// you to migrate your on-premises workloads to Amazon Web Services. To learn more about /// Server Migration Service, see the following resources: /// /// /// public partial interface IAmazonServerMigrationService : IAmazonService, IDisposable { /// /// Paginators for the service /// IServerMigrationServicePaginatorFactory Paginators { get; } #region CreateApp /// /// Creates an application. An application consists of one or more server groups. Each /// server group contain one or more servers. /// /// Container for the necessary parameters to execute the CreateApp service method. /// /// The response from the CreateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for CreateApp Operation CreateAppResponse CreateApp(CreateAppRequest request); /// /// Creates an application. An application consists of one or more server groups. Each /// server group contain one or more servers. /// /// Container for the necessary parameters to execute the CreateApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for CreateApp Operation Task CreateAppAsync(CreateAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateReplicationJob /// /// Creates a replication job. The replication job schedules periodic replication runs /// to replicate your server to Amazon Web Services. Each replication run creates an Amazon /// Machine Image (AMI). /// /// Container for the necessary parameters to execute the CreateReplicationJob service method. /// /// The response from the CreateReplicationJob service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// There are no connectors available. /// /// /// This operation is not allowed. /// /// /// The specified replication job already exists. /// /// /// The specified server cannot be replicated. /// /// /// The service is temporarily unavailable. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for CreateReplicationJob Operation CreateReplicationJobResponse CreateReplicationJob(CreateReplicationJobRequest request); /// /// Creates a replication job. The replication job schedules periodic replication runs /// to replicate your server to Amazon Web Services. Each replication run creates an Amazon /// Machine Image (AMI). /// /// Container for the necessary parameters to execute the CreateReplicationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplicationJob service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// There are no connectors available. /// /// /// This operation is not allowed. /// /// /// The specified replication job already exists. /// /// /// The specified server cannot be replicated. /// /// /// The service is temporarily unavailable. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for CreateReplicationJob Operation Task CreateReplicationJobAsync(CreateReplicationJobRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApp /// /// Deletes the specified application. Optionally deletes the launched stack associated /// with the application and all Server Migration Service replication jobs for servers /// in the application. /// /// Container for the necessary parameters to execute the DeleteApp service method. /// /// The response from the DeleteApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteApp Operation DeleteAppResponse DeleteApp(DeleteAppRequest request); /// /// Deletes the specified application. Optionally deletes the launched stack associated /// with the application and all Server Migration Service replication jobs for servers /// in the application. /// /// Container for the necessary parameters to execute the DeleteApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteApp Operation Task DeleteAppAsync(DeleteAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppLaunchConfiguration /// /// Deletes the launch configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppLaunchConfiguration service method. /// /// The response from the DeleteAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppLaunchConfiguration Operation DeleteAppLaunchConfigurationResponse DeleteAppLaunchConfiguration(DeleteAppLaunchConfigurationRequest request); /// /// Deletes the launch configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppLaunchConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppLaunchConfiguration Operation Task DeleteAppLaunchConfigurationAsync(DeleteAppLaunchConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppReplicationConfiguration /// /// Deletes the replication configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppReplicationConfiguration service method. /// /// The response from the DeleteAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppReplicationConfiguration Operation DeleteAppReplicationConfigurationResponse DeleteAppReplicationConfiguration(DeleteAppReplicationConfigurationRequest request); /// /// Deletes the replication configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppReplicationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppReplicationConfiguration Operation Task DeleteAppReplicationConfigurationAsync(DeleteAppReplicationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppValidationConfiguration /// /// Deletes the validation configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppValidationConfiguration service method. /// /// The response from the DeleteAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppValidationConfiguration Operation DeleteAppValidationConfigurationResponse DeleteAppValidationConfiguration(DeleteAppValidationConfigurationRequest request); /// /// Deletes the validation configuration for the specified application. /// /// Container for the necessary parameters to execute the DeleteAppValidationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteAppValidationConfiguration Operation Task DeleteAppValidationConfigurationAsync(DeleteAppValidationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteReplicationJob /// /// Deletes the specified replication job. /// /// /// /// After you delete a replication job, there are no further replication runs. Amazon /// Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration /// Service artifacts. The AMIs created by the replication runs are not deleted. /// /// /// Container for the necessary parameters to execute the DeleteReplicationJob service method. /// /// The response from the DeleteReplicationJob service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// The specified replication job does not exist. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteReplicationJob Operation DeleteReplicationJobResponse DeleteReplicationJob(DeleteReplicationJobRequest request); /// /// Deletes the specified replication job. /// /// /// /// After you delete a replication job, there are no further replication runs. Amazon /// Web Services deletes the contents of the Amazon S3 bucket used to store Server Migration /// Service artifacts. The AMIs created by the replication runs are not deleted. /// /// /// Container for the necessary parameters to execute the DeleteReplicationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationJob service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// The specified replication job does not exist. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteReplicationJob Operation Task DeleteReplicationJobAsync(DeleteReplicationJobRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteServerCatalog /// /// Deletes all servers from your server catalog. /// /// Container for the necessary parameters to execute the DeleteServerCatalog service method. /// /// The response from the DeleteServerCatalog service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteServerCatalog Operation DeleteServerCatalogResponse DeleteServerCatalog(DeleteServerCatalogRequest request); /// /// Deletes all servers from your server catalog. /// /// Container for the necessary parameters to execute the DeleteServerCatalog service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteServerCatalog service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DeleteServerCatalog Operation Task DeleteServerCatalogAsync(DeleteServerCatalogRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateConnector /// /// Disassociates the specified connector from Server Migration Service. /// /// /// /// After you disassociate a connector, it is no longer available to support replication /// jobs. /// /// /// Container for the necessary parameters to execute the DisassociateConnector service method. /// /// The response from the DisassociateConnector service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DisassociateConnector Operation DisassociateConnectorResponse DisassociateConnector(DisassociateConnectorRequest request); /// /// Disassociates the specified connector from Server Migration Service. /// /// /// /// After you disassociate a connector, it is no longer available to support replication /// jobs. /// /// /// Container for the necessary parameters to execute the DisassociateConnector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateConnector service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for DisassociateConnector Operation Task DisassociateConnectorAsync(DisassociateConnectorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GenerateChangeSet /// /// Generates a target change set for a currently launched stack and writes it to an Amazon /// S3 object in the customer’s Amazon S3 bucket. /// /// Container for the necessary parameters to execute the GenerateChangeSet service method. /// /// The response from the GenerateChangeSet service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GenerateChangeSet Operation GenerateChangeSetResponse GenerateChangeSet(GenerateChangeSetRequest request); /// /// Generates a target change set for a currently launched stack and writes it to an Amazon /// S3 object in the customer’s Amazon S3 bucket. /// /// Container for the necessary parameters to execute the GenerateChangeSet service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GenerateChangeSet service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GenerateChangeSet Operation Task GenerateChangeSetAsync(GenerateChangeSetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GenerateTemplate /// /// Generates an CloudFormation template based on the current launch configuration and /// writes it to an Amazon S3 object in the customer’s Amazon S3 bucket. /// /// Container for the necessary parameters to execute the GenerateTemplate service method. /// /// The response from the GenerateTemplate service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GenerateTemplate Operation GenerateTemplateResponse GenerateTemplate(GenerateTemplateRequest request); /// /// Generates an CloudFormation template based on the current launch configuration and /// writes it to an Amazon S3 object in the customer’s Amazon S3 bucket. /// /// Container for the necessary parameters to execute the GenerateTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GenerateTemplate service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GenerateTemplate Operation Task GenerateTemplateAsync(GenerateTemplateRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetApp /// /// Retrieve information about the specified application. /// /// Container for the necessary parameters to execute the GetApp service method. /// /// The response from the GetApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetApp Operation GetAppResponse GetApp(GetAppRequest request); /// /// Retrieve information about the specified application. /// /// Container for the necessary parameters to execute the GetApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetApp Operation Task GetAppAsync(GetAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppLaunchConfiguration /// /// Retrieves the application launch configuration associated with the specified application. /// /// Container for the necessary parameters to execute the GetAppLaunchConfiguration service method. /// /// The response from the GetAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppLaunchConfiguration Operation GetAppLaunchConfigurationResponse GetAppLaunchConfiguration(GetAppLaunchConfigurationRequest request); /// /// Retrieves the application launch configuration associated with the specified application. /// /// Container for the necessary parameters to execute the GetAppLaunchConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppLaunchConfiguration Operation Task GetAppLaunchConfigurationAsync(GetAppLaunchConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppReplicationConfiguration /// /// Retrieves the application replication configuration associated with the specified /// application. /// /// Container for the necessary parameters to execute the GetAppReplicationConfiguration service method. /// /// The response from the GetAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppReplicationConfiguration Operation GetAppReplicationConfigurationResponse GetAppReplicationConfiguration(GetAppReplicationConfigurationRequest request); /// /// Retrieves the application replication configuration associated with the specified /// application. /// /// Container for the necessary parameters to execute the GetAppReplicationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppReplicationConfiguration Operation Task GetAppReplicationConfigurationAsync(GetAppReplicationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppValidationConfiguration /// /// Retrieves information about a configuration for validating an application. /// /// Container for the necessary parameters to execute the GetAppValidationConfiguration service method. /// /// The response from the GetAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppValidationConfiguration Operation GetAppValidationConfigurationResponse GetAppValidationConfiguration(GetAppValidationConfigurationRequest request); /// /// Retrieves information about a configuration for validating an application. /// /// Container for the necessary parameters to execute the GetAppValidationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppValidationConfiguration Operation Task GetAppValidationConfigurationAsync(GetAppValidationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppValidationOutput /// /// Retrieves output from validating an application. /// /// Container for the necessary parameters to execute the GetAppValidationOutput service method. /// /// The response from the GetAppValidationOutput service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppValidationOutput Operation GetAppValidationOutputResponse GetAppValidationOutput(GetAppValidationOutputRequest request); /// /// Retrieves output from validating an application. /// /// Container for the necessary parameters to execute the GetAppValidationOutput service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetAppValidationOutput service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetAppValidationOutput Operation Task GetAppValidationOutputAsync(GetAppValidationOutputRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetConnectors /// /// Describes the connectors registered with the Server Migration Service. /// /// Container for the necessary parameters to execute the GetConnectors service method. /// /// The response from the GetConnectors service method, as returned by ServerMigrationService. /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetConnectors Operation GetConnectorsResponse GetConnectors(GetConnectorsRequest request); /// /// Describes the connectors registered with the Server Migration Service. /// /// Container for the necessary parameters to execute the GetConnectors service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetConnectors service method, as returned by ServerMigrationService. /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetConnectors Operation Task GetConnectorsAsync(GetConnectorsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetReplicationJobs /// /// Describes the specified replication job or all of your replication jobs. /// /// Container for the necessary parameters to execute the GetReplicationJobs service method. /// /// The response from the GetReplicationJobs service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetReplicationJobs Operation GetReplicationJobsResponse GetReplicationJobs(GetReplicationJobsRequest request); /// /// Describes the specified replication job or all of your replication jobs. /// /// Container for the necessary parameters to execute the GetReplicationJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReplicationJobs service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetReplicationJobs Operation Task GetReplicationJobsAsync(GetReplicationJobsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetReplicationRuns /// /// Describes the replication runs for the specified replication job. /// /// Container for the necessary parameters to execute the GetReplicationRuns service method. /// /// The response from the GetReplicationRuns service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetReplicationRuns Operation GetReplicationRunsResponse GetReplicationRuns(GetReplicationRunsRequest request); /// /// Describes the replication runs for the specified replication job. /// /// Container for the necessary parameters to execute the GetReplicationRuns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetReplicationRuns service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetReplicationRuns Operation Task GetReplicationRunsAsync(GetReplicationRunsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetServers /// /// Describes the servers in your server catalog. /// /// /// /// Before you can describe your servers, you must import them using ImportServerCatalog. /// /// /// Container for the necessary parameters to execute the GetServers service method. /// /// The response from the GetServers service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetServers Operation GetServersResponse GetServers(GetServersRequest request); /// /// Describes the servers in your server catalog. /// /// /// /// Before you can describe your servers, you must import them using ImportServerCatalog. /// /// /// Container for the necessary parameters to execute the GetServers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetServers service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for GetServers Operation Task GetServersAsync(GetServersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportAppCatalog /// /// Allows application import from Migration Hub. /// /// Container for the necessary parameters to execute the ImportAppCatalog service method. /// /// The response from the ImportAppCatalog service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ImportAppCatalog Operation ImportAppCatalogResponse ImportAppCatalog(ImportAppCatalogRequest request); /// /// Allows application import from Migration Hub. /// /// Container for the necessary parameters to execute the ImportAppCatalog service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportAppCatalog service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ImportAppCatalog Operation Task ImportAppCatalogAsync(ImportAppCatalogRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportServerCatalog /// /// Gathers a complete list of on-premises servers. Connectors must be installed and monitoring /// all servers to import. /// /// /// /// This call returns immediately, but might take additional time to retrieve all the /// servers. /// /// /// Container for the necessary parameters to execute the ImportServerCatalog service method. /// /// The response from the ImportServerCatalog service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// There are no connectors available. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ImportServerCatalog Operation ImportServerCatalogResponse ImportServerCatalog(ImportServerCatalogRequest request); /// /// Gathers a complete list of on-premises servers. Connectors must be installed and monitoring /// all servers to import. /// /// /// /// This call returns immediately, but might take additional time to retrieve all the /// servers. /// /// /// Container for the necessary parameters to execute the ImportServerCatalog service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportServerCatalog service method, as returned by ServerMigrationService. /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// There are no connectors available. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ImportServerCatalog Operation Task ImportServerCatalogAsync(ImportServerCatalogRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region LaunchApp /// /// Launches the specified application as a stack in CloudFormation. /// /// Container for the necessary parameters to execute the LaunchApp service method. /// /// The response from the LaunchApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for LaunchApp Operation LaunchAppResponse LaunchApp(LaunchAppRequest request); /// /// Launches the specified application as a stack in CloudFormation. /// /// Container for the necessary parameters to execute the LaunchApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the LaunchApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for LaunchApp Operation Task LaunchAppAsync(LaunchAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListApps /// /// Retrieves summaries for all applications. /// /// Container for the necessary parameters to execute the ListApps service method. /// /// The response from the ListApps service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ListApps Operation ListAppsResponse ListApps(ListAppsRequest request); /// /// Retrieves summaries for all applications. /// /// Container for the necessary parameters to execute the ListApps service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListApps service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for ListApps Operation Task ListAppsAsync(ListAppsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region NotifyAppValidationOutput /// /// Provides information to Server Migration Service about whether application validation /// is successful. /// /// Container for the necessary parameters to execute the NotifyAppValidationOutput service method. /// /// The response from the NotifyAppValidationOutput service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for NotifyAppValidationOutput Operation NotifyAppValidationOutputResponse NotifyAppValidationOutput(NotifyAppValidationOutputRequest request); /// /// Provides information to Server Migration Service about whether application validation /// is successful. /// /// Container for the necessary parameters to execute the NotifyAppValidationOutput service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the NotifyAppValidationOutput service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for NotifyAppValidationOutput Operation Task NotifyAppValidationOutputAsync(NotifyAppValidationOutputRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppLaunchConfiguration /// /// Creates or updates the launch configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppLaunchConfiguration service method. /// /// The response from the PutAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppLaunchConfiguration Operation PutAppLaunchConfigurationResponse PutAppLaunchConfiguration(PutAppLaunchConfigurationRequest request); /// /// Creates or updates the launch configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppLaunchConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAppLaunchConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppLaunchConfiguration Operation Task PutAppLaunchConfigurationAsync(PutAppLaunchConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppReplicationConfiguration /// /// Creates or updates the replication configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppReplicationConfiguration service method. /// /// The response from the PutAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppReplicationConfiguration Operation PutAppReplicationConfigurationResponse PutAppReplicationConfiguration(PutAppReplicationConfigurationRequest request); /// /// Creates or updates the replication configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppReplicationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAppReplicationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppReplicationConfiguration Operation Task PutAppReplicationConfigurationAsync(PutAppReplicationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppValidationConfiguration /// /// Creates or updates a validation configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppValidationConfiguration service method. /// /// The response from the PutAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppValidationConfiguration Operation PutAppValidationConfigurationResponse PutAppValidationConfiguration(PutAppValidationConfigurationRequest request); /// /// Creates or updates a validation configuration for the specified application. /// /// Container for the necessary parameters to execute the PutAppValidationConfiguration service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAppValidationConfiguration service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for PutAppValidationConfiguration Operation Task PutAppValidationConfigurationAsync(PutAppValidationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartAppReplication /// /// Starts replicating the specified application by creating replication jobs for each /// server in the application. /// /// Container for the necessary parameters to execute the StartAppReplication service method. /// /// The response from the StartAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartAppReplication Operation StartAppReplicationResponse StartAppReplication(StartAppReplicationRequest request); /// /// Starts replicating the specified application by creating replication jobs for each /// server in the application. /// /// Container for the necessary parameters to execute the StartAppReplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartAppReplication Operation Task StartAppReplicationAsync(StartAppReplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartOnDemandAppReplication /// /// Starts an on-demand replication run for the specified application. /// /// Container for the necessary parameters to execute the StartOnDemandAppReplication service method. /// /// The response from the StartOnDemandAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartOnDemandAppReplication Operation StartOnDemandAppReplicationResponse StartOnDemandAppReplication(StartOnDemandAppReplicationRequest request); /// /// Starts an on-demand replication run for the specified application. /// /// Container for the necessary parameters to execute the StartOnDemandAppReplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartOnDemandAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartOnDemandAppReplication Operation Task StartOnDemandAppReplicationAsync(StartOnDemandAppReplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartOnDemandReplicationRun /// /// Starts an on-demand replication run for the specified replication job. This replication /// run starts immediately. This replication run is in addition to the ones already scheduled. /// /// /// /// There is a limit on the number of on-demand replications runs that you can request /// in a 24-hour period. /// /// /// Container for the necessary parameters to execute the StartOnDemandReplicationRun service method. /// /// The response from the StartOnDemandReplicationRun service method, as returned by ServerMigrationService. /// /// The user has the required permissions, so the request would have succeeded, but a /// dry run was performed. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You have exceeded the number of on-demand replication runs you can request in a 24-hour /// period. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartOnDemandReplicationRun Operation StartOnDemandReplicationRunResponse StartOnDemandReplicationRun(StartOnDemandReplicationRunRequest request); /// /// Starts an on-demand replication run for the specified replication job. This replication /// run starts immediately. This replication run is in addition to the ones already scheduled. /// /// /// /// There is a limit on the number of on-demand replications runs that you can request /// in a 24-hour period. /// /// /// Container for the necessary parameters to execute the StartOnDemandReplicationRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartOnDemandReplicationRun service method, as returned by ServerMigrationService. /// /// The user has the required permissions, so the request would have succeeded, but a /// dry run was performed. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You have exceeded the number of on-demand replication runs you can request in a 24-hour /// period. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StartOnDemandReplicationRun Operation Task StartOnDemandReplicationRunAsync(StartOnDemandReplicationRunRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopAppReplication /// /// Stops replicating the specified application by deleting the replication job for each /// server in the application. /// /// Container for the necessary parameters to execute the StopAppReplication service method. /// /// The response from the StopAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StopAppReplication Operation StopAppReplicationResponse StopAppReplication(StopAppReplicationRequest request); /// /// Stops replicating the specified application by deleting the replication job for each /// server in the application. /// /// Container for the necessary parameters to execute the StopAppReplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopAppReplication service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for StopAppReplication Operation Task StopAppReplicationAsync(StopAppReplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TerminateApp /// /// Terminates the stack for the specified application. /// /// Container for the necessary parameters to execute the TerminateApp service method. /// /// The response from the TerminateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for TerminateApp Operation TerminateAppResponse TerminateApp(TerminateAppRequest request); /// /// Terminates the stack for the specified application. /// /// Container for the necessary parameters to execute the TerminateApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TerminateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for TerminateApp Operation Task TerminateAppAsync(TerminateAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApp /// /// Updates the specified application. /// /// Container for the necessary parameters to execute the UpdateApp service method. /// /// The response from the UpdateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for UpdateApp Operation UpdateAppResponse UpdateApp(UpdateAppRequest request); /// /// Updates the specified application. /// /// Container for the necessary parameters to execute the UpdateApp service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateApp service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for UpdateApp Operation Task UpdateAppAsync(UpdateAppRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateReplicationJob /// /// Updates the specified settings for the specified replication job. /// /// Container for the necessary parameters to execute the UpdateReplicationJob service method. /// /// The response from the UpdateReplicationJob service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// The specified replication job does not exist. /// /// /// The specified server cannot be replicated. /// /// /// The service is temporarily unavailable. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for UpdateReplicationJob Operation UpdateReplicationJobResponse UpdateReplicationJob(UpdateReplicationJobRequest request); /// /// Updates the specified settings for the specified replication job. /// /// Container for the necessary parameters to execute the UpdateReplicationJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateReplicationJob service method, as returned by ServerMigrationService. /// /// An internal error occurred. /// /// /// A specified parameter is not valid. /// /// /// A required parameter is missing. /// /// /// This operation is not allowed. /// /// /// The specified replication job does not exist. /// /// /// The specified server cannot be replicated. /// /// /// The service is temporarily unavailable. /// /// /// You lack permissions needed to perform this operation. Check your IAM policies, and /// ensure that you are using the correct access keys. /// /// REST API Reference for UpdateReplicationJob Operation Task UpdateReplicationJobAsync(UpdateReplicationJobRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }