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
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub fn add_source_identifier_to_subscription(
&self
) -> AddSourceIdentifierToSubscription<C, M, R>
pub fn add_source_identifier_to_subscription(
&self
) -> AddSourceIdentifierToSubscription<C, M, R>
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().
pub fn describe_db_cluster_parameter_groups(
&self
) -> DescribeDBClusterParameterGroups<C, M, R>
pub fn describe_db_cluster_parameter_groups(
&self
) -> DescribeDBClusterParameterGroups<C, M, R>
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().
pub fn describe_db_cluster_snapshot_attributes(
&self
) -> DescribeDBClusterSnapshotAttributes<C, M, R>
pub fn describe_db_cluster_snapshot_attributes(
&self
) -> DescribeDBClusterSnapshotAttributes<C, M, R>
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().
pub fn describe_engine_default_cluster_parameters(
&self
) -> DescribeEngineDefaultClusterParameters<C, M, R>
pub fn describe_engine_default_cluster_parameters(
&self
) -> DescribeEngineDefaultClusterParameters<C, M, R>
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().
pub fn describe_orderable_db_instance_options(
&self
) -> DescribeOrderableDBInstanceOptions<C, M, R>
pub fn describe_orderable_db_instance_options(
&self
) -> DescribeOrderableDBInstanceOptions<C, M, R>
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().
pub fn describe_pending_maintenance_actions(
&self
) -> DescribePendingMaintenanceActions<C, M, R>
pub fn describe_pending_maintenance_actions(
&self
) -> DescribePendingMaintenanceActions<C, M, R>
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.
pub fn modify_db_cluster_snapshot_attribute(
&self
) -> ModifyDBClusterSnapshotAttribute<C, M, R>
pub fn modify_db_cluster_snapshot_attribute(
&self
) -> ModifyDBClusterSnapshotAttribute<C, M, R>
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.
pub fn remove_source_identifier_from_subscription(
&self
) -> RemoveSourceIdentifierFromSubscription<C, M, R>
pub fn remove_source_identifier_from_subscription(
&self
) -> RemoveSourceIdentifierFromSubscription<C, M, R>
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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
