Struct aws_sdk_omics::client::fluent_builders::StartRun
source · pub struct StartRun { /* private fields */ }
Expand description
Fluent builder constructing a request to StartRun
.
Starts a run.
Implementations§
source§impl StartRun
impl StartRun
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartRun, AwsResponseRetryClassifier>, SdkError<StartRunError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartRun, AwsResponseRetryClassifier>, SdkError<StartRunError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<StartRunOutput, SdkError<StartRunError>>
pub async fn send(self) -> Result<StartRunOutput, SdkError<StartRunError>>
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.
sourcepub fn workflow_id(self, input: impl Into<String>) -> Self
pub fn workflow_id(self, input: impl Into<String>) -> Self
The run's workflow ID.
sourcepub fn set_workflow_id(self, input: Option<String>) -> Self
pub fn set_workflow_id(self, input: Option<String>) -> Self
The run's workflow ID.
sourcepub fn workflow_type(self, input: WorkflowType) -> Self
pub fn workflow_type(self, input: WorkflowType) -> Self
The run's workflows type.
sourcepub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
pub fn set_workflow_type(self, input: Option<WorkflowType>) -> Self
The run's workflows type.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The run's ID.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
A service role for the run.
sourcepub fn run_group_id(self, input: impl Into<String>) -> Self
pub fn run_group_id(self, input: impl Into<String>) -> Self
The run's group ID.
sourcepub fn set_run_group_id(self, input: Option<String>) -> Self
pub fn set_run_group_id(self, input: Option<String>) -> Self
The run's group ID.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
A priority for the run.
sourcepub fn parameters(self, input: Document) -> Self
pub fn parameters(self, input: Document) -> Self
Parameters for the run.
sourcepub fn set_parameters(self, input: Option<Document>) -> Self
pub fn set_parameters(self, input: Option<Document>) -> Self
Parameters for the run.
sourcepub fn storage_capacity(self, input: i32) -> Self
pub fn storage_capacity(self, input: i32) -> Self
A storage capacity for the run.
sourcepub fn set_storage_capacity(self, input: Option<i32>) -> Self
pub fn set_storage_capacity(self, input: Option<i32>) -> Self
A storage capacity for the run.
sourcepub fn output_uri(self, input: impl Into<String>) -> Self
pub fn output_uri(self, input: impl Into<String>) -> Self
An output URI for the run.
sourcepub fn set_output_uri(self, input: Option<String>) -> Self
pub fn set_output_uri(self, input: Option<String>) -> Self
An output URI for the run.
sourcepub fn log_level(self, input: RunLogLevel) -> Self
pub fn log_level(self, input: RunLogLevel) -> Self
A log level for the run.
sourcepub fn set_log_level(self, input: Option<RunLogLevel>) -> Self
pub fn set_log_level(self, input: Option<RunLogLevel>) -> Self
A log level for the run.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags for the run.
Tags for the run.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
A request ID for the run.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
A request ID for the run.