#[non_exhaustive]pub struct AddAssociationInput {
pub source_arn: Option<String>,
pub destination_arn: Option<String>,
pub association_type: Option<AssociationEdgeType>,
}
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.source_arn: Option<String>
The ARN of the source.
destination_arn: Option<String>
The Amazon Resource Name (ARN) of the destination.
association_type: Option<AssociationEdgeType>
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
Implementations§
source§impl AddAssociationInput
impl AddAssociationInput
sourcepub fn source_arn(&self) -> Option<&str>
pub fn source_arn(&self) -> Option<&str>
The ARN of the source.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the destination.
sourcepub fn association_type(&self) -> Option<&AssociationEdgeType>
pub fn association_type(&self) -> Option<&AssociationEdgeType>
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
source§impl AddAssociationInput
impl AddAssociationInput
sourcepub fn builder() -> AddAssociationInputBuilder
pub fn builder() -> AddAssociationInputBuilder
Creates a new builder-style object to manufacture AddAssociationInput
.
Trait Implementations§
source§impl Clone for AddAssociationInput
impl Clone for AddAssociationInput
source§fn clone(&self) -> AddAssociationInput
fn clone(&self) -> AddAssociationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddAssociationInput
impl Debug for AddAssociationInput
source§impl PartialEq for AddAssociationInput
impl PartialEq for AddAssociationInput
impl StructuralPartialEq for AddAssociationInput
Auto Trait Implementations§
impl Freeze for AddAssociationInput
impl RefUnwindSafe for AddAssociationInput
impl Send for AddAssociationInput
impl Sync for AddAssociationInput
impl Unpin for AddAssociationInput
impl UnwindSafe for AddAssociationInput
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