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.Types.SimulationJob

Description

 
Synopsis

Documentation

data SimulationJob Source #

Information about a simulation job.

See: newSimulationJob smart constructor.

Constructors

SimulationJob' 

Fields

Instances

Instances details
FromJSON SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

Generic SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

Associated Types

type Rep SimulationJob :: Type -> Type #

Read SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

Show SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

NFData SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

Methods

rnf :: SimulationJob -> () #

Eq SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

Hashable SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

type Rep SimulationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.Types.SimulationJob

type Rep SimulationJob = D1 ('MetaData "SimulationJob" "Amazonka.RobOMaker.Types.SimulationJob" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "SimulationJob'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "compute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComputeResponse)) :*: (S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataSource])) :*: S1 ('MetaSel ('Just "failureBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailureBehavior))))) :*: ((S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimulationJobErrorCode)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "iamRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastStartedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 ('MetaSel ('Just "loggingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingConfig)) :*: S1 ('MetaSel ('Just "maxJobDurationInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "networkInterface") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterface)) :*: S1 ('MetaSel ('Just "outputLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputLocation))))) :*: ((S1 ('MetaSel ('Just "robotApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty RobotApplicationConfig))) :*: (S1 ('MetaSel ('Just "simulationApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SimulationApplicationConfig))) :*: S1 ('MetaSel ('Just "simulationTimeMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimulationJobStatus)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VPCConfigResponse))))))))

newSimulationJob :: SimulationJob Source #

Create a value of SimulationJob 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:arn:SimulationJob', simulationJob_arn - The Amazon Resource Name (ARN) of the simulation job.

$sel:clientRequestToken:SimulationJob', simulationJob_clientRequestToken - A unique identifier for this SimulationJob request.

$sel:compute:SimulationJob', simulationJob_compute - Compute information for the simulation job

$sel:dataSources:SimulationJob', simulationJob_dataSources - The data sources for the simulation job.

$sel:failureBehavior:SimulationJob', simulationJob_failureBehavior - The failure behavior the simulation job.

Continue
Leaves the host running for its maximum timeout duration after a 4XX error code.
Fail
Stop the simulation job and terminate the instance.

$sel:failureCode:SimulationJob', simulationJob_failureCode - The failure code of the simulation job if it failed.

$sel:failureReason:SimulationJob', simulationJob_failureReason - The reason why the simulation job failed.

$sel:iamRole:SimulationJob', simulationJob_iamRole - The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

$sel:lastStartedAt:SimulationJob', simulationJob_lastStartedAt - The time, in milliseconds since the epoch, when the simulation job was last started.

$sel:lastUpdatedAt:SimulationJob', simulationJob_lastUpdatedAt - The time, in milliseconds since the epoch, when the simulation job was last updated.

$sel:loggingConfig:SimulationJob', simulationJob_loggingConfig - The logging configuration.

$sel:maxJobDurationInSeconds:SimulationJob', simulationJob_maxJobDurationInSeconds - The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

SimulationJob, simulationJob_name - The name of the simulation job.

$sel:networkInterface:SimulationJob', simulationJob_networkInterface - Information about a network interface.

$sel:outputLocation:SimulationJob', simulationJob_outputLocation - Location for output files generated by the simulation job.

$sel:robotApplications:SimulationJob', simulationJob_robotApplications - A list of robot applications.

$sel:simulationApplications:SimulationJob', simulationJob_simulationApplications - A list of simulation applications.

$sel:simulationTimeMillis:SimulationJob', simulationJob_simulationTimeMillis - The simulation job execution duration in milliseconds.

$sel:status:SimulationJob', simulationJob_status - Status of the simulation job.

$sel:tags:SimulationJob', simulationJob_tags - A map that contains tag keys and tag values that are attached to the simulation job.

$sel:vpcConfig:SimulationJob', simulationJob_vpcConfig - VPC configuration information.

simulationJob_arn :: Lens' SimulationJob (Maybe Text) Source #

The Amazon Resource Name (ARN) of the simulation job.

simulationJob_clientRequestToken :: Lens' SimulationJob (Maybe Text) Source #

A unique identifier for this SimulationJob request.

simulationJob_compute :: Lens' SimulationJob (Maybe ComputeResponse) Source #

Compute information for the simulation job

simulationJob_dataSources :: Lens' SimulationJob (Maybe [DataSource]) Source #

The data sources for the simulation job.

simulationJob_failureBehavior :: Lens' SimulationJob (Maybe FailureBehavior) Source #

The failure behavior the simulation job.

Continue
Leaves the host running for its maximum timeout duration after a 4XX error code.
Fail
Stop the simulation job and terminate the instance.

simulationJob_failureCode :: Lens' SimulationJob (Maybe SimulationJobErrorCode) Source #

The failure code of the simulation job if it failed.

simulationJob_failureReason :: Lens' SimulationJob (Maybe Text) Source #

The reason why the simulation job failed.

simulationJob_iamRole :: Lens' SimulationJob (Maybe Text) Source #

The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

simulationJob_lastStartedAt :: Lens' SimulationJob (Maybe UTCTime) Source #

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

simulationJob_lastUpdatedAt :: Lens' SimulationJob (Maybe UTCTime) Source #

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

simulationJob_maxJobDurationInSeconds :: Lens' SimulationJob (Maybe Integer) Source #

The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

simulationJob_name :: Lens' SimulationJob (Maybe Text) Source #

The name of the simulation job.

simulationJob_outputLocation :: Lens' SimulationJob (Maybe OutputLocation) Source #

Location for output files generated by the simulation job.

simulationJob_simulationTimeMillis :: Lens' SimulationJob (Maybe Integer) Source #

The simulation job execution duration in milliseconds.

simulationJob_tags :: Lens' SimulationJob (Maybe (HashMap Text Text)) Source #

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