PrivateCAConnectorforSCEP / Client / list_challenge_metadata

list_challenge_metadata#

PrivateCAConnectorforSCEP.Client.list_challenge_metadata(**kwargs)#

Retrieves the challenge metadata for the specified ARN.

See also: AWS API Documentation

Request Syntax

response = client.list_challenge_metadata(
    MaxResults=123,
    NextToken='string',
    ConnectorArn='string'
)
Parameters:
  • MaxResults (integer) – 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.

  • 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.

  • ConnectorArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the connector.

Return type:

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

  • PrivateCAConnectorforSCEP.Client.exceptions.ResourceNotFoundException

  • PrivateCAConnectorforSCEP.Client.exceptions.InternalServerException

  • PrivateCAConnectorforSCEP.Client.exceptions.ValidationException

  • PrivateCAConnectorforSCEP.Client.exceptions.ThrottlingException

  • PrivateCAConnectorforSCEP.Client.exceptions.AccessDeniedException