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 JobDetails = JobDetails' {}
- newJobDetails :: Text -> UTCTime -> JobStatus -> JobDetails
- jobDetails_completedOn :: Lens' JobDetails (Maybe UTCTime)
- jobDetails_jobError :: Lens' JobDetails (Maybe JobError)
- jobDetails_jobId :: Lens' JobDetails Text
- jobDetails_startedOn :: Lens' JobDetails UTCTime
- jobDetails_status :: Lens' JobDetails JobStatus
Documentation
data JobDetails Source #
Contains details about the policy generation request.
See: newJobDetails
smart constructor.
JobDetails' | |
|
Instances
:: Text | |
-> UTCTime | |
-> JobStatus | |
-> JobDetails |
Create a value of JobDetails
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:JobDetails'
, jobDetails_completedOn
- A timestamp of when the job was completed.
$sel:jobError:JobDetails'
, jobDetails_jobError
- The job error for the policy generation request.
$sel:jobId:JobDetails'
, jobDetails_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:startedOn:JobDetails'
, jobDetails_startedOn
- A timestamp of when the job was started.
$sel:status:JobDetails'
, jobDetails_status
- The status of the job request.
jobDetails_completedOn :: Lens' JobDetails (Maybe UTCTime) Source #
A timestamp of when the job was completed.
jobDetails_jobError :: Lens' JobDetails (Maybe JobError) Source #
The job error for the policy generation request.
jobDetails_jobId :: Lens' JobDetails 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.
jobDetails_startedOn :: Lens' JobDetails UTCTime Source #
A timestamp of when the job was started.
jobDetails_status :: Lens' JobDetails JobStatus Source #
The status of the job request.