| 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 |
Amazonka.SageMaker.CreateAppImageConfig
Description
Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.
Synopsis
- data CreateAppImageConfig = CreateAppImageConfig' {}
- newCreateAppImageConfig :: Text -> CreateAppImageConfig
- createAppImageConfig_kernelGatewayImageConfig :: Lens' CreateAppImageConfig (Maybe KernelGatewayImageConfig)
- createAppImageConfig_tags :: Lens' CreateAppImageConfig (Maybe [Tag])
- createAppImageConfig_appImageConfigName :: Lens' CreateAppImageConfig Text
- data CreateAppImageConfigResponse = CreateAppImageConfigResponse' {}
- newCreateAppImageConfigResponse :: Int -> CreateAppImageConfigResponse
- createAppImageConfigResponse_appImageConfigArn :: Lens' CreateAppImageConfigResponse (Maybe Text)
- createAppImageConfigResponse_httpStatus :: Lens' CreateAppImageConfigResponse Int
Creating a Request
data CreateAppImageConfig Source #
See: newCreateAppImageConfig smart constructor.
Constructors
| CreateAppImageConfig' | |
Fields
| |
Instances
newCreateAppImageConfig Source #
Create a value of CreateAppImageConfig 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:kernelGatewayImageConfig:CreateAppImageConfig', createAppImageConfig_kernelGatewayImageConfig - The KernelGatewayImageConfig.
$sel:tags:CreateAppImageConfig', createAppImageConfig_tags - A list of tags to apply to the AppImageConfig.
$sel:appImageConfigName:CreateAppImageConfig', createAppImageConfig_appImageConfigName - The name of the AppImageConfig. Must be unique to your account.
Request Lenses
createAppImageConfig_kernelGatewayImageConfig :: Lens' CreateAppImageConfig (Maybe KernelGatewayImageConfig) Source #
The KernelGatewayImageConfig.
createAppImageConfig_tags :: Lens' CreateAppImageConfig (Maybe [Tag]) Source #
A list of tags to apply to the AppImageConfig.
createAppImageConfig_appImageConfigName :: Lens' CreateAppImageConfig Text Source #
The name of the AppImageConfig. Must be unique to your account.
Destructuring the Response
data CreateAppImageConfigResponse Source #
See: newCreateAppImageConfigResponse smart constructor.
Constructors
| CreateAppImageConfigResponse' | |
Fields
| |
Instances
newCreateAppImageConfigResponse Source #
Create a value of CreateAppImageConfigResponse 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:appImageConfigArn:CreateAppImageConfigResponse', createAppImageConfigResponse_appImageConfigArn - The Amazon Resource Name (ARN) of the AppImageConfig.
$sel:httpStatus:CreateAppImageConfigResponse', createAppImageConfigResponse_httpStatus - The response's http status code.
Response Lenses
createAppImageConfigResponse_appImageConfigArn :: Lens' CreateAppImageConfigResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the AppImageConfig.
createAppImageConfigResponse_httpStatus :: Lens' CreateAppImageConfigResponse Int Source #
The response's http status code.