amazonka-robomaker-2.0: Amazon RoboMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RobOMaker.DescribeSimulationJobBatch

Description

Describes a simulation job batch.

Synopsis

Creating a Request

data DescribeSimulationJobBatch Source #

See: newDescribeSimulationJobBatch smart constructor.

Constructors

DescribeSimulationJobBatch' 

Fields

  • batch :: Text

    The id of the batch to describe.

Instances

Instances details
ToJSON DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

ToHeaders DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

ToPath DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

ToQuery DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

AWSRequest DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Generic DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Associated Types

type Rep DescribeSimulationJobBatch :: Type -> Type #

Read DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Show DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

NFData DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Eq DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Hashable DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

type AWSResponse DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

type Rep DescribeSimulationJobBatch Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

type Rep DescribeSimulationJobBatch = D1 ('MetaData "DescribeSimulationJobBatch" "Amazonka.RobOMaker.DescribeSimulationJobBatch" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "DescribeSimulationJobBatch'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Destructuring the Response

data DescribeSimulationJobBatchResponse Source #

Constructors

DescribeSimulationJobBatchResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the batch.

  • batchPolicy :: Maybe BatchPolicy

    The batch policy.

  • clientRequestToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

  • createdAt :: Maybe POSIX

    The time, in milliseconds since the epoch, when the simulation job batch was created.

  • createdRequests :: Maybe [SimulationJobSummary]

    A list of created simulation job summaries.

  • failedRequests :: Maybe [FailedCreateSimulationJobRequest]

    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.

  • failureCode :: Maybe SimulationJobBatchErrorCode

    The failure code of the simulation job batch.

  • failureReason :: Maybe Text

    The reason the simulation job batch failed.

  • lastUpdatedAt :: Maybe POSIX

    The time, in milliseconds since the epoch, when the simulation job batch was last updated.

  • pendingRequests :: Maybe (NonEmpty SimulationJobRequest)

    A list of pending simulation job requests. These requests have not yet been created into simulation jobs.

  • status :: Maybe SimulationJobBatchStatus

    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). See failureCode and failureReason 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 or Failed).
    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 be Failed. If there are no such failing request, the batch status will be TimedOut.

    TimedOut
    The simulation batch job timed out.
  • tags :: Maybe (HashMap Text Text)

    A map that contains tag keys and tag values that are attached to the simulation job batch.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Associated Types

type Rep DescribeSimulationJobBatchResponse :: Type -> Type #

Read DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Show DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

NFData DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

Eq DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

type Rep DescribeSimulationJobBatchResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeSimulationJobBatch

type Rep DescribeSimulationJobBatchResponse = D1 ('MetaData "DescribeSimulationJobBatchResponse" "Amazonka.RobOMaker.DescribeSimulationJobBatch" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "DescribeSimulationJobBatchResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "batchPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchPolicy)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "createdRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SimulationJobSummary])) :*: S1 ('MetaSel ('Just "failedRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FailedCreateSimulationJobRequest]))))) :*: ((S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimulationJobBatchErrorCode)) :*: (S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "pendingRequests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SimulationJobRequest))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimulationJobBatchStatus))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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). See failureCode and failureReason 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 or Failed).
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 be Failed. If there are no such failing request, the batch status will be TimedOut.

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_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_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_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). See failureCode and failureReason 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 or Failed).
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 be Failed. If there are no such failing request, the batch status will be TimedOut.

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.