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 fn as_input(&self) -> &DescribeModelPackageInputBuilder
pub fn as_input(&self) -> &DescribeModelPackageInputBuilder
Access the DescribeModelPackage as a reference.
sourcepub async fn send(
self
) -> Result<DescribeModelPackageOutput, SdkError<DescribeModelPackageError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeModelPackageOutput, SdkError<DescribeModelPackageError, 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 async fn customize(
self
) -> Result<CustomizableOperation<DescribeModelPackageOutput, DescribeModelPackageError>, SdkError<DescribeModelPackageError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeModelPackageOutput, DescribeModelPackageError>, SdkError<DescribeModelPackageError>>
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 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).
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 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