Struct aws_sdk_sagemaker::operation::describe_model_package::builders::DescribeModelPackageFluentBuilder
source · pub struct DescribeModelPackageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeModelPackage
.
Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace.
To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
Implementations§
source§impl DescribeModelPackageFluentBuilder
impl DescribeModelPackageFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeModelPackage, AwsResponseRetryClassifier>, SdkError<DescribeModelPackageError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeModelPackage, AwsResponseRetryClassifier>, SdkError<DescribeModelPackageError>>
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<DescribeModelPackageOutput, SdkError<DescribeModelPackageError>>
pub async fn send( self ) -> Result<DescribeModelPackageOutput, SdkError<DescribeModelPackageError>>
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 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 describe.
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 describe.
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 DescribeModelPackageFluentBuilder
impl Clone for DescribeModelPackageFluentBuilder
source§fn clone(&self) -> DescribeModelPackageFluentBuilder
fn clone(&self) -> DescribeModelPackageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more