QConnect / Client / delete_content_association

delete_content_association#

QConnect.Client.delete_content_association(**kwargs)#

Deletes the content association.

For more information about content associations–what they are and when they are used–see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.

See also: AWS API Documentation

Request Syntax

response = client.delete_content_association(
    contentAssociationId='string',
    contentId='string',
    knowledgeBaseId='string'
)
Parameters:
  • contentAssociationId (string) –

    [REQUIRED]

    The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.

  • contentId (string) –

    [REQUIRED]

    The identifier of the content.

  • knowledgeBaseId (string) –

    [REQUIRED]

    The identifier of the knowledge base.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • QConnect.Client.exceptions.ValidationException

  • QConnect.Client.exceptions.AccessDeniedException

  • QConnect.Client.exceptions.ResourceNotFoundException