Skip to content

CloudFront  >  Operations  >  get_realtime_log_config

get_realtime_log_config

Operation

get_realtime_log_config async

get_realtime_log_config(request: GetRealtimeLogConfigInput | GetRealtimeLogConfigInputDict, /, *, plugins: list[Plugin] | None = None) -> GetRealtimeLogConfigOutput
get_realtime_log_config(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetRealtimeLogConfigInputDict]) -> 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
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

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

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.

Dictionaries

GetRealtimeLogConfigInputDict

Bases: TypedDict

Dictionary form of GetRealtimeLogConfigInput.

Attributes
arn instance-attribute
arn: str | None

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

name 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.