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

Description

 
Synopsis

Documentation

data JobDetails Source #

Contains details about the policy generation request.

See: newJobDetails smart constructor.

Constructors

JobDetails' 

Fields

  • completedOn :: Maybe POSIX

    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.

  • startedOn :: POSIX

    A timestamp of when the job was started.

  • status :: JobStatus

    The status of the job request.

Instances

Instances details
Eq JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Read JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Show 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 #

NFData JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

Methods

rnf :: JobDetails -> () #

Hashable JobDetails Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.JobDetails

FromJSON 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" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "JobDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "completedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "jobError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobError))) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startedOn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobStatus)))))

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