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 PolicyGeneration = PolicyGeneration' {}
- newPolicyGeneration :: Text -> Text -> UTCTime -> JobStatus -> PolicyGeneration
- policyGeneration_completedOn :: Lens' PolicyGeneration (Maybe UTCTime)
- policyGeneration_jobId :: Lens' PolicyGeneration Text
- policyGeneration_principalArn :: Lens' PolicyGeneration Text
- policyGeneration_startedOn :: Lens' PolicyGeneration UTCTime
- policyGeneration_status :: Lens' PolicyGeneration JobStatus
Documentation
data PolicyGeneration Source #
Contains details about the policy generation status and properties.
See: newPolicyGeneration
smart constructor.
PolicyGeneration' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> JobStatus | |
-> 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: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.