Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data UpdateCallAnalyticsCategory = UpdateCallAnalyticsCategory' {}
- newUpdateCallAnalyticsCategory :: Text -> NonEmpty Rule -> UpdateCallAnalyticsCategory
- updateCallAnalyticsCategory_inputType :: Lens' UpdateCallAnalyticsCategory (Maybe InputType)
- 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.
UpdateCallAnalyticsCategory' | |
|
Instances
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 #
See: newUpdateCallAnalyticsCategoryResponse
smart constructor.
UpdateCallAnalyticsCategoryResponse' | |
|
Instances
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.
updateCallAnalyticsCategoryResponse_httpStatus :: Lens' UpdateCallAnalyticsCategoryResponse Int Source #
The response's http status code.