update_origin_access_control¶
Operation¶
update_origin_access_control
async
¶
update_origin_access_control(input: UpdateOriginAccessControlInput, plugins: list[Plugin] | None = None) -> UpdateOriginAccessControlOutput
Updates a CloudFront origin access control.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateOriginAccessControlInput
|
An instance of |
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 |
|---|---|
UpdateOriginAccessControlOutput
|
An instance of |
Input¶
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
¶
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
¶
The origin access control after it has been updated.
response_metadata
class-attribute
instance-attribute
¶
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.