#[non_exhaustive]pub struct RecommendationJobOutputConfig {
pub kms_key_id: Option<String>,
pub compiled_output_config: Option<RecommendationJobCompiledOutputConfig>,
}
Expand description
Provides information about the output configuration for the compiled model.
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.kms_key_id: Option<String>
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey
permission.
The KmsKeyId
can be any of the following formats:
-
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
compiled_output_config: Option<RecommendationJobCompiledOutputConfig>
Provides information about the output configuration for the compiled model.
Implementations§
source§impl RecommendationJobOutputConfig
impl RecommendationJobOutputConfig
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt your output artifacts with Amazon S3 server-side encryption. The SageMaker execution role must have kms:GenerateDataKey
permission.
The KmsKeyId
can be any of the following formats:
-
// KMS Key ID
"1234abcd-12ab-34cd-56ef-1234567890ab"
-
// Amazon Resource Name (ARN) of a KMS Key
"arn:aws:kms:
: :key/ " -
// KMS Key Alias
"alias/ExampleAlias"
-
// Amazon Resource Name (ARN) of a KMS Key Alias
"arn:aws:kms:
: :alias/ "
For more information about key identifiers, see Key identifiers (KeyID) in the Amazon Web Services Key Management Service (Amazon Web Services KMS) documentation.
sourcepub fn compiled_output_config(
&self,
) -> Option<&RecommendationJobCompiledOutputConfig>
pub fn compiled_output_config( &self, ) -> Option<&RecommendationJobCompiledOutputConfig>
Provides information about the output configuration for the compiled model.
source§impl RecommendationJobOutputConfig
impl RecommendationJobOutputConfig
sourcepub fn builder() -> RecommendationJobOutputConfigBuilder
pub fn builder() -> RecommendationJobOutputConfigBuilder
Creates a new builder-style object to manufacture RecommendationJobOutputConfig
.
Trait Implementations§
source§impl Clone for RecommendationJobOutputConfig
impl Clone for RecommendationJobOutputConfig
source§fn clone(&self) -> RecommendationJobOutputConfig
fn clone(&self) -> RecommendationJobOutputConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for RecommendationJobOutputConfig
impl PartialEq for RecommendationJobOutputConfig
source§fn eq(&self, other: &RecommendationJobOutputConfig) -> bool
fn eq(&self, other: &RecommendationJobOutputConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationJobOutputConfig
Auto Trait Implementations§
impl Freeze for RecommendationJobOutputConfig
impl RefUnwindSafe for RecommendationJobOutputConfig
impl Send for RecommendationJobOutputConfig
impl Sync for RecommendationJobOutputConfig
impl Unpin for RecommendationJobOutputConfig
impl UnwindSafe for RecommendationJobOutputConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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