pub struct DescribeTrainingJob { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeTrainingJob
.
Returns information about a training job.
Some of the attributes below only appear if the training job successfully starts. If the training job fails, TrainingJobStatus
is Failed
and, depending on the FailureReason
, attributes like TrainingStartTime
, TrainingTimeInSeconds
, TrainingEndTime
, and BillableTimeInSeconds
may not be present in the response.
Implementations§
source§impl DescribeTrainingJob
impl DescribeTrainingJob
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeTrainingJob, AwsResponseRetryClassifier>, SdkError<DescribeTrainingJobError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeTrainingJob, AwsResponseRetryClassifier>, SdkError<DescribeTrainingJobError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeTrainingJobOutput, SdkError<DescribeTrainingJobError>>
pub async fn send(
self
) -> Result<DescribeTrainingJobOutput, SdkError<DescribeTrainingJobError>>
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 fn training_job_name(self, input: impl Into<String>) -> Self
pub fn training_job_name(self, input: impl Into<String>) -> Self
The name of the training job.
sourcepub fn set_training_job_name(self, input: Option<String>) -> Self
pub fn set_training_job_name(self, input: Option<String>) -> Self
The name of the training job.
Trait Implementations§
source§impl Clone for DescribeTrainingJob
impl Clone for DescribeTrainingJob
source§fn clone(&self) -> DescribeTrainingJob
fn clone(&self) -> DescribeTrainingJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more