pub struct DeleteRealtimeLogConfig { /* private fields */ }
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§
source§impl DeleteRealtimeLogConfig
impl DeleteRealtimeLogConfig
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteRealtimeLogConfig, AwsResponseRetryClassifier>, SdkError<DeleteRealtimeLogConfigError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeleteRealtimeLogConfig, AwsResponseRetryClassifier>, SdkError<DeleteRealtimeLogConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeleteRealtimeLogConfigOutput, SdkError<DeleteRealtimeLogConfigError>>
pub async fn send(
self
) -> Result<DeleteRealtimeLogConfigOutput, SdkError<DeleteRealtimeLogConfigError>>
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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the real-time log configuration to delete.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the real-time log configuration to delete.
Trait Implementations§
source§impl Clone for DeleteRealtimeLogConfig
impl Clone for DeleteRealtimeLogConfig
source§fn clone(&self) -> DeleteRealtimeLogConfig
fn clone(&self) -> DeleteRealtimeLogConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more