| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SageMaker.CreateImage
Description
Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon Elastic Container Registry (ECR). For more information, see Bring your own SageMaker image.
Synopsis
- data CreateImage = CreateImage' {}
- newCreateImage :: Text -> Text -> CreateImage
- createImage_description :: Lens' CreateImage (Maybe Text)
- createImage_displayName :: Lens' CreateImage (Maybe Text)
- createImage_tags :: Lens' CreateImage (Maybe [Tag])
- createImage_imageName :: Lens' CreateImage Text
- createImage_roleArn :: Lens' CreateImage Text
- data CreateImageResponse = CreateImageResponse' {
- imageArn :: Maybe Text
- httpStatus :: Int
- newCreateImageResponse :: Int -> CreateImageResponse
- createImageResponse_imageArn :: Lens' CreateImageResponse (Maybe Text)
- createImageResponse_httpStatus :: Lens' CreateImageResponse Int
Creating a Request
data CreateImage Source #
See: newCreateImage smart constructor.
Constructors
| CreateImage' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateImage |
Create a value of CreateImage 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:
CreateImage, createImage_description - The description of the image.
CreateImage, createImage_displayName - The display name of the image. If not provided, ImageName is
displayed.
CreateImage, createImage_tags - A list of tags to apply to the image.
CreateImage, createImage_imageName - The name of the image. Must be unique to your account.
CreateImage, createImage_roleArn - The ARN of an IAM role that enables Amazon SageMaker to perform tasks on
your behalf.
Request Lenses
createImage_description :: Lens' CreateImage (Maybe Text) Source #
The description of the image.
createImage_displayName :: Lens' CreateImage (Maybe Text) Source #
The display name of the image. If not provided, ImageName is
displayed.
createImage_tags :: Lens' CreateImage (Maybe [Tag]) Source #
A list of tags to apply to the image.
createImage_imageName :: Lens' CreateImage Text Source #
The name of the image. Must be unique to your account.
createImage_roleArn :: Lens' CreateImage Text Source #
The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
Destructuring the Response
data CreateImageResponse Source #
See: newCreateImageResponse smart constructor.
Constructors
| CreateImageResponse' | |
Fields
| |
Instances
newCreateImageResponse Source #
Arguments
| :: Int | |
| -> CreateImageResponse |
Create a value of CreateImageResponse 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:
CreateImageResponse, createImageResponse_imageArn - The ARN of the image.
$sel:httpStatus:CreateImageResponse', createImageResponse_httpStatus - The response's http status code.
Response Lenses
createImageResponse_imageArn :: Lens' CreateImageResponse (Maybe Text) Source #
The ARN of the image.
createImageResponse_httpStatus :: Lens' CreateImageResponse Int Source #
The response's http status code.