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