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 |
Describes a SageMaker image.
Synopsis
- data DescribeImage = DescribeImage' {}
- newDescribeImage :: Text -> DescribeImage
- describeImage_imageName :: Lens' DescribeImage Text
- data DescribeImageResponse = DescribeImageResponse' {}
- newDescribeImageResponse :: Int -> DescribeImageResponse
- describeImageResponse_creationTime :: Lens' DescribeImageResponse (Maybe UTCTime)
- describeImageResponse_failureReason :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_imageStatus :: Lens' DescribeImageResponse (Maybe ImageStatus)
- describeImageResponse_lastModifiedTime :: Lens' DescribeImageResponse (Maybe UTCTime)
- describeImageResponse_imageArn :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_displayName :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_imageName :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_description :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_roleArn :: Lens' DescribeImageResponse (Maybe Text)
- describeImageResponse_httpStatus :: Lens' DescribeImageResponse Int
Creating a Request
data DescribeImage Source #
See: newDescribeImage
smart constructor.
Instances
Create a value of DescribeImage
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:imageName:DescribeImage'
, describeImage_imageName
- The name of the image to describe.
Request Lenses
describeImage_imageName :: Lens' DescribeImage Text Source #
The name of the image to describe.
Destructuring the Response
data DescribeImageResponse Source #
See: newDescribeImageResponse
smart constructor.
DescribeImageResponse' | |
|
Instances
newDescribeImageResponse Source #
Create a value of DescribeImageResponse
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:creationTime:DescribeImageResponse'
, describeImageResponse_creationTime
- When the image was created.
$sel:failureReason:DescribeImageResponse'
, describeImageResponse_failureReason
- When a create, update, or delete operation fails, the reason for the
failure.
$sel:imageStatus:DescribeImageResponse'
, describeImageResponse_imageStatus
- The status of the image.
$sel:lastModifiedTime:DescribeImageResponse'
, describeImageResponse_lastModifiedTime
- When the image was last modified.
$sel:imageArn:DescribeImageResponse'
, describeImageResponse_imageArn
- The Amazon Resource Name (ARN) of the image.
$sel:displayName:DescribeImageResponse'
, describeImageResponse_displayName
- The name of the image as displayed.
$sel:imageName:DescribeImage'
, describeImageResponse_imageName
- The name of the image.
$sel:description:DescribeImageResponse'
, describeImageResponse_description
- The description of the image.
$sel:roleArn:DescribeImageResponse'
, describeImageResponse_roleArn
- The Amazon Resource Name (ARN) of the IAM role that enables Amazon
SageMaker to perform tasks on your behalf.
$sel:httpStatus:DescribeImageResponse'
, describeImageResponse_httpStatus
- The response's http status code.
Response Lenses
describeImageResponse_creationTime :: Lens' DescribeImageResponse (Maybe UTCTime) Source #
When the image was created.
describeImageResponse_failureReason :: Lens' DescribeImageResponse (Maybe Text) Source #
When a create, update, or delete operation fails, the reason for the failure.
describeImageResponse_imageStatus :: Lens' DescribeImageResponse (Maybe ImageStatus) Source #
The status of the image.
describeImageResponse_lastModifiedTime :: Lens' DescribeImageResponse (Maybe UTCTime) Source #
When the image was last modified.
describeImageResponse_imageArn :: Lens' DescribeImageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the image.
describeImageResponse_displayName :: Lens' DescribeImageResponse (Maybe Text) Source #
The name of the image as displayed.
describeImageResponse_imageName :: Lens' DescribeImageResponse (Maybe Text) Source #
The name of the image.
describeImageResponse_description :: Lens' DescribeImageResponse (Maybe Text) Source #
The description of the image.
describeImageResponse_roleArn :: Lens' DescribeImageResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
describeImageResponse_httpStatus :: Lens' DescribeImageResponse Int Source #
The response's http status code.