import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { AddTagsToResourceCommand , AddTagsToResourceCommandInput , AddTagsToResourceCommandOutput , } from "./commands/AddTagsToResourceCommand" ; import { ApplyPendingMaintenanceActionCommand , ApplyPendingMaintenanceActionCommandInput , ApplyPendingMaintenanceActionCommandOutput , } from "./commands/ApplyPendingMaintenanceActionCommand" ; import { CancelReplicationTaskAssessmentRunCommand , CancelReplicationTaskAssessmentRunCommandInput , CancelReplicationTaskAssessmentRunCommandOutput , } from "./commands/CancelReplicationTaskAssessmentRunCommand" ; import { CreateEndpointCommand , CreateEndpointCommandInput , CreateEndpointCommandOutput , } from "./commands/CreateEndpointCommand" ; import { CreateEventSubscriptionCommand , CreateEventSubscriptionCommandInput , CreateEventSubscriptionCommandOutput , } from "./commands/CreateEventSubscriptionCommand" ; import { CreateReplicationInstanceCommand , CreateReplicationInstanceCommandInput , CreateReplicationInstanceCommandOutput , } from "./commands/CreateReplicationInstanceCommand" ; import { CreateReplicationSubnetGroupCommand , CreateReplicationSubnetGroupCommandInput , CreateReplicationSubnetGroupCommandOutput , } from "./commands/CreateReplicationSubnetGroupCommand" ; import { CreateReplicationTaskCommand , CreateReplicationTaskCommandInput , CreateReplicationTaskCommandOutput , } from "./commands/CreateReplicationTaskCommand" ; import { DeleteCertificateCommand , DeleteCertificateCommandInput , DeleteCertificateCommandOutput , } from "./commands/DeleteCertificateCommand" ; import { DeleteConnectionCommand , DeleteConnectionCommandInput , DeleteConnectionCommandOutput , } from "./commands/DeleteConnectionCommand" ; import { DeleteEndpointCommand , DeleteEndpointCommandInput , DeleteEndpointCommandOutput , } from "./commands/DeleteEndpointCommand" ; import { DeleteEventSubscriptionCommand , DeleteEventSubscriptionCommandInput , DeleteEventSubscriptionCommandOutput , } from "./commands/DeleteEventSubscriptionCommand" ; import { DeleteReplicationInstanceCommand , DeleteReplicationInstanceCommandInput , DeleteReplicationInstanceCommandOutput , } from "./commands/DeleteReplicationInstanceCommand" ; import { DeleteReplicationSubnetGroupCommand , DeleteReplicationSubnetGroupCommandInput , DeleteReplicationSubnetGroupCommandOutput , } from "./commands/DeleteReplicationSubnetGroupCommand" ; import { DeleteReplicationTaskAssessmentRunCommand , DeleteReplicationTaskAssessmentRunCommandInput , DeleteReplicationTaskAssessmentRunCommandOutput , } from "./commands/DeleteReplicationTaskAssessmentRunCommand" ; import { DeleteReplicationTaskCommand , DeleteReplicationTaskCommandInput , DeleteReplicationTaskCommandOutput , } from "./commands/DeleteReplicationTaskCommand" ; import { DescribeAccountAttributesCommand , DescribeAccountAttributesCommandInput , DescribeAccountAttributesCommandOutput , } from "./commands/DescribeAccountAttributesCommand" ; import { DescribeApplicableIndividualAssessmentsCommand , DescribeApplicableIndividualAssessmentsCommandInput , DescribeApplicableIndividualAssessmentsCommandOutput , } from "./commands/DescribeApplicableIndividualAssessmentsCommand" ; import { DescribeCertificatesCommand , DescribeCertificatesCommandInput , DescribeCertificatesCommandOutput , } from "./commands/DescribeCertificatesCommand" ; import { DescribeConnectionsCommand , DescribeConnectionsCommandInput , DescribeConnectionsCommandOutput , } from "./commands/DescribeConnectionsCommand" ; import { DescribeEndpointsCommand , DescribeEndpointsCommandInput , DescribeEndpointsCommandOutput , } from "./commands/DescribeEndpointsCommand" ; import { DescribeEndpointSettingsCommand , DescribeEndpointSettingsCommandInput , DescribeEndpointSettingsCommandOutput , } from "./commands/DescribeEndpointSettingsCommand" ; import { DescribeEndpointTypesCommand , DescribeEndpointTypesCommandInput , DescribeEndpointTypesCommandOutput , } from "./commands/DescribeEndpointTypesCommand" ; import { DescribeEventCategoriesCommand , DescribeEventCategoriesCommandInput , DescribeEventCategoriesCommandOutput , } from "./commands/DescribeEventCategoriesCommand" ; import { DescribeEventsCommand , DescribeEventsCommandInput , DescribeEventsCommandOutput , } from "./commands/DescribeEventsCommand" ; import { DescribeEventSubscriptionsCommand , DescribeEventSubscriptionsCommandInput , DescribeEventSubscriptionsCommandOutput , } from "./commands/DescribeEventSubscriptionsCommand" ; import { DescribeOrderableReplicationInstancesCommand , DescribeOrderableReplicationInstancesCommandInput , DescribeOrderableReplicationInstancesCommandOutput , } from "./commands/DescribeOrderableReplicationInstancesCommand" ; import { DescribePendingMaintenanceActionsCommand , DescribePendingMaintenanceActionsCommandInput , DescribePendingMaintenanceActionsCommandOutput , } from "./commands/DescribePendingMaintenanceActionsCommand" ; import { DescribeRefreshSchemasStatusCommand , DescribeRefreshSchemasStatusCommandInput , DescribeRefreshSchemasStatusCommandOutput , } from "./commands/DescribeRefreshSchemasStatusCommand" ; import { DescribeReplicationInstancesCommand , DescribeReplicationInstancesCommandInput , DescribeReplicationInstancesCommandOutput , } from "./commands/DescribeReplicationInstancesCommand" ; import { DescribeReplicationInstanceTaskLogsCommand , DescribeReplicationInstanceTaskLogsCommandInput , DescribeReplicationInstanceTaskLogsCommandOutput , } from "./commands/DescribeReplicationInstanceTaskLogsCommand" ; import { DescribeReplicationSubnetGroupsCommand , DescribeReplicationSubnetGroupsCommandInput , DescribeReplicationSubnetGroupsCommandOutput , } from "./commands/DescribeReplicationSubnetGroupsCommand" ; import { DescribeReplicationTaskAssessmentResultsCommand , DescribeReplicationTaskAssessmentResultsCommandInput , DescribeReplicationTaskAssessmentResultsCommandOutput , } from "./commands/DescribeReplicationTaskAssessmentResultsCommand" ; import { DescribeReplicationTaskAssessmentRunsCommand , DescribeReplicationTaskAssessmentRunsCommandInput , DescribeReplicationTaskAssessmentRunsCommandOutput , } from "./commands/DescribeReplicationTaskAssessmentRunsCommand" ; import { DescribeReplicationTaskIndividualAssessmentsCommand , DescribeReplicationTaskIndividualAssessmentsCommandInput , DescribeReplicationTaskIndividualAssessmentsCommandOutput , } from "./commands/DescribeReplicationTaskIndividualAssessmentsCommand" ; import { DescribeReplicationTasksCommand , DescribeReplicationTasksCommandInput , DescribeReplicationTasksCommandOutput , } from "./commands/DescribeReplicationTasksCommand" ; import { DescribeSchemasCommand , DescribeSchemasCommandInput , DescribeSchemasCommandOutput , } from "./commands/DescribeSchemasCommand" ; import { DescribeTableStatisticsCommand , DescribeTableStatisticsCommandInput , DescribeTableStatisticsCommandOutput , } from "./commands/DescribeTableStatisticsCommand" ; import { ImportCertificateCommand , ImportCertificateCommandInput , ImportCertificateCommandOutput , } from "./commands/ImportCertificateCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ModifyEndpointCommand , ModifyEndpointCommandInput , ModifyEndpointCommandOutput , } from "./commands/ModifyEndpointCommand" ; import { ModifyEventSubscriptionCommand , ModifyEventSubscriptionCommandInput , ModifyEventSubscriptionCommandOutput , } from "./commands/ModifyEventSubscriptionCommand" ; import { ModifyReplicationInstanceCommand , ModifyReplicationInstanceCommandInput , ModifyReplicationInstanceCommandOutput , } from "./commands/ModifyReplicationInstanceCommand" ; import { ModifyReplicationSubnetGroupCommand , ModifyReplicationSubnetGroupCommandInput , ModifyReplicationSubnetGroupCommandOutput , } from "./commands/ModifyReplicationSubnetGroupCommand" ; import { ModifyReplicationTaskCommand , ModifyReplicationTaskCommandInput , ModifyReplicationTaskCommandOutput , } from "./commands/ModifyReplicationTaskCommand" ; import { MoveReplicationTaskCommand , MoveReplicationTaskCommandInput , MoveReplicationTaskCommandOutput , } from "./commands/MoveReplicationTaskCommand" ; import { RebootReplicationInstanceCommand , RebootReplicationInstanceCommandInput , RebootReplicationInstanceCommandOutput , } from "./commands/RebootReplicationInstanceCommand" ; import { RefreshSchemasCommand , RefreshSchemasCommandInput , RefreshSchemasCommandOutput , } from "./commands/RefreshSchemasCommand" ; import { ReloadTablesCommand , ReloadTablesCommandInput , ReloadTablesCommandOutput , } from "./commands/ReloadTablesCommand" ; import { RemoveTagsFromResourceCommand , RemoveTagsFromResourceCommandInput , RemoveTagsFromResourceCommandOutput , } from "./commands/RemoveTagsFromResourceCommand" ; import { StartReplicationTaskAssessmentCommand , StartReplicationTaskAssessmentCommandInput , StartReplicationTaskAssessmentCommandOutput , } from "./commands/StartReplicationTaskAssessmentCommand" ; import { StartReplicationTaskAssessmentRunCommand , StartReplicationTaskAssessmentRunCommandInput , StartReplicationTaskAssessmentRunCommandOutput , } from "./commands/StartReplicationTaskAssessmentRunCommand" ; import { StartReplicationTaskCommand , StartReplicationTaskCommandInput , StartReplicationTaskCommandOutput , } from "./commands/StartReplicationTaskCommand" ; import { StopReplicationTaskCommand , StopReplicationTaskCommandInput , StopReplicationTaskCommandOutput , } from "./commands/StopReplicationTaskCommand" ; import { TestConnectionCommand , TestConnectionCommandInput , TestConnectionCommandOutput , } from "./commands/TestConnectionCommand" ; import { DatabaseMigrationServiceClient } from "./DatabaseMigrationServiceClient" ; /**
 * <fullname>Database Migration Service</fullname>
 *          <p>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.</p>
 *          <p>For more information about DMS, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/Welcome.html">What Is Database Migration Service?</a>
 *          in the <i>Database Migration Service User Guide.</i>
 *          </p>
 */ export class DatabaseMigrationService extends DatabaseMigrationServiceClient { /**
     * <p>Adds metadata tags to an DMS resource, including replication instance, endpoint,
     *          security 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 <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
     *                <code>Tag</code>
     *             </a> data type description.</p>
     */ public addTagsToResource ( args , options ? ) ; public addTagsToResource ( args , cb ) ; public addTagsToResource ( args , options , cb ) ; public addTagsToResource ( args , optionsOrCb ? , cb ? ) { const command = new AddTagsToResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Applies a pending maintenance action to a resource (for example, to a replication instance).</p>
     */ public applyPendingMaintenanceAction ( args , options ? ) ; public applyPendingMaintenanceAction ( args , cb ) ; public applyPendingMaintenanceAction ( args , options , cb ) ; public applyPendingMaintenanceAction ( args , optionsOrCb ? , cb ? ) { const command = new ApplyPendingMaintenanceActionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Cancels a single premigration assessment run.</p>
     *          <p>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.</p>
     */ public cancelReplicationTaskAssessmentRun ( args , options ? ) ; public cancelReplicationTaskAssessmentRun ( args , cb ) ; public cancelReplicationTaskAssessmentRun ( args , options , cb ) ; public cancelReplicationTaskAssessmentRun ( args , optionsOrCb ? , cb ? ) { const command = new CancelReplicationTaskAssessmentRunCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates an endpoint using the provided settings.</p>
     *          <note>
     *             <p>For a MySQL source or target endpoint, don't explicitly specify the database using
     *          the <code>DatabaseName</code> request parameter on the <code>CreateEndpoint</code> API call.
     *          Specifying <code>DatabaseName</code> 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.</p>
     *          </note>
     */ public createEndpoint ( args , options ? ) ; public createEndpoint ( args , cb ) ; public createEndpoint ( args , options , cb ) ; public createEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new CreateEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Creates an DMS event notification subscription. </p>
     *          <p>You can specify the type of source (<code>SourceType</code>) you want to be notified of,
     *          provide a list of DMS source IDs (<code>SourceIds</code>) that triggers the events, and
     *          provide a list of event categories (<code>EventCategories</code>) for events you want to be
     *          notified of. If you specify both the <code>SourceType</code> and <code>SourceIds</code>,
     *          such as <code>SourceType = replication-instance</code> and <code>SourceIdentifier =
     *             my-replinstance</code>, you will be notified of all the replication instance events for
     *          the specified source. If you specify a <code>SourceType</code> but don't specify a
     *             <code>SourceIdentifier</code>, you receive notice of the events for that source type for
     *          all your DMS sources. If you don't specify either <code>SourceType</code> nor
     *             <code>SourceIdentifier</code>, you will be notified of events generated from all DMS
     *          sources belonging to your customer account.</p>
     *          <p>For more information about DMS events, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and
     *             Notifications</a> in the <i>Database Migration Service User
     *             Guide.</i>
     *          </p>
     */ public createEventSubscription ( args , options ? ) ; public createEventSubscription ( args , cb ) ; public createEventSubscription ( args , options , cb ) ; public createEventSubscription ( args , optionsOrCb ? , cb ? ) { const command = new CreateEventSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates the replication instance using the specified parameters.</p>
     *          <p>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
     *       <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole">Creating the IAM Roles to Use With the CLI and DMS API</a>. For
     *          information on the required permissions, see
     *       <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions">IAM Permissions Needed to Use DMS</a>.</p>
     */ public createReplicationInstance ( args , options ? ) ; public createReplicationInstance ( args , cb ) ; public createReplicationInstance ( args , options , cb ) ; public createReplicationInstance ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a replication subnet group given a list of the subnet IDs in a VPC.</p>
     *          <p>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 <code>ReplicationSubnetGroupDoesNotCoverEnoughAZs</code> exception.</p>
     */ public createReplicationSubnetGroup ( args , options ? ) ; public createReplicationSubnetGroup ( args , cb ) ; public createReplicationSubnetGroup ( args , options , cb ) ; public createReplicationSubnetGroup ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationSubnetGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a replication task using the specified parameters.</p>
     */ public createReplicationTask ( args , options ? ) ; public createReplicationTask ( args , cb ) ; public createReplicationTask ( args , options , cb ) ; public createReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified certificate. </p>
     */ public deleteCertificate ( args , options ? ) ; public deleteCertificate ( args , cb ) ; public deleteCertificate ( args , options , cb ) ; public deleteCertificate ( args , optionsOrCb ? , cb ? ) { const command = new DeleteCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the connection between a replication instance and an endpoint.</p>
     */ public deleteConnection ( args , options ? ) ; public deleteConnection ( args , cb ) ; public deleteConnection ( args , options , cb ) ; public deleteConnection ( args , optionsOrCb ? , cb ? ) { const command = new DeleteConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified endpoint.</p>
     *          <note>
     *             <p>All tasks associated with the endpoint must be deleted before you can delete the
     *             endpoint.</p>
     *          </note>
     *          <p></p>
     */ public deleteEndpoint ( args , options ? ) ; public deleteEndpoint ( args , cb ) ; public deleteEndpoint ( args , options , cb ) ; public deleteEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Deletes an DMS event subscription. </p>
     */ public deleteEventSubscription ( args , options ? ) ; public deleteEventSubscription ( args , cb ) ; public deleteEventSubscription ( args , options , cb ) ; public deleteEventSubscription ( args , optionsOrCb ? , cb ? ) { const command = new DeleteEventSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified replication instance.</p>
     *          <note>
     *             <p>You must delete any migration tasks that are associated with the replication instance
     *             before you can delete it.</p>
     *          </note>
     *          <p></p>
     */ public deleteReplicationInstance ( args , options ? ) ; public deleteReplicationInstance ( args , cb ) ; public deleteReplicationInstance ( args , options , cb ) ; public deleteReplicationInstance ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a subnet group.</p>
     */ public deleteReplicationSubnetGroup ( args , options ? ) ; public deleteReplicationSubnetGroup ( args , cb ) ; public deleteReplicationSubnetGroup ( args , options , cb ) ; public deleteReplicationSubnetGroup ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationSubnetGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified replication task.</p>
     */ public deleteReplicationTask ( args , options ? ) ; public deleteReplicationTask ( args , cb ) ; public deleteReplicationTask ( args , options , cb ) ; public deleteReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the record of a single premigration assessment run.</p>
     *          <p>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.</p>
     */ public deleteReplicationTaskAssessmentRun ( args , options ? ) ; public deleteReplicationTaskAssessmentRun ( args , cb ) ; public deleteReplicationTaskAssessmentRun ( args , options , cb ) ; public deleteReplicationTaskAssessmentRun ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationTaskAssessmentRunCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *          <p>This command does not take any parameters.</p>
     */ public describeAccountAttributes ( args , options ? ) ; public describeAccountAttributes ( args , cb ) ; public describeAccountAttributes ( args , options , cb ) ; public describeAccountAttributes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeAccountAttributesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides a list of individual assessments that you can specify for a new premigration
     *          assessment run, given one or more parameters.</p>
     *          <p>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.</p>
     *          <p>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.</p>
     *          <p>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.</p>
     */ public describeApplicableIndividualAssessments ( args , options ? ) ; public describeApplicableIndividualAssessments ( args , cb ) ; public describeApplicableIndividualAssessments ( args , options , cb ) ; public describeApplicableIndividualAssessments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeApplicableIndividualAssessmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Provides a description of the certificate.</p>
     */ public describeCertificates ( args , options ? ) ; public describeCertificates ( args , cb ) ; public describeCertificates ( args , options , cb ) ; public describeCertificates ( args , optionsOrCb ? , cb ? ) { const command = new DescribeCertificatesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public describeConnections ( args , options ? ) ; public describeConnections ( args , cb ) ; public describeConnections ( args , options , cb ) ; public describeConnections ( args , optionsOrCb ? , cb ? ) { const command = new DescribeConnectionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the endpoints for your account in the current region.</p>
     */ public describeEndpoints ( args , options ? ) ; public describeEndpoints ( args , cb ) ; public describeEndpoints ( args , options , cb ) ; public describeEndpoints ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEndpointsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the possible endpoint settings available
     *          when you create an endpoint for a specific database engine.</p>
     */ public describeEndpointSettings ( args , options ? ) ; public describeEndpointSettings ( args , cb ) ; public describeEndpointSettings ( args , options , cb ) ; public describeEndpointSettings ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEndpointSettingsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the type of endpoints available.</p>
     */ public describeEndpointTypes ( args , options ? ) ; public describeEndpointTypes ( args , cb ) ; public describeEndpointTypes ( args , options , cb ) ; public describeEndpointTypes ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEndpointTypesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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 <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events
     *             and Notifications</a> in the <i>Database Migration Service User
     *             Guide.</i>
     *          </p>
     */ public describeEventCategories ( args , options ? ) ; public describeEventCategories ( args , cb ) ; public describeEventCategories ( args , options , cb ) ; public describeEventCategories ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEventCategoriesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> 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 <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html">Working with Events and
     *             Notifications</a> in the <i>Database Migration Service User
     *          Guide.</i>
     *          </p>
     */ public describeEvents ( args , options ? ) ; public describeEvents ( args , cb ) ; public describeEvents ( args , options , cb ) ; public describeEvents ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEventsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all the event subscriptions for a customer account. The description of a
     *          subscription includes <code>SubscriptionName</code>, <code>SNSTopicARN</code>,
     *             <code>CustomerID</code>, <code>SourceType</code>, <code>SourceID</code>,
     *             <code>CreationTime</code>, and <code>Status</code>. </p>
     *          <p>If you specify <code>SubscriptionName</code>, this action lists the description for that
     *          subscription.</p>
     */ public describeEventSubscriptions ( args , options ? ) ; public describeEventSubscriptions ( args , cb ) ; public describeEventSubscriptions ( args , options , cb ) ; public describeEventSubscriptions ( args , optionsOrCb ? , cb ? ) { const command = new DescribeEventSubscriptionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the replication instance types that can be created in the
     *          specified region.</p>
     */ public describeOrderableReplicationInstances ( args , options ? ) ; public describeOrderableReplicationInstances ( args , cb ) ; public describeOrderableReplicationInstances ( args , options , cb ) ; public describeOrderableReplicationInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeOrderableReplicationInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>For internal use only</p>
     */ public describePendingMaintenanceActions ( args , options ? ) ; public describePendingMaintenanceActions ( args , cb ) ; public describePendingMaintenanceActions ( args , options , cb ) ; public describePendingMaintenanceActions ( args , optionsOrCb ? , cb ? ) { const command = new DescribePendingMaintenanceActionsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the status of the RefreshSchemas operation.</p>
     */ public describeRefreshSchemasStatus ( args , options ? ) ; public describeRefreshSchemasStatus ( args , cb ) ; public describeRefreshSchemasStatus ( args , options , cb ) ; public describeRefreshSchemasStatus ( args , optionsOrCb ? , cb ? ) { const command = new DescribeRefreshSchemasStatusCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about replication instances for your account in the current
     *          region.</p>
     */ public describeReplicationInstances ( args , options ? ) ; public describeReplicationInstances ( args , cb ) ; public describeReplicationInstances ( args , options , cb ) ; public describeReplicationInstances ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationInstancesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the task logs for the specified task.</p>
     */ public describeReplicationInstanceTaskLogs ( args , options ? ) ; public describeReplicationInstanceTaskLogs ( args , cb ) ; public describeReplicationInstanceTaskLogs ( args , options , cb ) ; public describeReplicationInstanceTaskLogs ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationInstanceTaskLogsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the replication subnet groups.</p>
     */ public describeReplicationSubnetGroups ( args , options ? ) ; public describeReplicationSubnetGroups ( args , cb ) ; public describeReplicationSubnetGroups ( args , options , cb ) ; public describeReplicationSubnetGroups ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationSubnetGroupsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *          <p>For more information about DMS task assessments, see
     *            <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
     *            in the <i>Database Migration Service User Guide</i>.</p>
     */ public describeReplicationTaskAssessmentResults ( args , options ? ) ; public describeReplicationTaskAssessmentResults ( args , cb ) ; public describeReplicationTaskAssessmentResults ( args , options , cb ) ; public describeReplicationTaskAssessmentResults ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationTaskAssessmentResultsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a paginated list of premigration assessment runs based on filter
     *          settings.</p>
     *          <p>These filter settings can specify a combination of premigration assessment runs,
     *          migration tasks, replication instances, and assessment run status values.</p>
     *          <note>
     *             <p>This operation doesn't return information about individual assessments. For this
     *             information, see the <code>DescribeReplicationTaskIndividualAssessments</code>
     *             operation. </p>
     *          </note>
     */ public describeReplicationTaskAssessmentRuns ( args , options ? ) ; public describeReplicationTaskAssessmentRuns ( args , cb ) ; public describeReplicationTaskAssessmentRuns ( args , options , cb ) ; public describeReplicationTaskAssessmentRuns ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationTaskAssessmentRunsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns a paginated list of individual assessments based on filter settings.</p>
     *          <p>These filter settings can specify a combination of premigration assessment runs,
     *          migration tasks, and assessment status values.</p>
     */ public describeReplicationTaskIndividualAssessments ( args , options ? ) ; public describeReplicationTaskIndividualAssessments ( args , cb ) ; public describeReplicationTaskIndividualAssessments ( args , options , cb ) ; public describeReplicationTaskIndividualAssessments ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationTaskIndividualAssessmentsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about replication tasks for your account in the current
     *          region.</p>
     */ public describeReplicationTasks ( args , options ? ) ; public describeReplicationTasks ( args , cb ) ; public describeReplicationTasks ( args , options , cb ) ; public describeReplicationTasks ( args , optionsOrCb ? , cb ? ) { const command = new DescribeReplicationTasksCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns information about the schema for the specified endpoint.</p>
     *
     *          <p></p>
     */ public describeSchemas ( args , options ? ) ; public describeSchemas ( args , cb ) ; public describeSchemas ( args , options , cb ) ; public describeSchemas ( args , optionsOrCb ? , cb ? ) { const command = new DescribeSchemasCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns table statistics on the database migration task, including table name, rows
     *          inserted, rows updated, and rows deleted.</p>
     *          <p>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.</p>
     */ public describeTableStatistics ( args , options ? ) ; public describeTableStatistics ( args , cb ) ; public describeTableStatistics ( args , options , cb ) ; public describeTableStatistics ( args , optionsOrCb ? , cb ? ) { const command = new DescribeTableStatisticsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Uploads the specified certificate.</p>
     */ public importCertificate ( args , options ? ) ; public importCertificate ( args , cb ) ; public importCertificate ( args , options , cb ) ; public importCertificate ( args , optionsOrCb ? , cb ? ) { const command = new ImportCertificateCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all metadata tags attached to an DMS resource, including
     *          replication instance, endpoint, security group, and migration task.
     *          For more information, see <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
     *                <code>Tag</code>
     *             </a> data type description.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified endpoint.</p>
     *          <note>
     *             <p>For a MySQL source or target endpoint, don't explicitly specify the database using
     *          the <code>DatabaseName</code> request parameter on the <code>ModifyEndpoint</code> API call.
     *          Specifying <code>DatabaseName</code> 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.</p>
     *          </note>
     */ public modifyEndpoint ( args , options ? ) ; public modifyEndpoint ( args , cb ) ; public modifyEndpoint ( args , options , cb ) ; public modifyEndpoint ( args , optionsOrCb ? , cb ? ) { const command = new ModifyEndpointCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies an existing DMS event notification subscription. </p>
     */ public modifyEventSubscription ( args , options ? ) ; public modifyEventSubscription ( args , cb ) ; public modifyEventSubscription ( args , options , cb ) ; public modifyEventSubscription ( args , optionsOrCb ? , cb ? ) { const command = new ModifyEventSubscriptionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     *          <p>Some settings are applied during the maintenance window.</p>
     *
     *          <p></p>
     */ public modifyReplicationInstance ( args , options ? ) ; public modifyReplicationInstance ( args , cb ) ; public modifyReplicationInstance ( args , options , cb ) ; public modifyReplicationInstance ( args , optionsOrCb ? , cb ? ) { const command = new ModifyReplicationInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the settings for the specified replication subnet group.</p>
     */ public modifyReplicationSubnetGroup ( args , options ? ) ; public modifyReplicationSubnetGroup ( args , cb ) ; public modifyReplicationSubnetGroup ( args , options , cb ) ; public modifyReplicationSubnetGroup ( args , optionsOrCb ? , cb ? ) { const command = new ModifyReplicationSubnetGroupCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Modifies the specified replication task.</p>
     *          <p>You can't modify the task endpoints. The task must be stopped before you can modify it. </p>
     *          <p>For more information about DMS tasks, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html">Working with Migration Tasks</a> in the
     *             <i>Database Migration Service User Guide</i>.</p>
     */ public modifyReplicationTask ( args , options ? ) ; public modifyReplicationTask ( args , cb ) ; public modifyReplicationTask ( args , options , cb ) ; public modifyReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new ModifyReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public moveReplicationTask ( args , options ? ) ; public moveReplicationTask ( args , cb ) ; public moveReplicationTask ( args , options , cb ) ; public moveReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new MoveReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Reboots a replication instance. Rebooting results in a momentary outage, until the
     *          replication instance becomes available again.</p>
     */ public rebootReplicationInstance ( args , options ? ) ; public rebootReplicationInstance ( args , cb ) ; public rebootReplicationInstance ( args , options , cb ) ; public rebootReplicationInstance ( args , optionsOrCb ? , cb ? ) { const command = new RebootReplicationInstanceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>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.</p>
     */ public refreshSchemas ( args , options ? ) ; public refreshSchemas ( args , cb ) ; public refreshSchemas ( args , options , cb ) ; public refreshSchemas ( args , optionsOrCb ? , cb ? ) { const command = new RefreshSchemasCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Reloads the target database table with the source data. </p>
     *          <p>You can only use this operation with a task in the <code>RUNNING</code> state, otherwise the service
     *            will throw an <code>InvalidResourceStateFault</code> exception.</p>
     */ public reloadTables ( args , options ? ) ; public reloadTables ( args , cb ) ; public reloadTables ( args , options , cb ) ; public reloadTables ( args , optionsOrCb ? , cb ? ) { const command = new ReloadTablesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes metadata tags from an DMS resource, including replication instance,
     *          endpoint, security group, and migration task. For more information, see
     *          <a href="https://docs.aws.amazon.com/dms/latest/APIReference/API_Tag.html">
     *                <code>Tag</code>
     *             </a>
     *          data type description.</p>
     */ public removeTagsFromResource ( args , options ? ) ; public removeTagsFromResource ( args , cb ) ; public removeTagsFromResource ( args , options , cb ) ; public removeTagsFromResource ( args , optionsOrCb ? , cb ? ) { const command = new RemoveTagsFromResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts the replication task.</p>
     *          <p>For more information about DMS tasks, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.html">Working with Migration Tasks </a> in the
     *             <i>Database Migration Service User Guide.</i>
     *          </p>
     */ public startReplicationTask ( args , options ? ) ; public startReplicationTask ( args , cb ) ; public startReplicationTask ( args , options , cb ) ; public startReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new StartReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p> Starts the replication task assessment for unsupported data types in the source
     *          database. </p>
     *          <p>You can only use this operation for a task if the following conditions are true:</p>
     *          <ul>
     *             <li>
     *                <p>The task must be in the <code>stopped</code> state.</p>
     *             </li>
     *             <li>
     *                <p>The task must have successful connections to the source and target.</p>
     *             </li>
     *          </ul>
     *          <p>If either of these conditions are not met, an <code>InvalidResourceStateFault</code> error will result. </p>
     *          <p>For information about DMS task assessments, see
     *           <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.AssessmentReport.html">Creating a task assessment report</a>
     *           in the <i>Database Migration Service User Guide</i>.</p>
     */ public startReplicationTaskAssessment ( args , options ? ) ; public startReplicationTaskAssessment ( args , cb ) ; public startReplicationTaskAssessment ( args , options , cb ) ; public startReplicationTaskAssessment ( args , optionsOrCb ? , cb ? ) { const command = new StartReplicationTaskAssessmentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Starts a new premigration assessment run for one or more individual assessments
     *          of a migration task.</p>
     *          <p>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.</p>
     */ public startReplicationTaskAssessmentRun ( args , options ? ) ; public startReplicationTaskAssessmentRun ( args , cb ) ; public startReplicationTaskAssessmentRun ( args , options , cb ) ; public startReplicationTaskAssessmentRun ( args , optionsOrCb ? , cb ? ) { const command = new StartReplicationTaskAssessmentRunCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Stops the replication task.</p>
     */ public stopReplicationTask ( args , options ? ) ; public stopReplicationTask ( args , cb ) ; public stopReplicationTask ( args , options , cb ) ; public stopReplicationTask ( args , optionsOrCb ? , cb ? ) { const command = new StopReplicationTaskCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Tests the connection between the replication instance and the endpoint.</p>
     */ public testConnection ( args , options ? ) ; public testConnection ( args , cb ) ; public testConnection ( args , options , cb ) ; public testConnection ( args , optionsOrCb ? , cb ? ) { const command = new TestConnectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }