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.UpdateCallAnalyticsCategory

Description

Updates the call analytics category with new values. The UpdateCallAnalyticsCategory operation overwrites all of the existing information with the values that you provide in the request.

Synopsis

Creating a Request

data UpdateCallAnalyticsCategory Source #

See: newUpdateCallAnalyticsCategory smart constructor.

Constructors

UpdateCallAnalyticsCategory' 

Fields

  • categoryName :: Text

    The name of the analytics category to update. The name is case sensitive. If you try to update a call analytics category with the same name as a previous category you will receive a ConflictException error.

  • rules :: NonEmpty Rule

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

Instances

Instances details
Eq UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Read UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Show 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 #

NFData UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

Hashable UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

ToJSON UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

AWSRequest 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

type Rep UpdateCallAnalyticsCategory Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

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

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

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:

$sel:categoryName:UpdateCallAnalyticsCategory', updateCallAnalyticsCategory_categoryName - The name of the analytics category to update. The name is case sensitive. If you try to update a call analytics category with the same name as a previous category you will receive a ConflictException error.

$sel:rules:UpdateCallAnalyticsCategory', updateCallAnalyticsCategory_rules - The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used.

Request Lenses

updateCallAnalyticsCategory_categoryName :: Lens' UpdateCallAnalyticsCategory Text Source #

The name of the analytics category to update. The name is case sensitive. If you try to update a call analytics category with the same name as a previous category you will receive a ConflictException error.

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

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

Destructuring the Response

data UpdateCallAnalyticsCategoryResponse Source #

Constructors

UpdateCallAnalyticsCategoryResponse' 

Fields

  • categoryProperties :: Maybe CategoryProperties

    The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic UpdateCallAnalyticsCategoryResponse Source # 
Instance details

Defined in Amazonka.Transcribe.UpdateCallAnalyticsCategory

NFData 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" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" '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 - The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created.

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

Response Lenses

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

The attributes describing the analytics category. You can see information such as the rules that you've used to update the category and when the category was originally created.