:doc:`PrivateCAConnectorforSCEP <../../pca-connector-scep>` / Client / list_challenge_metadata

***********************
list_challenge_metadata
***********************



.. py:method:: PrivateCAConnectorforSCEP.Client.list_challenge_metadata(**kwargs)

  

  Retrieves the challenge metadata for the specified ARN.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pca-connector-scep-2018-05-10/ListChallengeMetadata>`_  


  **Request Syntax**
  ::

    response = client.list_challenge_metadata(
        MaxResults=123,
        NextToken='string',
        ConnectorArn='string'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of objects that you want Connector for SCEP to return for this request. If more objects are available, in the response, Connector for SCEP provides a ``NextToken`` value that you can use in a subsequent call to get the next batch of objects.

    

  
  :type NextToken: string
  :param NextToken: 

    When you request a list of objects with a ``MaxResults`` setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Connector for SCEP returns a ``NextToken`` value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

    

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

    The Amazon Resource Name (ARN) of the connector.

    

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

    
    ::

      {
          'Challenges': [
              {
                  'Arn': 'string',
                  'ConnectorArn': 'string',
                  'CreatedAt': datetime(2015, 1, 1),
                  'UpdatedAt': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Challenges** *(list) --* 

        The challenge metadata for the challenges belonging to your Amazon Web Services account.

        
        

        - *(dict) --* 

          Details about the specified challenge, returned by the `GetChallengeMetadata <https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_GetChallengeMetadata.html>`__ action.

          
          

          - **Arn** *(string) --* 

            The Amazon Resource Name (ARN) of the challenge.

            
          

          - **ConnectorArn** *(string) --* 

            The Amazon Resource Name (ARN) of the connector.

            
          

          - **CreatedAt** *(datetime) --* 

            The date and time that the challenge was created.

            
          

          - **UpdatedAt** *(datetime) --* 

            The date and time that the challenge was updated.

            
      
    
      

      - **NextToken** *(string) --* 

        When you request a list of objects with a ``MaxResults`` setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Connector for SCEP returns a ``NextToken`` value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

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

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

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

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

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

  