amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker 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.IotTwinMaker.CreateWorkspace

Description

Creates a workplace.

Synopsis

Creating a Request

data CreateWorkspace Source #

See: newCreateWorkspace smart constructor.

Constructors

CreateWorkspace' 

Fields

Instances

Instances details
ToJSON CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

ToHeaders CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

ToPath CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

ToQuery CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

AWSRequest CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Associated Types

type AWSResponse CreateWorkspace #

Generic CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Associated Types

type Rep CreateWorkspace :: Type -> Type #

Read CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Show CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

NFData CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Methods

rnf :: CreateWorkspace -> () #

Eq CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Hashable CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

type AWSResponse CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

type Rep CreateWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

type Rep CreateWorkspace = D1 ('MetaData "CreateWorkspace" "Amazonka.IotTwinMaker.CreateWorkspace" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "CreateWorkspace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateWorkspace Source #

Create a value of CreateWorkspace 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:

CreateWorkspace, createWorkspace_description - The description of the workspace.

$sel:tags:CreateWorkspace', createWorkspace_tags - Metadata that you can use to manage the workspace

CreateWorkspace, createWorkspace_workspaceId - The ID of the workspace.

$sel:s3Location:CreateWorkspace', createWorkspace_s3Location - The ARN of the S3 bucket where resources associated with the workspace are stored.

$sel:role':CreateWorkspace', createWorkspace_role - The ARN of the execution role associated with the workspace.

Request Lenses

createWorkspace_description :: Lens' CreateWorkspace (Maybe Text) Source #

The description of the workspace.

createWorkspace_tags :: Lens' CreateWorkspace (Maybe (HashMap Text Text)) Source #

Metadata that you can use to manage the workspace

createWorkspace_s3Location :: Lens' CreateWorkspace Text Source #

The ARN of the S3 bucket where resources associated with the workspace are stored.

createWorkspace_role :: Lens' CreateWorkspace Text Source #

The ARN of the execution role associated with the workspace.

Destructuring the Response

data CreateWorkspaceResponse Source #

See: newCreateWorkspaceResponse smart constructor.

Constructors

CreateWorkspaceResponse' 

Fields

Instances

Instances details
Generic CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Associated Types

type Rep CreateWorkspaceResponse :: Type -> Type #

Read CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Show CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

NFData CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

Methods

rnf :: CreateWorkspaceResponse -> () #

Eq CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

type Rep CreateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.CreateWorkspace

type Rep CreateWorkspaceResponse = D1 ('MetaData "CreateWorkspaceResponse" "Amazonka.IotTwinMaker.CreateWorkspace" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "CreateWorkspaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newCreateWorkspaceResponse Source #

Create a value of CreateWorkspaceResponse 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:CreateWorkspaceResponse', createWorkspaceResponse_httpStatus - The response's http status code.

CreateWorkspaceResponse, createWorkspaceResponse_arn - The ARN of the workspace.

CreateWorkspaceResponse, createWorkspaceResponse_creationDateTime - The date and time when the workspace was created.

Response Lenses

createWorkspaceResponse_creationDateTime :: Lens' CreateWorkspaceResponse UTCTime Source #

The date and time when the workspace was created.