/* * 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 dms-2016-01-01.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.DatabaseMigrationService.Model; using Amazon.DatabaseMigrationService.Model.Internal.MarshallTransformations; using Amazon.DatabaseMigrationService.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.DatabaseMigrationService { /// /// Implementation for accessing DatabaseMigrationService /// /// Database Migration Service /// /// Database Migration Service (DMS) can migrate your data to and from the most widely /// used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL /// Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise /// (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well /// as heterogeneous migrations between different database platforms, such as Oracle to /// MySQL or SQL Server to PostgreSQL. /// /// /// /// For more information about DMS, see What /// Is Database Migration Service? in the Database Migration Service User Guide. /// /// /// public partial class AmazonDatabaseMigrationServiceClient : AmazonServiceClient, IAmazonDatabaseMigrationService { private static IServiceMetadata serviceMetadata = new AmazonDatabaseMigrationServiceMetadata(); #region Constructors /// /// Constructs AmazonDatabaseMigrationServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonDatabaseMigrationServiceClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDatabaseMigrationServiceConfig()) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonDatabaseMigrationServiceClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDatabaseMigrationServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonDatabaseMigrationServiceClient Configuration Object public AmazonDatabaseMigrationServiceClient(AmazonDatabaseMigrationServiceConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Credentials /// /// AWS Credentials public AmazonDatabaseMigrationServiceClient(AWSCredentials credentials) : this(credentials, new AmazonDatabaseMigrationServiceConfig()) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonDatabaseMigrationServiceClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonDatabaseMigrationServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Credentials and an /// AmazonDatabaseMigrationServiceClient Configuration object. /// /// AWS Credentials /// The AmazonDatabaseMigrationServiceClient Configuration Object public AmazonDatabaseMigrationServiceClient(AWSCredentials credentials, AmazonDatabaseMigrationServiceConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDatabaseMigrationServiceConfig()) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDatabaseMigrationServiceConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDatabaseMigrationServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonDatabaseMigrationServiceClient Configuration Object public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDatabaseMigrationServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDatabaseMigrationServiceConfig()) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDatabaseMigrationServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDatabaseMigrationServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDatabaseMigrationServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonDatabaseMigrationServiceClient Configuration Object public AmazonDatabaseMigrationServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDatabaseMigrationServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IDatabaseMigrationServicePaginatorFactory _paginators; /// /// Paginators for the service /// public IDatabaseMigrationServicePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new DatabaseMigrationServicePaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonDatabaseMigrationServiceEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AddTagsToResource internal virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds metadata tags to an DMS resource, including replication instance, endpoint, subnet /// group, and migration task. These tags can also be used with cost allocation reporting /// to track cost associated with DMS resources, or used in a Condition statement in an /// IAM policy for DMS. For more information, see /// Tag data type description. /// /// Container for the necessary parameters to execute the AddTagsToResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AddTagsToResource service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for AddTagsToResource Operation public virtual Task AddTagsToResourceAsync(AddTagsToResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ApplyPendingMaintenanceAction internal virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Applies a pending maintenance action to a resource (for example, to a replication /// instance). /// /// Container for the necessary parameters to execute the ApplyPendingMaintenanceAction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ApplyPendingMaintenanceAction service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for ApplyPendingMaintenanceAction Operation public virtual Task ApplyPendingMaintenanceActionAsync(ApplyPendingMaintenanceActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance; options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchStartRecommendations internal virtual BatchStartRecommendationsResponse BatchStartRecommendations(BatchStartRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchStartRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchStartRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts the analysis of up to 20 source databases to recommend target engines for each /// source database. This is a batch version of StartRecommendations. /// /// /// /// The result of analysis of each source database is reported individually in the response. /// Because the batch request can result in a combination of successful and unsuccessful /// actions, you should check for batch errors even when the call returns an HTTP status /// code of 200. /// /// /// Container for the necessary parameters to execute the BatchStartRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchStartRecommendations service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for BatchStartRecommendations Operation public virtual Task BatchStartRecommendationsAsync(BatchStartRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchStartRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchStartRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelReplicationTaskAssessmentRun internal virtual CancelReplicationTaskAssessmentRunResponse CancelReplicationTaskAssessmentRun(CancelReplicationTaskAssessmentRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels a single premigration assessment run. /// /// /// /// This operation prevents any individual assessments from running if they haven't started /// running. It also attempts to cancel any individual assessments that are currently /// running. /// /// /// Container for the necessary parameters to execute the CancelReplicationTaskAssessmentRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for CancelReplicationTaskAssessmentRun Operation public virtual Task CancelReplicationTaskAssessmentRunAsync(CancelReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateEndpoint internal virtual CreateEndpointResponse CreateEndpoint(CreateEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an endpoint using the provided settings. /// /// /// /// For a MySQL source or target endpoint, don't explicitly specify the database using /// the DatabaseName request parameter on the CreateEndpoint /// API call. Specifying DatabaseName when you create a MySQL endpoint replicates /// all the task tables to this single database. For MySQL endpoints, you specify the /// database only when you specify the schema in the table-mapping rules of the DMS task. /// /// /// /// Container for the necessary parameters to execute the CreateEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEndpoint service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// /// Insufficient privileges are preventing access to an Amazon S3 object. /// /// REST API Reference for CreateEndpoint Operation public virtual Task CreateEndpointAsync(CreateEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateEventSubscription internal virtual CreateEventSubscriptionResponse CreateEventSubscription(CreateEventSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an DMS event notification subscription. /// /// /// /// You can specify the type of source (SourceType) you want to be notified /// of, provide a list of DMS source IDs (SourceIds) that triggers the events, /// and provide a list of event categories (EventCategories) for events you /// want to be notified of. If you specify both the SourceType and SourceIds, /// such as SourceType = replication-instance and SourceIdentifier /// = my-replinstance, you will be notified of all the replication instance events /// for the specified source. If you specify a SourceType but don't specify /// a SourceIdentifier, you receive notice of the events for that source /// type for all your DMS sources. If you don't specify either SourceType /// nor SourceIdentifier, you will be notified of events generated from all /// DMS sources belonging to your customer account. /// /// /// /// For more information about DMS events, see Working /// with Events and Notifications in the Database Migration Service User Guide. /// /// /// /// Container for the necessary parameters to execute the CreateEventSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEventSubscription service method, as returned by DatabaseMigrationService. /// /// The ciphertext references a key that doesn't exist or that the DMS account doesn't /// have access to. /// /// /// The specified KMS key isn't enabled. /// /// /// The state of the specified KMS resource isn't valid for this request. /// /// /// The specified KMS entity or resource can't be found. /// /// /// This request triggered KMS request throttling. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// /// The SNS topic is invalid. /// /// /// You are not authorized for the SNS subscription. /// /// REST API Reference for CreateEventSubscription Operation public virtual Task CreateEventSubscriptionAsync(CreateEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateFleetAdvisorCollector internal virtual CreateFleetAdvisorCollectorResponse CreateFleetAdvisorCollector(CreateFleetAdvisorCollectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetAdvisorCollectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetAdvisorCollectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a Fleet Advisor collector using the specified parameters. /// /// Container for the necessary parameters to execute the CreateFleetAdvisorCollector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateFleetAdvisorCollector service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The quota for this resource quota has been exceeded. /// /// /// Insufficient privileges are preventing access to an Amazon S3 object. /// /// /// A specified Amazon S3 bucket, bucket folder, or other object can't be found. /// /// REST API Reference for CreateFleetAdvisorCollector Operation public virtual Task CreateFleetAdvisorCollectorAsync(CreateFleetAdvisorCollectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetAdvisorCollectorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetAdvisorCollectorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReplicationConfig internal virtual CreateReplicationConfigResponse CreateReplicationConfig(CreateReplicationConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a configuration that you can later provide to configure and start an DMS Serverless /// replication. You can also provide options to validate the configuration inputs before /// you start the replication. /// /// Container for the necessary parameters to execute the CreateReplicationConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplicationConfig service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The subnet provided isn't valid. /// /// /// DMS cannot access the KMS key. /// /// /// The replication subnet group does not cover enough Availability Zones (AZs). Edit /// the replication subnet group and add more AZs. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for CreateReplicationConfig Operation public virtual Task CreateReplicationConfigAsync(CreateReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReplicationInstance internal virtual CreateReplicationInstanceResponse CreateReplicationInstance(CreateReplicationInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates the replication instance using the specified parameters. /// /// /// /// DMS requires that your account have certain roles with appropriate permissions before /// you can create a replication instance. For information on the required roles, see /// Creating /// the IAM Roles to Use With the CLI and DMS API. For information on the required /// permissions, see IAM /// Permissions Needed to Use DMS. /// /// /// Container for the necessary parameters to execute the CreateReplicationInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplicationInstance service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// There are not enough resources allocated to the database migration. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The subnet provided isn't valid. /// /// /// DMS cannot access the KMS key. /// /// /// The replication subnet group does not cover enough Availability Zones (AZs). Edit /// the replication subnet group and add more AZs. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// /// The storage quota has been exceeded. /// /// REST API Reference for CreateReplicationInstance Operation public virtual Task CreateReplicationInstanceAsync(CreateReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReplicationSubnetGroup internal virtual CreateReplicationSubnetGroupResponse CreateReplicationSubnetGroup(CreateReplicationSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a replication subnet group given a list of the subnet IDs in a VPC. /// /// /// /// The VPC needs to have at least one subnet in at least two availability zones in the /// Amazon Web Services Region, otherwise the service will throw a ReplicationSubnetGroupDoesNotCoverEnoughAZs /// exception. /// /// /// /// If a replication subnet group exists in your Amazon Web Services account, the CreateReplicationSubnetGroup /// action returns the following error message: The Replication Subnet Group already exists. /// In this case, delete the existing replication subnet group. To do so, use the DeleteReplicationSubnetGroup /// action. Optionally, choose Subnet groups in the DMS console, then choose your subnet /// group. Next, choose Delete from Actions. /// /// /// Container for the necessary parameters to execute the CreateReplicationSubnetGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplicationSubnetGroup service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The subnet provided isn't valid. /// /// /// The replication subnet group does not cover enough Availability Zones (AZs). Edit /// the replication subnet group and add more AZs. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for CreateReplicationSubnetGroup Operation public virtual Task CreateReplicationSubnetGroupAsync(CreateReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationSubnetGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReplicationTask internal virtual CreateReplicationTaskResponse CreateReplicationTask(CreateReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a replication task using the specified parameters. /// /// Container for the necessary parameters to execute the CreateReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReplicationTask service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for CreateReplicationTask Operation public virtual Task CreateReplicationTaskAsync(CreateReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteCertificate internal virtual DeleteCertificateResponse DeleteCertificate(DeleteCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified certificate. /// /// Container for the necessary parameters to execute the DeleteCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCertificate service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteCertificate Operation public virtual Task DeleteCertificateAsync(DeleteCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteConnection internal virtual DeleteConnectionResponse DeleteConnection(DeleteConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the connection between a replication instance and an endpoint. /// /// Container for the necessary parameters to execute the DeleteConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteConnection service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteConnection Operation public virtual Task DeleteConnectionAsync(DeleteConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEndpoint internal virtual DeleteEndpointResponse DeleteEndpoint(DeleteEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified endpoint. /// /// /// /// All tasks associated with the endpoint must be deleted before you can delete the endpoint. /// /// /// /// Container for the necessary parameters to execute the DeleteEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEndpoint service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteEndpoint Operation public virtual Task DeleteEndpointAsync(DeleteEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEventSubscription internal virtual DeleteEventSubscriptionResponse DeleteEventSubscription(DeleteEventSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an DMS event subscription. /// /// Container for the necessary parameters to execute the DeleteEventSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEventSubscription service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteEventSubscription Operation public virtual Task DeleteEventSubscriptionAsync(DeleteEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFleetAdvisorCollector internal virtual DeleteFleetAdvisorCollectorResponse DeleteFleetAdvisorCollector(DeleteFleetAdvisorCollectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetAdvisorCollectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetAdvisorCollectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Fleet Advisor collector. /// /// Container for the necessary parameters to execute the DeleteFleetAdvisorCollector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFleetAdvisorCollector service method, as returned by DatabaseMigrationService. /// /// The specified collector doesn't exist. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DeleteFleetAdvisorCollector Operation public virtual Task DeleteFleetAdvisorCollectorAsync(DeleteFleetAdvisorCollectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetAdvisorCollectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetAdvisorCollectorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteFleetAdvisorDatabases internal virtual DeleteFleetAdvisorDatabasesResponse DeleteFleetAdvisorDatabases(DeleteFleetAdvisorDatabasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetAdvisorDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetAdvisorDatabasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified Fleet Advisor collector databases. /// /// Container for the necessary parameters to execute the DeleteFleetAdvisorDatabases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteFleetAdvisorDatabases service method, as returned by DatabaseMigrationService. /// /// The action or operation requested isn't valid. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteFleetAdvisorDatabases Operation public virtual Task DeleteFleetAdvisorDatabasesAsync(DeleteFleetAdvisorDatabasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetAdvisorDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetAdvisorDatabasesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReplicationConfig internal virtual DeleteReplicationConfigResponse DeleteReplicationConfig(DeleteReplicationConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an DMS Serverless replication configuration. This effectively deprovisions /// any and all replications that use this configuration. You can't delete the configuration /// for an DMS Serverless replication that is ongoing. You can delete the configuration /// when the replication is in a non-RUNNING and non-STARTING state. /// /// Container for the necessary parameters to execute the DeleteReplicationConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationConfig service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteReplicationConfig Operation public virtual Task DeleteReplicationConfigAsync(DeleteReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReplicationInstance internal virtual DeleteReplicationInstanceResponse DeleteReplicationInstance(DeleteReplicationInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified replication instance. /// /// /// /// You must delete any migration tasks that are associated with the replication instance /// before you can delete it. /// /// /// /// Container for the necessary parameters to execute the DeleteReplicationInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationInstance service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteReplicationInstance Operation public virtual Task DeleteReplicationInstanceAsync(DeleteReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReplicationSubnetGroup internal virtual DeleteReplicationSubnetGroupResponse DeleteReplicationSubnetGroup(DeleteReplicationSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a subnet group. /// /// Container for the necessary parameters to execute the DeleteReplicationSubnetGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationSubnetGroup service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteReplicationSubnetGroup Operation public virtual Task DeleteReplicationSubnetGroupAsync(DeleteReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationSubnetGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReplicationTask internal virtual DeleteReplicationTaskResponse DeleteReplicationTask(DeleteReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified replication task. /// /// Container for the necessary parameters to execute the DeleteReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationTask service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteReplicationTask Operation public virtual Task DeleteReplicationTaskAsync(DeleteReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteReplicationTaskAssessmentRun internal virtual DeleteReplicationTaskAssessmentRunResponse DeleteReplicationTaskAssessmentRun(DeleteReplicationTaskAssessmentRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the record of a single premigration assessment run. /// /// /// /// This operation removes all metadata that DMS maintains about this assessment run. /// However, the operation leaves untouched all information about this assessment run /// that is stored in your Amazon S3 bucket. /// /// /// Container for the necessary parameters to execute the DeleteReplicationTaskAssessmentRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DeleteReplicationTaskAssessmentRun Operation public virtual Task DeleteReplicationTaskAssessmentRunAsync(DeleteReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAccountAttributes internal virtual DescribeAccountAttributesResponse DescribeAccountAttributes(DescribeAccountAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all of the DMS attributes for a customer account. These attributes include DMS /// quotas for the account and a unique account identifier in a particular DMS region. /// DMS quotas include a list of resource quotas supported by the account, such as the /// number of replication instances allowed. The description for each resource quota, /// includes the quota name, current usage toward that quota, and the quota's maximum /// value. DMS uses the unique account identifier to name each artifact used by DMS in /// the given region. /// /// /// /// This command does not take any parameters. /// /// /// Container for the necessary parameters to execute the DescribeAccountAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAccountAttributes service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeAccountAttributes Operation public virtual Task DescribeAccountAttributesAsync(DescribeAccountAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeApplicableIndividualAssessments internal virtual DescribeApplicableIndividualAssessmentsResponse DescribeApplicableIndividualAssessments(DescribeApplicableIndividualAssessmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicableIndividualAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicableIndividualAssessmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides a list of individual assessments that you can specify for a new premigration /// assessment run, given one or more parameters. /// /// /// /// If you specify an existing migration task, this operation provides the default individual /// assessments you can specify for that task. Otherwise, the specified parameters model /// elements of a possible migration task on which to base a premigration assessment run. /// /// /// /// To use these migration task modeling parameters, you must specify an existing replication /// instance, a source database engine, a target database engine, and a migration type. /// This combination of parameters potentially limits the default individual assessments /// available for an assessment run created for a corresponding migration task. /// /// /// /// If you specify no parameters, this operation provides a list of all possible individual /// assessments that you can specify for an assessment run. If you specify any one of /// the task modeling parameters, you must specify all of them or the operation cannot /// provide a list of individual assessments. The only parameter that you can specify /// alone is for an existing migration task. The specified task definition then determines /// the default list of individual assessments that you can specify in an assessment run /// for the task. /// /// /// Container for the necessary parameters to execute the DescribeApplicableIndividualAssessments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeApplicableIndividualAssessments service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeApplicableIndividualAssessments Operation public virtual Task DescribeApplicableIndividualAssessmentsAsync(DescribeApplicableIndividualAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicableIndividualAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicableIndividualAssessmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCertificates internal virtual DescribeCertificatesResponse DescribeCertificates(DescribeCertificatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCertificatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides a description of the certificate. /// /// Container for the necessary parameters to execute the DescribeCertificates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCertificates service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeCertificates Operation public virtual Task DescribeCertificatesAsync(DescribeCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCertificatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeConnections internal virtual DescribeConnectionsResponse DescribeConnections(DescribeConnectionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConnectionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the status of the connections that have been made between the replication /// instance and an endpoint. Connections are created when you test an endpoint. /// /// Container for the necessary parameters to execute the DescribeConnections service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeConnections service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeConnections Operation public virtual Task DescribeConnectionsAsync(DescribeConnectionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeConnectionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeConnectionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEndpoints internal virtual DescribeEndpointsResponse DescribeEndpoints(DescribeEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the endpoints for your account in the current region. /// /// Container for the necessary parameters to execute the DescribeEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEndpoints service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeEndpoints Operation public virtual Task DescribeEndpointsAsync(DescribeEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEndpointSettings internal virtual DescribeEndpointSettingsResponse DescribeEndpointSettings(DescribeEndpointSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the possible endpoint settings available when you create /// an endpoint for a specific database engine. /// /// Container for the necessary parameters to execute the DescribeEndpointSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEndpointSettings service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeEndpointSettings Operation public virtual Task DescribeEndpointSettingsAsync(DescribeEndpointSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEndpointTypes internal virtual DescribeEndpointTypesResponse DescribeEndpointTypes(DescribeEndpointTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the type of endpoints available. /// /// Container for the necessary parameters to execute the DescribeEndpointTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEndpointTypes service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeEndpointTypes Operation public virtual Task DescribeEndpointTypesAsync(DescribeEndpointTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEventCategories internal virtual DescribeEventCategoriesResponse DescribeEventCategories(DescribeEventCategoriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventCategoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventCategoriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists categories for all event source types, or, if specified, for a specified source /// type. You can see a list of the event categories and source types in Working /// with Events and Notifications in the Database Migration Service User Guide. /// /// Container for the necessary parameters to execute the DescribeEventCategories service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEventCategories service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeEventCategories Operation public virtual Task DescribeEventCategoriesAsync(DescribeEventCategoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventCategoriesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventCategoriesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEvents internal virtual DescribeEventsResponse DescribeEvents(DescribeEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists events for a given source identifier and source type. You can also specify /// a start and end time. For more information on DMS events, see Working /// with Events and Notifications in the Database Migration Service User Guide. /// /// Container for the necessary parameters to execute the DescribeEvents service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEvents service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeEvents Operation public virtual Task DescribeEventsAsync(DescribeEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEventSubscriptions internal virtual DescribeEventSubscriptionsResponse DescribeEventSubscriptions(DescribeEventSubscriptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventSubscriptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the event subscriptions for a customer account. The description of a subscription /// includes SubscriptionName, SNSTopicARN, CustomerID, /// SourceType, SourceID, CreationTime, and Status. /// /// /// /// /// If you specify SubscriptionName, this action lists the description for /// that subscription. /// /// /// Container for the necessary parameters to execute the DescribeEventSubscriptions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEventSubscriptions service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeEventSubscriptions Operation public virtual Task DescribeEventSubscriptionsAsync(DescribeEventSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventSubscriptionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetAdvisorCollectors internal virtual DescribeFleetAdvisorCollectorsResponse DescribeFleetAdvisorCollectors(DescribeFleetAdvisorCollectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorCollectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorCollectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of the Fleet Advisor collectors in your account. /// /// Container for the necessary parameters to execute the DescribeFleetAdvisorCollectors service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetAdvisorCollectors service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeFleetAdvisorCollectors Operation public virtual Task DescribeFleetAdvisorCollectorsAsync(DescribeFleetAdvisorCollectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorCollectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorCollectorsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetAdvisorDatabases internal virtual DescribeFleetAdvisorDatabasesResponse DescribeFleetAdvisorDatabases(DescribeFleetAdvisorDatabasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorDatabasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of Fleet Advisor databases in your account. /// /// Container for the necessary parameters to execute the DescribeFleetAdvisorDatabases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetAdvisorDatabases service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeFleetAdvisorDatabases Operation public virtual Task DescribeFleetAdvisorDatabasesAsync(DescribeFleetAdvisorDatabasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorDatabasesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetAdvisorLsaAnalysis internal virtual DescribeFleetAdvisorLsaAnalysisResponse DescribeFleetAdvisorLsaAnalysis(DescribeFleetAdvisorLsaAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorLsaAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorLsaAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides descriptions of large-scale assessment (LSA) analyses produced by your Fleet /// Advisor collectors. /// /// Container for the necessary parameters to execute the DescribeFleetAdvisorLsaAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetAdvisorLsaAnalysis service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeFleetAdvisorLsaAnalysis Operation public virtual Task DescribeFleetAdvisorLsaAnalysisAsync(DescribeFleetAdvisorLsaAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorLsaAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorLsaAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetAdvisorSchemaObjectSummary internal virtual DescribeFleetAdvisorSchemaObjectSummaryResponse DescribeFleetAdvisorSchemaObjectSummary(DescribeFleetAdvisorSchemaObjectSummaryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorSchemaObjectSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorSchemaObjectSummaryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides descriptions of the schemas discovered by your Fleet Advisor collectors. /// /// Container for the necessary parameters to execute the DescribeFleetAdvisorSchemaObjectSummary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetAdvisorSchemaObjectSummary service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeFleetAdvisorSchemaObjectSummary Operation public virtual Task DescribeFleetAdvisorSchemaObjectSummaryAsync(DescribeFleetAdvisorSchemaObjectSummaryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorSchemaObjectSummaryRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorSchemaObjectSummaryResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeFleetAdvisorSchemas internal virtual DescribeFleetAdvisorSchemasResponse DescribeFleetAdvisorSchemas(DescribeFleetAdvisorSchemasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorSchemasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of schemas detected by Fleet Advisor Collectors in your account. /// /// Container for the necessary parameters to execute the DescribeFleetAdvisorSchemas service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeFleetAdvisorSchemas service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeFleetAdvisorSchemas Operation public virtual Task DescribeFleetAdvisorSchemasAsync(DescribeFleetAdvisorSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetAdvisorSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetAdvisorSchemasResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeOrderableReplicationInstances internal virtual DescribeOrderableReplicationInstancesResponse DescribeOrderableReplicationInstances(DescribeOrderableReplicationInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrderableReplicationInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrderableReplicationInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the replication instance types that can be created in the /// specified region. /// /// Container for the necessary parameters to execute the DescribeOrderableReplicationInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeOrderableReplicationInstances service method, as returned by DatabaseMigrationService. /// REST API Reference for DescribeOrderableReplicationInstances Operation public virtual Task DescribeOrderableReplicationInstancesAsync(DescribeOrderableReplicationInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeOrderableReplicationInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeOrderableReplicationInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePendingMaintenanceActions internal virtual DescribePendingMaintenanceActionsResponse DescribePendingMaintenanceActions(DescribePendingMaintenanceActionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePendingMaintenanceActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePendingMaintenanceActionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For internal use only /// /// Container for the necessary parameters to execute the DescribePendingMaintenanceActions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePendingMaintenanceActions service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribePendingMaintenanceActions Operation public virtual Task DescribePendingMaintenanceActionsAsync(DescribePendingMaintenanceActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePendingMaintenanceActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePendingMaintenanceActionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRecommendationLimitations internal virtual DescribeRecommendationLimitationsResponse DescribeRecommendationLimitations(DescribeRecommendationLimitationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommendationLimitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommendationLimitationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a paginated list of limitations for recommendations of target Amazon Web Services /// engines. /// /// Container for the necessary parameters to execute the DescribeRecommendationLimitations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRecommendationLimitations service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeRecommendationLimitations Operation public virtual Task DescribeRecommendationLimitationsAsync(DescribeRecommendationLimitationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommendationLimitationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommendationLimitationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRecommendations internal virtual DescribeRecommendationsResponse DescribeRecommendations(DescribeRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a paginated list of target engine recommendations for your source databases. /// /// Container for the necessary parameters to execute the DescribeRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRecommendations service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for DescribeRecommendations Operation public virtual Task DescribeRecommendationsAsync(DescribeRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRefreshSchemasStatus internal virtual DescribeRefreshSchemasStatusResponse DescribeRefreshSchemasStatus(DescribeRefreshSchemasStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRefreshSchemasStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRefreshSchemasStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the status of the RefreshSchemas operation. /// /// Container for the necessary parameters to execute the DescribeRefreshSchemasStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRefreshSchemasStatus service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeRefreshSchemasStatus Operation public virtual Task DescribeRefreshSchemasStatusAsync(DescribeRefreshSchemasStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRefreshSchemasStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRefreshSchemasStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationConfigs internal virtual DescribeReplicationConfigsResponse DescribeReplicationConfigs(DescribeReplicationConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationConfigsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns one or more existing DMS Serverless replication configurations as a list of /// structures. /// /// Container for the necessary parameters to execute the DescribeReplicationConfigs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationConfigs service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationConfigs Operation public virtual Task DescribeReplicationConfigsAsync(DescribeReplicationConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationConfigsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationInstances internal virtual DescribeReplicationInstancesResponse DescribeReplicationInstances(DescribeReplicationInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about replication instances for your account in the current region. /// /// Container for the necessary parameters to execute the DescribeReplicationInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationInstances service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationInstances Operation public virtual Task DescribeReplicationInstancesAsync(DescribeReplicationInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationInstanceTaskLogs internal virtual DescribeReplicationInstanceTaskLogsResponse DescribeReplicationInstanceTaskLogs(DescribeReplicationInstanceTaskLogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationInstanceTaskLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationInstanceTaskLogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the task logs for the specified task. /// /// Container for the necessary parameters to execute the DescribeReplicationInstanceTaskLogs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationInstanceTaskLogs service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationInstanceTaskLogs Operation public virtual Task DescribeReplicationInstanceTaskLogsAsync(DescribeReplicationInstanceTaskLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationInstanceTaskLogsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationInstanceTaskLogsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplications internal virtual DescribeReplicationsResponse DescribeReplications(DescribeReplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides details on replication progress by returning status information for one or /// more provisioned DMS Serverless replications. /// /// Container for the necessary parameters to execute the DescribeReplications service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplications service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplications Operation public virtual Task DescribeReplicationsAsync(DescribeReplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationSubnetGroups internal virtual DescribeReplicationSubnetGroupsResponse DescribeReplicationSubnetGroups(DescribeReplicationSubnetGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationSubnetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationSubnetGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the replication subnet groups. /// /// Container for the necessary parameters to execute the DescribeReplicationSubnetGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationSubnetGroups service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationSubnetGroups Operation public virtual Task DescribeReplicationSubnetGroupsAsync(DescribeReplicationSubnetGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationSubnetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationSubnetGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationTableStatistics internal virtual DescribeReplicationTableStatisticsResponse DescribeReplicationTableStatistics(DescribeReplicationTableStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTableStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTableStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns table and schema statistics for one or more provisioned replications that /// use a given DMS Serverless replication configuration. /// /// Container for the necessary parameters to execute the DescribeReplicationTableStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationTableStatistics service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationTableStatistics Operation public virtual Task DescribeReplicationTableStatisticsAsync(DescribeReplicationTableStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTableStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTableStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationTaskAssessmentResults internal virtual DescribeReplicationTaskAssessmentResultsResponse DescribeReplicationTaskAssessmentResults(DescribeReplicationTaskAssessmentResultsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskAssessmentResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskAssessmentResultsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the task assessment results from the Amazon S3 bucket that DMS creates in /// your Amazon Web Services account. This action always returns the latest results. /// /// /// /// For more information about DMS task assessments, see Creating /// a task assessment report in the Database Migration Service User Guide. /// /// /// Container for the necessary parameters to execute the DescribeReplicationTaskAssessmentResults service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationTaskAssessmentResults service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationTaskAssessmentResults Operation public virtual Task DescribeReplicationTaskAssessmentResultsAsync(DescribeReplicationTaskAssessmentResultsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskAssessmentResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskAssessmentResultsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationTaskAssessmentRuns internal virtual DescribeReplicationTaskAssessmentRunsResponse DescribeReplicationTaskAssessmentRuns(DescribeReplicationTaskAssessmentRunsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskAssessmentRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskAssessmentRunsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a paginated list of premigration assessment runs based on filter settings. /// /// /// /// These filter settings can specify a combination of premigration assessment runs, migration /// tasks, replication instances, and assessment run status values. /// /// /// /// This operation doesn't return information about individual assessments. For this information, /// see the DescribeReplicationTaskIndividualAssessments operation. /// /// /// /// Container for the necessary parameters to execute the DescribeReplicationTaskAssessmentRuns service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationTaskAssessmentRuns service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationTaskAssessmentRuns Operation public virtual Task DescribeReplicationTaskAssessmentRunsAsync(DescribeReplicationTaskAssessmentRunsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskAssessmentRunsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskAssessmentRunsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationTaskIndividualAssessments internal virtual DescribeReplicationTaskIndividualAssessmentsResponse DescribeReplicationTaskIndividualAssessments(DescribeReplicationTaskIndividualAssessmentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskIndividualAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskIndividualAssessmentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a paginated list of individual assessments based on filter settings. /// /// /// /// These filter settings can specify a combination of premigration assessment runs, migration /// tasks, and assessment status values. /// /// /// Container for the necessary parameters to execute the DescribeReplicationTaskIndividualAssessments service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationTaskIndividualAssessments service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationTaskIndividualAssessments Operation public virtual Task DescribeReplicationTaskIndividualAssessmentsAsync(DescribeReplicationTaskIndividualAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTaskIndividualAssessmentsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTaskIndividualAssessmentsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReplicationTasks internal virtual DescribeReplicationTasksResponse DescribeReplicationTasks(DescribeReplicationTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about replication tasks for your account in the current region. /// /// Container for the necessary parameters to execute the DescribeReplicationTasks service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReplicationTasks service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for DescribeReplicationTasks Operation public virtual Task DescribeReplicationTasksAsync(DescribeReplicationTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReplicationTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReplicationTasksResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSchemas internal virtual DescribeSchemasResponse DescribeSchemas(DescribeSchemasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSchemasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the schema for the specified endpoint. /// /// Container for the necessary parameters to execute the DescribeSchemas service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSchemas service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeSchemas Operation public virtual Task DescribeSchemasAsync(DescribeSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSchemasResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTableStatistics internal virtual DescribeTableStatisticsResponse DescribeTableStatistics(DescribeTableStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTableStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTableStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns table statistics on the database migration task, including table name, rows /// inserted, rows updated, and rows deleted. /// /// /// /// Note that the "last updated" column the DMS console only indicates the time that DMS /// last updated the table statistics record for a table. It does not indicate the time /// of the last update to the table. /// /// /// Container for the necessary parameters to execute the DescribeTableStatistics service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTableStatistics service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for DescribeTableStatistics Operation public virtual Task DescribeTableStatisticsAsync(DescribeTableStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTableStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTableStatisticsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ImportCertificate internal virtual ImportCertificateResponse ImportCertificate(ImportCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Uploads the specified certificate. /// /// Container for the necessary parameters to execute the ImportCertificate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ImportCertificate service method, as returned by DatabaseMigrationService. /// /// The certificate was not valid. /// /// /// The resource you are attempting to create already exists. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for ImportCertificate Operation public virtual Task ImportCertificateAsync(ImportCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportCertificateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all metadata tags attached to an DMS resource, including replication instance, /// endpoint, subnet group, and migration task. For more information, see /// Tag data type description. /// /// 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 DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyEndpoint internal virtual ModifyEndpointResponse ModifyEndpoint(ModifyEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified endpoint. /// /// /// /// For a MySQL source or target endpoint, don't explicitly specify the database using /// the DatabaseName request parameter on the ModifyEndpoint /// API call. Specifying DatabaseName when you modify a MySQL endpoint replicates /// all the task tables to this single database. For MySQL endpoints, you specify the /// database only when you specify the schema in the table-mapping rules of the DMS task. /// /// /// /// Container for the necessary parameters to execute the ModifyEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyEndpoint service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// REST API Reference for ModifyEndpoint Operation public virtual Task ModifyEndpointAsync(ModifyEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyEventSubscription internal virtual ModifyEventSubscriptionResponse ModifyEventSubscription(ModifyEventSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEventSubscriptionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies an existing DMS event notification subscription. /// /// Container for the necessary parameters to execute the ModifyEventSubscription service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyEventSubscription service method, as returned by DatabaseMigrationService. /// /// The ciphertext references a key that doesn't exist or that the DMS account doesn't /// have access to. /// /// /// The specified KMS key isn't enabled. /// /// /// The state of the specified KMS resource isn't valid for this request. /// /// /// The specified KMS entity or resource can't be found. /// /// /// This request triggered KMS request throttling. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// /// The SNS topic is invalid. /// /// /// You are not authorized for the SNS subscription. /// /// REST API Reference for ModifyEventSubscription Operation public virtual Task ModifyEventSubscriptionAsync(ModifyEventSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyEventSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyEventSubscriptionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyReplicationConfig internal virtual ModifyReplicationConfigResponse ModifyReplicationConfig(ModifyReplicationConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies an existing DMS Serverless replication configuration that you can use to /// start a replication. This command includes input validation and logic to check the /// state of any replication that uses this configuration. You can only modify a replication /// configuration before any replication that uses it has started. As soon as you have /// initially started a replication with a given configuiration, you can't modify that /// configuration, even if you stop it. /// /// /// /// Other run statuses that allow you to run this command include FAILED and CREATED. /// A provisioning state that allows you to run this command is FAILED_PROVISION. /// /// /// Container for the necessary parameters to execute the ModifyReplicationConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyReplicationConfig service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The subnet provided isn't valid. /// /// /// DMS cannot access the KMS key. /// /// /// The replication subnet group does not cover enough Availability Zones (AZs). Edit /// the replication subnet group and add more AZs. /// /// /// The resource could not be found. /// /// REST API Reference for ModifyReplicationConfig Operation public virtual Task ModifyReplicationConfigAsync(ModifyReplicationConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyReplicationInstance internal virtual ModifyReplicationInstanceResponse ModifyReplicationInstance(ModifyReplicationInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the replication instance to apply new settings. You can change one or more /// parameters by specifying these parameters and the new values in the request. /// /// /// /// Some settings are applied during the maintenance window. /// /// /// Container for the necessary parameters to execute the ModifyReplicationInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyReplicationInstance service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// There are not enough resources allocated to the database migration. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// The storage quota has been exceeded. /// /// /// An upgrade dependency is preventing the database migration. /// /// REST API Reference for ModifyReplicationInstance Operation public virtual Task ModifyReplicationInstanceAsync(ModifyReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyReplicationSubnetGroup internal virtual ModifyReplicationSubnetGroupResponse ModifyReplicationSubnetGroup(ModifyReplicationSubnetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationSubnetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the settings for the specified replication subnet group. /// /// Container for the necessary parameters to execute the ModifyReplicationSubnetGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyReplicationSubnetGroup service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The subnet provided isn't valid. /// /// /// The replication subnet group does not cover enough Availability Zones (AZs). Edit /// the replication subnet group and add more AZs. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// /// The specified subnet is already in use. /// /// REST API Reference for ModifyReplicationSubnetGroup Operation public virtual Task ModifyReplicationSubnetGroupAsync(ModifyReplicationSubnetGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationSubnetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationSubnetGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ModifyReplicationTask internal virtual ModifyReplicationTaskResponse ModifyReplicationTask(ModifyReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Modifies the specified replication task. /// /// /// /// You can't modify the task endpoints. The task must be stopped before you can modify /// it. /// /// /// /// For more information about DMS tasks, see Working /// with Migration Tasks in the Database Migration Service User Guide. /// /// /// Container for the necessary parameters to execute the ModifyReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ModifyReplicationTask service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// REST API Reference for ModifyReplicationTask Operation public virtual Task ModifyReplicationTaskAsync(ModifyReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ModifyReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = ModifyReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region MoveReplicationTask internal virtual MoveReplicationTaskResponse MoveReplicationTask(MoveReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MoveReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Moves a replication task from its current replication instance to a different target /// replication instance using the specified parameters. The target replication instance /// must be created with the same or later DMS version as the current replication instance. /// /// Container for the necessary parameters to execute the MoveReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the MoveReplicationTask service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for MoveReplicationTask Operation public virtual Task MoveReplicationTaskAsync(MoveReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = MoveReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = MoveReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RebootReplicationInstance internal virtual RebootReplicationInstanceResponse RebootReplicationInstance(RebootReplicationInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RebootReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootReplicationInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Reboots a replication instance. Rebooting results in a momentary outage, until the /// replication instance becomes available again. /// /// Container for the necessary parameters to execute the RebootReplicationInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RebootReplicationInstance service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for RebootReplicationInstance Operation public virtual Task RebootReplicationInstanceAsync(RebootReplicationInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RebootReplicationInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = RebootReplicationInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RefreshSchemas internal virtual RefreshSchemasResponse RefreshSchemas(RefreshSchemasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RefreshSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = RefreshSchemasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Populates the schema for the specified endpoint. This is an asynchronous operation /// and can take several minutes. You can check the status of this operation by calling /// the DescribeRefreshSchemasStatus operation. /// /// Container for the necessary parameters to execute the RefreshSchemas service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RefreshSchemas service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for RefreshSchemas Operation public virtual Task RefreshSchemasAsync(RefreshSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RefreshSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = RefreshSchemasResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReloadReplicationTables internal virtual ReloadReplicationTablesResponse ReloadReplicationTables(ReloadReplicationTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReloadReplicationTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = ReloadReplicationTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Reloads the target database table with the source data for a given DMS Serverless /// replication configuration. /// /// /// /// You can only use this operation with a task in the RUNNING state, otherwise the service /// will throw an InvalidResourceStateFault exception. /// /// /// Container for the necessary parameters to execute the ReloadReplicationTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReloadReplicationTables service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for ReloadReplicationTables Operation public virtual Task ReloadReplicationTablesAsync(ReloadReplicationTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReloadReplicationTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = ReloadReplicationTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReloadTables internal virtual ReloadTablesResponse ReloadTables(ReloadTablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReloadTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = ReloadTablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Reloads the target database table with the source data. /// /// /// /// You can only use this operation with a task in the RUNNING state, otherwise /// the service will throw an InvalidResourceStateFault exception. /// /// /// Container for the necessary parameters to execute the ReloadTables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReloadTables service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for ReloadTables Operation public virtual Task ReloadTablesAsync(ReloadTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReloadTablesRequestMarshaller.Instance; options.ResponseUnmarshaller = ReloadTablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RemoveTagsFromResource internal virtual RemoveTagsFromResourceResponse RemoveTagsFromResource(RemoveTagsFromResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes metadata tags from an DMS resource, including replication instance, endpoint, /// subnet group, and migration task. For more information, see /// Tag data type description. /// /// Container for the necessary parameters to execute the RemoveTagsFromResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RemoveTagsFromResource service method, as returned by DatabaseMigrationService. /// /// The resource could not be found. /// /// REST API Reference for RemoveTagsFromResource Operation public virtual Task RemoveTagsFromResourceAsync(RemoveTagsFromResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveTagsFromResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RunFleetAdvisorLsaAnalysis internal virtual RunFleetAdvisorLsaAnalysisResponse RunFleetAdvisorLsaAnalysis(RunFleetAdvisorLsaAnalysisRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RunFleetAdvisorLsaAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = RunFleetAdvisorLsaAnalysisResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Runs large-scale assessment (LSA) analysis on every Fleet Advisor collector in your /// account. /// /// Container for the necessary parameters to execute the RunFleetAdvisorLsaAnalysis service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RunFleetAdvisorLsaAnalysis service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for RunFleetAdvisorLsaAnalysis Operation public virtual Task RunFleetAdvisorLsaAnalysisAsync(RunFleetAdvisorLsaAnalysisRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RunFleetAdvisorLsaAnalysisRequestMarshaller.Instance; options.ResponseUnmarshaller = RunFleetAdvisorLsaAnalysisResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartRecommendations internal virtual StartRecommendationsResponse StartRecommendations(StartRecommendationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecommendationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts the analysis of your source database to provide recommendations of target engines. /// /// /// /// You can create recommendations for multiple source databases using BatchStartRecommendations. /// /// /// Container for the necessary parameters to execute the StartRecommendations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartRecommendations service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StartRecommendations Operation public virtual Task StartRecommendationsAsync(StartRecommendationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecommendationsRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecommendationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartReplication internal virtual StartReplicationResponse StartReplication(StartReplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For a given DMS Serverless replication configuration, DMS connects to the source endpoint /// and collects the metadata to analyze the replication workload. Using this metadata, /// DMS then computes and provisions the required capacity and starts replicating to the /// target endpoint using the server resources that DMS has provisioned for the DMS Serverless /// replication. /// /// Container for the necessary parameters to execute the StartReplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartReplication service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StartReplication Operation public virtual Task StartReplicationAsync(StartReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartReplicationTask internal virtual StartReplicationTaskResponse StartReplicationTask(StartReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts the replication task. /// /// /// /// For more information about DMS tasks, see Working /// with Migration Tasks in the Database Migration Service User Guide. /// /// /// Container for the necessary parameters to execute the StartReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartReplicationTask service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StartReplicationTask Operation public virtual Task StartReplicationTaskAsync(StartReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartReplicationTaskAssessment internal virtual StartReplicationTaskAssessmentResponse StartReplicationTaskAssessment(StartReplicationTaskAssessmentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskAssessmentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts the replication task assessment for unsupported data types in the source database. /// /// /// /// /// You can only use this operation for a task if the following conditions are true: /// ///
  • /// /// The task must be in the stopped state. /// ///
  • /// /// The task must have successful connections to the source and target. /// ///
/// /// If either of these conditions are not met, an InvalidResourceStateFault /// error will result. /// /// /// /// For information about DMS task assessments, see Creating /// a task assessment report in the Database Migration Service User Guide. /// ///
/// Container for the necessary parameters to execute the StartReplicationTaskAssessment service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartReplicationTaskAssessment service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StartReplicationTaskAssessment Operation public virtual Task StartReplicationTaskAssessmentAsync(StartReplicationTaskAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskAssessmentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskAssessmentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartReplicationTaskAssessmentRun internal virtual StartReplicationTaskAssessmentRunResponse StartReplicationTaskAssessmentRun(StartReplicationTaskAssessmentRunRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts a new premigration assessment run for one or more individual assessments of /// a migration task. /// /// /// /// The assessments that you can specify depend on the source and target database engine /// and the migration type defined for the given task. To run this operation, your migration /// task must already be created. After you run this operation, you can review the status /// of each individual assessment. You can also run the migration task manually after /// the assessment run and its individual assessments complete. /// /// /// Container for the necessary parameters to execute the StartReplicationTaskAssessmentRun service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartReplicationTaskAssessmentRun service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The ciphertext references a key that doesn't exist or that the DMS account doesn't /// have access to. /// /// /// The specified KMS key isn't enabled. /// /// /// An Key Management Service (KMS) error is preventing access to KMS. /// /// /// The state of the specified KMS resource isn't valid for this request. /// /// /// DMS cannot access the KMS key. /// /// /// The specified KMS entity or resource can't be found. /// /// /// The resource you are attempting to create already exists. /// /// /// The resource could not be found. /// /// /// Insufficient privileges are preventing access to an Amazon S3 object. /// /// /// A specified Amazon S3 bucket, bucket folder, or other object can't be found. /// /// REST API Reference for StartReplicationTaskAssessmentRun Operation public virtual Task StartReplicationTaskAssessmentRunAsync(StartReplicationTaskAssessmentRunRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartReplicationTaskAssessmentRunRequestMarshaller.Instance; options.ResponseUnmarshaller = StartReplicationTaskAssessmentRunResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopReplication internal virtual StopReplicationResponse StopReplication(StopReplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// For a given DMS Serverless replication configuration, DMS stops any and all ongoing /// DMS Serverless replications. This command doesn't deprovision the stopped replications. /// /// Container for the necessary parameters to execute the StopReplication service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopReplication service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StopReplication Operation public virtual Task StopReplicationAsync(StopReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopReplicationTask internal virtual StopReplicationTaskResponse StopReplicationTask(StopReplicationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StopReplicationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops the replication task. /// /// Container for the necessary parameters to execute the StopReplicationTask service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopReplicationTask service method, as returned by DatabaseMigrationService. /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// The resource could not be found. /// /// REST API Reference for StopReplicationTask Operation public virtual Task StopReplicationTaskAsync(StopReplicationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopReplicationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StopReplicationTaskResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TestConnection internal virtual TestConnectionResponse TestConnection(TestConnectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = TestConnectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Tests the connection between the replication instance and the endpoint. /// /// Container for the necessary parameters to execute the TestConnection service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TestConnection service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// /// DMS cannot access the KMS key. /// /// /// The resource could not be found. /// /// /// The quota for this resource quota has been exceeded. /// /// REST API Reference for TestConnection Operation public virtual Task TestConnectionAsync(TestConnectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TestConnectionRequestMarshaller.Instance; options.ResponseUnmarshaller = TestConnectionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSubscriptionsToEventBridge internal virtual UpdateSubscriptionsToEventBridgeResponse UpdateSubscriptionsToEventBridge(UpdateSubscriptionsToEventBridgeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriptionsToEventBridgeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriptionsToEventBridgeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Migrates 10 active and enabled Amazon SNS subscriptions at a time and converts them /// to corresponding Amazon EventBridge rules. By default, this operation migrates subscriptions /// only when all your replication instance versions are 3.4.6 or higher. If any replication /// instances are from versions earlier than 3.4.6, the operation raises an error and /// tells you to upgrade these instances to version 3.4.6 or higher. To enable migration /// regardless of version, set the Force option to true. However, if you /// don't upgrade instances earlier than version 3.4.6, some types of events might not /// be available when you use Amazon EventBridge. /// /// /// /// To call this operation, make sure that you have certain permissions added to your /// user account. For more information, see Migrating /// event subscriptions to Amazon EventBridge in the Amazon Web Services Database /// Migration Service User Guide. /// /// /// Container for the necessary parameters to execute the UpdateSubscriptionsToEventBridge service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSubscriptionsToEventBridge service method, as returned by DatabaseMigrationService. /// /// DMS was denied access to the endpoint. Check that the role is correctly configured. /// /// /// The resource is in a state that prevents it from being used for database migration. /// /// REST API Reference for UpdateSubscriptionsToEventBridge Operation public virtual Task UpdateSubscriptionsToEventBridgeAsync(UpdateSubscriptionsToEventBridgeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriptionsToEventBridgeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriptionsToEventBridgeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }