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

Description

Deletes an entity.

Synopsis

Creating a Request

data DeleteEntity Source #

See: newDeleteEntity smart constructor.

Constructors

DeleteEntity' 

Fields

Instances

Instances details
ToHeaders DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

ToPath DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

ToQuery DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

AWSRequest DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Associated Types

type AWSResponse DeleteEntity #

Generic DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Associated Types

type Rep DeleteEntity :: Type -> Type #

Read DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Show DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

NFData DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Methods

rnf :: DeleteEntity -> () #

Eq DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Hashable DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

type AWSResponse DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

type Rep DeleteEntity Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

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

newDeleteEntity Source #

Create a value of DeleteEntity 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:isRecursive:DeleteEntity', deleteEntity_isRecursive - A Boolean value that specifies whether the operation deletes child entities.

DeleteEntity, deleteEntity_workspaceId - The ID of the workspace that contains the entity to delete.

DeleteEntity, deleteEntity_entityId - The ID of the entity to delete.

Request Lenses

deleteEntity_isRecursive :: Lens' DeleteEntity (Maybe Bool) Source #

A Boolean value that specifies whether the operation deletes child entities.

deleteEntity_workspaceId :: Lens' DeleteEntity Text Source #

The ID of the workspace that contains the entity to delete.

deleteEntity_entityId :: Lens' DeleteEntity Text Source #

The ID of the entity to delete.

Destructuring the Response

data DeleteEntityResponse Source #

See: newDeleteEntityResponse smart constructor.

Constructors

DeleteEntityResponse' 

Fields

Instances

Instances details
Generic DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Associated Types

type Rep DeleteEntityResponse :: Type -> Type #

Read DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Show DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

NFData DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

Methods

rnf :: DeleteEntityResponse -> () #

Eq DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

type Rep DeleteEntityResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.DeleteEntity

type Rep DeleteEntityResponse = D1 ('MetaData "DeleteEntityResponse" "Amazonka.IotTwinMaker.DeleteEntity" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "DeleteEntityResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 State)))

newDeleteEntityResponse Source #

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

DeleteEntityResponse, deleteEntityResponse_state - The current state of the deleted entity.

Response Lenses

deleteEntityResponse_state :: Lens' DeleteEntityResponse State Source #

The current state of the deleted entity.