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 |
Amazonka.AlexaBusiness.ListBusinessReportSchedules
Description
Lists the details of the schedules that a user configured. A download URL of the report associated with each schedule is returned every time this action is called. A new download URL is returned each time, and is valid for 24 hours.
This operation returns paginated results.
Synopsis
- data ListBusinessReportSchedules = ListBusinessReportSchedules' {}
- newListBusinessReportSchedules :: ListBusinessReportSchedules
- listBusinessReportSchedules_nextToken :: Lens' ListBusinessReportSchedules (Maybe Text)
- listBusinessReportSchedules_maxResults :: Lens' ListBusinessReportSchedules (Maybe Natural)
- data ListBusinessReportSchedulesResponse = ListBusinessReportSchedulesResponse' {}
- newListBusinessReportSchedulesResponse :: Int -> ListBusinessReportSchedulesResponse
- listBusinessReportSchedulesResponse_businessReportSchedules :: Lens' ListBusinessReportSchedulesResponse (Maybe [BusinessReportSchedule])
- listBusinessReportSchedulesResponse_nextToken :: Lens' ListBusinessReportSchedulesResponse (Maybe Text)
- listBusinessReportSchedulesResponse_httpStatus :: Lens' ListBusinessReportSchedulesResponse Int
Creating a Request
data ListBusinessReportSchedules Source #
See: newListBusinessReportSchedules
smart constructor.
Constructors
ListBusinessReportSchedules' | |
Instances
newListBusinessReportSchedules :: ListBusinessReportSchedules Source #
Create a value of ListBusinessReportSchedules
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:ListBusinessReportSchedules'
, listBusinessReportSchedules_nextToken
- The token used to list the remaining schedules from the previous API
call.
$sel:maxResults:ListBusinessReportSchedules'
, listBusinessReportSchedules_maxResults
- The maximum number of schedules listed in the call.
Request Lenses
listBusinessReportSchedules_nextToken :: Lens' ListBusinessReportSchedules (Maybe Text) Source #
The token used to list the remaining schedules from the previous API call.
listBusinessReportSchedules_maxResults :: Lens' ListBusinessReportSchedules (Maybe Natural) Source #
The maximum number of schedules listed in the call.
Destructuring the Response
data ListBusinessReportSchedulesResponse Source #
See: newListBusinessReportSchedulesResponse
smart constructor.
Constructors
ListBusinessReportSchedulesResponse' | |
Fields
|
Instances
newListBusinessReportSchedulesResponse Source #
Arguments
:: Int | |
-> ListBusinessReportSchedulesResponse |
Create a value of ListBusinessReportSchedulesResponse
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:businessReportSchedules:ListBusinessReportSchedulesResponse'
, listBusinessReportSchedulesResponse_businessReportSchedules
- The schedule of the reports.
$sel:nextToken:ListBusinessReportSchedules'
, listBusinessReportSchedulesResponse_nextToken
- The token used to list the remaining schedules from the previous API
call.
$sel:httpStatus:ListBusinessReportSchedulesResponse'
, listBusinessReportSchedulesResponse_httpStatus
- The response's http status code.
Response Lenses
listBusinessReportSchedulesResponse_businessReportSchedules :: Lens' ListBusinessReportSchedulesResponse (Maybe [BusinessReportSchedule]) Source #
The schedule of the reports.
listBusinessReportSchedulesResponse_nextToken :: Lens' ListBusinessReportSchedulesResponse (Maybe Text) Source #
The token used to list the remaining schedules from the previous API call.
listBusinessReportSchedulesResponse_httpStatus :: Lens' ListBusinessReportSchedulesResponse Int Source #
The response's http status code.