delete_key_group¶
Operation¶
delete_key_group
async
¶
delete_key_group(input: DeleteKeyGroupInput, plugins: list[Plugin] | None = None) -> 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 |
|---|---|---|---|
input
|
DeleteKeyGroupInput
|
An instance of |
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 |
|---|---|
DeleteKeyGroupOutput
|
An instance of |
Input¶
DeleteKeyGroupInput
dataclass
¶
Output¶
DeleteKeyGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteKeyGroupOutput structure.