:doc:`IdentityStore <../../identitystore>` / Client / create_group

************
create_group
************



.. py:method:: IdentityStore.Client.create_group(**kwargs)

  

  Creates a group within the specified identity store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/CreateGroup>`_  


  **Request Syntax**
  ::

    response = client.create_group(
        IdentityStoreId='string',
        DisplayName='string',
        Description='string'
    )
    
  :type IdentityStoreId: string
  :param IdentityStoreId: **[REQUIRED]** 

    The globally unique identifier for the identity store.

    

  
  :type DisplayName: string
  :param DisplayName: 

    A string containing the name of the group. This value is commonly displayed when the group is referenced. ``Administrator`` and ``AWSAdministrators`` are reserved names and can't be used for users or groups.

    

  
  :type Description: string
  :param Description: 

    A string containing the description of the group.

    

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

    
    ::

      {
          'GroupId': 'string',
          'IdentityStoreId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GroupId** *(string) --* 

        The identifier of the newly created group in the identity store.

        
      

      - **IdentityStoreId** *(string) --* 

        The globally unique identifier for the identity store.

        
  
  **Exceptions**
  
  *   :py:class:`IdentityStore.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IdentityStore.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IdentityStore.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IdentityStore.Client.exceptions.ConflictException`

  
  *   :py:class:`IdentityStore.Client.exceptions.InternalServerException`

  
  *   :py:class:`IdentityStore.Client.exceptions.ValidationException`

  
  *   :py:class:`IdentityStore.Client.exceptions.ServiceQuotaExceededException`

  