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

Description

Deletes a project. To delete a project, it must not have any placements associated with it.

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

Synopsis

Creating a Request

data DeleteProject Source #

See: newDeleteProject smart constructor.

Constructors

DeleteProject' 

Fields

Instances

Instances details
Eq DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Read DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Show DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Generic DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Associated Types

type Rep DeleteProject :: Type -> Type #

NFData DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Methods

rnf :: DeleteProject -> () #

Hashable DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

AWSRequest DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Associated Types

type AWSResponse DeleteProject #

ToHeaders DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

ToPath DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

ToQuery DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

type Rep DeleteProject Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

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

Defined in Amazonka.IoT1ClickProjects.DeleteProject

newDeleteProject Source #

Create a value of DeleteProject 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:projectName:DeleteProject', deleteProject_projectName - The name of the empty project to delete.

Request Lenses

deleteProject_projectName :: Lens' DeleteProject Text Source #

The name of the empty project to delete.

Destructuring the Response

data DeleteProjectResponse Source #

See: newDeleteProjectResponse smart constructor.

Constructors

DeleteProjectResponse' 

Fields

Instances

Instances details
Eq DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Read DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Show DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Generic DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Associated Types

type Rep DeleteProjectResponse :: Type -> Type #

NFData DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

Methods

rnf :: DeleteProjectResponse -> () #

type Rep DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoT1ClickProjects.DeleteProject

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

newDeleteProjectResponse Source #

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

Response Lenses