Struct aws_sdk_sagemaker::operation::delete_model_package::builders::DeleteModelPackageFluentBuilder
source · pub struct DeleteModelPackageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteModelPackage
.
Deletes a model package.
A model package is used to create SageMaker models or list on Amazon Web Services Marketplace. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.
Implementations§
source§impl DeleteModelPackageFluentBuilder
impl DeleteModelPackageFluentBuilder
sourcepub fn as_input(&self) -> &DeleteModelPackageInputBuilder
pub fn as_input(&self) -> &DeleteModelPackageInputBuilder
Access the DeleteModelPackage as a reference.
sourcepub async fn send(
self
) -> Result<DeleteModelPackageOutput, SdkError<DeleteModelPackageError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteModelPackageOutput, SdkError<DeleteModelPackageError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DeleteModelPackageOutput, DeleteModelPackageError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteModelPackageOutput, DeleteModelPackageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn model_package_name(self, input: impl Into<String>) -> Self
pub fn model_package_name(self, input: impl Into<String>) -> Self
The name or Amazon Resource Name (ARN) of the model package to delete.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
sourcepub fn set_model_package_name(self, input: Option<String>) -> Self
pub fn set_model_package_name(self, input: Option<String>) -> Self
The name or Amazon Resource Name (ARN) of the model package to delete.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
sourcepub fn get_model_package_name(&self) -> &Option<String>
pub fn get_model_package_name(&self) -> &Option<String>
The name or Amazon Resource Name (ARN) of the model package to delete.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
Trait Implementations§
source§impl Clone for DeleteModelPackageFluentBuilder
impl Clone for DeleteModelPackageFluentBuilder
source§fn clone(&self) -> DeleteModelPackageFluentBuilder
fn clone(&self) -> DeleteModelPackageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more