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 simulation job batch.
Synopsis
- data DescribeSimulationJobBatch = DescribeSimulationJobBatch' {}
- newDescribeSimulationJobBatch :: Text -> DescribeSimulationJobBatch
- describeSimulationJobBatch_batch :: Lens' DescribeSimulationJobBatch Text
- data DescribeSimulationJobBatchResponse = DescribeSimulationJobBatchResponse' {
- failureReason :: Maybe Text
- status :: Maybe SimulationJobBatchStatus
- lastUpdatedAt :: Maybe POSIX
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- failureCode :: Maybe SimulationJobBatchErrorCode
- failedRequests :: Maybe [FailedCreateSimulationJobRequest]
- batchPolicy :: Maybe BatchPolicy
- createdRequests :: Maybe [SimulationJobSummary]
- pendingRequests :: Maybe (NonEmpty SimulationJobRequest)
- clientRequestToken :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeSimulationJobBatchResponse :: Int -> DescribeSimulationJobBatchResponse
- describeSimulationJobBatchResponse_failureReason :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_status :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchStatus)
- describeSimulationJobBatchResponse_lastUpdatedAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime)
- describeSimulationJobBatchResponse_arn :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_createdAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime)
- describeSimulationJobBatchResponse_failureCode :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchErrorCode)
- describeSimulationJobBatchResponse_failedRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [FailedCreateSimulationJobRequest])
- describeSimulationJobBatchResponse_batchPolicy :: Lens' DescribeSimulationJobBatchResponse (Maybe BatchPolicy)
- describeSimulationJobBatchResponse_createdRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [SimulationJobSummary])
- describeSimulationJobBatchResponse_pendingRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe (NonEmpty SimulationJobRequest))
- describeSimulationJobBatchResponse_clientRequestToken :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_tags :: Lens' DescribeSimulationJobBatchResponse (Maybe (HashMap Text Text))
- describeSimulationJobBatchResponse_httpStatus :: Lens' DescribeSimulationJobBatchResponse Int
Creating a Request
data DescribeSimulationJobBatch Source #
See: newDescribeSimulationJobBatch
smart constructor.
Instances
newDescribeSimulationJobBatch Source #
Create a value of DescribeSimulationJobBatch
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:batch:DescribeSimulationJobBatch'
, describeSimulationJobBatch_batch
- The id of the batch to describe.
Request Lenses
describeSimulationJobBatch_batch :: Lens' DescribeSimulationJobBatch Text Source #
The id of the batch to describe.
Destructuring the Response
data DescribeSimulationJobBatchResponse Source #
See: newDescribeSimulationJobBatchResponse
smart constructor.
DescribeSimulationJobBatchResponse' | |
|
Instances
newDescribeSimulationJobBatchResponse Source #
Create a value of DescribeSimulationJobBatchResponse
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:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_failureReason
- The reason the simulation job batch failed.
$sel:status:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_status
- The status of the batch.
- Pending
- The simulation job batch request is pending.
- InProgress
- The simulation job batch is in progress.
- Failed
- The simulation job batch failed. One or more simulation job requests
could not be completed due to an internal failure (like
InternalServiceError
). SeefailureCode
andfailureReason
for more information. - Completed
- The simulation batch job completed. A batch is complete when (1)
there are no pending simulation job requests in the batch and none
of the failed simulation job requests are due to
InternalServiceError
and (2) when all created simulation jobs have reached a terminal state (for example,Completed
orFailed
). - Canceled
- The simulation batch job was cancelled.
- Canceling
- The simulation batch job is being cancelled.
- Completing
- The simulation batch job is completing.
- TimingOut
- The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError
), the batch status will beFailed
. If there are no such failing request, the batch status will beTimedOut
. - TimedOut
- The simulation batch job timed out.
$sel:lastUpdatedAt:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job batch
was last updated.
$sel:arn:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_arn
- The Amazon Resource Name (ARN) of the batch.
$sel:createdAt:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_createdAt
- The time, in milliseconds since the epoch, when the simulation job batch
was created.
$sel:failureCode:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_failureCode
- The failure code of the simulation job batch.
$sel:failedRequests:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_failedRequests
- A list of failed create simulation job requests. The request failed to
be created into a simulation job. Failed requests do not have a
simulation job ID.
$sel:batchPolicy:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_batchPolicy
- The batch policy.
$sel:createdRequests:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_createdRequests
- A list of created simulation job summaries.
$sel:pendingRequests:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_pendingRequests
- A list of pending simulation job requests. These requests have not yet
been created into simulation jobs.
$sel:clientRequestToken:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:tags:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_tags
- A map that contains tag keys and tag values that are attached to the
simulation job batch.
$sel:httpStatus:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_httpStatus
- The response's http status code.
Response Lenses
describeSimulationJobBatchResponse_failureReason :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
The reason the simulation job batch failed.
describeSimulationJobBatchResponse_status :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchStatus) Source #
The status of the batch.
- Pending
- The simulation job batch request is pending.
- InProgress
- The simulation job batch is in progress.
- Failed
- The simulation job batch failed. One or more simulation job requests
could not be completed due to an internal failure (like
InternalServiceError
). SeefailureCode
andfailureReason
for more information. - Completed
- The simulation batch job completed. A batch is complete when (1)
there are no pending simulation job requests in the batch and none
of the failed simulation job requests are due to
InternalServiceError
and (2) when all created simulation jobs have reached a terminal state (for example,Completed
orFailed
). - Canceled
- The simulation batch job was cancelled.
- Canceling
- The simulation batch job is being cancelled.
- Completing
- The simulation batch job is completing.
- TimingOut
- The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError
), the batch status will beFailed
. If there are no such failing request, the batch status will beTimedOut
. - TimedOut
- The simulation batch job timed out.
describeSimulationJobBatchResponse_lastUpdatedAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
describeSimulationJobBatchResponse_arn :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the batch.
describeSimulationJobBatchResponse_createdAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job batch was created.
describeSimulationJobBatchResponse_failureCode :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchErrorCode) Source #
The failure code of the simulation job batch.
describeSimulationJobBatchResponse_failedRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [FailedCreateSimulationJobRequest]) Source #
A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
describeSimulationJobBatchResponse_batchPolicy :: Lens' DescribeSimulationJobBatchResponse (Maybe BatchPolicy) Source #
The batch policy.
describeSimulationJobBatchResponse_createdRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [SimulationJobSummary]) Source #
A list of created simulation job summaries.
describeSimulationJobBatchResponse_pendingRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe (NonEmpty SimulationJobRequest)) Source #
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
describeSimulationJobBatchResponse_clientRequestToken :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
describeSimulationJobBatchResponse_tags :: Lens' DescribeSimulationJobBatchResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the simulation job batch.
describeSimulationJobBatchResponse_httpStatus :: Lens' DescribeSimulationJobBatchResponse Int Source #
The response's http status code.