[][src]Struct rusoto_sagemaker::CreateCompilationJobRequest

pub struct CreateCompilationJobRequest {
    pub compilation_job_name: String,
    pub input_config: InputConfig,
    pub output_config: OutputConfig,
    pub role_arn: String,
    pub stopping_condition: StoppingCondition,
}

Fields

compilation_job_name: String

A name for the model compilation job. The name must be unique within the AWS Region and within your AWS account.

input_config: InputConfig

Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.

output_config: OutputConfig

Provides information about the output location for the compiled model and the target device the model runs on.

role_arn: String

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

During model compilation, Amazon SageMaker needs your permission to:

  • Read input data from an S3 bucket

  • Write model artifacts to an S3 bucket

  • Write logs to Amazon CloudWatch Logs

  • Publish metrics to Amazon CloudWatch

You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.

stopping_condition: StoppingCondition

Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.

Trait Implementations

impl Clone for CreateCompilationJobRequest[src]

impl Debug for CreateCompilationJobRequest[src]

impl Default for CreateCompilationJobRequest[src]

impl PartialEq<CreateCompilationJobRequest> for CreateCompilationJobRequest[src]

impl Serialize for CreateCompilationJobRequest[src]

impl StructuralPartialEq for CreateCompilationJobRequest[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> 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.