| 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 |
Amazonka.RobOMaker.DescribeSimulationJob
Description
Describes a simulation job.
Synopsis
- data DescribeSimulationJob = DescribeSimulationJob' {}
- newDescribeSimulationJob :: Text -> DescribeSimulationJob
- describeSimulationJob_job :: Lens' DescribeSimulationJob Text
- data DescribeSimulationJobResponse = DescribeSimulationJobResponse' {
- arn :: Maybe Text
- clientRequestToken :: Maybe Text
- compute :: Maybe ComputeResponse
- dataSources :: Maybe [DataSource]
- failureBehavior :: Maybe FailureBehavior
- failureCode :: Maybe SimulationJobErrorCode
- failureReason :: Maybe Text
- iamRole :: Maybe Text
- lastStartedAt :: Maybe POSIX
- lastUpdatedAt :: Maybe POSIX
- loggingConfig :: Maybe LoggingConfig
- maxJobDurationInSeconds :: Maybe Integer
- name :: Maybe Text
- networkInterface :: Maybe NetworkInterface
- outputLocation :: Maybe OutputLocation
- robotApplications :: Maybe (NonEmpty RobotApplicationConfig)
- simulationApplications :: Maybe (NonEmpty SimulationApplicationConfig)
- simulationTimeMillis :: Maybe Integer
- status :: Maybe SimulationJobStatus
- tags :: Maybe (HashMap Text Text)
- vpcConfig :: Maybe VPCConfigResponse
- httpStatus :: Int
- newDescribeSimulationJobResponse :: Int -> DescribeSimulationJobResponse
- describeSimulationJobResponse_arn :: Lens' DescribeSimulationJobResponse (Maybe Text)
- describeSimulationJobResponse_clientRequestToken :: Lens' DescribeSimulationJobResponse (Maybe Text)
- describeSimulationJobResponse_compute :: Lens' DescribeSimulationJobResponse (Maybe ComputeResponse)
- describeSimulationJobResponse_dataSources :: Lens' DescribeSimulationJobResponse (Maybe [DataSource])
- describeSimulationJobResponse_failureBehavior :: Lens' DescribeSimulationJobResponse (Maybe FailureBehavior)
- describeSimulationJobResponse_failureCode :: Lens' DescribeSimulationJobResponse (Maybe SimulationJobErrorCode)
- describeSimulationJobResponse_failureReason :: Lens' DescribeSimulationJobResponse (Maybe Text)
- describeSimulationJobResponse_iamRole :: Lens' DescribeSimulationJobResponse (Maybe Text)
- describeSimulationJobResponse_lastStartedAt :: Lens' DescribeSimulationJobResponse (Maybe UTCTime)
- describeSimulationJobResponse_lastUpdatedAt :: Lens' DescribeSimulationJobResponse (Maybe UTCTime)
- describeSimulationJobResponse_loggingConfig :: Lens' DescribeSimulationJobResponse (Maybe LoggingConfig)
- describeSimulationJobResponse_maxJobDurationInSeconds :: Lens' DescribeSimulationJobResponse (Maybe Integer)
- describeSimulationJobResponse_name :: Lens' DescribeSimulationJobResponse (Maybe Text)
- describeSimulationJobResponse_networkInterface :: Lens' DescribeSimulationJobResponse (Maybe NetworkInterface)
- describeSimulationJobResponse_outputLocation :: Lens' DescribeSimulationJobResponse (Maybe OutputLocation)
- describeSimulationJobResponse_robotApplications :: Lens' DescribeSimulationJobResponse (Maybe (NonEmpty RobotApplicationConfig))
- describeSimulationJobResponse_simulationApplications :: Lens' DescribeSimulationJobResponse (Maybe (NonEmpty SimulationApplicationConfig))
- describeSimulationJobResponse_simulationTimeMillis :: Lens' DescribeSimulationJobResponse (Maybe Integer)
- describeSimulationJobResponse_status :: Lens' DescribeSimulationJobResponse (Maybe SimulationJobStatus)
- describeSimulationJobResponse_tags :: Lens' DescribeSimulationJobResponse (Maybe (HashMap Text Text))
- describeSimulationJobResponse_vpcConfig :: Lens' DescribeSimulationJobResponse (Maybe VPCConfigResponse)
- describeSimulationJobResponse_httpStatus :: Lens' DescribeSimulationJobResponse Int
Creating a Request
data DescribeSimulationJob Source #
See: newDescribeSimulationJob smart constructor.
Constructors
| DescribeSimulationJob' | |
Instances
newDescribeSimulationJob Source #
Arguments
| :: Text | |
| -> DescribeSimulationJob |
Create a value of DescribeSimulationJob 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:DescribeSimulationJob', describeSimulationJob_job - The Amazon Resource Name (ARN) of the simulation job to be described.
Request Lenses
describeSimulationJob_job :: Lens' DescribeSimulationJob Text Source #
The Amazon Resource Name (ARN) of the simulation job to be described.
Destructuring the Response
data DescribeSimulationJobResponse Source #
See: newDescribeSimulationJobResponse smart constructor.
Constructors
| DescribeSimulationJobResponse' | |
Fields
| |
Instances
newDescribeSimulationJobResponse Source #
Create a value of DescribeSimulationJobResponse 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:
DescribeSimulationJobResponse, describeSimulationJobResponse_arn - The Amazon Resource Name (ARN) of the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_clientRequestToken - Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
DescribeSimulationJobResponse, describeSimulationJobResponse_compute - Compute information for the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_dataSources - The data sources for the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_failureBehavior - The failure behavior for the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_failureCode - The failure code of the simulation job if it failed:
- InternalServiceError
- Internal service error.
- RobotApplicationCrash
- Robot application exited abnormally.
- SimulationApplicationCrash
- Simulation application exited abnormally.
- BadPermissionsRobotApplication
- Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
- Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
- Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
- Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
- Subnet IP limit exceeded.
- ENILimitExceeded
- ENI limit exceeded.
- BadPermissionsUserCredentials
- Unable to use the Role provided.
- InvalidBundleRobotApplication
- Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
- Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
- Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
- Etag for SimulationApplication does not match value during version creation.
DescribeSimulationJobResponse, describeSimulationJobResponse_failureReason - Details about why the simulation job failed. For more information about
troubleshooting, see
Troubleshooting.
DescribeSimulationJobResponse, describeSimulationJobResponse_iamRole - The IAM role that allows the simulation instance to call the AWS APIs
that are specified in its associated policies on your behalf.
DescribeSimulationJobResponse, describeSimulationJobResponse_lastStartedAt - The time, in milliseconds since the epoch, when the simulation job was
last started.
DescribeSimulationJobResponse, describeSimulationJobResponse_lastUpdatedAt - The time, in milliseconds since the epoch, when the simulation job was
last updated.
DescribeSimulationJobResponse, describeSimulationJobResponse_loggingConfig - The logging configuration.
DescribeSimulationJobResponse, describeSimulationJobResponse_maxJobDurationInSeconds - The maximum job duration in seconds. The value must be 8 days (691,200
seconds) or less.
DescribeSimulationJobResponse, describeSimulationJobResponse_name - The name of the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_networkInterface - The network interface information for the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_outputLocation - Location for output files generated by the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_robotApplications - A list of robot applications.
DescribeSimulationJobResponse, describeSimulationJobResponse_simulationApplications - A list of simulation applications.
DescribeSimulationJobResponse, describeSimulationJobResponse_simulationTimeMillis - The simulation job execution duration in milliseconds.
DescribeSimulationJobResponse, describeSimulationJobResponse_status - The status of the simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_tags - The list of all tags added to the specified simulation job.
DescribeSimulationJobResponse, describeSimulationJobResponse_vpcConfig - The VPC configuration.
$sel:httpStatus:DescribeSimulationJobResponse', describeSimulationJobResponse_httpStatus - The response's http status code.
Response Lenses
describeSimulationJobResponse_arn :: Lens' DescribeSimulationJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the simulation job.
describeSimulationJobResponse_clientRequestToken :: Lens' DescribeSimulationJobResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
describeSimulationJobResponse_compute :: Lens' DescribeSimulationJobResponse (Maybe ComputeResponse) Source #
Compute information for the simulation job.
describeSimulationJobResponse_dataSources :: Lens' DescribeSimulationJobResponse (Maybe [DataSource]) Source #
The data sources for the simulation job.
describeSimulationJobResponse_failureBehavior :: Lens' DescribeSimulationJobResponse (Maybe FailureBehavior) Source #
The failure behavior for the simulation job.
describeSimulationJobResponse_failureCode :: Lens' DescribeSimulationJobResponse (Maybe SimulationJobErrorCode) Source #
The failure code of the simulation job if it failed:
- InternalServiceError
- Internal service error.
- RobotApplicationCrash
- Robot application exited abnormally.
- SimulationApplicationCrash
- Simulation application exited abnormally.
- BadPermissionsRobotApplication
- Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
- Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
- Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
- Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
- Subnet IP limit exceeded.
- ENILimitExceeded
- ENI limit exceeded.
- BadPermissionsUserCredentials
- Unable to use the Role provided.
- InvalidBundleRobotApplication
- Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
- Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
- Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
- Etag for SimulationApplication does not match value during version creation.
describeSimulationJobResponse_failureReason :: Lens' DescribeSimulationJobResponse (Maybe Text) Source #
Details about why the simulation job failed. For more information about troubleshooting, see Troubleshooting.
describeSimulationJobResponse_iamRole :: Lens' DescribeSimulationJobResponse (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.
describeSimulationJobResponse_lastStartedAt :: Lens' DescribeSimulationJobResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job was last started.
describeSimulationJobResponse_lastUpdatedAt :: Lens' DescribeSimulationJobResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the simulation job was last updated.
describeSimulationJobResponse_loggingConfig :: Lens' DescribeSimulationJobResponse (Maybe LoggingConfig) Source #
The logging configuration.
describeSimulationJobResponse_maxJobDurationInSeconds :: Lens' DescribeSimulationJobResponse (Maybe Integer) Source #
The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.
describeSimulationJobResponse_name :: Lens' DescribeSimulationJobResponse (Maybe Text) Source #
The name of the simulation job.
describeSimulationJobResponse_networkInterface :: Lens' DescribeSimulationJobResponse (Maybe NetworkInterface) Source #
The network interface information for the simulation job.
describeSimulationJobResponse_outputLocation :: Lens' DescribeSimulationJobResponse (Maybe OutputLocation) Source #
Location for output files generated by the simulation job.
describeSimulationJobResponse_robotApplications :: Lens' DescribeSimulationJobResponse (Maybe (NonEmpty RobotApplicationConfig)) Source #
A list of robot applications.
describeSimulationJobResponse_simulationApplications :: Lens' DescribeSimulationJobResponse (Maybe (NonEmpty SimulationApplicationConfig)) Source #
A list of simulation applications.
describeSimulationJobResponse_simulationTimeMillis :: Lens' DescribeSimulationJobResponse (Maybe Integer) Source #
The simulation job execution duration in milliseconds.
describeSimulationJobResponse_status :: Lens' DescribeSimulationJobResponse (Maybe SimulationJobStatus) Source #
The status of the simulation job.
describeSimulationJobResponse_tags :: Lens' DescribeSimulationJobResponse (Maybe (HashMap Text Text)) Source #
The list of all tags added to the specified simulation job.
describeSimulationJobResponse_vpcConfig :: Lens' DescribeSimulationJobResponse (Maybe VPCConfigResponse) Source #
The VPC configuration.
describeSimulationJobResponse_httpStatus :: Lens' DescribeSimulationJobResponse Int Source #
The response's http status code.