Struct aws_sdk_emr::operation::terminate_job_flows::builders::TerminateJobFlowsFluentBuilder
source · pub struct TerminateJobFlowsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to TerminateJobFlows
.
TerminateJobFlows shuts a list of clusters (job flows) down. When a job flow is shut down, any step not yet completed is canceled and the Amazon EC2 instances on which the cluster is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the cluster was created.
The maximum number of clusters allowed is 10. The call to TerminateJobFlows
is asynchronous. Depending on the configuration of the cluster, it may take up to 1-5 minutes for the cluster to completely terminate and release allocated resources, such as Amazon EC2 instances.
Implementations§
source§impl TerminateJobFlowsFluentBuilder
impl TerminateJobFlowsFluentBuilder
sourcepub fn as_input(&self) -> &TerminateJobFlowsInputBuilder
pub fn as_input(&self) -> &TerminateJobFlowsInputBuilder
Access the TerminateJobFlows as a reference.
sourcepub async fn send(
self
) -> Result<TerminateJobFlowsOutput, SdkError<TerminateJobFlowsError, HttpResponse>>
pub async fn send( self ) -> Result<TerminateJobFlowsOutput, SdkError<TerminateJobFlowsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<TerminateJobFlowsOutput, TerminateJobFlowsError, Self>
pub fn customize( self ) -> CustomizableOperation<TerminateJobFlowsOutput, TerminateJobFlowsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn job_flow_ids(self, input: impl Into<String>) -> Self
pub fn job_flow_ids(self, input: impl Into<String>) -> Self
Appends an item to JobFlowIds
.
To override the contents of this collection use set_job_flow_ids
.
A list of job flows to be shut down.
sourcepub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_job_flow_ids(self, input: Option<Vec<String>>) -> Self
A list of job flows to be shut down.
sourcepub fn get_job_flow_ids(&self) -> &Option<Vec<String>>
pub fn get_job_flow_ids(&self) -> &Option<Vec<String>>
A list of job flows to be shut down.
Trait Implementations§
source§impl Clone for TerminateJobFlowsFluentBuilder
impl Clone for TerminateJobFlowsFluentBuilder
source§fn clone(&self) -> TerminateJobFlowsFluentBuilder
fn clone(&self) -> TerminateJobFlowsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more