Struct aws_sdk_robomaker::client::fluent_builders::CreateSimulationJob [−][src]
pub struct CreateSimulationJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreateSimulationJob.
Creates a simulation job.
After 90 days, simulation jobs expire and will be deleted. They will no longer be accessible.
Implementations
impl<C, M, R> CreateSimulationJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSimulationJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSimulationJobOutput, SdkError<CreateSimulationJobError>> where
R::Policy: SmithyRetryPolicy<CreateSimulationJobInputOperationOutputAlias, CreateSimulationJobOutput, CreateSimulationJobError, CreateSimulationJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSimulationJobOutput, SdkError<CreateSimulationJobError>> where
R::Policy: SmithyRetryPolicy<CreateSimulationJobInputOperationOutputAlias, CreateSimulationJobOutput, CreateSimulationJobError, CreateSimulationJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Location for output files generated by the simulation job.
Location for output files generated by the simulation job.
The logging configuration.
The logging configuration.
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds is reached, the simulation job will status will
transition to Completed.
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds is reached, the simulation job will status will
transition to Completed.
The IAM role name 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.
The IAM role name 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.
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XXerror code. - Fail
-
Stop the simulation job and terminate the instance.
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XXerror code. - Fail
-
Stop the simulation job and terminate the instance.
Appends an item to robotApplications.
To override the contents of this collection use set_robot_applications.
The robot application to use in the simulation job.
The robot application to use in the simulation job.
Appends an item to simulationApplications.
To override the contents of this collection use set_simulation_applications.
The simulation application to use in the simulation job.
pub fn set_simulation_applications(
self,
input: Option<Vec<SimulationApplicationConfig>>
) -> Self
pub fn set_simulation_applications(
self,
input: Option<Vec<SimulationApplicationConfig>>
) -> Self
The simulation application to use in the simulation job.
Appends an item to dataSources.
To override the contents of this collection use set_data_sources.
Specify data sources to mount read-only files from S3 into your simulation. These files
are available under /opt/robomaker/datasources/data_source_name.
There is a limit of 100 files and a combined size of 25GB for all
DataSourceConfig objects.
Specify data sources to mount read-only files from S3 into your simulation. These files
are available under /opt/robomaker/datasources/data_source_name.
There is a limit of 100 files and a combined size of 25GB for all
DataSourceConfig objects.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A map that contains tag keys and tag values that are attached to the simulation job.
A map that contains tag keys and tag values that are attached to the simulation job.
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
Compute information for the simulation job.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateSimulationJob<C, M, R>
impl<C, M, R> Send for CreateSimulationJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateSimulationJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateSimulationJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateSimulationJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more