list_invalidations¶
Operation¶
list_invalidations
¶
list_invalidations(request: ListInvalidationsInput | ListInvalidationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListInvalidationsInputDict]) -> ListInvalidationsOutput
Lists invalidation batches.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListInvalidationsInput | ListInvalidationsInputDict | 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[ListInvalidationsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListInvalidationsOutput
|
An instance of |
list_invalidations
async
¶
list_invalidations(request: ListInvalidationsInput | ListInvalidationsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListInvalidationsInputDict]) -> ListInvalidationsOutput
Lists invalidation batches.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListInvalidationsInput | ListInvalidationsInputDict | 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[ListInvalidationsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListInvalidationsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListInvalidationsInputDict
¶
Bases: TypedDict
Dictionary form of ListInvalidationsInput.
Attributes¶
marker
instance-attribute
¶
marker: str | None
Use this parameter when paginating results to indicate where to begin in
your list of invalidation batches. Because the results are returned in
decreasing order from most recent to oldest, the most recent results are
on the first page, the second page will contain earlier results, and so
on. To get the next page of results, set Marker to the value of the
NextMarker from the current page's response. This value is the same
as the ID of the last invalidation batch on that page.
ListInvalidationsInput
dataclass
¶
Bases: _SerdeShape
The request to list invalidations.
Attributes¶
distribution_id
class-attribute
instance-attribute
¶
distribution_id: str | None = ...
The distribution's ID.
marker
class-attribute
instance-attribute
¶
marker: str | None = ...
Use this parameter when paginating results to indicate where to begin in
your list of invalidation batches. Because the results are returned in
decreasing order from most recent to oldest, the most recent results are
on the first page, the second page will contain earlier results, and so
on. To get the next page of results, set Marker to the value of the
NextMarker from the current page's response. This value is the same
as the ID of the last invalidation batch on that page.
Output¶
ListInvalidationsOutput
dataclass
¶
Bases: _SerdeShape
The returned result of the corresponding request.
Attributes¶
invalidation_list
class-attribute
instance-attribute
¶
invalidation_list: InvalidationList | None = ...
Information about invalidation batches.
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.