| 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 |
Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult
Description
Synopsis
- data GeneratedPolicyResult = GeneratedPolicyResult' {}
- newGeneratedPolicyResult :: GeneratedPolicyProperties -> GeneratedPolicyResult
- generatedPolicyResult_generatedPolicies :: Lens' GeneratedPolicyResult (Maybe [GeneratedPolicy])
- generatedPolicyResult_properties :: Lens' GeneratedPolicyResult GeneratedPolicyProperties
Documentation
data GeneratedPolicyResult Source #
Contains the text for the generated policy and its details.
See: newGeneratedPolicyResult smart constructor.
Constructors
| GeneratedPolicyResult' | |
Fields
| |
Instances
newGeneratedPolicyResult Source #
Create a value of GeneratedPolicyResult 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:generatedPolicies:GeneratedPolicyResult', generatedPolicyResult_generatedPolicies - The text to use as the content for the new policy. The policy is created
using the
CreatePolicy
action.
$sel:properties:GeneratedPolicyResult', generatedPolicyResult_properties - A GeneratedPolicyProperties object that contains properties of the
generated policy.
generatedPolicyResult_generatedPolicies :: Lens' GeneratedPolicyResult (Maybe [GeneratedPolicy]) Source #
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicyResult_properties :: Lens' GeneratedPolicyResult GeneratedPolicyProperties Source #
A GeneratedPolicyProperties object that contains properties of the
generated policy.