[][src]Struct rusoto_sagemaker::CreateModelInput

pub struct CreateModelInput {
    pub containers: Option<Vec<ContainerDefinition>>,
    pub enable_network_isolation: Option<bool>,
    pub execution_role_arn: String,
    pub model_name: String,
    pub primary_container: Option<ContainerDefinition>,
    pub tags: Option<Vec<Tag>>,
    pub vpc_config: Option<VpcConfig>,
}

Fields

containers: Option<Vec<ContainerDefinition>>

Specifies the containers in the inference pipeline.

enable_network_isolation: Option<bool>

Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

execution_role_arn: String

The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute instances or for batch transform jobs. Deploying on ML compute instances is part of model hosting. For more information, see Amazon SageMaker Roles.

To be able to pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission.

model_name: String

The name of the new model.

primary_container: Option<ContainerDefinition>

The location of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions.

tags: Option<Vec<Tag>>

An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging AWS Resources.

vpc_config: Option<VpcConfig>

A VpcConfig object that specifies the VPC that you want your model to connect to. Control access to and from your model container by configuring the VPC. VpcConfig is used in hosting services and in batch transform. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private Cloud.

Trait Implementations

impl Clone for CreateModelInput[src]

impl Debug for CreateModelInput[src]

impl Default for CreateModelInput[src]

impl PartialEq<CreateModelInput> for CreateModelInput[src]

impl Serialize for CreateModelInput[src]

impl StructuralPartialEq for CreateModelInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.