Skip to content

IAM  >  Operations  >  delete_account_alias

delete_account_alias

Operation

delete_account_alias async

delete_account_alias(input: DeleteAccountAliasInput, plugins: list[Plugin] | None = None) -> DeleteAccountAliasOutput

Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.

Parameters:

Name Type Description Default
input DeleteAccountAliasInput

An instance of DeleteAccountAliasInput.

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
DeleteAccountAliasOutput

An instance of DeleteAccountAliasOutput.

Input

DeleteAccountAliasInput dataclass

Bases: _SerdeShape

Dataclass for DeleteAccountAliasInput structure.

Attributes

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

The name of the account alias to delete.

This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.

Output

DeleteAccountAliasOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteAccountAliasOutput 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.