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

**********************
get_challenge_metadata
**********************



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

  

  Retrieves the metadata for the specified `Challenge <https://docs.aws.amazon.com/C4SCEP_API/pca-connector-scep/latest/APIReference/API_Challenge.html>`__.

  

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


  **Request Syntax**
  ::

    response = client.get_challenge_metadata(
        ChallengeArn='string'
    )
    
  :type ChallengeArn: string
  :param ChallengeArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the challenge.

    

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

    
    ::

      {
          'ChallengeMetadata': {
              'Arn': 'string',
              'ConnectorArn': 'string',
              'CreatedAt': datetime(2015, 1, 1),
              'UpdatedAt': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ChallengeMetadata** *(dict) --* 

        The metadata for the challenge.

        
        

        - **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 connector was created.

          
        

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

          The date and time that the connector was updated.

          
    
  
  **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`

  