Skip to content

CloudFront  >  Operations  >  update_cloud_front_origin_access_identity

update_cloud_front_origin_access_identity

Operation

update_cloud_front_origin_access_identity async

update_cloud_front_origin_access_identity(input: UpdateCloudFrontOriginAccessIdentityInput, plugins: list[Plugin] | None = None) -> UpdateCloudFrontOriginAccessIdentityOutput

Update an origin access identity.

Parameters:

Name Type Description Default
input UpdateCloudFrontOriginAccessIdentityInput

An instance of UpdateCloudFrontOriginAccessIdentityInput.

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
UpdateCloudFrontOriginAccessIdentityOutput

An instance of UpdateCloudFrontOriginAccessIdentityOutput.

Input

UpdateCloudFrontOriginAccessIdentityInput dataclass

Bases: _SerdeShape

The request to update an origin access identity.

Attributes

cloud_front_origin_access_identity_config class-attribute instance-attribute
cloud_front_origin_access_identity_config: CloudFrontOriginAccessIdentityConfig | None = ...

The identity's configuration information.

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

The identity's id.

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

The value of the ETag header that you received when retrieving the identity's configuration. For example: E2QWRUHAPOMQZL.

Output

UpdateCloudFrontOriginAccessIdentityOutput dataclass

Bases: _SerdeShape

The returned result of the corresponding request.

Attributes

cloud_front_origin_access_identity class-attribute instance-attribute
cloud_front_origin_access_identity: CloudFrontOriginAccessIdentity | None = ...

The origin access identity's information.

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

The current version of the configuration. For example: E2QWRUHAPOMQZL.

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.