Struct aws_sdk_kafka::client::fluent_builders::UpdateMonitoring
source · [−]pub struct UpdateMonitoring<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateMonitoring
.
Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.
Implementations
impl<C, M, R> UpdateMonitoring<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateMonitoring<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateMonitoringOutput, SdkError<UpdateMonitoringError>> where
R::Policy: SmithyRetryPolicy<UpdateMonitoringInputOperationOutputAlias, UpdateMonitoringOutput, UpdateMonitoringError, UpdateMonitoringInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateMonitoringOutput, SdkError<UpdateMonitoringError>> where
R::Policy: SmithyRetryPolicy<UpdateMonitoringInputOperationOutputAlias, UpdateMonitoringOutput, UpdateMonitoringError, UpdateMonitoringInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
The settings for open monitoring.
The settings for open monitoring.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateMonitoring<C, M, R>
impl<C, M, R> Send for UpdateMonitoring<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateMonitoring<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateMonitoring<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateMonitoring<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