class Aws::TranscribeService::Types::CreateCallAnalyticsCategoryRequest

@note When making an API call, you may pass CreateCallAnalyticsCategoryRequest

data as a hash:

    {
      category_name: "CategoryName", # required
      rules: [ # required
        {
          non_talk_time_filter: {
            threshold: 1,
            absolute_time_range: {
              start_time: 1,
              end_time: 1,
              first: 1,
              last: 1,
            },
            relative_time_range: {
              start_percentage: 1,
              end_percentage: 1,
              first: 1,
              last: 1,
            },
            negate: false,
          },
          interruption_filter: {
            threshold: 1,
            participant_role: "AGENT", # accepts AGENT, CUSTOMER
            absolute_time_range: {
              start_time: 1,
              end_time: 1,
              first: 1,
              last: 1,
            },
            relative_time_range: {
              start_percentage: 1,
              end_percentage: 1,
              first: 1,
              last: 1,
            },
            negate: false,
          },
          transcript_filter: {
            transcript_filter_type: "EXACT", # required, accepts EXACT
            absolute_time_range: {
              start_time: 1,
              end_time: 1,
              first: 1,
              last: 1,
            },
            relative_time_range: {
              start_percentage: 1,
              end_percentage: 1,
              first: 1,
              last: 1,
            },
            participant_role: "AGENT", # accepts AGENT, CUSTOMER
            negate: false,
            targets: ["NonEmptyString"], # required
          },
          sentiment_filter: {
            sentiments: ["POSITIVE"], # required, accepts POSITIVE, NEGATIVE, NEUTRAL, MIXED
            absolute_time_range: {
              start_time: 1,
              end_time: 1,
              first: 1,
              last: 1,
            },
            relative_time_range: {
              start_percentage: 1,
              end_percentage: 1,
              first: 1,
              last: 1,
            },
            participant_role: "AGENT", # accepts AGENT, CUSTOMER
            negate: false,
          },
        },
      ],
    }

@!attribute [rw] category_name

The name that you choose for your category when you create it.
@return [String]

@!attribute [rw] rules

To create a category, you must specify between 1 and 20 rules. For
each rule, you specify a filter to be applied to the attributes of
the call. For example, you can specify a sentiment filter to detect
if the customer's sentiment was negative or neutral.
@return [Array<Types::Rule>]

@see docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategoryRequest AWS API Documentation

Constants

SENSITIVE