libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.GeneratedPolicyResult

Description

 
Synopsis

Documentation

data GeneratedPolicyResult Source #

Contains the text for the generated policy and its details.

See: newGeneratedPolicyResult smart constructor.

Constructors

GeneratedPolicyResult' 

Fields

Instances

Instances details
Eq GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

Read GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

Show GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

Generic GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

Associated Types

type Rep GeneratedPolicyResult :: Type -> Type #

NFData GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

Methods

rnf :: GeneratedPolicyResult -> () #

Hashable GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

FromJSON GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

type Rep GeneratedPolicyResult Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult

type Rep GeneratedPolicyResult = D1 ('MetaData "GeneratedPolicyResult" "Amazonka.AccessAnalyzer.Types.GeneratedPolicyResult" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "GeneratedPolicyResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "generatedPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GeneratedPolicy])) :*: S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GeneratedPolicyProperties)))

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.