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

Description

Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise Monitor resource.

Synopsis

Creating a Request

data DeleteAccessPolicy Source #

See: newDeleteAccessPolicy smart constructor.

Constructors

DeleteAccessPolicy' 

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.

  • accessPolicyId :: Text

    The ID of the access policy to be deleted.

Instances

Instances details
Eq DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Read DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Show DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Generic DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Associated Types

type Rep DeleteAccessPolicy :: Type -> Type #

NFData DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Methods

rnf :: DeleteAccessPolicy -> () #

Hashable DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

AWSRequest DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Associated Types

type AWSResponse DeleteAccessPolicy #

ToHeaders DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

ToPath DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

ToQuery DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

type Rep DeleteAccessPolicy Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

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

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

newDeleteAccessPolicy Source #

Create a value of DeleteAccessPolicy 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:DeleteAccessPolicy', deleteAccessPolicy_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:accessPolicyId:DeleteAccessPolicy', deleteAccessPolicy_accessPolicyId - The ID of the access policy to be deleted.

Request Lenses

deleteAccessPolicy_clientToken :: Lens' DeleteAccessPolicy (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.

deleteAccessPolicy_accessPolicyId :: Lens' DeleteAccessPolicy Text Source #

The ID of the access policy to be deleted.

Destructuring the Response

data DeleteAccessPolicyResponse Source #

See: newDeleteAccessPolicyResponse smart constructor.

Constructors

DeleteAccessPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Read DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Show DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Generic DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

Associated Types

type Rep DeleteAccessPolicyResponse :: Type -> Type #

NFData DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

type Rep DeleteAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.DeleteAccessPolicy

type Rep DeleteAccessPolicyResponse = D1 ('MetaData "DeleteAccessPolicyResponse" "Amazonka.IoTSiteWise.DeleteAccessPolicy" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "DeleteAccessPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAccessPolicyResponse Source #

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

Response Lenses