Update Call Analytics Category
transcribeservice_update_call_analytics_category | R Documentation |
Updates the specified Call Analytics category with new rules¶
Description¶
Updates the specified Call Analytics category with new rules. Note that
the update_call_analytics_category
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 .
Usage¶
transcribeservice_update_call_analytics_category(CategoryName, Rules,
InputType)
Arguments¶
CategoryName |
[required] The name of the Call Analytics category you want to update. Category names are case sensitive. |
Rules |
[required] 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. |
InputType |
Choose whether you want to update a real-time or a post-call
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 |
Value¶
A list with the following syntax:
list(
CategoryProperties = list(
CategoryName = "string",
Rules = list(
list(
NonTalkTimeFilter = list(
Threshold = 123,
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
Negate = TRUE|FALSE
),
InterruptionFilter = list(
Threshold = 123,
ParticipantRole = "AGENT"|"CUSTOMER",
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
Negate = TRUE|FALSE
),
TranscriptFilter = list(
TranscriptFilterType = "EXACT",
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
ParticipantRole = "AGENT"|"CUSTOMER",
Negate = TRUE|FALSE,
Targets = list(
"string"
)
),
SentimentFilter = list(
Sentiments = list(
"POSITIVE"|"NEGATIVE"|"NEUTRAL"|"MIXED"
),
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
ParticipantRole = "AGENT"|"CUSTOMER",
Negate = TRUE|FALSE
)
)
),
CreateTime = as.POSIXct(
"2015-01-01"
),
LastUpdateTime = as.POSIXct(
"2015-01-01"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
),
InputType = "REAL_TIME"|"POST_CALL"
)
)
Request syntax¶
svc$update_call_analytics_category(
CategoryName = "string",
Rules = list(
list(
NonTalkTimeFilter = list(
Threshold = 123,
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
Negate = TRUE|FALSE
),
InterruptionFilter = list(
Threshold = 123,
ParticipantRole = "AGENT"|"CUSTOMER",
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
Negate = TRUE|FALSE
),
TranscriptFilter = list(
TranscriptFilterType = "EXACT",
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
ParticipantRole = "AGENT"|"CUSTOMER",
Negate = TRUE|FALSE,
Targets = list(
"string"
)
),
SentimentFilter = list(
Sentiments = list(
"POSITIVE"|"NEGATIVE"|"NEUTRAL"|"MIXED"
),
AbsoluteTimeRange = list(
StartTime = 123,
EndTime = 123,
First = 123,
Last = 123
),
RelativeTimeRange = list(
StartPercentage = 123,
EndPercentage = 123,
First = 123,
Last = 123
),
ParticipantRole = "AGENT"|"CUSTOMER",
Negate = TRUE|FALSE
)
)
),
InputType = "REAL_TIME"|"POST_CALL"
)