Chime.Client.
create_account
(**kwargs)¶Creates an Amazon Chime account under the administrator's AWS account. Only Team
account types are currently supported for this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide .
See also: AWS API Documentation
Request Syntax
response = client.create_account(
Name='string'
)
[REQUIRED]
The name of the Amazon Chime account.
{
'Account': {
'AwsAccountId': 'string',
'AccountId': 'string',
'Name': 'string',
'AccountType': 'Team'|'EnterpriseDirectory'|'EnterpriseLWA'|'EnterpriseOIDC',
'CreatedTimestamp': datetime(2015, 1, 1),
'DefaultLicense': 'Basic'|'Plus'|'Pro'|'ProTrial',
'SupportedLicenses': [
'Basic'|'Plus'|'Pro'|'ProTrial',
],
'AccountStatus': 'Suspended'|'Active',
'SigninDelegateGroups': [
{
'GroupName': 'string'
},
]
}
}
Response Structure
The Amazon Chime account details.
The AWS account ID.
The Amazon Chime account ID.
The Amazon Chime account name.
The Amazon Chime account type. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide .
The Amazon Chime account creation timestamp, in ISO 8601 format.
The default license for the Amazon Chime account.
Supported licenses for the Amazon Chime account.
The status of the account.
The sign-in delegate groups associated with the account.
An Active Directory (AD) group whose members are granted permission to act as delegates.
The group name.
Exceptions
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException