Struct aws_sdk_emr::client::fluent_builders::PutManagedScalingPolicy [−][src]
pub struct PutManagedScalingPolicy<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to PutManagedScalingPolicy.
Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Implementations
impl<C, M, R> PutManagedScalingPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutManagedScalingPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutManagedScalingPolicyOutput, SdkError<PutManagedScalingPolicyError>> where
R::Policy: SmithyRetryPolicy<PutManagedScalingPolicyInputOperationOutputAlias, PutManagedScalingPolicyOutput, PutManagedScalingPolicyError, PutManagedScalingPolicyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutManagedScalingPolicyOutput, SdkError<PutManagedScalingPolicyError>> where
R::Policy: SmithyRetryPolicy<PutManagedScalingPolicyInputOperationOutputAlias, PutManagedScalingPolicyOutput, PutManagedScalingPolicyError, PutManagedScalingPolicyInputOperationRetryAlias>,
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.
Specifies the ID of an EMR cluster where the managed scaling policy is attached.
Specifies the ID of an EMR cluster where the managed scaling policy is attached.
Specifies the constraints for the managed scaling policy.
Specifies the constraints for the managed scaling policy.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutManagedScalingPolicy<C, M, R>
impl<C, M, R> Send for PutManagedScalingPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutManagedScalingPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutManagedScalingPolicy<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutManagedScalingPolicy<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