delete_key_group¶
Operation¶
delete_key_group
async
¶
delete_key_group(request: DeleteKeyGroupInput | DeleteKeyGroupInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteKeyGroupOutput
delete_key_group(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteKeyGroupInputDict]) -> DeleteKeyGroupOutput
Deletes a key group.
You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.
To delete a key group, you must provide the key group's identifier and
version. To get these values, use ListKeyGroups followed by
GetKeyGroup or GetKeyGroupConfig.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
DeleteKeyGroupOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DeleteKeyGroupInput
dataclass
¶
Dictionaries¶
DeleteKeyGroupInputDict
¶
Output¶
DeleteKeyGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteKeyGroupOutput structure.