

# AssignContactCategoryActionDefinition
<a name="API_AssignContactCategoryActionDefinition"></a>

This action must be set if `TriggerEventSource` is one of the following values: `OnPostCallAnalysisAvailable` \| `OnRealTimeCallAnalysisAvailable` \| `OnRealTimeChatAnalysisAvailable` \| `OnPostChatAnalysisAvailable`. Contact is categorized using the rule name.

 `RuleName` is used as `ContactCategory`.

## Contents
<a name="API_AssignContactCategoryActionDefinition_Contents"></a>

The members of this exception structure are context-dependent.

## See Also
<a name="API_AssignContactCategoryActionDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/connect-2017-08-08/AssignContactCategoryActionDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/connect-2017-08-08/AssignContactCategoryActionDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/connect-2017-08-08/AssignContactCategoryActionDefinition) 