#[non_exhaustive]pub struct DescribeCompilationJobOutput {Show 17 fields
pub compilation_job_name: Option<String>,
pub compilation_job_arn: Option<String>,
pub compilation_job_status: Option<CompilationJobStatus>,
pub compilation_start_time: Option<DateTime>,
pub compilation_end_time: Option<DateTime>,
pub stopping_condition: Option<StoppingCondition>,
pub inference_image: Option<String>,
pub model_package_version_arn: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub failure_reason: Option<String>,
pub model_artifacts: Option<ModelArtifacts>,
pub model_digests: Option<ModelDigests>,
pub role_arn: Option<String>,
pub input_config: Option<InputConfig>,
pub output_config: Option<OutputConfig>,
pub vpc_config: Option<NeoVpcConfig>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.compilation_job_name: Option<String>
The name of the model compilation job.
compilation_job_arn: Option<String>
The Amazon Resource Name (ARN) of the model compilation job.
compilation_job_status: Option<CompilationJobStatus>
The status of the model compilation job.
compilation_start_time: Option<DateTime>
The time when the model compilation job started the CompilationJob
instances.
You are billed for the time between this timestamp and the timestamp in the DescribeCompilationJobResponse$CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.
compilation_end_time: Option<DateTime>
The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.
stopping_condition: Option<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.
inference_image: Option<String>
The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
model_package_version_arn: Option<String>
The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
creation_time: Option<DateTime>
The time that the model compilation job was created.
last_modified_time: Option<DateTime>
The time that the status of the model compilation job was last modified.
failure_reason: Option<String>
If a model compilation job failed, the reason it failed.
model_artifacts: Option<ModelArtifacts>
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
model_digests: Option<ModelDigests>
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
role_arn: Option<String>
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.
input_config: Option<InputConfig>
Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
output_config: Option<OutputConfig>
Information about the output location for the compiled model and the target device that the model runs on.
vpc_config: Option<NeoVpcConfig>
A VpcConfig
object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
Implementations
sourceimpl DescribeCompilationJobOutput
impl DescribeCompilationJobOutput
sourcepub fn compilation_job_name(&self) -> Option<&str>
pub fn compilation_job_name(&self) -> Option<&str>
The name of the model compilation job.
sourcepub fn compilation_job_arn(&self) -> Option<&str>
pub fn compilation_job_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the model compilation job.
sourcepub fn compilation_job_status(&self) -> Option<&CompilationJobStatus>
pub fn compilation_job_status(&self) -> Option<&CompilationJobStatus>
The status of the model compilation job.
sourcepub fn compilation_start_time(&self) -> Option<&DateTime>
pub fn compilation_start_time(&self) -> Option<&DateTime>
The time when the model compilation job started the CompilationJob
instances.
You are billed for the time between this timestamp and the timestamp in the DescribeCompilationJobResponse$CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.
sourcepub fn compilation_end_time(&self) -> Option<&DateTime>
pub fn compilation_end_time(&self) -> Option<&DateTime>
The time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker detected that the job failed.
sourcepub fn stopping_condition(&self) -> Option<&StoppingCondition>
pub fn stopping_condition(&self) -> Option<&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.
sourcepub fn inference_image(&self) -> Option<&str>
pub fn inference_image(&self) -> Option<&str>
The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
sourcepub fn model_package_version_arn(&self) -> Option<&str>
pub fn model_package_version_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the model compilation job was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The time that the status of the model compilation job was last modified.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If a model compilation job failed, the reason it failed.
sourcepub fn model_artifacts(&self) -> Option<&ModelArtifacts>
pub fn model_artifacts(&self) -> Option<&ModelArtifacts>
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
sourcepub fn model_digests(&self) -> Option<&ModelDigests>
pub fn model_digests(&self) -> Option<&ModelDigests>
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.
sourcepub fn input_config(&self) -> Option<&InputConfig>
pub fn input_config(&self) -> Option<&InputConfig>
Information about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
sourcepub fn output_config(&self) -> Option<&OutputConfig>
pub fn output_config(&self) -> Option<&OutputConfig>
Information about the output location for the compiled model and the target device that the model runs on.
sourcepub fn vpc_config(&self) -> Option<&NeoVpcConfig>
pub fn vpc_config(&self) -> Option<&NeoVpcConfig>
A VpcConfig
object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
sourceimpl DescribeCompilationJobOutput
impl DescribeCompilationJobOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeCompilationJobOutput
Trait Implementations
sourceimpl Clone for DescribeCompilationJobOutput
impl Clone for DescribeCompilationJobOutput
sourcefn clone(&self) -> DescribeCompilationJobOutput
fn clone(&self) -> DescribeCompilationJobOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeCompilationJobOutput
impl Debug for DescribeCompilationJobOutput
sourceimpl PartialEq<DescribeCompilationJobOutput> for DescribeCompilationJobOutput
impl PartialEq<DescribeCompilationJobOutput> for DescribeCompilationJobOutput
sourcefn eq(&self, other: &DescribeCompilationJobOutput) -> bool
fn eq(&self, other: &DescribeCompilationJobOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeCompilationJobOutput) -> bool
fn ne(&self, other: &DescribeCompilationJobOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeCompilationJobOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeCompilationJobOutput
impl Send for DescribeCompilationJobOutput
impl Sync for DescribeCompilationJobOutput
impl Unpin for DescribeCompilationJobOutput
impl UnwindSafe for DescribeCompilationJobOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more