| 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 |
Amazonka.WorkMail.DescribeMailboxExportJob
Description
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' {
- description :: Maybe Text
- endTime :: Maybe POSIX
- entityId :: Maybe Text
- errorInfo :: Maybe Text
- estimatedProgress :: Maybe Natural
- kmsKeyArn :: Maybe Text
- roleArn :: Maybe Text
- s3BucketName :: Maybe Text
- s3Path :: Maybe Text
- s3Prefix :: Maybe Text
- startTime :: Maybe POSIX
- state :: Maybe MailboxExportJobState
- httpStatus :: Int
- newDescribeMailboxExportJobResponse :: Int -> DescribeMailboxExportJobResponse
- describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
- describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural)
- describeMailboxExportJobResponse_kmsKeyArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_roleArn :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_s3Path :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_s3Prefix :: Lens' DescribeMailboxExportJobResponse (Maybe Text)
- describeMailboxExportJobResponse_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime)
- describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState)
- describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int
Creating a Request
data DescribeMailboxExportJob Source #
See: newDescribeMailboxExportJob smart constructor.
Constructors
| DescribeMailboxExportJob' | |
Fields
| |
Instances
newDescribeMailboxExportJob Source #
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:
DescribeMailboxExportJob, describeMailboxExportJob_jobId - The mailbox export job ID.
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.
Constructors
| DescribeMailboxExportJobResponse' | |
Fields
| |
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:
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_description - The mailbox export job description.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_endTime - The mailbox export job end timestamp.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_entityId - The identifier of the user or resource associated with the mailbox.
$sel:errorInfo:DescribeMailboxExportJobResponse', describeMailboxExportJobResponse_errorInfo - Error information for failed mailbox export jobs.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_estimatedProgress - The estimated progress of the mailbox export job, in percentage points.
$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: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.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_s3BucketName - The name of the S3 bucket.
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.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_startTime - The mailbox export job start timestamp.
DescribeMailboxExportJobResponse, describeMailboxExportJobResponse_state - The state of the mailbox export job.
$sel:httpStatus:DescribeMailboxExportJobResponse', describeMailboxExportJobResponse_httpStatus - The response's http status code.
Response Lenses
describeMailboxExportJobResponse_description :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The mailbox export job description.
describeMailboxExportJobResponse_endTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime) Source #
The mailbox export job end timestamp.
describeMailboxExportJobResponse_entityId :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The identifier of the user or resource associated with the mailbox.
describeMailboxExportJobResponse_errorInfo :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
Error information for failed mailbox export jobs.
describeMailboxExportJobResponse_estimatedProgress :: Lens' DescribeMailboxExportJobResponse (Maybe Natural) Source #
The estimated progress of the mailbox export job, in percentage points.
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_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_s3BucketName :: Lens' DescribeMailboxExportJobResponse (Maybe Text) Source #
The name of the S3 bucket.
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_startTime :: Lens' DescribeMailboxExportJobResponse (Maybe UTCTime) Source #
The mailbox export job start timestamp.
describeMailboxExportJobResponse_state :: Lens' DescribeMailboxExportJobResponse (Maybe MailboxExportJobState) Source #
The state of the mailbox export job.
describeMailboxExportJobResponse_httpStatus :: Lens' DescribeMailboxExportJobResponse Int Source #
The response's http status code.