Skip to content

get_origin_access_control

Operation

get_origin_access_control

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

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

Parameters:

Name Type Description Default
request GetOriginAccessControlInput | GetOriginAccessControlInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetOriginAccessControlInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetOriginAccessControlOutput

An instance of GetOriginAccessControlOutput.

get_origin_access_control async

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

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

Parameters:

Name Type Description Default
request GetOriginAccessControlInput | GetOriginAccessControlInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetOriginAccessControlInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetOriginAccessControlOutput

An instance of GetOriginAccessControlOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetOriginAccessControlInputDict

Bases: TypedDict

Dictionary form of GetOriginAccessControlInput.

Attributes

id instance-attribute

The unique identifier of the origin access control.

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.