Skip to content

CloudFront  >  Operations  >  delete_realtime_log_config

delete_realtime_log_config

Operation

delete_realtime_log_config async

delete_realtime_log_config(request: DeleteRealtimeLogConfigInput | DeleteRealtimeLogConfigInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteRealtimeLogConfigOutput
delete_realtime_log_config(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteRealtimeLogConfigInputDict]) -> DeleteRealtimeLogConfigOutput

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.

Parameters:

Name Type Description Default
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteRealtimeLogConfigOutput

An instance of DeleteRealtimeLogConfigOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteRealtimeLogConfigInput dataclass

Bases: _SerdeShape

Dataclass for DeleteRealtimeLogConfigInput structure.

Attributes
arn class-attribute instance-attribute
arn: str | None = ...

The Amazon Resource Name (ARN) of the real-time log configuration to delete.

name class-attribute instance-attribute
name: str | None = ...

The name of the real-time log configuration to delete.

Dictionaries

DeleteRealtimeLogConfigInputDict

Bases: TypedDict

Dictionary form of DeleteRealtimeLogConfigInput.

Attributes
arn instance-attribute
arn: str | None

The Amazon Resource Name (ARN) of the real-time log configuration to delete.

name instance-attribute
name: str | None

The name of the real-time log configuration to delete.

Output

DeleteRealtimeLogConfigOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteRealtimeLogConfigOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.