delete_group¶
Operation¶
delete_group
async
¶
delete_group(input: DeleteGroupInput, plugins: list[Plugin] | None = None) -> DeleteGroupOutput
Deletes the specified IAM group. The group must not contain any users or have any attached policies.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteGroupInput
|
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 |
|---|---|
DeleteGroupOutput
|
An instance of |
Input¶
DeleteGroupInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteGroupInput structure.
Attributes¶
group_name
class-attribute
instance-attribute
¶
group_name: str | None = ...
The name of the IAM group to delete.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Output¶
DeleteGroupOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteGroupOutput structure.