Struct aws_sdk_sagemaker::client::fluent_builders::AddAssociation
source · pub struct AddAssociation { /* private fields */ }
Expand description
Fluent builder constructing a request to AddAssociation
.
Creates an association between the source and the destination. A source can be associated with multiple destinations, and a destination can be associated with multiple sources. An association is a lineage tracking entity. For more information, see Amazon SageMaker ML Lineage Tracking.
Implementations§
source§impl AddAssociation
impl AddAssociation
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddAssociation, AwsResponseRetryClassifier>, SdkError<AddAssociationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddAssociation, AwsResponseRetryClassifier>, SdkError<AddAssociationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AddAssociationOutput, SdkError<AddAssociationError>>
pub async fn send(
self
) -> Result<AddAssociationOutput, SdkError<AddAssociationError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the source.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the source.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
sourcepub fn association_type(self, input: AssociationEdgeType) -> Self
pub fn association_type(self, input: AssociationEdgeType) -> Self
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.
sourcepub fn set_association_type(self, input: Option<AssociationEdgeType>) -> Self
pub fn set_association_type(self, input: Option<AssociationEdgeType>) -> Self
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.
Trait Implementations§
source§impl Clone for AddAssociation
impl Clone for AddAssociation
source§fn clone(&self) -> AddAssociation
fn clone(&self) -> AddAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more