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 |
Provides a list of analysis segments for a real-time analysis session.
Synopsis
- data ListRealtimeContactAnalysisSegments = ListRealtimeContactAnalysisSegments' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- instanceId :: Text
- contactId :: Text
- newListRealtimeContactAnalysisSegments :: Text -> Text -> ListRealtimeContactAnalysisSegments
- listRealtimeContactAnalysisSegments_nextToken :: Lens' ListRealtimeContactAnalysisSegments (Maybe Text)
- listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural)
- listRealtimeContactAnalysisSegments_instanceId :: Lens' ListRealtimeContactAnalysisSegments Text
- listRealtimeContactAnalysisSegments_contactId :: Lens' ListRealtimeContactAnalysisSegments Text
- data ListRealtimeContactAnalysisSegmentsResponse = ListRealtimeContactAnalysisSegmentsResponse' {}
- newListRealtimeContactAnalysisSegmentsResponse :: Int -> ListRealtimeContactAnalysisSegmentsResponse
- listRealtimeContactAnalysisSegmentsResponse_nextToken :: Lens' ListRealtimeContactAnalysisSegmentsResponse (Maybe Text)
- listRealtimeContactAnalysisSegmentsResponse_httpStatus :: Lens' ListRealtimeContactAnalysisSegmentsResponse Int
- listRealtimeContactAnalysisSegmentsResponse_segments :: Lens' ListRealtimeContactAnalysisSegmentsResponse [RealtimeContactAnalysisSegment]
Creating a Request
data ListRealtimeContactAnalysisSegments Source #
See: newListRealtimeContactAnalysisSegments
smart constructor.
ListRealtimeContactAnalysisSegments' | |
|
Instances
newListRealtimeContactAnalysisSegments Source #
Create a value of ListRealtimeContactAnalysisSegments
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:nextToken:ListRealtimeContactAnalysisSegments'
, listRealtimeContactAnalysisSegments_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.
$sel:maxResults:ListRealtimeContactAnalysisSegments'
, listRealtimeContactAnalysisSegments_maxResults
- The maximimum number of results to return per page.
$sel:instanceId:ListRealtimeContactAnalysisSegments'
, listRealtimeContactAnalysisSegments_instanceId
- The identifier of the Amazon Connect instance.
$sel:contactId:ListRealtimeContactAnalysisSegments'
, listRealtimeContactAnalysisSegments_contactId
- The identifier of the contact.
Request Lenses
listRealtimeContactAnalysisSegments_nextToken :: Lens' ListRealtimeContactAnalysisSegments (Maybe Text) Source #
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.
listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural) Source #
The maximimum number of results to return per page.
listRealtimeContactAnalysisSegments_instanceId :: Lens' ListRealtimeContactAnalysisSegments Text Source #
The identifier of the Amazon Connect instance.
listRealtimeContactAnalysisSegments_contactId :: Lens' ListRealtimeContactAnalysisSegments Text Source #
The identifier of the contact.
Destructuring the Response
data ListRealtimeContactAnalysisSegmentsResponse Source #
See: newListRealtimeContactAnalysisSegmentsResponse
smart constructor.
ListRealtimeContactAnalysisSegmentsResponse' | |
|
Instances
newListRealtimeContactAnalysisSegmentsResponse Source #
:: Int |
|
-> ListRealtimeContactAnalysisSegmentsResponse |
Create a value of ListRealtimeContactAnalysisSegmentsResponse
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:nextToken:ListRealtimeContactAnalysisSegments'
, listRealtimeContactAnalysisSegmentsResponse_nextToken
- If there are additional results, this is the token for the next set of
results. If response includes nextToken
there are two possible
scenarios:
- There are more segments so another call is required to get them.
- There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.
If response does not include nextToken
, the analysis is completed
(successfully or failed) and there are no more segments to retrieve.
$sel:httpStatus:ListRealtimeContactAnalysisSegmentsResponse'
, listRealtimeContactAnalysisSegmentsResponse_httpStatus
- The response's http status code.
$sel:segments:ListRealtimeContactAnalysisSegmentsResponse'
, listRealtimeContactAnalysisSegmentsResponse_segments
- An analyzed transcript or category.
Response Lenses
listRealtimeContactAnalysisSegmentsResponse_nextToken :: Lens' ListRealtimeContactAnalysisSegmentsResponse (Maybe Text) Source #
If there are additional results, this is the token for the next set of
results. If response includes nextToken
there are two possible
scenarios:
- There are more segments so another call is required to get them.
- There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.
If response does not include nextToken
, the analysis is completed
(successfully or failed) and there are no more segments to retrieve.
listRealtimeContactAnalysisSegmentsResponse_httpStatus :: Lens' ListRealtimeContactAnalysisSegmentsResponse Int Source #
The response's http status code.
listRealtimeContactAnalysisSegmentsResponse_segments :: Lens' ListRealtimeContactAnalysisSegmentsResponse [RealtimeContactAnalysisSegment] Source #
An analyzed transcript or category.