| 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 |
Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments
Description
Provides a list of analysis segments for a real-time analysis session.
Synopsis
- data ListRealtimeContactAnalysisSegments = ListRealtimeContactAnalysisSegments' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- instanceId :: Text
- contactId :: Text
- newListRealtimeContactAnalysisSegments :: Text -> Text -> ListRealtimeContactAnalysisSegments
- listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural)
- listRealtimeContactAnalysisSegments_nextToken :: Lens' ListRealtimeContactAnalysisSegments (Maybe Text)
- 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.
Constructors
| ListRealtimeContactAnalysisSegments' | |
Fields
| |
Instances
newListRealtimeContactAnalysisSegments Source #
Arguments
| :: Text | |
| -> Text | |
| -> ListRealtimeContactAnalysisSegments |
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:maxResults:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_maxResults - The maximimum number of results to return per page.
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:instanceId:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_instanceId - The identifier of the Amazon Connect instance.
$sel:contactId:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_contactId - The identifier of the contact.
Request Lenses
listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural) Source #
The maximimum number of results to return per page.
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_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.
Constructors
| ListRealtimeContactAnalysisSegmentsResponse' | |
Fields
| |
Instances
newListRealtimeContactAnalysisSegmentsResponse Source #
Arguments
| :: 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:
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.