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 a world export job.
Synopsis
- data DescribeWorldExportJob = DescribeWorldExportJob' {}
- newDescribeWorldExportJob :: Text -> DescribeWorldExportJob
- describeWorldExportJob_job :: Lens' DescribeWorldExportJob Text
- data DescribeWorldExportJobResponse = DescribeWorldExportJobResponse' {
- failureReason :: Maybe Text
- status :: Maybe WorldExportJobStatus
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- failureCode :: Maybe WorldExportJobErrorCode
- outputLocation :: Maybe OutputLocation
- clientRequestToken :: Maybe Text
- iamRole :: Maybe Text
- worlds :: Maybe (NonEmpty Text)
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeWorldExportJobResponse :: Int -> DescribeWorldExportJobResponse
- describeWorldExportJobResponse_failureReason :: Lens' DescribeWorldExportJobResponse (Maybe Text)
- describeWorldExportJobResponse_status :: Lens' DescribeWorldExportJobResponse (Maybe WorldExportJobStatus)
- describeWorldExportJobResponse_arn :: Lens' DescribeWorldExportJobResponse (Maybe Text)
- describeWorldExportJobResponse_createdAt :: Lens' DescribeWorldExportJobResponse (Maybe UTCTime)
- describeWorldExportJobResponse_failureCode :: Lens' DescribeWorldExportJobResponse (Maybe WorldExportJobErrorCode)
- describeWorldExportJobResponse_outputLocation :: Lens' DescribeWorldExportJobResponse (Maybe OutputLocation)
- describeWorldExportJobResponse_clientRequestToken :: Lens' DescribeWorldExportJobResponse (Maybe Text)
- describeWorldExportJobResponse_iamRole :: Lens' DescribeWorldExportJobResponse (Maybe Text)
- describeWorldExportJobResponse_worlds :: Lens' DescribeWorldExportJobResponse (Maybe (NonEmpty Text))
- describeWorldExportJobResponse_tags :: Lens' DescribeWorldExportJobResponse (Maybe (HashMap Text Text))
- describeWorldExportJobResponse_httpStatus :: Lens' DescribeWorldExportJobResponse Int
Creating a Request
data DescribeWorldExportJob Source #
See: newDescribeWorldExportJob
smart constructor.
Instances
newDescribeWorldExportJob Source #
Create a value of DescribeWorldExportJob
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:job:DescribeWorldExportJob'
, describeWorldExportJob_job
- The Amazon Resource Name (arn) of the world export job to describe.
Request Lenses
describeWorldExportJob_job :: Lens' DescribeWorldExportJob Text Source #
The Amazon Resource Name (arn) of the world export job to describe.
Destructuring the Response
data DescribeWorldExportJobResponse Source #
See: newDescribeWorldExportJobResponse
smart constructor.
DescribeWorldExportJobResponse' | |
|
Instances
newDescribeWorldExportJobResponse Source #
Create a value of DescribeWorldExportJobResponse
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:failureReason:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_failureReason
- The reason why the world export job failed.
$sel:status:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_status
- The status of the world export job.
- Pending
- The world export job request is pending.
- Running
- The world export job is running.
- Completed
- The world export job completed.
- Failed
- The world export job failed. See
failureCode
andfailureReason
for more information. - Canceled
- The world export job was cancelled.
- Canceling
- The world export job is being cancelled.
$sel:arn:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_arn
- The Amazon Resource Name (ARN) of the world export job.
$sel:createdAt:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_createdAt
- The time, in milliseconds since the epoch, when the world export job was
created.
$sel:failureCode:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_failureCode
- The failure code of the world export job if it failed:
- InternalServiceError
- Internal service error.
- LimitExceeded
- The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
- ResourceNotFound
- The specified resource could not be found.
- RequestThrottled
- The request was throttled.
- InvalidInput
- An input parameter in the request is not valid.
$sel:outputLocation:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_outputLocation
- Undocumented member.
$sel:clientRequestToken:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:iamRole:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_iamRole
- The IAM role that the world export process uses to access the Amazon S3
bucket and put the export.
$sel:worlds:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_worlds
- A list of Amazon Resource Names (arns) that correspond to worlds to be
exported.
$sel:tags:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_tags
- A map that contains tag keys and tag values that are attached to the
world export job.
$sel:httpStatus:DescribeWorldExportJobResponse'
, describeWorldExportJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorldExportJobResponse_failureReason :: Lens' DescribeWorldExportJobResponse (Maybe Text) Source #
The reason why the world export job failed.
describeWorldExportJobResponse_status :: Lens' DescribeWorldExportJobResponse (Maybe WorldExportJobStatus) Source #
The status of the world export job.
- Pending
- The world export job request is pending.
- Running
- The world export job is running.
- Completed
- The world export job completed.
- Failed
- The world export job failed. See
failureCode
andfailureReason
for more information. - Canceled
- The world export job was cancelled.
- Canceling
- The world export job is being cancelled.
describeWorldExportJobResponse_arn :: Lens' DescribeWorldExportJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the world export job.
describeWorldExportJobResponse_createdAt :: Lens' DescribeWorldExportJobResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world export job was created.
describeWorldExportJobResponse_failureCode :: Lens' DescribeWorldExportJobResponse (Maybe WorldExportJobErrorCode) Source #
The failure code of the world export job if it failed:
- InternalServiceError
- Internal service error.
- LimitExceeded
- The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
- ResourceNotFound
- The specified resource could not be found.
- RequestThrottled
- The request was throttled.
- InvalidInput
- An input parameter in the request is not valid.
describeWorldExportJobResponse_outputLocation :: Lens' DescribeWorldExportJobResponse (Maybe OutputLocation) Source #
Undocumented member.
describeWorldExportJobResponse_clientRequestToken :: Lens' DescribeWorldExportJobResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
describeWorldExportJobResponse_iamRole :: Lens' DescribeWorldExportJobResponse (Maybe Text) Source #
The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.
describeWorldExportJobResponse_worlds :: Lens' DescribeWorldExportJobResponse (Maybe (NonEmpty Text)) Source #
A list of Amazon Resource Names (arns) that correspond to worlds to be exported.
describeWorldExportJobResponse_tags :: Lens' DescribeWorldExportJobResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the world export job.
describeWorldExportJobResponse_httpStatus :: Lens' DescribeWorldExportJobResponse Int Source #
The response's http status code.