#[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
source§fn eq(&self, other: &AddAssociationInput) -> bool
fn eq(&self, other: &AddAssociationInput) -> bool
self
and other
values to be equal, and is used
by ==
.