Struct aws_sdk_docdb::client::Client[][src]

pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Client for Amazon DocumentDB with MongoDB compatibility

Client for invoking operations on Amazon DocumentDB with MongoDB compatibility. Each operation on Amazon DocumentDB with MongoDB compatibility 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_docdb::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::RetryConfig;
    let shared_config = aws_config::load_from_env().await;
    let config = aws_sdk_docdb::config::Builder::from(&shared_config)
        .retry_config(RetryConfig::disabled())
        .build();
    let client = aws_sdk_docdb::Client::from_conf(config);

Implementations

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AddSourceIdentifierToSubscription operation.

See AddSourceIdentifierToSubscription for more information about the operation and its arguments.

Constructs a fluent builder for the AddTagsToResource operation.

See AddTagsToResource for more information about the operation and its arguments.

Constructs a fluent builder for the ApplyPendingMaintenanceAction operation.

See ApplyPendingMaintenanceAction for more information about the operation and its arguments.

Constructs a fluent builder for the CopyDBClusterParameterGroup operation.

See CopyDBClusterParameterGroup for more information about the operation and its arguments.

Constructs a fluent builder for the CopyDBClusterSnapshot operation.

See CopyDBClusterSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDBCluster operation.

See CreateDBCluster for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDBClusterParameterGroup operation.

See CreateDBClusterParameterGroup for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDBClusterSnapshot operation.

See CreateDBClusterSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDBInstance operation.

See CreateDBInstance for more information about the operation and its arguments.

Constructs a fluent builder for the CreateDBSubnetGroup operation.

See CreateDBSubnetGroup for more information about the operation and its arguments.

Constructs a fluent builder for the CreateEventSubscription operation.

See CreateEventSubscription for more information about the operation and its arguments.

Constructs a fluent builder for the CreateGlobalCluster operation.

See CreateGlobalCluster for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDBCluster operation.

See DeleteDBCluster for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDBClusterParameterGroup operation.

See DeleteDBClusterParameterGroup for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDBClusterSnapshot operation.

See DeleteDBClusterSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDBInstance operation.

See DeleteDBInstance for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteDBSubnetGroup operation.

See DeleteDBSubnetGroup for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteEventSubscription operation.

See DeleteEventSubscription for more information about the operation and its arguments.

Constructs a fluent builder for the DeleteGlobalCluster operation.

See DeleteGlobalCluster for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeCertificates operation.

See DescribeCertificates for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBClusterParameterGroups operation.

See DescribeDBClusterParameterGroups for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBClusterParameters operation.

See DescribeDBClusterParameters for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBClusters operation.

See DescribeDBClusters for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBClusterSnapshotAttributes operation.

See DescribeDBClusterSnapshotAttributes for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeDBClusterSnapshots operation.

See DescribeDBClusterSnapshots for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBEngineVersions operation.

See DescribeDBEngineVersions for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBInstances operation.

See DescribeDBInstances for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeDBSubnetGroups operation.

See DescribeDBSubnetGroups for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeEngineDefaultClusterParameters operation.

See DescribeEngineDefaultClusterParameters for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeEventCategories operation.

See DescribeEventCategories for more information about the operation and its arguments.

Constructs a fluent builder for the DescribeEvents operation.

See DescribeEvents for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeEventSubscriptions operation.

See DescribeEventSubscriptions for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeGlobalClusters operation.

See DescribeGlobalClusters for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribeOrderableDBInstanceOptions operation.

See DescribeOrderableDBInstanceOptions for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the DescribePendingMaintenanceActions operation.

See DescribePendingMaintenanceActions for more information about the operation and its arguments. This operation supports pagination. See into_paginator().

Constructs a fluent builder for the FailoverDBCluster operation.

See FailoverDBCluster for more information about the operation and its arguments.

Constructs a fluent builder for the ListTagsForResource operation.

See ListTagsForResource for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyDBCluster operation.

See ModifyDBCluster for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyDBClusterParameterGroup operation.

See ModifyDBClusterParameterGroup for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyDBClusterSnapshotAttribute operation.

See ModifyDBClusterSnapshotAttribute for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyDBInstance operation.

See ModifyDBInstance for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyDBSubnetGroup operation.

See ModifyDBSubnetGroup for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyEventSubscription operation.

See ModifyEventSubscription for more information about the operation and its arguments.

Constructs a fluent builder for the ModifyGlobalCluster operation.

See ModifyGlobalCluster for more information about the operation and its arguments.

Constructs a fluent builder for the RebootDBInstance operation.

See RebootDBInstance for more information about the operation and its arguments.

Constructs a fluent builder for the RemoveFromGlobalCluster operation.

See RemoveFromGlobalCluster for more information about the operation and its arguments.

Constructs a fluent builder for the RemoveSourceIdentifierFromSubscription operation.

See RemoveSourceIdentifierFromSubscription for more information about the operation and its arguments.

Constructs a fluent builder for the RemoveTagsFromResource operation.

See RemoveTagsFromResource for more information about the operation and its arguments.

Constructs a fluent builder for the ResetDBClusterParameterGroup operation.

See ResetDBClusterParameterGroup for more information about the operation and its arguments.

Constructs a fluent builder for the RestoreDBClusterFromSnapshot operation.

See RestoreDBClusterFromSnapshot for more information about the operation and its arguments.

Constructs a fluent builder for the RestoreDBClusterToPointInTime operation.

See RestoreDBClusterToPointInTime for more information about the operation and its arguments.

Constructs a fluent builder for the StartDBCluster operation.

See StartDBCluster for more information about the operation and its arguments.

Constructs a fluent builder for the StopDBCluster operation.

See StopDBCluster for more information about the operation and its arguments.

Creates a client with the given service config and connector override.

Creates a new client from a shared config.

Creates a new client from the service Config.

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

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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