libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.DeleteProject

Description

Deletes a project from IoT SiteWise Monitor.

Synopsis

Creating a Request

data DeleteProject Source #

See: newDeleteProject smart constructor.

Constructors

DeleteProject' 

Fields

  • clientToken :: Maybe Text

    A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

  • projectId :: Text

    The ID of the project.

Instances

Instances details
Eq DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Read DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Show DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Generic DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Associated Types

type Rep DeleteProject :: Type -> Type #

NFData DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Methods

rnf :: DeleteProject -> () #

Hashable DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

AWSRequest DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Associated Types

type AWSResponse DeleteProject #

ToHeaders DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

ToPath DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

ToQuery DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

type Rep DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

type Rep DeleteProject = D1 ('MetaData "DeleteProject" "Amazonka.IoTSiteWise.DeleteProject" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DeleteProject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteProject Source # 
Instance details

Defined in Amazonka.IoTSiteWise.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:clientToken:DeleteProject', deleteProject_clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

$sel:projectId:DeleteProject', deleteProject_projectId - The ID of the project.

Request Lenses

deleteProject_clientToken :: Lens' DeleteProject (Maybe Text) Source #

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

Destructuring the Response

data DeleteProjectResponse Source #

See: newDeleteProjectResponse smart constructor.

Constructors

DeleteProjectResponse' 

Fields

Instances

Instances details
Eq DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Read DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Show DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Generic DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Associated Types

type Rep DeleteProjectResponse :: Type -> Type #

NFData DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

Methods

rnf :: DeleteProjectResponse -> () #

type Rep DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteProject

type Rep DeleteProjectResponse = D1 ('MetaData "DeleteProjectResponse" "Amazonka.IoTSiteWise.DeleteProject" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" '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