Struct rusoto_emr::JobFlowDetail
source · [−]pub struct JobFlowDetail {Show 15 fields
pub ami_version: Option<String>,
pub auto_scaling_role: Option<String>,
pub bootstrap_actions: Option<Vec<BootstrapActionDetail>>,
pub execution_status_detail: JobFlowExecutionStatusDetail,
pub instances: JobFlowInstancesDetail,
pub job_flow_id: String,
pub job_flow_role: Option<String>,
pub log_encryption_kms_key_id: Option<String>,
pub log_uri: Option<String>,
pub name: String,
pub scale_down_behavior: Option<String>,
pub service_role: Option<String>,
pub steps: Option<Vec<StepDetail>>,
pub supported_products: Option<Vec<String>>,
pub visible_to_all_users: Option<bool>,
}
Expand description
A description of a cluster (job flow).
Fields
ami_version: Option<String>
Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR releases 4.0 and later, ReleaseLabel
is used. To specify a custom AMI, use CustomAmiID
.
auto_scaling_role: Option<String>
An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole
. The IAM role provides a way for the automatic scaling feature to get the required permissions it needs to launch and terminate EC2 instances in an instance group.
bootstrap_actions: Option<Vec<BootstrapActionDetail>>
A list of the bootstrap actions run by the job flow.
execution_status_detail: JobFlowExecutionStatusDetail
Describes the execution status of the job flow.
instances: JobFlowInstancesDetail
Describes the Amazon EC2 instances of the job flow.
job_flow_id: String
The job flow identifier.
job_flow_role: Option<String>
The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.
log_encryption_kms_key_id: Option<String>
The AWS KMS customer master key (CMK) used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
log_uri: Option<String>
The location in Amazon S3 where log files for the job are stored.
name: String
The name of the job flow.
scale_down_behavior: Option<String>
The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR adds nodes to a deny list and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
service_role: Option<String>
The IAM role that is assumed by the Amazon EMR service to access AWS resources on your behalf.
steps: Option<Vec<StepDetail>>
A list of steps run by the job flow.
supported_products: Option<Vec<String>>
A list of strings set by third-party software when the job flow is launched. If you are not using third-party software to manage the job flow, this value is empty.
visible_to_all_users: Option<bool>
Indicates whether the cluster is visible to all IAM users of the AWS account associated with the cluster. The default value, true
, indicates that all IAM users in the AWS account can perform cluster actions if they have the proper IAM policy permissions. If this value is false
, only the IAM user that created the cluster can perform actions. This value can be changed on a running cluster by using the SetVisibleToAllUsers action. You can override the default value of true
when you create a cluster by using the VisibleToAllUsers
parameter of the RunJobFlow
action.
Trait Implementations
sourceimpl Clone for JobFlowDetail
impl Clone for JobFlowDetail
sourcefn clone(&self) -> JobFlowDetail
fn clone(&self) -> JobFlowDetail
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JobFlowDetail
impl Debug for JobFlowDetail
sourceimpl Default for JobFlowDetail
impl Default for JobFlowDetail
sourcefn default() -> JobFlowDetail
fn default() -> JobFlowDetail
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JobFlowDetail
impl<'de> Deserialize<'de> for JobFlowDetail
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<JobFlowDetail> for JobFlowDetail
impl PartialEq<JobFlowDetail> for JobFlowDetail
sourcefn eq(&self, other: &JobFlowDetail) -> bool
fn eq(&self, other: &JobFlowDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &JobFlowDetail) -> bool
fn ne(&self, other: &JobFlowDetail) -> bool
This method tests for !=
.
impl StructuralPartialEq for JobFlowDetail
Auto Trait Implementations
impl RefUnwindSafe for JobFlowDetail
impl Send for JobFlowDetail
impl Sync for JobFlowDetail
impl Unpin for JobFlowDetail
impl UnwindSafe for JobFlowDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more