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.PolicyGeneration

Description

 
Synopsis

Documentation

data PolicyGeneration Source #

Contains details about the policy generation status and properties.

See: newPolicyGeneration smart constructor.

Constructors

PolicyGeneration' 

Fields

  • completedOn :: Maybe POSIX

    A timestamp of when the policy generation was completed.

  • jobId :: Text

    The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

  • principalArn :: Text

    The ARN of the IAM entity (user or role) for which you are generating a policy.

  • startedOn :: POSIX

    A timestamp of when the policy generation started.

  • status :: JobStatus

    The status of the policy generation request.

Instances

Instances details
Eq PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

Read PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

Show PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

Generic PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

Associated Types

type Rep PolicyGeneration :: Type -> Type #

NFData PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

Methods

rnf :: PolicyGeneration -> () #

Hashable PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

FromJSON PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

type Rep PolicyGeneration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.PolicyGeneration

type Rep PolicyGeneration = D1 ('MetaData "PolicyGeneration" "Amazonka.AccessAnalyzer.Types.PolicyGeneration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "PolicyGeneration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "completedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobStatus)))))

newPolicyGeneration Source #

Create a value of PolicyGeneration 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:completedOn:PolicyGeneration', policyGeneration_completedOn - A timestamp of when the policy generation was completed.

$sel:jobId:PolicyGeneration', policyGeneration_jobId - The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

$sel:principalArn:PolicyGeneration', policyGeneration_principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.

$sel:startedOn:PolicyGeneration', policyGeneration_startedOn - A timestamp of when the policy generation started.

$sel:status:PolicyGeneration', policyGeneration_status - The status of the policy generation request.

policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime) Source #

A timestamp of when the policy generation was completed.

policyGeneration_jobId :: Lens' PolicyGeneration Text Source #

The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.

policyGeneration_principalArn :: Lens' PolicyGeneration Text Source #

The ARN of the IAM entity (user or role) for which you are generating a policy.

policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime Source #

A timestamp of when the policy generation started.

policyGeneration_status :: Lens' PolicyGeneration JobStatus Source #

The status of the policy generation request.