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

Description

Deletes a portal from IoT SiteWise Monitor.

Synopsis

Creating a Request

data DeletePortal Source #

See: newDeletePortal smart constructor.

Constructors

DeletePortal' 

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.

  • portalId :: Text

    The ID of the portal to delete.

Instances

Instances details
Eq DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Read DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Show DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Generic DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Associated Types

type Rep DeletePortal :: Type -> Type #

NFData DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Methods

rnf :: DeletePortal -> () #

Hashable DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

AWSRequest DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Associated Types

type AWSResponse DeletePortal #

ToHeaders DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

ToPath DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

ToQuery DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

type Rep DeletePortal Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

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

Defined in Amazonka.IoTSiteWise.DeletePortal

newDeletePortal Source #

Create a value of DeletePortal 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:DeletePortal', deletePortal_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:portalId:DeletePortal', deletePortal_portalId - The ID of the portal to delete.

Request Lenses

deletePortal_clientToken :: Lens' DeletePortal (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.

deletePortal_portalId :: Lens' DeletePortal Text Source #

The ID of the portal to delete.

Destructuring the Response

data DeletePortalResponse Source #

See: newDeletePortalResponse smart constructor.

Constructors

DeletePortalResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • portalStatus :: PortalStatus

    The status of the portal, which contains a state (DELETING after successfully calling this operation) and any error message.

Instances

Instances details
Eq DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Read DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Show DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Generic DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Associated Types

type Rep DeletePortalResponse :: Type -> Type #

NFData DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

Methods

rnf :: DeletePortalResponse -> () #

type Rep DeletePortalResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeletePortal

type Rep DeletePortalResponse = D1 ('MetaData "DeletePortalResponse" "Amazonka.IoTSiteWise.DeletePortal" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DeletePortalResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "portalStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PortalStatus)))

newDeletePortalResponse Source #

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

$sel:portalStatus:DeletePortalResponse', deletePortalResponse_portalStatus - The status of the portal, which contains a state (DELETING after successfully calling this operation) and any error message.

Response Lenses

deletePortalResponse_portalStatus :: Lens' DeletePortalResponse PortalStatus Source #

The status of the portal, which contains a state (DELETING after successfully calling this operation) and any error message.