Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
PolicyAttachment' | |
|
Instances
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_policyId :: Lens' PolicyAttachment (Maybe Text) Source #
The ID of 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
.