Struct aws_sdk_emr::input::PutAutoTerminationPolicyInput
source · [−]#[non_exhaustive]pub struct PutAutoTerminationPolicyInput {
pub cluster_id: Option<String>,
pub auto_termination_policy: Option<AutoTerminationPolicy>,
}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 the Amazon EMR cluster to which the auto-termination policy will be attached.
auto_termination_policy: Option<AutoTerminationPolicy>Specifies the auto-termination policy to attach to the cluster.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAutoTerminationPolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAutoTerminationPolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutAutoTerminationPolicy>
Creates a new builder-style object to manufacture PutAutoTerminationPolicyInput
Specifies the ID of the Amazon EMR cluster to which the auto-termination policy will be attached.
Specifies the auto-termination policy to attach to the cluster.
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 Send for PutAutoTerminationPolicyInput
impl Sync for PutAutoTerminationPolicyInput
impl Unpin for PutAutoTerminationPolicyInput
impl UnwindSafe for PutAutoTerminationPolicyInput
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