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.WorkMail.CancelMailboxExportJob
Description
Cancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
Synopsis
- data CancelMailboxExportJob = CancelMailboxExportJob' {
- clientToken :: Text
- jobId :: Text
- organizationId :: Text
- newCancelMailboxExportJob :: Text -> Text -> Text -> CancelMailboxExportJob
- cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text
- cancelMailboxExportJob_jobId :: Lens' CancelMailboxExportJob Text
- cancelMailboxExportJob_organizationId :: Lens' CancelMailboxExportJob Text
- data CancelMailboxExportJobResponse = CancelMailboxExportJobResponse' {
- httpStatus :: Int
- newCancelMailboxExportJobResponse :: Int -> CancelMailboxExportJobResponse
- cancelMailboxExportJobResponse_httpStatus :: Lens' CancelMailboxExportJobResponse Int
Creating a Request
data CancelMailboxExportJob Source #
See: newCancelMailboxExportJob
smart constructor.
Constructors
CancelMailboxExportJob' | |
Fields
|
Instances
newCancelMailboxExportJob Source #
Arguments
:: Text | |
-> Text | |
-> Text | |
-> CancelMailboxExportJob |
Create a value of CancelMailboxExportJob
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:clientToken:CancelMailboxExportJob'
, cancelMailboxExportJob_clientToken
- The idempotency token for the client request.
$sel:jobId:CancelMailboxExportJob'
, cancelMailboxExportJob_jobId
- The job ID.
$sel:organizationId:CancelMailboxExportJob'
, cancelMailboxExportJob_organizationId
- The organization ID.
Request Lenses
cancelMailboxExportJob_clientToken :: Lens' CancelMailboxExportJob Text Source #
The idempotency token for the client request.
cancelMailboxExportJob_jobId :: Lens' CancelMailboxExportJob Text Source #
The job ID.
cancelMailboxExportJob_organizationId :: Lens' CancelMailboxExportJob Text Source #
The organization ID.
Destructuring the Response
data CancelMailboxExportJobResponse Source #
See: newCancelMailboxExportJobResponse
smart constructor.
Constructors
CancelMailboxExportJobResponse' | |
Fields
|
Instances
newCancelMailboxExportJobResponse Source #
Create a value of CancelMailboxExportJobResponse
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:httpStatus:CancelMailboxExportJobResponse'
, cancelMailboxExportJobResponse_httpStatus
- The response's http status code.
Response Lenses
cancelMailboxExportJobResponse_httpStatus :: Lens' CancelMailboxExportJobResponse Int Source #
The response's http status code.