libZSservicesZSamazonka-transcribeZSamazonka-transcribe
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transcribe.CreateCallAnalyticsCategory

Description

Creates an analytics category. Amazon Transcribe applies the conditions specified by your analytics categories to your call analytics jobs. For each analytics category, you specify one or more rules. For example, you can specify a rule that the customer sentiment was neutral or negative within that category. If you start a call analytics job, Amazon Transcribe applies the category to the analytics job that you've specified.

Synopsis

Creating a Request

data CreateCallAnalyticsCategory Source #

See: newCreateCallAnalyticsCategory smart constructor.

Constructors

CreateCallAnalyticsCategory' 

Fields

  • categoryName :: Text

    The name that you choose for your category when you create it.

  • rules :: NonEmpty Rule

    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.

Instances

Instances details
Eq CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Read CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Show CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Generic CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Associated Types

type Rep CreateCallAnalyticsCategory :: Type -> Type #

NFData CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Hashable CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

ToJSON CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

AWSRequest CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

ToHeaders CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

ToPath CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

ToQuery CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

type Rep CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

type Rep CreateCallAnalyticsCategory = D1 ('MetaData "CreateCallAnalyticsCategory" "Amazonka.Transcribe.CreateCallAnalyticsCategory" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "CreateCallAnalyticsCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Rule))))
type AWSResponse CreateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

newCreateCallAnalyticsCategory Source #

Create a value of CreateCallAnalyticsCategory with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:categoryName:CreateCallAnalyticsCategory', createCallAnalyticsCategory_categoryName - The name that you choose for your category when you create it.

$sel:rules:CreateCallAnalyticsCategory', createCallAnalyticsCategory_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.

Request Lenses

createCallAnalyticsCategory_categoryName :: Lens' CreateCallAnalyticsCategory Text Source #

The name that you choose for your category when you create it.

createCallAnalyticsCategory_rules :: Lens' CreateCallAnalyticsCategory (NonEmpty Rule) Source #

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.

Destructuring the Response

data CreateCallAnalyticsCategoryResponse Source #

Constructors

CreateCallAnalyticsCategoryResponse' 

Fields

Instances

Instances details
Eq CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Read CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Show CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

Generic CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

NFData CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

type Rep CreateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.CreateCallAnalyticsCategory

type Rep CreateCallAnalyticsCategoryResponse = D1 ('MetaData "CreateCallAnalyticsCategoryResponse" "Amazonka.Transcribe.CreateCallAnalyticsCategory" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "CreateCallAnalyticsCategoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categoryProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CategoryProperties)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateCallAnalyticsCategoryResponse Source #

Create a value of CreateCallAnalyticsCategoryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:categoryProperties:CreateCallAnalyticsCategoryResponse', createCallAnalyticsCategoryResponse_categoryProperties - The rules and associated metadata used to create a category.

$sel:httpStatus:CreateCallAnalyticsCategoryResponse', createCallAnalyticsCategoryResponse_httpStatus - The response's http status code.

Response Lenses