amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AccessAnalyzer.Types.JobDetails

Description

 
Synopsis

Documentation

data JobDetails Source #

Contains details about the policy generation request.

See: newJobDetails smart constructor.

Constructors

JobDetails' 

Fields

  • completedOn :: Maybe ISO8601

    A timestamp of when the job was completed.

  • jobError :: Maybe JobError

    The job error for the policy generation request.

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

  • status :: JobStatus

    The status of the job request.

  • startedOn :: ISO8601

    A timestamp of when the job was started.

Instances

Instances details
FromJSON JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Generic JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Associated Types

type Rep JobDetails :: Type -> Type #

Read JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Show JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

NFData JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Methods

rnf :: JobDetails -> () #

Eq JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Hashable JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

type Rep JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

type Rep JobDetails = D1 ('MetaData "JobDetails" "Amazonka.AccessAnalyzer.Types.JobDetails" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "JobDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "completedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "jobError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobError))) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobStatus) :*: S1 ('MetaSel ('Just "startedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))

newJobDetails Source #

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:status:JobDetails', jobDetails_status - The status of the job request.

$sel:startedOn:JobDetails', jobDetails_startedOn - A timestamp of when the job was started.

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_status :: Lens' JobDetails JobStatus Source #

The status of the job request.

jobDetails_startedOn :: Lens' JobDetails UTCTime Source #

A timestamp of when the job was started.