Struct aws_sdk_cloudfront::client::fluent_builders::DeleteRealtimeLogConfig [−][src]
pub struct DeleteRealtimeLogConfig<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteRealtimeLogConfig
.
Deletes a real-time log configuration.
You cannot delete a real-time log configuration if it’s attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.
To delete a real-time log configuration, you can provide the configuration’s name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.
Implementations
impl<C, M, R> DeleteRealtimeLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteRealtimeLogConfig<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteRealtimeLogConfigOutput, SdkError<DeleteRealtimeLogConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteRealtimeLogConfigInputOperationOutputAlias, DeleteRealtimeLogConfigOutput, DeleteRealtimeLogConfigError, DeleteRealtimeLogConfigInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteRealtimeLogConfigOutput, SdkError<DeleteRealtimeLogConfigError>> where
R::Policy: SmithyRetryPolicy<DeleteRealtimeLogConfigInputOperationOutputAlias, DeleteRealtimeLogConfigOutput, DeleteRealtimeLogConfigError, DeleteRealtimeLogConfigInputOperationRetryAlias>,
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 name of the real-time log configuration to delete.
The name of the real-time log configuration to delete.
The Amazon Resource Name (ARN) of the real-time log configuration to delete.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteRealtimeLogConfig<C, M, R>
impl<C, M, R> Send for DeleteRealtimeLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteRealtimeLogConfig<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteRealtimeLogConfig<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteRealtimeLogConfig<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