[][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.

The Semantic Segmentation built-in algorithm does not support network isolation.

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. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

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 PartialEq<CreateModelInput> for CreateModelInput[src]

impl Default for CreateModelInput[src]

impl Clone for CreateModelInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateModelInput[src]

impl Serialize for CreateModelInput[src]

Auto Trait Implementations

impl Send for CreateModelInput

impl Sync for CreateModelInput

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self