AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

SimulationJob

import "github.com/aws/aws-sdk-go/service/robomaker"

type SimulationJob struct { Arn *string `locationName:"arn" min:"1" type:"string"` ClientRequestToken *string `locationName:"clientRequestToken" min:"1" type:"string"` FailureBehavior *string `locationName:"failureBehavior" type:"string" enum:"FailureBehavior"` FailureCode *string `locationName:"failureCode" type:"string" enum:"SimulationJobErrorCode"` FailureReason *string `locationName:"failureReason" type:"string"` IamRole *string `locationName:"iamRole" min:"1" type:"string"` LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` MaxJobDurationInSeconds *int64 `locationName:"maxJobDurationInSeconds" type:"long"` Name *string `locationName:"name" min:"1" type:"string"` OutputLocation *OutputLocation `locationName:"outputLocation" type:"structure"` RobotApplications []*RobotApplicationConfig `locationName:"robotApplications" min:"1" type:"list"` SimulationApplications []*SimulationApplicationConfig `locationName:"simulationApplications" min:"1" type:"list"` SimulationTimeMillis *int64 `locationName:"simulationTimeMillis" type:"long"` Status *string `locationName:"status" type:"string" enum:"SimulationJobStatus"` Tags map[string]*string `locationName:"tags" type:"map"` VpcConfig *VPCConfigResponse `locationName:"vpcConfig" type:"structure"` }

Information about a simulation job.

Arn

Type: *string

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

ClientRequestToken

Type: *string

A unique identifier for this SimulationJob request.

FailureBehavior

Type: *string

The failure behavior the simulation job.

ContinueRestart the simulation job in the same host instance.

FailStop the simulation job and terminate the instance.

FailureCode

Type: *string

The failure code of the simulation job if it failed.

FailureReason

Type: *string

The reason why the simulation job failed.

IamRole

Type: *string

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. See how to specify AWS security credentials for your application (https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/deployment-ecs-specify-credentials).

LastUpdatedAt

Type: *time.Time

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

MaxJobDurationInSeconds

Type: *int64

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

Name

Type: *string

The name of the simulation job.

OutputLocation

The output location.

RobotApplications

Application configuration information for a robot.

SimulationApplications

Information about a simulation application configuration.

SimulationTimeMillis

Type: *int64

The simulation job execution duration in milliseconds.

Status

Type: *string

Status of the simulation job.

Tags

Type: map[string]*string

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

VpcConfig

VPC configuration associated with your simulation job.

Method

GoString

func (s SimulationJob) GoString() string

GoString returns the string representation

SetArn

func (s *SimulationJob) SetArn(v string) *SimulationJob

SetArn sets the Arn field's value.

SetClientRequestToken

func (s *SimulationJob) SetClientRequestToken(v string) *SimulationJob

SetClientRequestToken sets the ClientRequestToken field's value.

SetFailureBehavior

func (s *SimulationJob) SetFailureBehavior(v string) *SimulationJob

SetFailureBehavior sets the FailureBehavior field's value.

SetFailureCode

func (s *SimulationJob) SetFailureCode(v string) *SimulationJob

SetFailureCode sets the FailureCode field's value.

SetFailureReason

func (s *SimulationJob) SetFailureReason(v string) *SimulationJob

SetFailureReason sets the FailureReason field's value.

SetIamRole

func (s *SimulationJob) SetIamRole(v string) *SimulationJob

SetIamRole sets the IamRole field's value.

SetLastUpdatedAt

func (s *SimulationJob) SetLastUpdatedAt(v time.Time) *SimulationJob

SetLastUpdatedAt sets the LastUpdatedAt field's value.

SetMaxJobDurationInSeconds

func (s *SimulationJob) SetMaxJobDurationInSeconds(v int64) *SimulationJob

SetMaxJobDurationInSeconds sets the MaxJobDurationInSeconds field's value.

SetName

func (s *SimulationJob) SetName(v string) *SimulationJob

SetName sets the Name field's value.

SetOutputLocation

func (s *SimulationJob) SetOutputLocation(v *OutputLocation) *SimulationJob

SetOutputLocation sets the OutputLocation field's value.

SetRobotApplications

func (s *SimulationJob) SetRobotApplications(v []*RobotApplicationConfig) *SimulationJob

SetRobotApplications sets the RobotApplications field's value.

SetSimulationApplications

func (s *SimulationJob) SetSimulationApplications(v []*SimulationApplicationConfig) *SimulationJob

SetSimulationApplications sets the SimulationApplications field's value.

SetSimulationTimeMillis

func (s *SimulationJob) SetSimulationTimeMillis(v int64) *SimulationJob

SetSimulationTimeMillis sets the SimulationTimeMillis field's value.

SetStatus

func (s *SimulationJob) SetStatus(v string) *SimulationJob

SetStatus sets the Status field's value.

SetTags

func (s *SimulationJob) SetTags(v map[string]*string) *SimulationJob

SetTags sets the Tags field's value.

SetVpcConfig

func (s *SimulationJob) SetVpcConfig(v *VPCConfigResponse) *SimulationJob

SetVpcConfig sets the VpcConfig field's value.

String

func (s SimulationJob) String() string

String returns the string representation

On this page: