Skip to content

CloudFront  >  Operations  >  get_origin_access_control

get_origin_access_control

Operation

get_origin_access_control async

get_origin_access_control(input: GetOriginAccessControlInput, plugins: list[Plugin] | None = None) -> GetOriginAccessControlOutput

Gets a CloudFront origin access control, including its unique identifier.

Parameters:

Name Type Description Default
input GetOriginAccessControlInput

An instance of GetOriginAccessControlInput.

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
GetOriginAccessControlOutput

An instance of GetOriginAccessControlOutput.

Input

GetOriginAccessControlInput dataclass

Bases: _SerdeShape

Dataclass for GetOriginAccessControlInput structure.

Attributes

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

The unique identifier of the origin access control.

Output

GetOriginAccessControlOutput dataclass

Bases: _SerdeShape

Dataclass for GetOriginAccessControlOutput 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 class-attribute instance-attribute
origin_access_control: OriginAccessControl | None = ...

Contains an origin access control, including its unique identifier.

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.