Chime / Client / create_user
create_user#
- Chime.Client.create_user(**kwargs)#
- Creates a user under the specified Amazon Chime account. - See also: AWS API Documentation - Request Syntax- response = client.create_user( AccountId='string', Username='string', Email='string', UserType='PrivateUser'|'SharedDevice' ) - Parameters:
- AccountId (string) – - [REQUIRED] - The Amazon Chime account ID. 
- Username (string) – The user name. 
- Email (string) – The user’s email address. 
- UserType (string) – The user type. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'User': { 'UserId': 'string', 'AccountId': 'string', 'PrimaryEmail': 'string', 'PrimaryProvisionedNumber': 'string', 'DisplayName': 'string', 'LicenseType': 'Basic'|'Plus'|'Pro'|'ProTrial', 'UserType': 'PrivateUser'|'SharedDevice', 'UserRegistrationStatus': 'Unregistered'|'Registered'|'Suspended', 'UserInvitationStatus': 'Pending'|'Accepted'|'Failed', 'RegisteredOn': datetime(2015, 1, 1), 'InvitedOn': datetime(2015, 1, 1), 'AlexaForBusinessMetadata': { 'IsAlexaForBusinessEnabled': True|False, 'AlexaForBusinessRoomArn': 'string' }, 'PersonalPIN': 'string' } } - Response Structure- (dict) – - User (dict) – - The user on the Amazon Chime account. - UserId (string) – - The user ID. 
- AccountId (string) – - The Amazon Chime account ID. 
- PrimaryEmail (string) – - The primary email address of the user. 
- PrimaryProvisionedNumber (string) – - The primary phone number associated with the user. 
- DisplayName (string) – - The display name of the user. 
- LicenseType (string) – - The license type for the user. 
- UserType (string) – - The user type. 
- UserRegistrationStatus (string) – - The user registration status. 
- UserInvitationStatus (string) – - The user invite status. 
- RegisteredOn (datetime) – - Date and time when the user is registered, in ISO 8601 format. 
- InvitedOn (datetime) – - Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format. 
- AlexaForBusinessMetadata (dict) – - The Alexa for Business metadata. - IsAlexaForBusinessEnabled (boolean) – - Starts or stops Alexa for Business. 
- AlexaForBusinessRoomArn (string) – - The ARN of the room resource. 
 
- PersonalPIN (string) – - The user’s personal meeting PIN. 
 
 
 
 - Exceptions- Chime.Client.exceptions.UnauthorizedClientException
- Chime.Client.exceptions.NotFoundException
- Chime.Client.exceptions.ConflictException
- Chime.Client.exceptions.ForbiddenException
- Chime.Client.exceptions.BadRequestException
- Chime.Client.exceptions.ThrottledClientException
- Chime.Client.exceptions.ServiceUnavailableException
- Chime.Client.exceptions.ServiceFailureException