Skip to content

update_origin_access_control

Operation

update_origin_access_control

update_origin_access_control(request: UpdateOriginAccessControlInput | UpdateOriginAccessControlInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateOriginAccessControlInputDict]) -> UpdateOriginAccessControlOutput

Updates a CloudFront origin access control.

Parameters:

Name Type Description Default
request UpdateOriginAccessControlInput | UpdateOriginAccessControlInputDict | 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[UpdateOriginAccessControlInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateOriginAccessControlOutput

An instance of UpdateOriginAccessControlOutput.

update_origin_access_control async

update_origin_access_control(request: UpdateOriginAccessControlInput | UpdateOriginAccessControlInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateOriginAccessControlInputDict]) -> UpdateOriginAccessControlOutput

Updates a CloudFront origin access control.

Parameters:

Name Type Description Default
request UpdateOriginAccessControlInput | UpdateOriginAccessControlInputDict | 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[UpdateOriginAccessControlInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateOriginAccessControlOutput

An instance of UpdateOriginAccessControlOutput.

Input

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

UpdateOriginAccessControlInputDict

Bases: TypedDict

Dictionary form of UpdateOriginAccessControlInput.

Attributes

id instance-attribute

The unique identifier of the origin access control that you are updating.

if_match instance-attribute
if_match: str | None

The current version (ETag value) of the origin access control that you are updating.

origin_access_control_config instance-attribute

An origin access control.

UpdateOriginAccessControlInput dataclass

Bases: _SerdeShape

Dataclass for UpdateOriginAccessControlInput structure.

Attributes

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

The unique identifier of the origin access control that you are updating.

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

The current version (ETag value) of the origin access control that you are updating.

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

An origin access control.

Output

UpdateOriginAccessControlOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateOriginAccessControlOutput structure.

Attributes

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

The new version of the origin access control after it has been updated.

origin_access_control class-attribute instance-attribute
origin_access_control: OriginAccessControl | None = ...

The origin access control after it has been updated.

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.