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.CreateHub
Description
Create a hub.
Synopsis
- data CreateHub = CreateHub' {
- hubDisplayName :: Maybe Text
- hubSearchKeywords :: Maybe [Text]
- s3StorageConfig :: Maybe HubS3StorageConfig
- tags :: Maybe [Tag]
- hubName :: Text
- hubDescription :: Text
- newCreateHub :: Text -> Text -> CreateHub
- createHub_hubDisplayName :: Lens' CreateHub (Maybe Text)
- createHub_hubSearchKeywords :: Lens' CreateHub (Maybe [Text])
- createHub_s3StorageConfig :: Lens' CreateHub (Maybe HubS3StorageConfig)
- createHub_tags :: Lens' CreateHub (Maybe [Tag])
- createHub_hubName :: Lens' CreateHub Text
- createHub_hubDescription :: Lens' CreateHub Text
- data CreateHubResponse = CreateHubResponse' {
- httpStatus :: Int
- hubArn :: Text
- newCreateHubResponse :: Int -> Text -> CreateHubResponse
- createHubResponse_httpStatus :: Lens' CreateHubResponse Int
- createHubResponse_hubArn :: Lens' CreateHubResponse Text
Creating a Request
See: newCreateHub
smart constructor.
Constructors
CreateHub' | |
Fields
|
Instances
Create a value of CreateHub
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:
CreateHub
, createHub_hubDisplayName
- The display name of the hub.
CreateHub
, createHub_hubSearchKeywords
- The searchable keywords for the hub.
CreateHub
, createHub_s3StorageConfig
- The Amazon S3 storage configuration for the hub.
CreateHub
, createHub_tags
- Any tags to associate with the hub.
CreateHub
, createHub_hubName
- The name of the hub to create.
CreateHub
, createHub_hubDescription
- A description of the hub.
Request Lenses
createHub_hubSearchKeywords :: Lens' CreateHub (Maybe [Text]) Source #
The searchable keywords for the hub.
createHub_s3StorageConfig :: Lens' CreateHub (Maybe HubS3StorageConfig) Source #
The Amazon S3 storage configuration for the hub.
Destructuring the Response
data CreateHubResponse Source #
See: newCreateHubResponse
smart constructor.
Constructors
CreateHubResponse' | |
Fields
|
Instances
Create a value of CreateHubResponse
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:httpStatus:CreateHubResponse'
, createHubResponse_httpStatus
- The response's http status code.
CreateHubResponse
, createHubResponse_hubArn
- The Amazon Resource Name (ARN) of the hub.
Response Lenses
createHubResponse_httpStatus :: Lens' CreateHubResponse Int Source #
The response's http status code.
createHubResponse_hubArn :: Lens' CreateHubResponse Text Source #
The Amazon Resource Name (ARN) of the hub.