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 |
Describes the current status of a mailbox export job.
Synopsis
- data DescribeMailboxExportJob = DescribeMailboxExportJob' {
- jobId :: Text
- organizationId :: Text
- newDescribeMailboxExportJob :: Text -> Text -> DescribeMailboxExportJob
- describeMailboxExportJob_jobId :: Lens' DescribeMailboxExportJob Text
- describeMailboxExportJob_organizationId :: Lens' DescribeMailboxExportJob Text
- data DescribeMailboxExportJobResponse = DescribeMailboxExportJobResponse' {
- state :: Maybe MailboxExportJobState
- kmsKeyArn :: Maybe Text
- startTime :: Maybe POSIX
- estimatedProgress :: Maybe Natural
- endTime :: Maybe POSIX
- s3Path :: Maybe Text
- s3Prefix :: Maybe Text
- entityId :: Maybe Text
- description :: Maybe Text
- errorInfo :: Maybe Text
- s3BucketName :: Maybe Text
- roleArn :: Maybe Text
- httpStatus :: Int
- newDescribeMailboxExportJobResponse :: Int -> DescribeMailboxExportJobResponse
- describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState)
- describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
- describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural)
- describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
- describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_s3Prefix :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int
Creating a Request
data DescribeMailboxExportJob Source #
See: newDescribeMailboxExportJob
smart constructor.
DescribeMailboxExportJob' | |
|
Instances
newDescribeMailboxExportJob Source #
:: Text | |
-> Text | |
-> DescribeMailboxExportJob |
Create a value of DescribeMailboxExportJob
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:jobId:DescribeMailboxExportJob'
, describeMailboxExportJob_jobId
- The mailbox export job ID.
$sel:organizationId:DescribeMailboxExportJob'
, describeMailboxExportJob_organizationId
- The organization ID.
Request Lenses
describeMailboxExportJob_jobId :: Lens' DescribeMailboxExportJob Text Source #
The mailbox export job ID.
describeMailboxExportJob_organizationId :: Lens' DescribeMailboxExportJob Text Source #
The organization ID.
Destructuring the Response
data DescribeMailboxExportJobResponse Source #
See: newDescribeMailboxExportJobResponse
smart constructor.
DescribeMailboxExportJobResponse' | |
|
Instances
newDescribeMailboxExportJobResponse Source #
Create a value of DescribeMailboxExportJobResponse
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:state:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_state
- The state of the mailbox export job.
$sel:kmsKeyArn:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_kmsKeyArn
- The Amazon Resource Name (ARN) of the symmetric AWS Key Management
Service (AWS KMS) key that encrypts the exported mailbox content.
$sel:startTime:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_startTime
- The mailbox export job start timestamp.
$sel:estimatedProgress:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_estimatedProgress
- The estimated progress of the mailbox export job, in percentage points.
$sel:endTime:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_endTime
- The mailbox export job end timestamp.
$sel:s3Path:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_s3Path
- The path to the S3 bucket and file that the mailbox export job is
exporting to.
$sel:s3Prefix:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_s3Prefix
- The S3 bucket prefix.
$sel:entityId:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_entityId
- The identifier of the user or resource associated with the mailbox.
$sel:description:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_description
- The mailbox export job description.
$sel:errorInfo:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_errorInfo
- Error information for failed mailbox export jobs.
$sel:s3BucketName:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_s3BucketName
- The name of the S3 bucket.
$sel:roleArn:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_roleArn
- The ARN of the AWS Identity and Access Management (IAM) role that grants
write permission to the Amazon Simple Storage Service (Amazon S3)
bucket.
$sel:httpStatus:DescribeMailboxExportJobResponse'
, describeMailboxExportJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState) Source #
The state of the mailbox export job.
describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
describeMailboxExportJobResponse_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime) Source #
The mailbox export job start timestamp.
describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural) Source #
The estimated progress of the mailbox export job, in percentage points.
describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime) Source #
The mailbox export job end timestamp.
describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The path to the S3 bucket and file that the mailbox export job is exporting to.
describeMailboxExportJobResponse_s3Prefix :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The S3 bucket prefix.
describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The identifier of the user or resource associated with the mailbox.
describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The mailbox export job description.
describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
Error information for failed mailbox export jobs.
describeMailboxExportJobResponse_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The name of the S3 bucket.
describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int Source #
The response's http status code.