amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.CreateHub

Description

Create a hub.

Synopsis

Creating a Request

data CreateHub Source #

See: newCreateHub smart constructor.

Constructors

CreateHub' 

Fields

Instances

Instances details
ToJSON CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

ToHeaders CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Methods

toHeaders :: CreateHub -> [Header] #

ToPath CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

ToQuery CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

AWSRequest CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Associated Types

type AWSResponse CreateHub #

Generic CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Associated Types

type Rep CreateHub :: Type -> Type #

Read CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Show CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

NFData CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Methods

rnf :: CreateHub -> () #

Eq CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Hashable CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

type AWSResponse CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

type Rep CreateHub Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

type Rep CreateHub = D1 ('MetaData "CreateHub" "Amazonka.SageMaker.CreateHub" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateHub'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hubDisplayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hubSearchKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "s3StorageConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HubS3StorageConfig)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "hubName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "hubDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateHub Source #

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_hubDisplayName :: Lens' CreateHub (Maybe Text) Source #

The display name of the hub.

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.

createHub_tags :: Lens' CreateHub (Maybe [Tag]) Source #

Any tags to associate with the hub.

createHub_hubName :: Lens' CreateHub Text Source #

The name of the hub to create.

createHub_hubDescription :: Lens' CreateHub Text Source #

A description of the hub.

Destructuring the Response

data CreateHubResponse Source #

See: newCreateHubResponse smart constructor.

Constructors

CreateHubResponse' 

Fields

Instances

Instances details
Generic CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Associated Types

type Rep CreateHubResponse :: Type -> Type #

Read CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Show CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

NFData CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

Methods

rnf :: CreateHubResponse -> () #

Eq CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

type Rep CreateHubResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateHub

type Rep CreateHubResponse = D1 ('MetaData "CreateHubResponse" "Amazonka.SageMaker.CreateHub" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateHubResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hubArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateHubResponse Source #

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.