| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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
- data UpdateCallAnalyticsCategory = UpdateCallAnalyticsCategory' {
- categoryName :: Text
- rules :: NonEmpty Rule
- newUpdateCallAnalyticsCategory :: Text -> NonEmpty Rule -> UpdateCallAnalyticsCategory
- updateCallAnalyticsCategory_categoryName :: Lens' UpdateCallAnalyticsCategory Text
- updateCallAnalyticsCategory_rules :: Lens' UpdateCallAnalyticsCategory (NonEmpty Rule)
- data UpdateCallAnalyticsCategoryResponse = UpdateCallAnalyticsCategoryResponse' {}
- newUpdateCallAnalyticsCategoryResponse :: Int -> UpdateCallAnalyticsCategoryResponse
- updateCallAnalyticsCategoryResponse_categoryProperties :: Lens' UpdateCallAnalyticsCategoryResponse (Maybe CategoryProperties)
- updateCallAnalyticsCategoryResponse_httpStatus :: Lens' UpdateCallAnalyticsCategoryResponse Int
Creating a Request
data UpdateCallAnalyticsCategory Source #
See: newUpdateCallAnalyticsCategory smart constructor.
Constructors
| UpdateCallAnalyticsCategory' | |
Fields
| |
Instances
newUpdateCallAnalyticsCategory Source #
Arguments
| :: Text | |
| -> NonEmpty Rule | |
| -> UpdateCallAnalyticsCategory |
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 #
See: newUpdateCallAnalyticsCategoryResponse smart constructor.
Constructors
| UpdateCallAnalyticsCategoryResponse' | |
Fields
| |
Instances
newUpdateCallAnalyticsCategoryResponse Source #
Arguments
| :: Int | |
| -> UpdateCallAnalyticsCategoryResponse |
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.
updateCallAnalyticsCategoryResponse_httpStatus :: Lens' UpdateCallAnalyticsCategoryResponse Int Source #
The response's http status code.