:doc:`CodeCommit <../../codecommit>` / Client / list_repositories_for_approval_rule_template

********************************************
list_repositories_for_approval_rule_template
********************************************



.. py:method:: CodeCommit.Client.list_repositories_for_approval_rule_template(**kwargs)

  

  Lists all repositories associated with the specified approval rule template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate>`_  


  **Request Syntax**
  ::

    response = client.list_repositories_for_approval_rule_template(
        approvalRuleTemplateName='string',
        nextToken='string',
        maxResults=123
    )
    
  :type approvalRuleTemplateName: string
  :param approvalRuleTemplateName: **[REQUIRED]** 

    The name of the approval rule template for which you want to list repositories that are associated with that template.

    

  
  :type nextToken: string
  :param nextToken: 

    An enumeration token that, when provided in a request, returns the next batch of the results.

    

  
  :type maxResults: integer
  :param maxResults: 

    A non-zero, non-negative integer used to limit the number of returned results.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **repositoryNames** *(list) --* 

        A list of repository names that are associated with the specified approval rule template.

        
        

        - *(string) --* 
    
      

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

        An enumeration token that allows the operation to batch the next results of the operation.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateNameRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateNameException`

  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateDoesNotExistException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidMaxResultsException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidContinuationTokenException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionIntegrityChecksFailedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyAccessDeniedException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyDisabledException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyNotFoundException`

  
  *   :py:class:`CodeCommit.Client.exceptions.EncryptionKeyUnavailableException`

  