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

Description

 
Synopsis

Documentation

data PolicyVersion Source #

Describes a policy version.

See: newPolicyVersion smart constructor.

Constructors

PolicyVersion' 

Fields

Instances

Instances details
Eq PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

Read PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

Show PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

Generic PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

Associated Types

type Rep PolicyVersion :: Type -> Type #

NFData PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

Methods

rnf :: PolicyVersion -> () #

Hashable PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

FromJSON PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

type Rep PolicyVersion Source # 
Instance details

Defined in Amazonka.IoT.Types.PolicyVersion

type Rep PolicyVersion = D1 ('MetaData "PolicyVersion" "Amazonka.IoT.Types.PolicyVersion" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "PolicyVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "isDefaultVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newPolicyVersion :: PolicyVersion Source #

Create a value of PolicyVersion 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:versionId:PolicyVersion', policyVersion_versionId - The policy version ID.

$sel:createDate:PolicyVersion', policyVersion_createDate - The date and time the policy was created.

$sel:isDefaultVersion:PolicyVersion', policyVersion_isDefaultVersion - Specifies whether the policy version is the default.

policyVersion_createDate :: Lens' PolicyVersion (Maybe UTCTime) Source #

The date and time the policy was created.

policyVersion_isDefaultVersion :: Lens' PolicyVersion (Maybe Bool) Source #

Specifies whether the policy version is the default.