:doc:`rePostPrivate <../../repostspace>` / Client / create_channel

**************
create_channel
**************



.. py:method:: rePostPrivate.Client.create_channel(**kwargs)

  

  Creates a channel in an AWS re:Post Private private re:Post.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/repostspace-2022-05-13/CreateChannel>`_  


  **Request Syntax**
  ::

    response = client.create_channel(
        spaceId='string',
        channelName='string',
        channelDescription='string'
    )
    
  :type spaceId: string
  :param spaceId: **[REQUIRED]** 

    The unique ID of the private re:Post.

    

  
  :type channelName: string
  :param channelName: **[REQUIRED]** 

    The name for the channel. This must be unique per private re:Post.

    

  
  :type channelDescription: string
  :param channelDescription: 

    A description for the channel. This is used only to help you identify this channel.

    

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

    
    ::

      {
          'channelId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **channelId** *(string) --* 

        The unique ID of the private re:Post channel.

        
  
  **Exceptions**
  
  *   :py:class:`rePostPrivate.Client.exceptions.ServiceQuotaExceededException`

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

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

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

  
  *   :py:class:`rePostPrivate.Client.exceptions.ResourceNotFoundException`

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

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

  