Skip to content

CloudFront  >  Operations  >  get_origin_access_control_config

get_origin_access_control_config

Operation

get_origin_access_control_config async

get_origin_access_control_config(input: GetOriginAccessControlConfigInput, plugins: list[Plugin] | None = None) -> GetOriginAccessControlConfigOutput

Gets a CloudFront origin access control configuration.

Parameters:

Name Type Description Default
input GetOriginAccessControlConfigInput

An instance of GetOriginAccessControlConfigInput.

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
GetOriginAccessControlConfigOutput

An instance of GetOriginAccessControlConfigOutput.

Input

GetOriginAccessControlConfigInput dataclass

Bases: _SerdeShape

Dataclass for GetOriginAccessControlConfigInput structure.

Attributes

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

The unique identifier of the origin access control.

Output

GetOriginAccessControlConfigOutput dataclass

Bases: _SerdeShape

Dataclass for GetOriginAccessControlConfigOutput structure.

Attributes

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

The version identifier for the current version of the origin access control.

origin_access_control_config class-attribute instance-attribute
origin_access_control_config: OriginAccessControlConfig | None = ...

Contains an origin access control 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.