create_account_alias¶
Operation¶
create_account_alias
async
¶
create_account_alias(request: CreateAccountAliasInput | CreateAccountAliasInputDict, /, *, plugins: list[Plugin] | None = None) -> CreateAccountAliasOutput
create_account_alias(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateAccountAliasInputDict]) -> CreateAccountAliasOutput
Creates an alias for your Amazon Web Services account. 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 |
|---|---|---|---|
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 |
|---|---|
CreateAccountAliasOutput
|
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¶
CreateAccountAliasInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateAccountAliasInput structure.
Attributes¶
account_alias
class-attribute
instance-attribute
¶
account_alias: str | None = ...
The account alias to create.
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.
Dictionaries¶
CreateAccountAliasInputDict
¶
Bases: TypedDict
Dictionary form of CreateAccountAliasInput.
Attributes¶
account_alias
instance-attribute
¶
The account alias to create.
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¶
CreateAccountAliasOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateAccountAliasOutput structure.