Struct aws_sdk_sagemaker::client::fluent_builders::CreateArtifact [−][src]
pub struct CreateArtifact<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateArtifact
.
Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.
Implementations
impl<C, M, R> CreateArtifact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateArtifact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateArtifactOutput, SdkError<CreateArtifactError>> where
R::Policy: SmithyRetryPolicy<CreateArtifactInputOperationOutputAlias, CreateArtifactOutput, CreateArtifactError, CreateArtifactInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateArtifactOutput, SdkError<CreateArtifactError>> where
R::Policy: SmithyRetryPolicy<CreateArtifactInputOperationOutputAlias, CreateArtifactOutput, CreateArtifactError, CreateArtifactInputOperationRetryAlias>,
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.
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
The ID, ID type, and URI of the source.
The ID, ID type, and URI of the source.
The artifact type.
The artifact type.
Adds a key-value pair to Properties
.
To override the contents of this collection use set_properties
.
A list of properties to add to the artifact.
A list of properties to add to the artifact.
Metadata properties of the tracking entity, trial, or trial component.
Metadata properties of the tracking entity, trial, or trial component.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the artifact.
A list of tags to apply to the artifact.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateArtifact<C, M, R>
impl<C, M, R> Send for CreateArtifact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateArtifact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateArtifact<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateArtifact<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more