amazonka-transcribe-2.0: Amazon Transcribe Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transcribe.UpdateCallAnalyticsCategory

Description

Updates the specified Call Analytics category with new rules. Note that the UpdateCallAnalyticsCategory operation overwrites all existing rules contained in the specified category. You cannot append additional rules onto an existing category.

To create a new category, see .

Synopsis

Creating a Request

data UpdateCallAnalyticsCategory Source #

See: newUpdateCallAnalyticsCategory smart constructor.

Constructors

UpdateCallAnalyticsCategory' 

Fields

  • inputType :: Maybe InputType

    Choose whether you want to update a streaming or a batch Call Analytics category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the POST_CALL input type, you must use POST_CALL as the input type when updating this category.

  • categoryName :: Text

    The name of the Call Analytics category you want to update. Category names are case sensitive.

  • rules :: NonEmpty Rule

    The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.

Instances

Instances details
ToJSON UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

ToHeaders UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

ToPath UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

ToQuery UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

AWSRequest UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Generic UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Associated Types

type Rep UpdateCallAnalyticsCategory :: Type -> Type #

Read UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Show UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

NFData UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Eq UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Hashable UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

type AWSResponse UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

type Rep UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

type Rep UpdateCallAnalyticsCategory = D1 ('MetaData "UpdateCallAnalyticsCategory" "Amazonka.Transcribe.UpdateCallAnalyticsCategory" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "UpdateCallAnalyticsCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputType)) :*: (S1 ('MetaSel ('Just "categoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Rule)))))

newUpdateCallAnalyticsCategory Source #

Create a value of UpdateCallAnalyticsCategory 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:

UpdateCallAnalyticsCategory, updateCallAnalyticsCategory_inputType - Choose whether you want to update a streaming or a batch Call Analytics category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the POST_CALL input type, you must use POST_CALL as the input type when updating this category.

UpdateCallAnalyticsCategory, updateCallAnalyticsCategory_categoryName - The name of the Call Analytics category you want to update. Category names are case sensitive.

UpdateCallAnalyticsCategory, updateCallAnalyticsCategory_rules - The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.

Request Lenses

updateCallAnalyticsCategory_inputType :: Lens' UpdateCallAnalyticsCategory (Maybe InputType) Source #

Choose whether you want to update a streaming or a batch Call Analytics category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the POST_CALL input type, you must use POST_CALL as the input type when updating this category.

updateCallAnalyticsCategory_categoryName :: Lens' UpdateCallAnalyticsCategory Text Source #

The name of the Call Analytics category you want to update. Category names are case sensitive.

updateCallAnalyticsCategory_rules :: Lens' UpdateCallAnalyticsCategory (NonEmpty Rule) Source #

The rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.

Destructuring the Response

data UpdateCallAnalyticsCategoryResponse Source #

Constructors

UpdateCallAnalyticsCategoryResponse' 

Fields

Instances

Instances details
Generic UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Read UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Show UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

NFData UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Eq UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

type Rep UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

type Rep UpdateCallAnalyticsCategoryResponse = D1 ('MetaData "UpdateCallAnalyticsCategoryResponse" "Amazonka.Transcribe.UpdateCallAnalyticsCategory" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "UpdateCallAnalyticsCategoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categoryProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CategoryProperties)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateCallAnalyticsCategoryResponse Source #

Create a value of UpdateCallAnalyticsCategoryResponse 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:UpdateCallAnalyticsCategoryResponse', updateCallAnalyticsCategoryResponse_categoryProperties - Provides you with the properties of the Call Analytics category you specified in your UpdateCallAnalyticsCategory request.

$sel:httpStatus:UpdateCallAnalyticsCategoryResponse', updateCallAnalyticsCategoryResponse_httpStatus - The response's http status code.

Response Lenses

updateCallAnalyticsCategoryResponse_categoryProperties :: Lens' UpdateCallAnalyticsCategoryResponse (Maybe CategoryProperties) Source #

Provides you with the properties of the Call Analytics category you specified in your UpdateCallAnalyticsCategory request.