SimulationJob - AWS RoboMaker

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

SimulationJob

有关模拟作业的信息。

内容

arn

模拟作业的 Amazon 资源名称(ARN)。

类型:字符串

长度限制:长度下限为 1。最大长度为 1224。

模式:arn:.*

必需:否

clientRequestToken

SimulationJob 请求的唯一标识符。

类型:字符串

长度限制:长度下限为 1。长度上限为 64。

模式:[a-zA-Z0-9_\-=]*

必需:否

compute

计算模拟作业的信息

类型:ComputeResponse 对象

必需:否

dataSources

模拟作业的数据来源。

类型:DataSource 对象数组

必需:否

failureBehavior

模拟作业的失败行为。

Continue

出现 4XX 错误代码后,让主机在最大超时持续时间内运行。

Fail

停止模拟作业并终止实例。

类型:字符串

有效值:Fail | Continue

必需:否

failureCode

模拟作业失败时的失败代码。

类型:字符串

有效值:InternalServiceError | RobotApplicationCrash | SimulationApplicationCrash | RobotApplicationHealthCheckFailure | SimulationApplicationHealthCheckFailure | BadPermissionsRobotApplication | BadPermissionsSimulationApplication | BadPermissionsS3Object | BadPermissionsS3Output | BadPermissionsCloudwatchLogs | SubnetIpLimitExceeded | ENILimitExceeded | BadPermissionsUserCredentials | InvalidBundleRobotApplication | InvalidBundleSimulationApplication | InvalidS3Resource | ThrottlingError | LimitExceeded | MismatchedEtag | RobotApplicationVersionMismatchedEtag | SimulationApplicationVersionMismatchedEtag | ResourceNotFound | RequestThrottled | BatchTimedOut | BatchCanceled | InvalidInput | WrongRegionS3Bucket | WrongRegionS3Output | WrongRegionRobotApplication | WrongRegionSimulationApplication | UploadContentMismatchError

必需:否

failureReason

模拟作业处理失败的原因。

类型:字符串

长度约束:最小长度为 0。最大长度为 1024。

模式:.*

必需:否

iamRole

IAM 角色,此角色可使模拟实例有权代表您调用其关联策略中指定的 AWS API。凭证就是通过这种方法传递给您的模拟作业的。

类型:字符串

长度限制:长度下限为 1。最大长度为 255。

模式:arn:aws:iam::\w+:role/.*

必需:否

lastStartedAt

上次启动模拟作业的时间,用从纪元开始的毫秒数表示。

类型:时间戳

必需:否

lastUpdatedAt

上次更新模拟作业的时间,用从纪元开始的毫秒数表示。

类型:时间戳

必需:否

loggingConfig

日志记录配置。

类型:LoggingConfig 对象

必需:否

maxJobDurationInSeconds

最长模拟作业持续时间,以秒为单位。该值必须为 8 天(691,200 秒)或更短。

类型:长整型

必需:否

name

模拟作业的名称。

类型:字符串

长度限制:长度下限为 1。最大长度为 255。

模式:[a-zA-Z0-9_\-]*

必需:否

networkInterface

有关网络接口的信息。

类型:NetworkInterface 对象

必需:否

outputLocation

模拟作业生成的输出文件的位置。

类型:OutputLocation 对象

必需:否

robotApplications

机器人应用程序列表。

类型:RobotApplicationConfig 对象数组

数组成员:固定数量为 1 项。

必需:否

simulationApplications

模拟应用程序列表。

类型:SimulationApplicationConfig 对象数组

数组成员:固定数量为 1 项。

必需:否

simulationTimeMillis

模拟作业执行持续时间(以毫秒为单位)。

类型:长整型

必需:否

status

模拟作业的状态。

类型:字符串

有效值:Pending | Preparing | Running | Restarting | Completed | Failed | RunningFailed | Terminating | Terminated | Canceled

必需:否

tags

包含附加到模拟作业的标签键和标签值的映射。

类型:字符串到字符串映射

映射条目:最低 0 项。最多 50 项。

密钥长度限制:最小长度为 1。长度上限为 128。

键模式:[a-zA-Z0-9 _.\-\/+=:]*

值长度限制:最小长度为 0。最大长度为 256。

价值模式:[a-zA-Z0-9 _.\-\/+=:]*

必需:否

vpcConfig

VPC 配置信息。

类型:VPCConfigResponse 对象

必需:否

另请参阅

有关在特定语言的 AWS SDK 中使用此 API 的更多信息,请参阅以下内容: