pub struct Client { /* private fields */ }
Expand description

Client for AWS Database Migration Service

Client for invoking operations on AWS Database Migration Service. Each operation on AWS Database Migration Service is a method on this this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.

Examples

Constructing a client and invoking an operation

    // create a shared configuration. This can be used & shared between multiple service clients.
    let shared_config = aws_config::load_from_env().await;
    let client = aws_sdk_databasemigration::Client::new(&shared_config);
    // invoke an operation
    /* let rsp = client
        .<operation_name>().
        .<param>("some value")
        .send().await; */

Constructing a client with custom configuration

use aws_config::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_databasemigration::config::Builder::from(&shared_config)
  .retry_config(RetryConfig::disabled())
  .build();
let client = aws_sdk_databasemigration::Client::from_conf(config);

Implementations§

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AddTagsToResource operation.

Constructs a fluent builder for the ApplyPendingMaintenanceAction operation.

Constructs a fluent builder for the CancelReplicationTaskAssessmentRun operation.

Constructs a fluent builder for the CreateEndpoint operation.

Constructs a fluent builder for the CreateEventSubscription operation.

Constructs a fluent builder for the CreateFleetAdvisorCollector operation.

Constructs a fluent builder for the CreateReplicationInstance operation.

Constructs a fluent builder for the CreateReplicationSubnetGroup operation.

Constructs a fluent builder for the CreateReplicationTask operation.

Constructs a fluent builder for the DeleteCertificate operation.

Constructs a fluent builder for the DeleteConnection operation.

Constructs a fluent builder for the DeleteEndpoint operation.

Constructs a fluent builder for the DeleteEventSubscription operation.

Constructs a fluent builder for the DeleteFleetAdvisorCollector operation.

Constructs a fluent builder for the DeleteFleetAdvisorDatabases operation.

Constructs a fluent builder for the DeleteReplicationInstance operation.

Constructs a fluent builder for the DeleteReplicationSubnetGroup operation.

Constructs a fluent builder for the DeleteReplicationTask operation.

Constructs a fluent builder for the DeleteReplicationTaskAssessmentRun operation.

Constructs a fluent builder for the DescribeAccountAttributes operation.

  • The fluent builder takes no input, just send it.
  • On success, responds with DescribeAccountAttributesOutput with field(s):
    • account_quotas(Option<Vec<AccountQuota>>):

      Account quota information.

    • unique_account_identifier(Option<String>):

      A unique DMS identifier for an account in a particular Amazon Web Services Region. The value of this identifier has the following format: c99999999999. DMS uses this identifier to name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket for storing task assessment reports in a given Amazon Web Services Region. The format of this S3 bucket name is the following: dms-AccountNumber-UniqueAccountIdentifier. Here is an example name for this default S3 bucket: dms-111122223333-c44445555666.

      DMS supports the UniqueAccountIdentifier parameter in versions 3.1.4 and later.

  • On failure, responds with SdkError<DescribeAccountAttributesError>

Constructs a fluent builder for the DescribeApplicableIndividualAssessments operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeCertificates operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeConnections operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEndpoints operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEndpointSettings operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEndpointTypes operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEventCategories operation.

Constructs a fluent builder for the DescribeEvents operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeEventSubscriptions operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeFleetAdvisorCollectors operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • filters(Vec<Filter>) / set_filters(Option<Vec<Filter>>):

      If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

      • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

      • collector-name – The name of the collector agent.

      An example is: describe-fleet-advisor-collectors –filter Name=“collector-referenced-id”,Values=“d4610ac5-e323-4ad9-bc50-eaf7249dfe9d”

    • max_records(i32) / set_max_records(Option<i32>):

      Sets the maximum number of records returned in the response.

    • next_token(impl Into<String>) / set_next_token(Option<String>):

      If NextToken is returned by a previous response, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • On success, responds with DescribeFleetAdvisorCollectorsOutput with field(s):
    • collectors(Option<Vec<CollectorResponse>>):

      Provides descriptions of the Fleet Advisor collectors, including the collectors’ name and ID, and the latest inventory data.

    • next_token(Option<String>):

      If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • On failure, responds with SdkError<DescribeFleetAdvisorCollectorsError>

Constructs a fluent builder for the DescribeFleetAdvisorDatabases operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • filters(Vec<Filter>) / set_filters(Option<Vec<Filter>>):

      If you specify any of the following filters, the output includes information for only those databases that meet the filter criteria:

      • database-id – The ID of the database.

      • database-name – The name of the database.

      • database-engine – The name of the database engine.

      • server-ip-address – The IP address of the database server.

      • database-ip-address – The IP address of the database.

      • collector-name – The name of the associated Fleet Advisor collector.

      An example is: describe-fleet-advisor-databases –filter Name=“database-id”,Values=“45”

    • max_records(i32) / set_max_records(Option<i32>):

      Sets the maximum number of records returned in the response.

    • next_token(impl Into<String>) / set_next_token(Option<String>):

      If NextToken is returned by a previous response, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • On success, responds with DescribeFleetAdvisorDatabasesOutput with field(s):
    • databases(Option<Vec<DatabaseResponse>>):

      Provides descriptions of the Fleet Advisor collector databases, including the database’s collector, ID, and name.

    • next_token(Option<String>):

      If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • On failure, responds with SdkError<DescribeFleetAdvisorDatabasesError>

Constructs a fluent builder for the DescribeFleetAdvisorLsaAnalysis operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeFleetAdvisorSchemaObjectSummary operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeFleetAdvisorSchemas operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
    • filters(Vec<Filter>) / set_filters(Option<Vec<Filter>>):

      If you specify any of the following filters, the output includes information for only those schemas that meet the filter criteria:

      • complexity – The schema’s complexity, for example Simple.

      • database-id – The ID of the schema’s database.

      • database-ip-address – The IP address of the schema’s database.

      • database-name – The name of the schema’s database.

      • database-engine – The name of the schema database’s engine.

      • original-schema-name – The name of the schema’s database’s main schema.

      • schema-id – The ID of the schema, for example 15.

      • schema-name – The name of the schema.

      • server-ip-address – The IP address of the schema database’s server.

      An example is: describe-fleet-advisor-schemas –filter Name=“schema-id”,Values=“50”

    • max_records(i32) / set_max_records(Option<i32>):

      Sets the maximum number of records returned in the response.

    • next_token(impl Into<String>) / set_next_token(Option<String>):

      If NextToken is returned by a previous response, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • On success, responds with DescribeFleetAdvisorSchemasOutput with field(s):
  • On failure, responds with SdkError<DescribeFleetAdvisorSchemasError>

Constructs a fluent builder for the DescribeOrderableReplicationInstances operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribePendingMaintenanceActions operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeRefreshSchemasStatus operation.

Constructs a fluent builder for the DescribeReplicationInstances operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationInstanceTaskLogs operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationSubnetGroups operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationTaskAssessmentResults operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationTaskAssessmentRuns operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationTaskIndividualAssessments operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeReplicationTasks operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeSchemas operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the DescribeTableStatistics operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ImportCertificate operation.

Constructs a fluent builder for the ListTagsForResource operation.

Constructs a fluent builder for the ModifyEndpoint operation.

Constructs a fluent builder for the ModifyEventSubscription operation.

Constructs a fluent builder for the ModifyReplicationInstance operation.

Constructs a fluent builder for the ModifyReplicationSubnetGroup operation.

Constructs a fluent builder for the ModifyReplicationTask operation.

Constructs a fluent builder for the MoveReplicationTask operation.

Constructs a fluent builder for the RebootReplicationInstance operation.

Constructs a fluent builder for the RefreshSchemas operation.

Constructs a fluent builder for the ReloadTables operation.

Constructs a fluent builder for the RemoveTagsFromResource operation.

Constructs a fluent builder for the RunFleetAdvisorLsaAnalysis operation.

Constructs a fluent builder for the StartReplicationTask operation.

Constructs a fluent builder for the StartReplicationTaskAssessment operation.

Constructs a fluent builder for the StartReplicationTaskAssessmentRun operation.

Constructs a fluent builder for the StopReplicationTask operation.

Constructs a fluent builder for the TestConnection operation.

Constructs a fluent builder for the UpdateSubscriptionsToEventBridge operation.

Creates a new client from an SDK Config.

Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Creates a new client from the service Config.

Panics
  • This method will panic if the conf is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the conf is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more