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

Description

Retrieves information about a workspace.

Synopsis

Creating a Request

data GetWorkspace Source #

See: newGetWorkspace smart constructor.

Constructors

GetWorkspace' 

Fields

Instances

Instances details
ToHeaders GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

ToPath GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

ToQuery GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

AWSRequest GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Associated Types

type AWSResponse GetWorkspace #

Generic GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Associated Types

type Rep GetWorkspace :: Type -> Type #

Read GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Show GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

NFData GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Methods

rnf :: GetWorkspace -> () #

Eq GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Hashable GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

type AWSResponse GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

type Rep GetWorkspace Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

type Rep GetWorkspace = D1 ('MetaData "GetWorkspace" "Amazonka.IotTwinMaker.GetWorkspace" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "GetWorkspace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetWorkspace Source #

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

GetWorkspace, getWorkspace_workspaceId - The ID of the workspace.

Request Lenses

Destructuring the Response

data GetWorkspaceResponse Source #

See: newGetWorkspaceResponse smart constructor.

Constructors

GetWorkspaceResponse' 

Fields

Instances

Instances details
Generic GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Associated Types

type Rep GetWorkspaceResponse :: Type -> Type #

Read GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Show GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

NFData GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

Methods

rnf :: GetWorkspaceResponse -> () #

Eq GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

type Rep GetWorkspaceResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetWorkspace

newGetWorkspaceResponse Source #

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

GetWorkspaceResponse, getWorkspaceResponse_description - The description of the workspace.

$sel:httpStatus:GetWorkspaceResponse', getWorkspaceResponse_httpStatus - The response's http status code.

GetWorkspace, getWorkspaceResponse_workspaceId - The ID of the workspace.

GetWorkspaceResponse, getWorkspaceResponse_arn - The ARN of the workspace.

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

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

GetWorkspaceResponse, getWorkspaceResponse_creationDateTime - The date and time when the workspace was created.

GetWorkspaceResponse, getWorkspaceResponse_updateDateTime - The date and time when the workspace was last updated.

Response Lenses

getWorkspaceResponse_s3Location :: Lens' GetWorkspaceResponse Text Source #

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

getWorkspaceResponse_role :: Lens' GetWorkspaceResponse Text Source #

The ARN of the execution role associated with the workspace.

getWorkspaceResponse_creationDateTime :: Lens' GetWorkspaceResponse UTCTime Source #

The date and time when the workspace was created.

getWorkspaceResponse_updateDateTime :: Lens' GetWorkspaceResponse UTCTime Source #

The date and time when the workspace was last updated.