Struct rusoto_docdb::DocdbClient
source · [−]pub struct DocdbClient { /* private fields */ }
Expand description
A client for the Amazon DocDB API.
Implementations
sourceimpl DocdbClient
impl DocdbClient
sourcepub fn new(region: Region) -> DocdbClient
pub fn new(region: Region) -> DocdbClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> DocdbClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> DocdbClient
Trait Implementations
sourceimpl Clone for DocdbClient
impl Clone for DocdbClient
sourcefn clone(&self) -> DocdbClient
fn clone(&self) -> DocdbClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Docdb for DocdbClient
impl Docdb for DocdbClient
sourcefn add_source_identifier_to_subscription<'life0, 'async_trait>(
&'life0 self,
input: AddSourceIdentifierToSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<AddSourceIdentifierToSubscriptionResult, RusotoError<AddSourceIdentifierToSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_source_identifier_to_subscription<'life0, 'async_trait>(
&'life0 self,
input: AddSourceIdentifierToSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<AddSourceIdentifierToSubscriptionResult, RusotoError<AddSourceIdentifierToSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds a source identifier to an existing event notification subscription.
Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources or in a Condition
statement in an Identity and Access Management (IAM) policy for Amazon DocumentDB.
sourcefn apply_pending_maintenance_action<'life0, 'async_trait>(
&'life0 self,
input: ApplyPendingMaintenanceActionMessage
) -> Pin<Box<dyn Future<Output = Result<ApplyPendingMaintenanceActionResult, RusotoError<ApplyPendingMaintenanceActionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn apply_pending_maintenance_action<'life0, 'async_trait>(
&'life0 self,
input: ApplyPendingMaintenanceActionMessage
) -> Pin<Box<dyn Future<Output = Result<ApplyPendingMaintenanceActionResult, RusotoError<ApplyPendingMaintenanceActionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
sourcefn copy_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CopyDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CopyDBClusterParameterGroupResult, RusotoError<CopyDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn copy_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CopyDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CopyDBClusterParameterGroupResult, RusotoError<CopyDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Copies the specified cluster parameter group.
sourcefn copy_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CopyDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<CopyDBClusterSnapshotResult, RusotoError<CopyDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn copy_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CopyDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<CopyDBClusterSnapshotResult, RusotoError<CopyDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Copies a snapshot of a cluster.
To copy a cluster snapshot from a shared manual cluster snapshot, SourceDBClusterSnapshotIdentifier
must be the Amazon Resource Name (ARN) of the shared cluster snapshot. You can only copy a shared DB cluster snapshot, whether encrypted or not, in the same Region.
To cancel the copy operation after it is in progress, delete the target cluster snapshot identified by TargetDBClusterSnapshotIdentifier
while that cluster snapshot is in the copying status.
sourcefn create_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterResult, RusotoError<CreateDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterResult, RusotoError<CreateDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new Amazon DocumentDB cluster.
sourcefn create_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterParameterGroupResult, RusotoError<CreateDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterParameterGroupResult, RusotoError<CreateDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new cluster parameter group.
Parameters in a cluster parameter group apply to all of the instances in a cluster.
A cluster parameter group is initially created with the default parameters for the database engine used by instances in the cluster. In Amazon DocumentDB, you cannot make modifications directly to the default.docdb3.6
cluster parameter group. If your Amazon DocumentDB cluster is using the default cluster parameter group and you want to modify a value in it, you must first create a new parameter group or copy an existing parameter group, modify it, and then apply the modified parameter group to your cluster. For the new cluster parameter group and associated settings to take effect, you must then reboot the instances in the cluster without failover. For more information, see Modifying Amazon DocumentDB Cluster Parameter Groups.
sourcefn create_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterSnapshotResult, RusotoError<CreateDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: CreateDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBClusterSnapshotResult, RusotoError<CreateDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a snapshot of a cluster.
sourcefn create_db_instance<'life0, 'async_trait>(
&'life0 self,
input: CreateDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBInstanceResult, RusotoError<CreateDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_db_instance<'life0, 'async_trait>(
&'life0 self,
input: CreateDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBInstanceResult, RusotoError<CreateDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new instance.
sourcefn create_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBSubnetGroupResult, RusotoError<CreateDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: CreateDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<CreateDBSubnetGroupResult, RusotoError<CreateDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.
sourcefn create_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: CreateEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<CreateEventSubscriptionResult, RusotoError<CreateEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: CreateEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<CreateEventSubscriptionResult, RusotoError<CreateEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console.
You can specify the type of source (SourceType
) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (SourceIds
) that trigger the events, and you can provide a list of event categories (EventCategories
) for events that you want to be notified of. For example, you can specify SourceType = db-instance
, SourceIds = mydbinstance1, mydbinstance2
and EventCategories = Availability, Backup
.
If you specify both the SourceType
and SourceIds
(such as SourceType = db-instance
and SourceIdentifier = myDBInstance1
), you are notified of all the db-instance
events for the specified source. If you specify a SourceType
but do not specify a SourceIdentifier
, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the SourceType
or the SourceIdentifier
, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.
sourcefn create_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<CreateGlobalClusterResult, RusotoError<CreateGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: CreateGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<CreateGlobalClusterResult, RusotoError<CreateGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an Amazon DocumentDB global cluster that can span multiple multiple Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.
You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster.
This action only applies to Amazon DocumentDB clusters.
sourcefn delete_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBClusterResult, RusotoError<DeleteDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBClusterResult, RusotoError<DeleteDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
sourcefn delete_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.
sourcefn delete_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBClusterSnapshotResult, RusotoError<DeleteDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_db_cluster_snapshot<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBClusterSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBClusterSnapshotResult, RusotoError<DeleteDBClusterSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.
The cluster snapshot must be in the available
state to be deleted.
sourcefn delete_db_instance<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBInstanceResult, RusotoError<DeleteDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_db_instance<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteDBInstanceResult, RusotoError<DeleteDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a previously provisioned instance.
sourcefn delete_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a subnet group.
The specified database subnet group must not be associated with any DB instances.
sourcefn delete_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: DeleteEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteEventSubscriptionResult, RusotoError<DeleteEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: DeleteEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteEventSubscriptionResult, RusotoError<DeleteEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an Amazon DocumentDB event notification subscription.
sourcefn delete_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteGlobalClusterResult, RusotoError<DeleteGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: DeleteGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<DeleteGlobalClusterResult, RusotoError<DeleteGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.
This action only applies to Amazon DocumentDB clusters.
sourcefn describe_certificates<'life0, 'async_trait>(
&'life0 self,
input: DescribeCertificatesMessage
) -> Pin<Box<dyn Future<Output = Result<CertificateMessage, RusotoError<DescribeCertificatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_certificates<'life0, 'async_trait>(
&'life0 self,
input: DescribeCertificatesMessage
) -> Pin<Box<dyn Future<Output = Result<CertificateMessage, RusotoError<DescribeCertificatesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this account.
sourcefn describe_db_cluster_parameter_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterParameterGroupsMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupsMessage, RusotoError<DescribeDBClusterParameterGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_cluster_parameter_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterParameterGroupsMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupsMessage, RusotoError<DescribeDBClusterParameterGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of DBClusterParameterGroup
descriptions. If a DBClusterParameterGroupName
parameter is specified, the list contains only the description of the specified cluster parameter group.
sourcefn describe_db_cluster_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterParametersMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupDetails, RusotoError<DescribeDBClusterParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_cluster_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterParametersMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupDetails, RusotoError<DescribeDBClusterParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the detailed parameter list for a particular cluster parameter group.
sourcefn describe_db_cluster_snapshot_attributes<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterSnapshotAttributesMessage
) -> Pin<Box<dyn Future<Output = Result<DescribeDBClusterSnapshotAttributesResult, RusotoError<DescribeDBClusterSnapshotAttributesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_cluster_snapshot_attributes<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterSnapshotAttributesMessage
) -> Pin<Box<dyn Future<Output = Result<DescribeDBClusterSnapshotAttributesResult, RusotoError<DescribeDBClusterSnapshotAttributesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of cluster snapshot attribute names and values for a manual DB cluster snapshot.
When you share snapshots with other accounts, DescribeDBClusterSnapshotAttributes
returns the restore
attribute and a list of IDs for the accounts that are authorized to copy or restore the manual cluster snapshot. If all
is included in the list of values for the restore
attribute, then the manual cluster snapshot is public and can be copied or restored by all accounts.
sourcefn describe_db_cluster_snapshots<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterSnapshotsMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterSnapshotMessage, RusotoError<DescribeDBClusterSnapshotsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_cluster_snapshots<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClusterSnapshotsMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterSnapshotMessage, RusotoError<DescribeDBClusterSnapshotsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about cluster snapshots. This API operation supports pagination.
sourcefn describe_db_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClustersMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterMessage, RusotoError<DescribeDBClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBClustersMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterMessage, RusotoError<DescribeDBClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination. For certain management features such as cluster and instance lifecycle management, Amazon DocumentDB leverages operational technology that is shared with Amazon RDS and Amazon Neptune. Use the filterName=engine,Values=docdb
filter parameter to return only Amazon DocumentDB clusters.
sourcefn describe_db_engine_versions<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBEngineVersionsMessage
) -> Pin<Box<dyn Future<Output = Result<DBEngineVersionMessage, RusotoError<DescribeDBEngineVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_engine_versions<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBEngineVersionsMessage
) -> Pin<Box<dyn Future<Output = Result<DBEngineVersionMessage, RusotoError<DescribeDBEngineVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of the available engines.
sourcefn describe_db_instances<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBInstancesMessage
) -> Pin<Box<dyn Future<Output = Result<DBInstanceMessage, RusotoError<DescribeDBInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_instances<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBInstancesMessage
) -> Pin<Box<dyn Future<Output = Result<DBInstanceMessage, RusotoError<DescribeDBInstancesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
sourcefn describe_db_subnet_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBSubnetGroupsMessage
) -> Pin<Box<dyn Future<Output = Result<DBSubnetGroupMessage, RusotoError<DescribeDBSubnetGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_db_subnet_groups<'life0, 'async_trait>(
&'life0 self,
input: DescribeDBSubnetGroupsMessage
) -> Pin<Box<dyn Future<Output = Result<DBSubnetGroupMessage, RusotoError<DescribeDBSubnetGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of DBSubnetGroup
descriptions. If a DBSubnetGroupName
is specified, the list will contain only the descriptions of the specified DBSubnetGroup
.
sourcefn describe_engine_default_cluster_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeEngineDefaultClusterParametersMessage
) -> Pin<Box<dyn Future<Output = Result<DescribeEngineDefaultClusterParametersResult, RusotoError<DescribeEngineDefaultClusterParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_engine_default_cluster_parameters<'life0, 'async_trait>(
&'life0 self,
input: DescribeEngineDefaultClusterParametersMessage
) -> Pin<Box<dyn Future<Output = Result<DescribeEngineDefaultClusterParametersResult, RusotoError<DescribeEngineDefaultClusterParametersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the default engine and system parameter information for the cluster database engine.
sourcefn describe_event_categories<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventCategoriesMessage
) -> Pin<Box<dyn Future<Output = Result<EventCategoriesMessage, RusotoError<DescribeEventCategoriesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_event_categories<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventCategoriesMessage
) -> Pin<Box<dyn Future<Output = Result<EventCategoriesMessage, RusotoError<DescribeEventCategoriesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Displays a list of categories for all event source types, or, if specified, for a specified source type.
sourcefn describe_event_subscriptions<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventSubscriptionsMessage
) -> Pin<Box<dyn Future<Output = Result<EventSubscriptionsMessage, RusotoError<DescribeEventSubscriptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_event_subscriptions<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventSubscriptionsMessage
) -> Pin<Box<dyn Future<Output = Result<EventSubscriptionsMessage, RusotoError<DescribeEventSubscriptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName
, SNSTopicARN
, CustomerID
, SourceType
, SourceID
, CreationTime
, and Status
.
If you specify a SubscriptionName
, lists the description for that subscription.
sourcefn describe_events<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventsMessage
) -> Pin<Box<dyn Future<Output = Result<EventsMessage, RusotoError<DescribeEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_events<'life0, 'async_trait>(
&'life0 self,
input: DescribeEventsMessage
) -> Pin<Box<dyn Future<Output = Result<EventsMessage, RusotoError<DescribeEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
sourcefn describe_global_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeGlobalClustersMessage
) -> Pin<Box<dyn Future<Output = Result<GlobalClustersMessage, RusotoError<DescribeGlobalClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_global_clusters<'life0, 'async_trait>(
&'life0 self,
input: DescribeGlobalClustersMessage
) -> Pin<Box<dyn Future<Output = Result<GlobalClustersMessage, RusotoError<DescribeGlobalClustersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about Amazon DocumentDB global clusters. This API supports pagination.
This action only applies to Amazon DocumentDB clusters.
sourcefn describe_orderable_db_instance_options<'life0, 'async_trait>(
&'life0 self,
input: DescribeOrderableDBInstanceOptionsMessage
) -> Pin<Box<dyn Future<Output = Result<OrderableDBInstanceOptionsMessage, RusotoError<DescribeOrderableDBInstanceOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_orderable_db_instance_options<'life0, 'async_trait>(
&'life0 self,
input: DescribeOrderableDBInstanceOptionsMessage
) -> Pin<Box<dyn Future<Output = Result<OrderableDBInstanceOptionsMessage, RusotoError<DescribeOrderableDBInstanceOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of orderable instance options for the specified engine.
sourcefn describe_pending_maintenance_actions<'life0, 'async_trait>(
&'life0 self,
input: DescribePendingMaintenanceActionsMessage
) -> Pin<Box<dyn Future<Output = Result<PendingMaintenanceActionsMessage, RusotoError<DescribePendingMaintenanceActionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_pending_maintenance_actions<'life0, 'async_trait>(
&'life0 self,
input: DescribePendingMaintenanceActionsMessage
) -> Pin<Box<dyn Future<Output = Result<PendingMaintenanceActionsMessage, RusotoError<DescribePendingMaintenanceActionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of resources (for example, instances) that have at least one pending maintenance action.
sourcefn failover_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: FailoverDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<FailoverDBClusterResult, RusotoError<FailoverDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn failover_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: FailoverDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<FailoverDBClusterResult, RusotoError<FailoverDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Forces a failover for a cluster.
A failover for a cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the cluster to be the primary instance (the cluster writer).
If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
Lists all tags on an Amazon DocumentDB resource.
sourcefn modify_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBClusterResult, RusotoError<ModifyDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBClusterResult, RusotoError<ModifyDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies a setting for an Amazon DocumentDB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
sourcefn modify_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupNameMessage, RusotoError<ModifyDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupNameMessage, RusotoError<ModifyDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies the parameters of a cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName
, ParameterValue
, and ApplyMethod
. A maximum of 20 parameters can be modified in a single request.
Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect.
After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the charactersetdatabase
parameter.
sourcefn modify_db_cluster_snapshot_attribute<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterSnapshotAttributeMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBClusterSnapshotAttributeResult, RusotoError<ModifyDBClusterSnapshotAttributeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_db_cluster_snapshot_attribute<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBClusterSnapshotAttributeMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBClusterSnapshotAttributeResult, RusotoError<ModifyDBClusterSnapshotAttributeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.
To share a manual cluster snapshot with other accounts, specify restore
as the AttributeName
, and use the ValuesToAdd
parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value all
to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the all
value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the ValuesToAdd
parameter. You can't use all
as a value for that parameter in this case.
sourcefn modify_db_instance<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBInstanceResult, RusotoError<ModifyDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_db_instance<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBInstanceResult, RusotoError<ModifyDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
sourcefn modify_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBSubnetGroupResult, RusotoError<ModifyDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_db_subnet_group<'life0, 'async_trait>(
&'life0 self,
input: ModifyDBSubnetGroupMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyDBSubnetGroupResult, RusotoError<ModifyDBSubnetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.
sourcefn modify_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: ModifyEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyEventSubscriptionResult, RusotoError<ModifyEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_event_subscription<'life0, 'async_trait>(
&'life0 self,
input: ModifyEventSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyEventSubscriptionResult, RusotoError<ModifyEventSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies an existing Amazon DocumentDB event notification subscription.
sourcefn modify_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: ModifyGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyGlobalClusterResult, RusotoError<ModifyGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: ModifyGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<ModifyGlobalClusterResult, RusotoError<ModifyGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values in the request.
This action only applies to Amazon DocumentDB clusters.
sourcefn reboot_db_instance<'life0, 'async_trait>(
&'life0 self,
input: RebootDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<RebootDBInstanceResult, RusotoError<RebootDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn reboot_db_instance<'life0, 'async_trait>(
&'life0 self,
input: RebootDBInstanceMessage
) -> Pin<Box<dyn Future<Output = Result<RebootDBInstanceResult, RusotoError<RebootDBInstanceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
You might need to reboot your instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the cluster parameter group that is associated with the instance, you must reboot the instance for the changes to take effect.
Rebooting an instance restarts the database engine service. Rebooting an instance results in a momentary outage, during which the instance status is set to rebooting.
sourcefn remove_from_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: RemoveFromGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<RemoveFromGlobalClusterResult, RusotoError<RemoveFromGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_from_global_cluster<'life0, 'async_trait>(
&'life0 self,
input: RemoveFromGlobalClusterMessage
) -> Pin<Box<dyn Future<Output = Result<RemoveFromGlobalClusterResult, RusotoError<RemoveFromGlobalClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region.
This action only applies to Amazon DocumentDB clusters.
sourcefn remove_source_identifier_from_subscription<'life0, 'async_trait>(
&'life0 self,
input: RemoveSourceIdentifierFromSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<RemoveSourceIdentifierFromSubscriptionResult, RusotoError<RemoveSourceIdentifierFromSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_source_identifier_from_subscription<'life0, 'async_trait>(
&'life0 self,
input: RemoveSourceIdentifierFromSubscriptionMessage
) -> Pin<Box<dyn Future<Output = Result<RemoveSourceIdentifierFromSubscriptionResult, RusotoError<RemoveSourceIdentifierFromSubscriptionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes a source identifier from an existing Amazon DocumentDB event notification subscription.
Removes metadata tags from an Amazon DocumentDB resource.
sourcefn reset_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: ResetDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupNameMessage, RusotoError<ResetDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn reset_db_cluster_parameter_group<'life0, 'async_trait>(
&'life0 self,
input: ResetDBClusterParameterGroupMessage
) -> Pin<Box<dyn Future<Output = Result<DBClusterParameterGroupNameMessage, RusotoError<ResetDBClusterParameterGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Modifies the parameters of a cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName
and ApplyMethod
. To reset the entire cluster parameter group, specify the DBClusterParameterGroupName
and ResetAllParameters
parameters.
When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot
to take effect on the next DB instance reboot.
sourcefn restore_db_cluster_from_snapshot<'life0, 'async_trait>(
&'life0 self,
input: RestoreDBClusterFromSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<RestoreDBClusterFromSnapshotResult, RusotoError<RestoreDBClusterFromSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn restore_db_cluster_from_snapshot<'life0, 'async_trait>(
&'life0 self,
input: RestoreDBClusterFromSnapshotMessage
) -> Pin<Box<dyn Future<Output = Result<RestoreDBClusterFromSnapshotResult, RusotoError<RestoreDBClusterFromSnapshotError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new cluster from a snapshot or cluster snapshot.
If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group.
If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group.
sourcefn restore_db_cluster_to_point_in_time<'life0, 'async_trait>(
&'life0 self,
input: RestoreDBClusterToPointInTimeMessage
) -> Pin<Box<dyn Future<Output = Result<RestoreDBClusterToPointInTimeResult, RusotoError<RestoreDBClusterToPointInTimeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn restore_db_cluster_to_point_in_time<'life0, 'async_trait>(
&'life0 self,
input: RestoreDBClusterToPointInTimeMessage
) -> Pin<Box<dyn Future<Output = Result<RestoreDBClusterToPointInTimeResult, RusotoError<RestoreDBClusterToPointInTimeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Restores a cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime
for up to BackupRetentionPeriod
days. The target cluster is created from the source cluster with the same configuration as the original cluster, except that the new cluster is created with the default security group.
sourcefn start_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: StartDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<StartDBClusterResult, RusotoError<StartDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: StartDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<StartDBClusterResult, RusotoError<StartDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Restarts the stopped cluster that is specified by DBClusterIdentifier
. For more information, see Stopping and Starting an Amazon DocumentDB Cluster.
sourcefn stop_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: StopDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<StopDBClusterResult, RusotoError<StopDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn stop_db_cluster<'life0, 'async_trait>(
&'life0 self,
input: StopDBClusterMessage
) -> Pin<Box<dyn Future<Output = Result<StopDBClusterResult, RusotoError<StopDBClusterError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Stops the running cluster that is specified by DBClusterIdentifier
. The cluster must be in the available state. For more information, see Stopping and Starting an Amazon DocumentDB Cluster.
Auto Trait Implementations
impl !RefUnwindSafe for DocdbClient
impl Send for DocdbClient
impl Sync for DocdbClient
impl Unpin for DocdbClient
impl !UnwindSafe for DocdbClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more