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 |
Describes a simulation job batch.
Synopsis
- data DescribeSimulationJobBatch = DescribeSimulationJobBatch' {}
- newDescribeSimulationJobBatch :: Text -> DescribeSimulationJobBatch
- describeSimulationJobBatch_batch :: Lens' DescribeSimulationJobBatch Text
- data DescribeSimulationJobBatchResponse = DescribeSimulationJobBatchResponse' {
- arn :: Maybe Text
- batchPolicy :: Maybe BatchPolicy
- clientRequestToken :: Maybe Text
- createdAt :: Maybe POSIX
- createdRequests :: Maybe [SimulationJobSummary]
- failedRequests :: Maybe [FailedCreateSimulationJobRequest]
- failureCode :: Maybe SimulationJobBatchErrorCode
- failureReason :: Maybe Text
- lastUpdatedAt :: Maybe POSIX
- pendingRequests :: Maybe (NonEmpty SimulationJobRequest)
- status :: Maybe SimulationJobBatchStatus
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeSimulationJobBatchResponse :: Int -> DescribeSimulationJobBatchResponse
- describeSimulationJobBatchResponse_arn :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_batchPolicy :: Lens' DescribeSimulationJobBatchResponse (Maybe BatchPolicy)
- describeSimulationJobBatchResponse_clientRequestToken :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_createdAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime)
- describeSimulationJobBatchResponse_createdRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [SimulationJobSummary])
- describeSimulationJobBatchResponse_failedRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [FailedCreateSimulationJobRequest])
- describeSimulationJobBatchResponse_failureCode :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchErrorCode)
- describeSimulationJobBatchResponse_failureReason :: Lens' DescribeSimulationJobBatchResponse (Maybe Text)
- describeSimulationJobBatchResponse_lastUpdatedAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime)
- describeSimulationJobBatchResponse_pendingRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe (NonEmpty SimulationJobRequest))
- describeSimulationJobBatchResponse_status :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchStatus)
- 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:
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_arn
- The Amazon Resource Name (ARN) of the batch.
$sel:batchPolicy:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_batchPolicy
- The batch policy.
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_createdAt
- The time, in milliseconds since the epoch, when the simulation job batch
was created.
$sel:createdRequests:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_createdRequests
- A list of created simulation job summaries.
$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.
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_failureCode
- The failure code of the simulation job batch.
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_failureReason
- The reason the simulation job batch failed.
DescribeSimulationJobBatchResponse
, describeSimulationJobBatchResponse_lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job batch
was last updated.
$sel:pendingRequests:DescribeSimulationJobBatchResponse'
, describeSimulationJobBatchResponse_pendingRequests
- A list of pending simulation job requests. These requests have not yet
been created into simulation jobs.
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.
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_arn :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the batch.
describeSimulationJobBatchResponse_batchPolicy :: Lens' DescribeSimulationJobBatchResponse (Maybe BatchPolicy) Source #
The batch policy.
describeSimulationJobBatchResponse_clientRequestToken :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
describeSimulationJobBatchResponse_createdAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job batch was created.
describeSimulationJobBatchResponse_createdRequests :: Lens' DescribeSimulationJobBatchResponse (Maybe [SimulationJobSummary]) Source #
A list of created simulation job summaries.
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_failureCode :: Lens' DescribeSimulationJobBatchResponse (Maybe SimulationJobBatchErrorCode) Source #
The failure code of the simulation job batch.
describeSimulationJobBatchResponse_failureReason :: Lens' DescribeSimulationJobBatchResponse (Maybe Text) Source #
The reason the simulation job batch failed.
describeSimulationJobBatchResponse_lastUpdatedAt :: Lens' DescribeSimulationJobBatchResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
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_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_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.