2024/06/27 - Amazon Q Connect - 4 new api methods
Changes Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs.
Returns 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
client.get_content_association( contentAssociationId='string', contentId='string', knowledgeBaseId='string' )
string
[REQUIRED]
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
string
[REQUIRED]
The identifier of the content.
string
[REQUIRED]
The identifier of the knowledge base.
dict
Response Syntax
{ 'contentAssociation': { 'associationData': { 'amazonConnectGuideAssociation': { 'flowId': 'string' } }, 'associationType': 'AMAZON_CONNECT_GUIDE', 'contentArn': 'string', 'contentAssociationArn': 'string', 'contentAssociationId': 'string', 'contentId': 'string', 'knowledgeBaseArn': 'string', 'knowledgeBaseId': 'string', 'tags': { 'string': 'string' } } }
Response Structure
(dict) --
contentAssociation (dict) --
The association between Amazon Q in Connect content and another resource.
associationData (dict) --
The content association.
amazonConnectGuideAssociation (dict) --
The data of the step-by-step guide association.
flowId (string) --
The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.
associationType (string) --
The type of association.
contentArn (string) --
The Amazon Resource Name (ARN) of the content.
contentAssociationArn (string) --
The Amazon Resource Name (ARN) of the content association.
contentAssociationId (string) --
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId (string) --
The identifier of the content.
knowledgeBaseArn (string) --
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseId (string) --
The identifier of the knowledge base.
tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
Lists the content associations.
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
client.list_content_associations( contentId='string', knowledgeBaseId='string', maxResults=123, nextToken='string' )
string
[REQUIRED]
The identifier of the content.
string
[REQUIRED]
The identifier of the knowledge base.
integer
The maximum number of results to return per page.
string
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
dict
Response Syntax
{ 'contentAssociationSummaries': [ { 'associationData': { 'amazonConnectGuideAssociation': { 'flowId': 'string' } }, 'associationType': 'AMAZON_CONNECT_GUIDE', 'contentArn': 'string', 'contentAssociationArn': 'string', 'contentAssociationId': 'string', 'contentId': 'string', 'knowledgeBaseArn': 'string', 'knowledgeBaseId': 'string', 'tags': { 'string': 'string' } }, ], 'nextToken': 'string' }
Response Structure
(dict) --
contentAssociationSummaries (list) --
Summary information about content associations.
(dict) --
Summary information about a content association.
associationData (dict) --
The content association.
amazonConnectGuideAssociation (dict) --
The data of the step-by-step guide association.
flowId (string) --
The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.
associationType (string) --
The type of association.
contentArn (string) --
The Amazon Resource Name (ARN) of the content.
contentAssociationArn (string) --
The Amazon Resource Name (ARN) of the content association.
contentAssociationId (string) --
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId (string) --
The identifier of the content.
knowledgeBaseArn (string) --
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseId (string) --
The identifier of the knowledge base.
tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
nextToken (string) --
If there are additional results, this is the token for the next set of results.
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
client.delete_content_association( contentAssociationId='string', contentId='string', knowledgeBaseId='string' )
string
[REQUIRED]
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
string
[REQUIRED]
The identifier of the content.
string
[REQUIRED]
The identifier of the knowledge base.
dict
Response Syntax
{}
Response Structure
(dict) --
Creates an association between a content resource in a knowledge base and step-by-step guides. Step-by-step guides offer instructions to agents for resolving common customer issues. You create a content association to integrate Amazon Q in Connect and step-by-step guides.
After you integrate Amazon Q and step-by-step guides, when Amazon Q provides a recommendation to an agent based on the intent that it's detected, it also provides them with the option to start the step-by-step guide that you have associated with the content.
Note the following limitations:
You can create only one content association for each content resource in a knowledge base.
You can associate a step-by-step guide with multiple content resources.
For more information, see Integrate Amazon Q in Connect with step-by-step guides in the Amazon Connect Administrator Guide.
See also: AWS API Documentation
Request Syntax
client.create_content_association( association={ 'amazonConnectGuideAssociation': { 'flowId': 'string' } }, associationType='AMAZON_CONNECT_GUIDE', clientToken='string', contentId='string', knowledgeBaseId='string', tags={ 'string': 'string' } )
dict
[REQUIRED]
The identifier of the associated resource.
amazonConnectGuideAssociation (dict) --
The data of the step-by-step guide association.
flowId (string) --
The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.
string
[REQUIRED]
The type of association.
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
This field is autopopulated if not provided.
string
[REQUIRED]
The identifier of the content.
string
[REQUIRED]
The identifier of the knowledge base.
dict
The tags used to organize, track, or control access for this resource.
(string) --
(string) --
dict
Response Syntax
{ 'contentAssociation': { 'associationData': { 'amazonConnectGuideAssociation': { 'flowId': 'string' } }, 'associationType': 'AMAZON_CONNECT_GUIDE', 'contentArn': 'string', 'contentAssociationArn': 'string', 'contentAssociationId': 'string', 'contentId': 'string', 'knowledgeBaseArn': 'string', 'knowledgeBaseId': 'string', 'tags': { 'string': 'string' } } }
Response Structure
(dict) --
contentAssociation (dict) --
The association between Amazon Q in Connect content and another resource.
associationData (dict) --
The content association.
amazonConnectGuideAssociation (dict) --
The data of the step-by-step guide association.
flowId (string) --
The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.
associationType (string) --
The type of association.
contentArn (string) --
The Amazon Resource Name (ARN) of the content.
contentAssociationArn (string) --
The Amazon Resource Name (ARN) of the content association.
contentAssociationId (string) --
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId (string) --
The identifier of the content.
knowledgeBaseArn (string) --
The Amazon Resource Name (ARN) of the knowledge base.
knowledgeBaseId (string) --
The identifier of the knowledge base.
tags (dict) --
The tags used to organize, track, or control access for this resource.
(string) --
(string) --