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 |
Synopsis
- data PolicySummary = PolicySummary' {}
- newPolicySummary :: PolicySummary
- policySummary_arn :: Lens' PolicySummary (Maybe Text)
- policySummary_name :: Lens' PolicySummary (Maybe Text)
- policySummary_id :: Lens' PolicySummary (Maybe Text)
- policySummary_awsManaged :: Lens' PolicySummary (Maybe Bool)
- policySummary_type :: Lens' PolicySummary (Maybe PolicyType)
- policySummary_description :: Lens' PolicySummary (Maybe Text)
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 AWS Service Authorization Reference.
$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: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:awsManaged:PolicySummary'
, policySummary_awsManaged
- A boolean value that indicates whether the specified policy is an AWS
managed policy. If true, then you can attach the policy to roots, OUs,
or accounts, but you cannot edit it.
$sel:type':PolicySummary'
, policySummary_type
- The type of policy.
$sel:description:PolicySummary'
, policySummary_description
- The description of the 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 AWS Service Authorization Reference.
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_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_awsManaged :: Lens' PolicySummary (Maybe Bool) Source #
A boolean value that indicates whether the specified policy is an AWS managed policy. If true, then you can attach the policy to roots, OUs, or accounts, but you cannot edit it.
policySummary_type :: Lens' PolicySummary (Maybe PolicyType) Source #
The type of policy.
policySummary_description :: Lens' PolicySummary (Maybe Text) Source #
The description of the policy.