Skip to content

CloudFront  >  Operations  >  get_origin_access_control

get_origin_access_control

Operation

get_origin_access_control async

get_origin_access_control(request: GetOriginAccessControlInput | GetOriginAccessControlInputDict, /, *, plugins: list[Plugin] | None = None) -> GetOriginAccessControlOutput
get_origin_access_control(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetOriginAccessControlInputDict]) -> GetOriginAccessControlOutput

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

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
GetOriginAccessControlOutput

An instance of GetOriginAccessControlOutput.

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

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.

Dictionaries

GetOriginAccessControlInputDict

Bases: TypedDict

Dictionary form of GetOriginAccessControlInput.

Attributes
id instance-attribute

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.