:doc:`CodeDeploy <../../codedeploy>` / Client / list_git_hub_account_token_names

********************************
list_git_hub_account_token_names
********************************



.. py:method:: CodeDeploy.Client.list_git_hub_account_token_names(**kwargs)

  

  Lists the names of stored connections to GitHub accounts.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames>`_  


  **Request Syntax**
  ::

    response = client.list_git_hub_account_token_names(
        nextToken='string'
    )
    
  :type nextToken: string
  :param nextToken: 

    An identifier returned from the previous ``ListGitHubAccountTokenNames`` call. It can be used to return the next set of names in the list.

    

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

    
    ::

      {
          'tokenNameList': [
              'string',
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``ListGitHubAccountTokenNames`` operation.

      
      

      - **tokenNameList** *(list) --* 

        A list of names of connections to GitHub accounts.

        
        

        - *(string) --* 
    
      

      - **nextToken** *(string) --* 

        If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent ``ListGitHubAccountTokenNames`` call to return the next set of names in the list.

        
  
  **Exceptions**
  
  *   :py:class:`CodeDeploy.Client.exceptions.InvalidNextTokenException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.ResourceValidationException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.OperationNotSupportedException`

  