Skip to content

CloudFront  >  Operations  >  get_realtime_log_config

get_realtime_log_config

Operation

get_realtime_log_config async

get_realtime_log_config(input: GetRealtimeLogConfigInput, plugins: list[Plugin] | None = None) -> GetRealtimeLogConfigOutput

Gets a real-time log configuration.

To get 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 get.

Parameters:

Name Type Description Default
input GetRealtimeLogConfigInput

An instance of GetRealtimeLogConfigInput.

required
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
GetRealtimeLogConfigOutput

An instance of GetRealtimeLogConfigOutput.

Input

GetRealtimeLogConfigInput dataclass

Bases: _SerdeShape

Dataclass for GetRealtimeLogConfigInput structure.

Attributes

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

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

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

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

Output

GetRealtimeLogConfigOutput dataclass

Bases: _SerdeShape

Dataclass for GetRealtimeLogConfigOutput structure.

Attributes

realtime_log_config class-attribute instance-attribute
realtime_log_config: RealtimeLogConfig | None = ...

A real-time log configuration.

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.