Struct aws_sdk_sagemaker::types::EmrServerlessSettings
source · #[non_exhaustive]pub struct EmrServerlessSettings {
pub execution_role_arn: Option<String>,
pub status: Option<FeatureStatus>,
}
Expand description
The settings for running Amazon EMR Serverless jobs in SageMaker Canvas.
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.execution_role_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
status: Option<FeatureStatus>
Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.
Implementations§
source§impl EmrServerlessSettings
impl EmrServerlessSettings
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.
sourcepub fn status(&self) -> Option<&FeatureStatus>
pub fn status(&self) -> Option<&FeatureStatus>
Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.
source§impl EmrServerlessSettings
impl EmrServerlessSettings
sourcepub fn builder() -> EmrServerlessSettingsBuilder
pub fn builder() -> EmrServerlessSettingsBuilder
Creates a new builder-style object to manufacture EmrServerlessSettings
.
Trait Implementations§
source§impl Clone for EmrServerlessSettings
impl Clone for EmrServerlessSettings
source§fn clone(&self) -> EmrServerlessSettings
fn clone(&self) -> EmrServerlessSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EmrServerlessSettings
impl Debug for EmrServerlessSettings
source§impl PartialEq for EmrServerlessSettings
impl PartialEq for EmrServerlessSettings
impl StructuralPartialEq for EmrServerlessSettings
Auto Trait Implementations§
impl Freeze for EmrServerlessSettings
impl RefUnwindSafe for EmrServerlessSettings
impl Send for EmrServerlessSettings
impl Sync for EmrServerlessSettings
impl Unpin for EmrServerlessSettings
impl UnwindSafe for EmrServerlessSettings
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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