#[non_exhaustive]pub struct AddJobFlowStepsInput {
pub job_flow_id: Option<String>,
pub steps: Option<Vec<StepConfig>>,
pub execution_role_arn: Option<String>,
}
Expand description
The input argument to the AddJobFlowSteps
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_id: Option<String>
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow
and can also be obtained from ListClusters
.
steps: Option<Vec<StepConfig>>
A list of StepConfig
to be executed by the job flow.
execution_role_arn: Option<String>
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
Implementations§
source§impl AddJobFlowStepsInput
impl AddJobFlowStepsInput
sourcepub fn job_flow_id(&self) -> Option<&str>
pub fn job_flow_id(&self) -> Option<&str>
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow
and can also be obtained from ListClusters
.
sourcepub fn steps(&self) -> &[StepConfig]
pub fn steps(&self) -> &[StepConfig]
A list of StepConfig
to be executed by the job flow.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .steps.is_none()
.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:IAM::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
source§impl AddJobFlowStepsInput
impl AddJobFlowStepsInput
sourcepub fn builder() -> AddJobFlowStepsInputBuilder
pub fn builder() -> AddJobFlowStepsInputBuilder
Creates a new builder-style object to manufacture AddJobFlowStepsInput
.
Trait Implementations§
source§impl Clone for AddJobFlowStepsInput
impl Clone for AddJobFlowStepsInput
source§fn clone(&self) -> AddJobFlowStepsInput
fn clone(&self) -> AddJobFlowStepsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddJobFlowStepsInput
impl Debug for AddJobFlowStepsInput
source§impl PartialEq for AddJobFlowStepsInput
impl PartialEq for AddJobFlowStepsInput
source§fn eq(&self, other: &AddJobFlowStepsInput) -> bool
fn eq(&self, other: &AddJobFlowStepsInput) -> bool
self
and other
values to be equal, and is used
by ==
.