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 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.
CreateStudioLifecycleConfig' | |
|
Instances
newCreateStudioLifecycleConfig Source #
:: 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:
$sel:tags: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.
$sel:studioLifecycleConfigName: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.
$sel:studioLifecycleConfigAppType: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.
CreateStudioLifecycleConfigResponse' | |
|
Instances
Eq CreateStudioLifecycleConfigResponse Source # | |
Read CreateStudioLifecycleConfigResponse Source # | |
Show CreateStudioLifecycleConfigResponse Source # | |
Generic CreateStudioLifecycleConfigResponse Source # | |
NFData CreateStudioLifecycleConfigResponse Source # | |
Defined in Amazonka.SageMaker.CreateStudioLifecycleConfig rnf :: CreateStudioLifecycleConfigResponse -> () # | |
type Rep CreateStudioLifecycleConfigResponse Source # | |
Defined in Amazonka.SageMaker.CreateStudioLifecycleConfig type Rep CreateStudioLifecycleConfigResponse = D1 ('MetaData "CreateStudioLifecycleConfigResponse" "Amazonka.SageMaker.CreateStudioLifecycleConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CreateStudioLifecycleConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "studioLifecycleConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateStudioLifecycleConfigResponse Source #
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:
$sel:studioLifecycleConfigArn: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.