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.CreateStudioLifecycleConfig
Description
Creates a new Studio Lifecycle Configuration.
Synopsis
- data CreateStudioLifecycleConfig = CreateStudioLifecycleConfig' {}
- newCreateStudioLifecycleConfig :: Text -> Text -> StudioLifecycleConfigAppType -> CreateStudioLifecycleConfig
- createStudioLifecycleConfig_tags :: Lens' CreateStudioLifecycleConfig (Maybe [Tag])
- createStudioLifecycleConfig_studioLifecycleConfigName :: Lens' CreateStudioLifecycleConfig Text
- createStudioLifecycleConfig_studioLifecycleConfigContent :: Lens' CreateStudioLifecycleConfig Text
- createStudioLifecycleConfig_studioLifecycleConfigAppType :: Lens' CreateStudioLifecycleConfig StudioLifecycleConfigAppType
- data CreateStudioLifecycleConfigResponse = CreateStudioLifecycleConfigResponse' {}
- newCreateStudioLifecycleConfigResponse :: Int -> CreateStudioLifecycleConfigResponse
- createStudioLifecycleConfigResponse_studioLifecycleConfigArn :: Lens' CreateStudioLifecycleConfigResponse (Maybe Text)
- createStudioLifecycleConfigResponse_httpStatus :: Lens' CreateStudioLifecycleConfigResponse Int
Creating a Request
data CreateStudioLifecycleConfig Source #
See: newCreateStudioLifecycleConfig
smart constructor.
Constructors
CreateStudioLifecycleConfig' | |
Fields
|
Instances
newCreateStudioLifecycleConfig Source #
Arguments
:: Text | |
-> Text |
|
-> StudioLifecycleConfigAppType | |
-> CreateStudioLifecycleConfig |
Create a value of CreateStudioLifecycleConfig
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:
CreateStudioLifecycleConfig
, createStudioLifecycleConfig_tags
- Tags to be associated with the Lifecycle Configuration. Each tag
consists of a key and an optional value. Tag keys must be unique per
resource. Tags are searchable using the Search API.
CreateStudioLifecycleConfig
, createStudioLifecycleConfig_studioLifecycleConfigName
- The name of the Studio Lifecycle Configuration to create.
$sel:studioLifecycleConfigContent:CreateStudioLifecycleConfig'
, createStudioLifecycleConfig_studioLifecycleConfigContent
- The content of your Studio Lifecycle Configuration script. This content
must be base64 encoded.
CreateStudioLifecycleConfig
, createStudioLifecycleConfig_studioLifecycleConfigAppType
- The App type that the Lifecycle Configuration is attached to.
Request Lenses
createStudioLifecycleConfig_tags :: Lens' CreateStudioLifecycleConfig (Maybe [Tag]) Source #
Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.
createStudioLifecycleConfig_studioLifecycleConfigName :: Lens' CreateStudioLifecycleConfig Text Source #
The name of the Studio Lifecycle Configuration to create.
createStudioLifecycleConfig_studioLifecycleConfigContent :: Lens' CreateStudioLifecycleConfig Text Source #
The content of your Studio Lifecycle Configuration script. This content must be base64 encoded.
createStudioLifecycleConfig_studioLifecycleConfigAppType :: Lens' CreateStudioLifecycleConfig StudioLifecycleConfigAppType Source #
The App type that the Lifecycle Configuration is attached to.
Destructuring the Response
data CreateStudioLifecycleConfigResponse Source #
See: newCreateStudioLifecycleConfigResponse
smart constructor.
Constructors
CreateStudioLifecycleConfigResponse' | |
Fields
|
Instances
newCreateStudioLifecycleConfigResponse Source #
Arguments
:: Int | |
-> CreateStudioLifecycleConfigResponse |
Create a value of CreateStudioLifecycleConfigResponse
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:
CreateStudioLifecycleConfigResponse
, createStudioLifecycleConfigResponse_studioLifecycleConfigArn
- The ARN of your created Lifecycle Configuration.
$sel:httpStatus:CreateStudioLifecycleConfigResponse'
, createStudioLifecycleConfigResponse_httpStatus
- The response's http status code.
Response Lenses
createStudioLifecycleConfigResponse_studioLifecycleConfigArn :: Lens' CreateStudioLifecycleConfigResponse (Maybe Text) Source #
The ARN of your created Lifecycle Configuration.
createStudioLifecycleConfigResponse_httpStatus :: Lens' CreateStudioLifecycleConfigResponse Int Source #
The response's http status code.