#[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 ==
.impl StructuralPartialEq for AddJobFlowStepsInput
Auto Trait Implementations§
impl Freeze for AddJobFlowStepsInput
impl RefUnwindSafe for AddJobFlowStepsInput
impl Send for AddJobFlowStepsInput
impl Sync for AddJobFlowStepsInput
impl Unpin for AddJobFlowStepsInput
impl UnwindSafe for AddJobFlowStepsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more