Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a model compilation job.
To create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.
Synopsis
- data DescribeCompilationJob = DescribeCompilationJob' {}
- newDescribeCompilationJob :: Text -> DescribeCompilationJob
- describeCompilationJob_compilationJobName :: Lens' DescribeCompilationJob Text
- data DescribeCompilationJobResponse = DescribeCompilationJobResponse' {
- modelDigests :: Maybe ModelDigests
- compilationStartTime :: Maybe POSIX
- inferenceImage :: Maybe Text
- vpcConfig :: Maybe NeoVpcConfig
- compilationEndTime :: Maybe POSIX
- httpStatus :: Int
- compilationJobName :: Text
- compilationJobArn :: Text
- compilationJobStatus :: CompilationJobStatus
- stoppingCondition :: StoppingCondition
- creationTime :: POSIX
- lastModifiedTime :: POSIX
- failureReason :: Text
- modelArtifacts :: ModelArtifacts
- roleArn :: Text
- inputConfig :: InputConfig
- outputConfig :: OutputConfig
- newDescribeCompilationJobResponse :: Int -> Text -> Text -> CompilationJobStatus -> StoppingCondition -> UTCTime -> UTCTime -> Text -> ModelArtifacts -> Text -> InputConfig -> OutputConfig -> DescribeCompilationJobResponse
- describeCompilationJobResponse_modelDigests :: Lens' DescribeCompilationJobResponse (Maybe ModelDigests)
- describeCompilationJobResponse_compilationStartTime :: Lens' DescribeCompilationJobResponse (Maybe UTCTime)
- describeCompilationJobResponse_inferenceImage :: Lens' DescribeCompilationJobResponse (Maybe Text)
- describeCompilationJobResponse_vpcConfig :: Lens' DescribeCompilationJobResponse (Maybe NeoVpcConfig)
- describeCompilationJobResponse_compilationEndTime :: Lens' DescribeCompilationJobResponse (Maybe UTCTime)
- describeCompilationJobResponse_httpStatus :: Lens' DescribeCompilationJobResponse Int
- describeCompilationJobResponse_compilationJobName :: Lens' DescribeCompilationJobResponse Text
- describeCompilationJobResponse_compilationJobArn :: Lens' DescribeCompilationJobResponse Text
- describeCompilationJobResponse_compilationJobStatus :: Lens' DescribeCompilationJobResponse CompilationJobStatus
- describeCompilationJobResponse_stoppingCondition :: Lens' DescribeCompilationJobResponse StoppingCondition
- describeCompilationJobResponse_creationTime :: Lens' DescribeCompilationJobResponse UTCTime
- describeCompilationJobResponse_lastModifiedTime :: Lens' DescribeCompilationJobResponse UTCTime
- describeCompilationJobResponse_failureReason :: Lens' DescribeCompilationJobResponse Text
- describeCompilationJobResponse_modelArtifacts :: Lens' DescribeCompilationJobResponse ModelArtifacts
- describeCompilationJobResponse_roleArn :: Lens' DescribeCompilationJobResponse Text
- describeCompilationJobResponse_inputConfig :: Lens' DescribeCompilationJobResponse InputConfig
- describeCompilationJobResponse_outputConfig :: Lens' DescribeCompilationJobResponse OutputConfig
Creating a Request
data DescribeCompilationJob Source #
See: newDescribeCompilationJob
smart constructor.
DescribeCompilationJob' | |
|
Instances
newDescribeCompilationJob Source #
Create a value of DescribeCompilationJob
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:compilationJobName:DescribeCompilationJob'
, describeCompilationJob_compilationJobName
- The name of the model compilation job that you want information about.
Request Lenses
describeCompilationJob_compilationJobName :: Lens' DescribeCompilationJob Text Source #
The name of the model compilation job that you want information about.
Destructuring the Response
data DescribeCompilationJobResponse Source #
See: newDescribeCompilationJobResponse
smart constructor.
DescribeCompilationJobResponse' | |
|
Instances
newDescribeCompilationJobResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> CompilationJobStatus | |
-> StoppingCondition | |
-> UTCTime | |
-> UTCTime | |
-> Text | |
-> ModelArtifacts | |
-> Text | |
-> InputConfig | |
-> OutputConfig | |
-> DescribeCompilationJobResponse |
Create a value of DescribeCompilationJobResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:modelDigests:DescribeCompilationJobResponse'
, describeCompilationJobResponse_modelDigests
- Provides a BLAKE2 hash value that identifies the compiled model
artifacts in Amazon S3.
$sel:compilationStartTime:DescribeCompilationJobResponse'
, describeCompilationJobResponse_compilationStartTime
- 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.
$sel:inferenceImage:DescribeCompilationJobResponse'
, describeCompilationJobResponse_inferenceImage
- The inference image to use when compiling a model. Specify an image only
if the target device is a cloud instance.
$sel:vpcConfig:DescribeCompilationJobResponse'
, describeCompilationJobResponse_vpcConfig
- 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.
$sel:compilationEndTime:DescribeCompilationJobResponse'
, describeCompilationJobResponse_compilationEndTime
- 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.
$sel:httpStatus:DescribeCompilationJobResponse'
, describeCompilationJobResponse_httpStatus
- The response's http status code.
$sel:compilationJobName:DescribeCompilationJob'
, describeCompilationJobResponse_compilationJobName
- The name of the model compilation job.
$sel:compilationJobArn:DescribeCompilationJobResponse'
, describeCompilationJobResponse_compilationJobArn
- The Amazon Resource Name (ARN) of the model compilation job.
$sel:compilationJobStatus:DescribeCompilationJobResponse'
, describeCompilationJobResponse_compilationJobStatus
- The status of the model compilation job.
$sel:stoppingCondition:DescribeCompilationJobResponse'
, describeCompilationJobResponse_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.
$sel:creationTime:DescribeCompilationJobResponse'
, describeCompilationJobResponse_creationTime
- The time that the model compilation job was created.
$sel:lastModifiedTime:DescribeCompilationJobResponse'
, describeCompilationJobResponse_lastModifiedTime
- The time that the status of the model compilation job was last modified.
$sel:failureReason:DescribeCompilationJobResponse'
, describeCompilationJobResponse_failureReason
- If a model compilation job failed, the reason it failed.
$sel:modelArtifacts:DescribeCompilationJobResponse'
, describeCompilationJobResponse_modelArtifacts
- Information about the location in Amazon S3 that has been configured for
storing the model artifacts used in the compilation job.
$sel:roleArn:DescribeCompilationJobResponse'
, describeCompilationJobResponse_roleArn
- The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker
assumes to perform the model compilation job.
$sel:inputConfig:DescribeCompilationJobResponse'
, describeCompilationJobResponse_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.
$sel:outputConfig:DescribeCompilationJobResponse'
, describeCompilationJobResponse_outputConfig
- Information about the output location for the compiled model and the
target device that the model runs on.
Response Lenses
describeCompilationJobResponse_modelDigests :: Lens' DescribeCompilationJobResponse (Maybe ModelDigests) Source #
Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
describeCompilationJobResponse_compilationStartTime :: Lens' DescribeCompilationJobResponse (Maybe UTCTime) Source #
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.
describeCompilationJobResponse_inferenceImage :: Lens' DescribeCompilationJobResponse (Maybe Text) Source #
The inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
describeCompilationJobResponse_vpcConfig :: Lens' DescribeCompilationJobResponse (Maybe NeoVpcConfig) Source #
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.
describeCompilationJobResponse_compilationEndTime :: Lens' DescribeCompilationJobResponse (Maybe UTCTime) Source #
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.
describeCompilationJobResponse_httpStatus :: Lens' DescribeCompilationJobResponse Int Source #
The response's http status code.
describeCompilationJobResponse_compilationJobName :: Lens' DescribeCompilationJobResponse Text Source #
The name of the model compilation job.
describeCompilationJobResponse_compilationJobArn :: Lens' DescribeCompilationJobResponse Text Source #
The Amazon Resource Name (ARN) of the model compilation job.
describeCompilationJobResponse_compilationJobStatus :: Lens' DescribeCompilationJobResponse CompilationJobStatus Source #
The status of the model compilation job.
describeCompilationJobResponse_stoppingCondition :: Lens' DescribeCompilationJobResponse StoppingCondition Source #
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.
describeCompilationJobResponse_creationTime :: Lens' DescribeCompilationJobResponse UTCTime Source #
The time that the model compilation job was created.
describeCompilationJobResponse_lastModifiedTime :: Lens' DescribeCompilationJobResponse UTCTime Source #
The time that the status of the model compilation job was last modified.
describeCompilationJobResponse_failureReason :: Lens' DescribeCompilationJobResponse Text Source #
If a model compilation job failed, the reason it failed.
describeCompilationJobResponse_modelArtifacts :: Lens' DescribeCompilationJobResponse ModelArtifacts Source #
Information about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
describeCompilationJobResponse_roleArn :: Lens' DescribeCompilationJobResponse Text Source #
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model compilation job.
describeCompilationJobResponse_inputConfig :: Lens' DescribeCompilationJobResponse InputConfig Source #
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.
describeCompilationJobResponse_outputConfig :: Lens' DescribeCompilationJobResponse OutputConfig Source #
Information about the output location for the compiled model and the target device that the model runs on.