Skip to content

CloudFront  >  Operations  >  get_invalidation

get_invalidation

Operation

get_invalidation async

get_invalidation(input: GetInvalidationInput, plugins: list[Plugin] | None = None) -> GetInvalidationOutput

Get the information about an invalidation.

Parameters:

Name Type Description Default
input GetInvalidationInput

An instance of GetInvalidationInput.

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
GetInvalidationOutput

An instance of GetInvalidationOutput.

Input

GetInvalidationInput dataclass

Bases: _SerdeShape

The request to get an invalidation's information.

Attributes

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

The distribution's ID.

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

The identifier for the invalidation request, for example, IDFDVBD632BHDS5.

Output

GetInvalidationOutput dataclass

Bases: _SerdeShape

The returned result of the corresponding request.

Attributes

invalidation class-attribute instance-attribute
invalidation: Invalidation | None = ...

The invalidation's information. For more information, see Invalidation Complex Type.

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.