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 |
Provides a list of Call Analytics jobs that match the specified criteria. If no criteria are specified, all Call Analytics jobs are returned.
To get detailed information about a specific Call Analytics job, use the operation.
Synopsis
- data ListCallAnalyticsJobs = ListCallAnalyticsJobs' {}
- newListCallAnalyticsJobs :: ListCallAnalyticsJobs
- listCallAnalyticsJobs_jobNameContains :: Lens' ListCallAnalyticsJobs (Maybe Text)
- listCallAnalyticsJobs_maxResults :: Lens' ListCallAnalyticsJobs (Maybe Natural)
- listCallAnalyticsJobs_nextToken :: Lens' ListCallAnalyticsJobs (Maybe Text)
- listCallAnalyticsJobs_status :: Lens' ListCallAnalyticsJobs (Maybe CallAnalyticsJobStatus)
- data ListCallAnalyticsJobsResponse = ListCallAnalyticsJobsResponse' {}
- newListCallAnalyticsJobsResponse :: Int -> ListCallAnalyticsJobsResponse
- listCallAnalyticsJobsResponse_callAnalyticsJobSummaries :: Lens' ListCallAnalyticsJobsResponse (Maybe [CallAnalyticsJobSummary])
- listCallAnalyticsJobsResponse_nextToken :: Lens' ListCallAnalyticsJobsResponse (Maybe Text)
- listCallAnalyticsJobsResponse_status :: Lens' ListCallAnalyticsJobsResponse (Maybe CallAnalyticsJobStatus)
- listCallAnalyticsJobsResponse_httpStatus :: Lens' ListCallAnalyticsJobsResponse Int
Creating a Request
data ListCallAnalyticsJobs Source #
See: newListCallAnalyticsJobs
smart constructor.
ListCallAnalyticsJobs' | |
|
Instances
newListCallAnalyticsJobs :: ListCallAnalyticsJobs Source #
Create a value of ListCallAnalyticsJobs
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:jobNameContains:ListCallAnalyticsJobs'
, listCallAnalyticsJobs_jobNameContains
- Returns only the Call Analytics jobs that contain the specified string.
The search is not case sensitive.
$sel:maxResults:ListCallAnalyticsJobs'
, listCallAnalyticsJobs_maxResults
- The maximum number of Call Analytics jobs to return in each page of
results. If there are fewer results than the value that you specify,
only the actual results are returned. If you don't specify a value, a
default of 5 is used.
ListCallAnalyticsJobs
, listCallAnalyticsJobs_nextToken
- If your ListCallAnalyticsJobs
request returns more results than can be
displayed, NextToken
is displayed in the response with an associated
string. To get the next page of results, copy this string and repeat
your request, including NextToken
with the value of the copied string.
Repeat as needed to view all your results.
ListCallAnalyticsJobs
, listCallAnalyticsJobs_status
- Returns only Call Analytics jobs with the specified status. Jobs are
ordered by creation date, with the newest job first. If you don't
include Status
, all Call Analytics jobs are returned.
Request Lenses
listCallAnalyticsJobs_jobNameContains :: Lens' ListCallAnalyticsJobs (Maybe Text) Source #
Returns only the Call Analytics jobs that contain the specified string. The search is not case sensitive.
listCallAnalyticsJobs_maxResults :: Lens' ListCallAnalyticsJobs (Maybe Natural) Source #
The maximum number of Call Analytics jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you don't specify a value, a default of 5 is used.
listCallAnalyticsJobs_nextToken :: Lens' ListCallAnalyticsJobs (Maybe Text) Source #
If your ListCallAnalyticsJobs
request returns more results than can be
displayed, NextToken
is displayed in the response with an associated
string. To get the next page of results, copy this string and repeat
your request, including NextToken
with the value of the copied string.
Repeat as needed to view all your results.
listCallAnalyticsJobs_status :: Lens' ListCallAnalyticsJobs (Maybe CallAnalyticsJobStatus) Source #
Returns only Call Analytics jobs with the specified status. Jobs are
ordered by creation date, with the newest job first. If you don't
include Status
, all Call Analytics jobs are returned.
Destructuring the Response
data ListCallAnalyticsJobsResponse Source #
See: newListCallAnalyticsJobsResponse
smart constructor.
ListCallAnalyticsJobsResponse' | |
|
Instances
newListCallAnalyticsJobsResponse Source #
Create a value of ListCallAnalyticsJobsResponse
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:callAnalyticsJobSummaries:ListCallAnalyticsJobsResponse'
, listCallAnalyticsJobsResponse_callAnalyticsJobSummaries
- Provides a summary of information about each result.
ListCallAnalyticsJobs
, listCallAnalyticsJobsResponse_nextToken
- If NextToken
is present in your response, it indicates that not all
results are displayed. To view the next set of results, copy the string
associated with the NextToken
parameter in your results output, then
run your request again including NextToken
with the value of the
copied string. Repeat as needed to view all your results.
ListCallAnalyticsJobs
, listCallAnalyticsJobsResponse_status
- Lists all Call Analytics jobs that have the status specified in your
request. Jobs are ordered by creation date, with the newest job first.
$sel:httpStatus:ListCallAnalyticsJobsResponse'
, listCallAnalyticsJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listCallAnalyticsJobsResponse_callAnalyticsJobSummaries :: Lens' ListCallAnalyticsJobsResponse (Maybe [CallAnalyticsJobSummary]) Source #
Provides a summary of information about each result.
listCallAnalyticsJobsResponse_nextToken :: Lens' ListCallAnalyticsJobsResponse (Maybe Text) Source #
If NextToken
is present in your response, it indicates that not all
results are displayed. To view the next set of results, copy the string
associated with the NextToken
parameter in your results output, then
run your request again including NextToken
with the value of the
copied string. Repeat as needed to view all your results.
listCallAnalyticsJobsResponse_status :: Lens' ListCallAnalyticsJobsResponse (Maybe CallAnalyticsJobStatus) Source #
Lists all Call Analytics jobs that have the status specified in your request. Jobs are ordered by creation date, with the newest job first.
listCallAnalyticsJobsResponse_httpStatus :: Lens' ListCallAnalyticsJobsResponse Int Source #
The response's http status code.