Skip to content

IAM  >  Operations  >  remove_user_from_group

remove_user_from_group

Operation

remove_user_from_group async

remove_user_from_group(input: RemoveUserFromGroupInput, plugins: list[Plugin] | None = None) -> RemoveUserFromGroupOutput

Removes the specified user from the specified group.

Parameters:

Name Type Description Default
input RemoveUserFromGroupInput

An instance of RemoveUserFromGroupInput.

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
RemoveUserFromGroupOutput

An instance of RemoveUserFromGroupOutput.

Input

RemoveUserFromGroupInput dataclass

Bases: _SerdeShape

Dataclass for RemoveUserFromGroupInput structure.

Attributes

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

The name of the group to update.

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: _+=,.@-

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

The name of the user to remove.

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

RemoveUserFromGroupOutput dataclass

Bases: _SerdeShape

Dataclass for RemoveUserFromGroupOutput structure.

Attributes

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.