Skip to content

create_invalidation_for_distribution_tenant

Operation

create_invalidation_for_distribution_tenant

Creates an invalidation for a distribution tenant. For more information, see Invalidating files in the Amazon CloudFront Developer Guide.

Parameters:

Name Type Description Default
request CreateInvalidationForDistributionTenantInput | CreateInvalidationForDistributionTenantInputDict | 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[CreateInvalidationForDistributionTenantInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateInvalidationForDistributionTenantOutput

An instance of CreateInvalidationForDistributionTenantOutput.

create_invalidation_for_distribution_tenant async

Creates an invalidation for a distribution tenant. For more information, see Invalidating files in the Amazon CloudFront Developer Guide.

Parameters:

Name Type Description Default
request CreateInvalidationForDistributionTenantInput | CreateInvalidationForDistributionTenantInputDict | 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[CreateInvalidationForDistributionTenantInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateInvalidationForDistributionTenantOutput

An instance of CreateInvalidationForDistributionTenantOutput.

Input

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

CreateInvalidationForDistributionTenantInputDict

Bases: TypedDict

Dictionary form of CreateInvalidationForDistributionTenantInput.

Attributes

id instance-attribute

The ID of the distribution tenant.

invalidation_batch instance-attribute

An invalidation batch.

CreateInvalidationForDistributionTenantInput dataclass

Bases: _SerdeShape

Dataclass for CreateInvalidationForDistributionTenantInput structure.

Attributes

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

The ID of the distribution tenant.

invalidation_batch class-attribute instance-attribute
invalidation_batch: InvalidationBatch | None = ...

An invalidation batch.

Output

CreateInvalidationForDistributionTenantOutput dataclass

Bases: _SerdeShape

Dataclass for CreateInvalidationForDistributionTenantOutput structure.

Attributes

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

An invalidation.

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

The location for the invalidation.

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.