libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.Types.PolicyAttachment

Description

 
Synopsis

Documentation

data PolicyAttachment Source #

Contains the PolicyType, PolicyId, and the ObjectIdentifier to which it is attached. For more information, see Policies.

See: newPolicyAttachment smart constructor.

Constructors

PolicyAttachment' 

Fields

Instances

Instances details
Eq PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

Read PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

Show PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

Generic PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

Associated Types

type Rep PolicyAttachment :: Type -> Type #

NFData PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

Methods

rnf :: PolicyAttachment -> () #

Hashable PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

FromJSON PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

type Rep PolicyAttachment Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.PolicyAttachment

type Rep PolicyAttachment = D1 ('MetaData "PolicyAttachment" "Amazonka.CloudDirectory.Types.PolicyAttachment" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "PolicyAttachment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPolicyAttachment :: PolicyAttachment Source #

Create a value of PolicyAttachment 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:policyId:PolicyAttachment', policyAttachment_policyId - The ID of PolicyAttachment.

$sel:policyType:PolicyAttachment', policyAttachment_policyType - The type of policy that can be associated with PolicyAttachment.

$sel:objectIdentifier:PolicyAttachment', policyAttachment_objectIdentifier - The ObjectIdentifier that is associated with PolicyAttachment.

policyAttachment_policyType :: Lens' PolicyAttachment (Maybe Text) Source #

The type of policy that can be associated with PolicyAttachment.

policyAttachment_objectIdentifier :: Lens' PolicyAttachment (Maybe Text) Source #

The ObjectIdentifier that is associated with PolicyAttachment.