| 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.CreateApp
Description
Creates a running app for the specified UserProfile. Supported apps are
JupyterServer and KernelGateway. This operation is automatically
invoked by Amazon SageMaker Studio upon access to the associated Domain,
and when new kernel configurations are selected by the user. A user may
have multiple Apps active simultaneously.
Synopsis
- data CreateApp = CreateApp' {
- resourceSpec :: Maybe ResourceSpec
- tags :: Maybe [Tag]
- domainId :: Text
- userProfileName :: Text
- appType :: AppType
- appName :: Text
- newCreateApp :: Text -> Text -> AppType -> Text -> CreateApp
- createApp_resourceSpec :: Lens' CreateApp (Maybe ResourceSpec)
- createApp_tags :: Lens' CreateApp (Maybe [Tag])
- createApp_domainId :: Lens' CreateApp Text
- createApp_userProfileName :: Lens' CreateApp Text
- createApp_appType :: Lens' CreateApp AppType
- createApp_appName :: Lens' CreateApp Text
- data CreateAppResponse = CreateAppResponse' {
- appArn :: Maybe Text
- httpStatus :: Int
- newCreateAppResponse :: Int -> CreateAppResponse
- createAppResponse_appArn :: Lens' CreateAppResponse (Maybe Text)
- createAppResponse_httpStatus :: Lens' CreateAppResponse Int
Creating a Request
See: newCreateApp smart constructor.
Constructors
| CreateApp' | |
Fields
| |
Instances
Create a value of CreateApp 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:resourceSpec:CreateApp', createApp_resourceSpec - The instance type and the Amazon Resource Name (ARN) of the SageMaker
image created on the instance.
$sel:tags:CreateApp', createApp_tags - Each tag consists of a key and an optional value. Tag keys must be
unique per resource.
$sel:domainId:CreateApp', createApp_domainId - The domain ID.
$sel:userProfileName:CreateApp', createApp_userProfileName - The user profile name.
$sel:appType:CreateApp', createApp_appType - The type of app. Supported apps are JupyterServer and KernelGateway.
TensorBoard is not supported.
$sel:appName:CreateApp', createApp_appName - The name of the app.
Request Lenses
createApp_resourceSpec :: Lens' CreateApp (Maybe ResourceSpec) Source #
The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.
createApp_tags :: Lens' CreateApp (Maybe [Tag]) Source #
Each tag consists of a key and an optional value. Tag keys must be unique per resource.
createApp_appType :: Lens' CreateApp AppType Source #
The type of app. Supported apps are JupyterServer and KernelGateway.
TensorBoard is not supported.
Destructuring the Response
data CreateAppResponse Source #
See: newCreateAppResponse smart constructor.
Constructors
| CreateAppResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> CreateAppResponse |
Create a value of CreateAppResponse 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:appArn:CreateAppResponse', createAppResponse_appArn - The Amazon Resource Name (ARN) of the app.
$sel:httpStatus:CreateAppResponse', createAppResponse_httpStatus - The response's http status code.
Response Lenses
createAppResponse_appArn :: Lens' CreateAppResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the app.
createAppResponse_httpStatus :: Lens' CreateAppResponse Int Source #
The response's http status code.