Struct aws_sdk_emr::input::PutAutoScalingPolicyInput
source · [−]#[non_exhaustive]pub struct PutAutoScalingPolicyInput {
pub cluster_id: Option<String>,
pub instance_group_id: Option<String>,
pub auto_scaling_policy: Option<AutoScalingPolicy>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cluster_id: Option<String>Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
instance_group_id: Option<String>Specifies the ID of the instance group to which the automatic scaling policy is applied.
auto_scaling_policy: Option<AutoScalingPolicy>Specifies the definition of the automatic scaling policy.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAutoScalingPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAutoScalingPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutAutoScalingPolicy>
Creates a new builder-style object to manufacture PutAutoScalingPolicyInput
Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.
Specifies the ID of the instance group to which the automatic scaling policy is applied.
Specifies the definition of the automatic scaling policy.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PutAutoScalingPolicyInput
impl Send for PutAutoScalingPolicyInput
impl Sync for PutAutoScalingPolicyInput
impl Unpin for PutAutoScalingPolicyInput
impl UnwindSafe for PutAutoScalingPolicyInput
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