:doc:`Chime <../../chime>` / Client / create_account

**************
create_account
**************



.. py:method:: 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 <https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html>`__ in the *Amazon Chime Administration Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount>`_  


  **Request Syntax**
  ::

    response = client.create_account(
        Name='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the Amazon Chime account.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          '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**

    

    - *(dict) --* 
      

      - **Account** *(dict) --* 

        The Amazon Chime account details.

        
        

        - **AwsAccountId** *(string) --* 

          The AWS account ID.

          
        

        - **AccountId** *(string) --* 

          The Amazon Chime account ID.

          
        

        - **Name** *(string) --* 

          The Amazon Chime account name.

          
        

        - **AccountType** *(string) --* 

          The Amazon Chime account type. For more information about different account types, see `Managing Your Amazon Chime Accounts <https://docs.aws.amazon.com/chime/latest/ag/manage-chime-account.html>`__ in the *Amazon Chime Administration Guide*.

          
        

        - **CreatedTimestamp** *(datetime) --* 

          The Amazon Chime account creation timestamp, in ISO 8601 format.

          
        

        - **DefaultLicense** *(string) --* 

          The default license for the Amazon Chime account.

          
        

        - **SupportedLicenses** *(list) --* 

          Supported licenses for the Amazon Chime account.

          
          

          - *(string) --* 
      
        

        - **AccountStatus** *(string) --* 

          The status of the account.

          
        

        - **SigninDelegateGroups** *(list) --* 

          The sign-in delegate groups associated with the account.

          
          

          - *(dict) --* 

            An Active Directory (AD) group whose members are granted permission to act as delegates.

            
            

            - **GroupName** *(string) --* 

              The group name.

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  