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 |
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.
CancelMailboxExportJob' | |
|
Instances
newCancelMailboxExportJob Source #
:: 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.
CancelMailboxExportJobResponse' | |
|
Instances
Eq CancelMailboxExportJobResponse Source # | |
Read CancelMailboxExportJobResponse Source # | |
Show CancelMailboxExportJobResponse Source # | |
Defined in Amazonka.WorkMail.CancelMailboxExportJob | |
Generic CancelMailboxExportJobResponse Source # | |
NFData CancelMailboxExportJobResponse Source # | |
Defined in Amazonka.WorkMail.CancelMailboxExportJob rnf :: CancelMailboxExportJobResponse -> () # | |
type Rep CancelMailboxExportJobResponse Source # | |
Defined in Amazonka.WorkMail.CancelMailboxExportJob type Rep CancelMailboxExportJobResponse = D1 ('MetaData "CancelMailboxExportJobResponse" "Amazonka.WorkMail.CancelMailboxExportJob" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "CancelMailboxExportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.