Artifact / Client / get_compliance_inquiry_metadata

get_compliance_inquiry_metadata

Artifact.Client.get_compliance_inquiry_metadata(**kwargs)

Get the metadata for a single compliance inquiry.

See also: AWS API Documentation

Request Syntax

response = client.get_compliance_inquiry_metadata(
    complianceInquiryId='string'
)
Parameters:

complianceInquiryId (string) –

[REQUIRED]

Unique resource ID for the compliance inquiry.

Return type:

dict

Returns:

Response Syntax

{
    'complianceInquiryDetail': {
        'arn': 'string',
        'name': 'string',
        'id': 'string',
        'status': 'PROCESSING'|'HUMAN_REVIEW'|'COMPLETED'|'FAILED',
        'statusMessage': 'Compliance inquiry processing is complete.'|'Malware was detected on the file. Provide a new file and try again.'|'Compliance inquiry processing is in-progress.'|'An internal error occurred while processing the inquiry. Try again at a later time.'|'Human review is in progress.'|'Compliance inquiry processing is complete. One or more queries encountered errors during processing.',
        'inputSource': 'TEXT'|'FILE',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'supportMode': 'AI_ONLY'|'FULL_SUPPORT'
    },
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • complianceInquiryDetail (dict) –

      Detailed information about the compliance inquiry.

      • arn (string) –

        ARN of the compliance inquiry resource.

      • name (string) –

        Title of the inquiry.

      • id (string) –

        Unique resource ID for the compliance inquiry.

      • status (string) –

        Current processing status of the inquiry.

      • statusMessage (string) –

        Status message providing additional context.

      • inputSource (string) –

        Type of inquiry content (text or file).

      • createdAt (datetime) –

        Timestamp indicating when the resource was created.

      • updatedAt (datetime) –

        Timestamp indicating when the resource was last modified.

      • supportMode (string) –

        Support mode for this inquiry. AI_ONLY provides AI-generated responses. FULL_SUPPORT includes human expert review.

    • tags (dict) –

      Tags associated with the compliance inquiry resource.

      • (string) –

        A tag key.

        • (string) –

          A tag value.

Exceptions

  • Artifact.Client.exceptions.ResourceNotFoundException

  • Artifact.Client.exceptions.ThrottlingException

  • Artifact.Client.exceptions.AccessDeniedException

  • Artifact.Client.exceptions.InternalServerException

  • Artifact.Client.exceptions.ValidationException