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

Description

Retrieves information about an entity.

Synopsis

Creating a Request

data GetEntity Source #

See: newGetEntity smart constructor.

Constructors

GetEntity' 

Fields

Instances

Instances details
ToHeaders GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Methods

toHeaders :: GetEntity -> [Header] #

ToPath GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

ToQuery GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

AWSRequest GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Associated Types

type AWSResponse GetEntity #

Generic GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Associated Types

type Rep GetEntity :: Type -> Type #

Read GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Show GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

NFData GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Methods

rnf :: GetEntity -> () #

Eq GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Hashable GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

type AWSResponse GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

type Rep GetEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

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

newGetEntity Source #

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

GetEntity, getEntity_workspaceId - The ID of the workspace.

GetEntity, getEntity_entityId - The ID of the entity.

Request Lenses

getEntity_workspaceId :: Lens' GetEntity Text Source #

The ID of the workspace.

getEntity_entityId :: Lens' GetEntity Text Source #

The ID of the entity.

Destructuring the Response

data GetEntityResponse Source #

See: newGetEntityResponse smart constructor.

Constructors

GetEntityResponse' 

Fields

Instances

Instances details
Generic GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Associated Types

type Rep GetEntityResponse :: Type -> Type #

Read GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Show GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

NFData GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

Methods

rnf :: GetEntityResponse -> () #

Eq GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

type Rep GetEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetEntity

type Rep GetEntityResponse = D1 ('MetaData "GetEntityResponse" "Amazonka.IotTwinMaker.GetEntity" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "GetEntityResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "components") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text ComponentResponse))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "syncSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entityName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "parentEntityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "hasChildEntities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "updateDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newGetEntityResponse Source #

Create a value of GetEntityResponse 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:components:GetEntityResponse', getEntityResponse_components - An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.

GetEntityResponse, getEntityResponse_description - The description of the entity.

GetEntityResponse, getEntityResponse_syncSource - The syncSource of the sync job, if this entity was created by a sync job.

$sel:httpStatus:GetEntityResponse', getEntityResponse_httpStatus - The response's http status code.

GetEntity, getEntityResponse_entityId - The ID of the entity.

GetEntityResponse, getEntityResponse_entityName - The name of the entity.

GetEntityResponse, getEntityResponse_arn - The ARN of the entity.

GetEntityResponse, getEntityResponse_status - The current status of the entity.

GetEntity, getEntityResponse_workspaceId - The ID of the workspace.

GetEntityResponse, getEntityResponse_parentEntityId - The ID of the parent entity for this entity.

GetEntityResponse, getEntityResponse_hasChildEntities - A Boolean value that specifies whether the entity has associated child entities.

GetEntityResponse, getEntityResponse_creationDateTime - The date and time when the entity was created.

GetEntityResponse, getEntityResponse_updateDateTime - The date and time when the entity was last updated.

Response Lenses

getEntityResponse_components :: Lens' GetEntityResponse (Maybe (HashMap Text ComponentResponse)) Source #

An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.

getEntityResponse_syncSource :: Lens' GetEntityResponse (Maybe Text) Source #

The syncSource of the sync job, if this entity was created by a sync job.

getEntityResponse_httpStatus :: Lens' GetEntityResponse Int Source #

The response's http status code.

getEntityResponse_status :: Lens' GetEntityResponse Status Source #

The current status of the entity.

getEntityResponse_parentEntityId :: Lens' GetEntityResponse Text Source #

The ID of the parent entity for this entity.

getEntityResponse_hasChildEntities :: Lens' GetEntityResponse Bool Source #

A Boolean value that specifies whether the entity has associated child entities.

getEntityResponse_creationDateTime :: Lens' GetEntityResponse UTCTime Source #

The date and time when the entity was created.

getEntityResponse_updateDateTime :: Lens' GetEntityResponse UTCTime Source #

The date and time when the entity was last updated.