libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT1ClickProjects.DeletePlacement

Description

Deletes a placement. To delete a placement, it must not have any devices associated with it.

When you delete a placement, all associated data becomes irretrievable.

Synopsis

Creating a Request

data DeletePlacement Source #

See: newDeletePlacement smart constructor.

Constructors

DeletePlacement' 

Fields

Instances

Instances details
Eq DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Read DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Show DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Generic DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Associated Types

type Rep DeletePlacement :: Type -> Type #

NFData DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Methods

rnf :: DeletePlacement -> () #

Hashable DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

AWSRequest DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Associated Types

type AWSResponse DeletePlacement #

ToHeaders DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

ToPath DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

ToQuery DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

type Rep DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

type Rep DeletePlacement = D1 ('MetaData "DeletePlacement" "Amazonka.IoT1ClickProjects.DeletePlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "DeletePlacement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "placementName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "projectName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePlacement Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

newDeletePlacement Source #

Create a value of DeletePlacement 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:placementName:DeletePlacement', deletePlacement_placementName - The name of the empty placement to delete.

$sel:projectName:DeletePlacement', deletePlacement_projectName - The project containing the empty placement to delete.

Request Lenses

deletePlacement_placementName :: Lens' DeletePlacement Text Source #

The name of the empty placement to delete.

deletePlacement_projectName :: Lens' DeletePlacement Text Source #

The project containing the empty placement to delete.

Destructuring the Response

data DeletePlacementResponse Source #

See: newDeletePlacementResponse smart constructor.

Constructors

DeletePlacementResponse' 

Fields

Instances

Instances details
Eq DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Read DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Show DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Generic DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Associated Types

type Rep DeletePlacementResponse :: Type -> Type #

NFData DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

Methods

rnf :: DeletePlacementResponse -> () #

type Rep DeletePlacementResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeletePlacement

type Rep DeletePlacementResponse = D1 ('MetaData "DeletePlacementResponse" "Amazonka.IoT1ClickProjects.DeletePlacement" "libZSservicesZSamazonka-iot1click-projectsZSamazonka-iot1click-projects" 'False) (C1 ('MetaCons "DeletePlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePlacementResponse Source #

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

Response Lenses