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.CreateSpace

Description

Creates a space used for real time collaboration in a Domain.

Synopsis

Creating a Request

data CreateSpace Source #

See: newCreateSpace smart constructor.

Constructors

CreateSpace' 

Fields

  • spaceSettings :: Maybe SpaceSettings

    A collection of space settings.

  • tags :: Maybe [Tag]

    Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

  • domainId :: Text

    The ID of the associated Domain.

  • spaceName :: Text

    The name of the space.

Instances

Instances details
ToJSON CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

ToHeaders CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Methods

toHeaders :: CreateSpace -> [Header] #

ToPath CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

ToQuery CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

AWSRequest CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Associated Types

type AWSResponse CreateSpace #

Generic CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Associated Types

type Rep CreateSpace :: Type -> Type #

Read CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Show CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

NFData CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Methods

rnf :: CreateSpace -> () #

Eq CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Hashable CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

type AWSResponse CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

type Rep CreateSpace Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

type Rep CreateSpace = D1 ('MetaData "CreateSpace" "Amazonka.SageMaker.CreateSpace" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "CreateSpace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "spaceSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SpaceSettings)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "spaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateSpace Source #

Create a value of CreateSpace 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:spaceSettings:CreateSpace', createSpace_spaceSettings - A collection of space settings.

CreateSpace, createSpace_tags - Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

CreateSpace, createSpace_domainId - The ID of the associated Domain.

CreateSpace, createSpace_spaceName - The name of the space.

Request Lenses

createSpace_tags :: Lens' CreateSpace (Maybe [Tag]) Source #

Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the Search API.

createSpace_domainId :: Lens' CreateSpace Text Source #

The ID of the associated Domain.

Destructuring the Response

data CreateSpaceResponse Source #

See: newCreateSpaceResponse smart constructor.

Constructors

CreateSpaceResponse' 

Fields

Instances

Instances details
Generic CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Associated Types

type Rep CreateSpaceResponse :: Type -> Type #

Read CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Show CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

NFData CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

Methods

rnf :: CreateSpaceResponse -> () #

Eq CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

type Rep CreateSpaceResponse Source # 
Instance details

Defined in Amazonka.SageMaker.CreateSpace

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

newCreateSpaceResponse Source #

Create a value of CreateSpaceResponse 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:spaceArn:CreateSpaceResponse', createSpaceResponse_spaceArn - The space's Amazon Resource Name (ARN).

$sel:httpStatus:CreateSpaceResponse', createSpaceResponse_httpStatus - The response's http status code.

Response Lenses

createSpaceResponse_spaceArn :: Lens' CreateSpaceResponse (Maybe Text) Source #

The space's Amazon Resource Name (ARN).