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 |
Creates a version of the SageMaker image specified by ImageName
. The
version represents the Amazon Container Registry (ECR) container image
specified by BaseImage
.
Synopsis
- data CreateImageVersion = CreateImageVersion' {}
- newCreateImageVersion :: Text -> Text -> Text -> CreateImageVersion
- createImageVersion_baseImage :: Lens' CreateImageVersion Text
- createImageVersion_clientToken :: Lens' CreateImageVersion Text
- createImageVersion_imageName :: Lens' CreateImageVersion Text
- data CreateImageVersionResponse = CreateImageVersionResponse' {}
- newCreateImageVersionResponse :: Int -> CreateImageVersionResponse
- createImageVersionResponse_imageVersionArn :: Lens' CreateImageVersionResponse (Maybe Text)
- createImageVersionResponse_httpStatus :: Lens' CreateImageVersionResponse Int
Creating a Request
data CreateImageVersion Source #
See: newCreateImageVersion
smart constructor.
CreateImageVersion' | |
|
Instances
newCreateImageVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateImageVersion |
Create a value of CreateImageVersion
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:baseImage:CreateImageVersion'
, createImageVersion_baseImage
- The registry path of the container image to use as the starting point
for this version. The path is an Amazon Container Registry (ECR) URI in
the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
$sel:clientToken:CreateImageVersion'
, createImageVersion_clientToken
- A unique ID. If not specified, the Amazon Web Services CLI and Amazon
Web Services SDKs, such as the SDK for Python (Boto3), add a unique
value to the call.
$sel:imageName:CreateImageVersion'
, createImageVersion_imageName
- The ImageName
of the Image
to create a version of.
Request Lenses
createImageVersion_baseImage :: Lens' CreateImageVersion Text Source #
The registry path of the container image to use as the starting point for this version. The path is an Amazon Container Registry (ECR) URI in the following format:
<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
createImageVersion_clientToken :: Lens' CreateImageVersion Text Source #
A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python (Boto3), add a unique value to the call.
createImageVersion_imageName :: Lens' CreateImageVersion Text Source #
The ImageName
of the Image
to create a version of.
Destructuring the Response
data CreateImageVersionResponse Source #
See: newCreateImageVersionResponse
smart constructor.
CreateImageVersionResponse' | |
|
Instances
newCreateImageVersionResponse Source #
Create a value of CreateImageVersionResponse
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:imageVersionArn:CreateImageVersionResponse'
, createImageVersionResponse_imageVersionArn
- The Amazon Resource Name (ARN) of the image version.
$sel:httpStatus:CreateImageVersionResponse'
, createImageVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createImageVersionResponse_imageVersionArn :: Lens' CreateImageVersionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the image version.
createImageVersionResponse_httpStatus :: Lens' CreateImageVersionResponse Int Source #
The response's http status code.