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 |
Lists the mailbox export jobs started for the specified organization within the last seven days.
Synopsis
- data ListMailboxExportJobs = ListMailboxExportJobs' {}
- newListMailboxExportJobs :: Text -> ListMailboxExportJobs
- listMailboxExportJobs_maxResults :: Lens' ListMailboxExportJobs (Maybe Natural)
- listMailboxExportJobs_nextToken :: Lens' ListMailboxExportJobs (Maybe Text)
- listMailboxExportJobs_organizationId :: Lens' ListMailboxExportJobs Text
- data ListMailboxExportJobsResponse = ListMailboxExportJobsResponse' {
- jobs :: Maybe [MailboxExportJob]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListMailboxExportJobsResponse :: Int -> ListMailboxExportJobsResponse
- listMailboxExportJobsResponse_jobs :: Lens' ListMailboxExportJobsResponse (Maybe [MailboxExportJob])
- listMailboxExportJobsResponse_nextToken :: Lens' ListMailboxExportJobsResponse (Maybe Text)
- listMailboxExportJobsResponse_httpStatus :: Lens' ListMailboxExportJobsResponse Int
Creating a Request
data ListMailboxExportJobs Source #
See: newListMailboxExportJobs
smart constructor.
ListMailboxExportJobs' | |
|
Instances
newListMailboxExportJobs Source #
Create a value of ListMailboxExportJobs
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:ListMailboxExportJobs'
, listMailboxExportJobs_maxResults
- The maximum number of results to return in a single call.
ListMailboxExportJobs
, listMailboxExportJobs_nextToken
- The token to use to retrieve the next page of results.
ListMailboxExportJobs
, listMailboxExportJobs_organizationId
- The organization ID.
Request Lenses
listMailboxExportJobs_maxResults :: Lens' ListMailboxExportJobs (Maybe Natural) Source #
The maximum number of results to return in a single call.
listMailboxExportJobs_nextToken :: Lens' ListMailboxExportJobs (Maybe Text) Source #
The token to use to retrieve the next page of results.
listMailboxExportJobs_organizationId :: Lens' ListMailboxExportJobs Text Source #
The organization ID.
Destructuring the Response
data ListMailboxExportJobsResponse Source #
See: newListMailboxExportJobsResponse
smart constructor.
ListMailboxExportJobsResponse' | |
|
Instances
newListMailboxExportJobsResponse Source #
Create a value of ListMailboxExportJobsResponse
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:jobs:ListMailboxExportJobsResponse'
, listMailboxExportJobsResponse_jobs
- The mailbox export job details.
ListMailboxExportJobs
, listMailboxExportJobsResponse_nextToken
- The token to use to retrieve the next page of results.
$sel:httpStatus:ListMailboxExportJobsResponse'
, listMailboxExportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listMailboxExportJobsResponse_jobs :: Lens' ListMailboxExportJobsResponse (Maybe [MailboxExportJob]) Source #
The mailbox export job details.
listMailboxExportJobsResponse_nextToken :: Lens' ListMailboxExportJobsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listMailboxExportJobsResponse_httpStatus :: Lens' ListMailboxExportJobsResponse Int Source #
The response's http status code.