Struct aws_sdk_emr::client::fluent_builders::TerminateJobFlows
source · [−]pub struct TerminateJobFlows<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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 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
impl<C, M, R> TerminateJobFlows<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> TerminateJobFlows<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<TerminateJobFlowsOutput, SdkError<TerminateJobFlowsError>> where
R::Policy: SmithyRetryPolicy<TerminateJobFlowsInputOperationOutputAlias, TerminateJobFlowsOutput, TerminateJobFlowsError, TerminateJobFlowsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<TerminateJobFlowsOutput, SdkError<TerminateJobFlowsError>> where
R::Policy: SmithyRetryPolicy<TerminateJobFlowsInputOperationOutputAlias, TerminateJobFlowsOutput, TerminateJobFlowsError, TerminateJobFlowsInputOperationRetryAlias>,
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.
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.
A list of job flows to be shut down.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for TerminateJobFlows<C, M, R>
impl<C, M, R> Send for TerminateJobFlows<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for TerminateJobFlows<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for TerminateJobFlows<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for TerminateJobFlows<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