| 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.PolicyGeneration
Description
Synopsis
- data PolicyGeneration = PolicyGeneration' {}
- newPolicyGeneration :: Text -> Text -> JobStatus -> UTCTime -> PolicyGeneration
- policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime)
- policyGeneration_jobId :: Lens' PolicyGeneration Text
- policyGeneration_principalArn :: Lens' PolicyGeneration Text
- policyGeneration_status :: Lens' PolicyGeneration JobStatus
- policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime
Documentation
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration smart constructor.
Constructors
| PolicyGeneration' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> JobStatus | |
| -> UTCTime | |
| -> PolicyGeneration |
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:status:PolicyGeneration', policyGeneration_status - The status of the policy generation request.
$sel:startedOn:PolicyGeneration', policyGeneration_startedOn - A timestamp of when the policy generation started.
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_status :: Lens' PolicyGeneration JobStatus Source #
The status of the policy generation request.
policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime Source #
A timestamp of when the policy generation started.