Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PolicySummary = PolicySummary' {}
- newPolicySummary :: PolicySummary
- policySummary_arn :: Lens' PolicySummary (Maybe Text)
- policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool)
- policySummary_description :: Lens' PolicySummary (Maybe Text)
- policySummary_id :: Lens' PolicySummary (Maybe Text)
- policySummary_name :: Lens' PolicySummary (Maybe Text)
- policySummary_type :: Lens' PolicySummary (Maybe PolicyType)
Documentation
data PolicySummary Source #
Contains information about a policy, but does not include the content. To see the content of a policy, see DescribePolicy.
See: newPolicySummary
smart constructor.
PolicySummary' | |
|
Instances
newPolicySummary :: PolicySummary Source #
Create a value of PolicySummary
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:arn:PolicySummary'
, policySummary_arn
- The Amazon Resource Name (ARN) of the policy.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
$sel:awsManaged:PolicySummary'
, policySummary_awsManaged
- A boolean value that indicates whether the specified policy is an Amazon
Web Services managed policy. If true, then you can attach the policy to
roots, OUs, or accounts, but you cannot edit it.
$sel:description:PolicySummary'
, policySummary_description
- The description of the policy.
$sel:id:PolicySummary'
, policySummary_id
- The unique identifier (ID) of the policy.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
$sel:name:PolicySummary'
, policySummary_name
- The friendly name of the policy.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
$sel:type':PolicySummary'
, policySummary_type
- The type of policy.
policySummary_arn :: Lens' PolicySummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the policy.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool) Source #
A boolean value that indicates whether the specified policy is an Amazon Web Services managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.
policySummary_description :: Lens' PolicySummary (Maybe Text) Source #
The description of the policy.
policySummary_id :: Lens' PolicySummary (Maybe Text) Source #
The unique identifier (ID) of the policy.
The regex pattern for a policy ID string requires "p-" followed by from 8 to 128 lowercase or uppercase letters, digits, or the underscore character (_).
policySummary_name :: Lens' PolicySummary (Maybe Text) Source #
The friendly name of the policy.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
policySummary_type :: Lens' PolicySummary (Maybe PolicyType) Source #
The type of policy.