R/connectcontactlens_operations.R

Defines functions connectcontactlens_list_realtime_contact_analysis_segments

Documented in connectcontactlens_list_realtime_contact_analysis_segments

# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include connectcontactlens_service.R
NULL

#' Provides a list of analysis segments for a real-time analysis session
#'
#' @description
#' Provides a list of analysis segments for a real-time analysis session.
#'
#' See [https://www.paws-r-sdk.com/docs/connectcontactlens_list_realtime_contact_analysis_segments/](https://www.paws-r-sdk.com/docs/connectcontactlens_list_realtime_contact_analysis_segments/) for full documentation.
#'
#' @param InstanceId [required] The identifier of the Amazon Connect instance.
#' @param ContactId [required] The identifier of the contact.
#' @param MaxResults The maximimum number of results to return per page.
#' @param NextToken The token for the next set of results. Use the value returned in the
#' previous response in the next request to retrieve the next set of
#' results.
#'
#' @keywords internal
#'
#' @rdname connectcontactlens_list_realtime_contact_analysis_segments
connectcontactlens_list_realtime_contact_analysis_segments <- function(InstanceId, ContactId, MaxResults = NULL, NextToken = NULL) {
  op <- new_operation(
    name = "ListRealtimeContactAnalysisSegments",
    http_method = "POST",
    http_path = "/realtime-contact-analysis/analysis-segments",
    paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults")
  )
  input <- .connectcontactlens$list_realtime_contact_analysis_segments_input(InstanceId = InstanceId, ContactId = ContactId, MaxResults = MaxResults, NextToken = NextToken)
  output <- .connectcontactlens$list_realtime_contact_analysis_segments_output()
  config <- get_config()
  svc <- .connectcontactlens$service(config)
  request <- new_request(svc, op, input, output)
  response <- send_request(request)
  return(response)
}
.connectcontactlens$operations$list_realtime_contact_analysis_segments <- connectcontactlens_list_realtime_contact_analysis_segments

Try the paws.customer.engagement package in your browser

Any scripts or data that you put into this service are public.

paws.customer.engagement documentation built on Sept. 12, 2023, 1:19 a.m.