libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.Policy

Description

 
Synopsis

Documentation

data Policy Source #

Describes an IoT policy.

See: newPolicy smart constructor.

Constructors

Policy' 

Fields

Instances

Instances details
Eq Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Read Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Show Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Generic Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

NFData Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Methods

rnf :: Policy -> () #

Hashable Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

FromJSON Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

type Rep Policy Source # 
Instance details

Defined in Amazonka.IoT.Types.Policy

type Rep Policy = D1 ('MetaData "Policy" "Amazonka.IoT.Types.Policy" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "Policy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newPolicy :: Policy Source #

Create a value of Policy 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:policyName:Policy', policy_policyName - The policy name.

$sel:policyArn:Policy', policy_policyArn - The policy ARN.