Struct aws_sdk_emr::input::SetTerminationProtectionInput
source · [−]#[non_exhaustive]pub struct SetTerminationProtectionInput {
pub job_flow_ids: Option<Vec<String>>,
pub termination_protected: bool,
}Expand description
The input argument to the TerminationProtection operation.
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.job_flow_ids: Option<Vec<String>> A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
termination_protected: boolA Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTerminationProtection, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetTerminationProtection, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetTerminationProtection>
Creates a new builder-style object to manufacture SetTerminationProtectionInput
A list of strings that uniquely identify the clusters to protect. This identifier is returned by RunJobFlow and can also be obtained from DescribeJobFlows .
A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.
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 SetTerminationProtectionInput
impl Sync for SetTerminationProtectionInput
impl Unpin for SetTerminationProtectionInput
impl UnwindSafe for SetTerminationProtectionInput
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