amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.UserPausedDetails

Description

 
Synopsis

Documentation

data UserPausedDetails Source #

Provides information about when a classification job was paused. For a one-time job, this object also specifies when the job will expire and be cancelled if it isn't resumed. For a recurring job, this object also specifies when the paused job run will expire and be cancelled if it isn't resumed. This object is present only if a job's current status (jobStatus) is USER_PAUSED. The information in this object applies only to a job that was paused while it had a status of RUNNING.

See: newUserPausedDetails smart constructor.

Constructors

UserPausedDetails' 

Fields

  • jobExpiresAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.

  • jobImminentExpirationHealthEventArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

  • jobPausedAt :: Maybe ISO8601

    The date and time, in UTC and extended ISO 8601 format, when you paused the job.

Instances

Instances details
FromJSON UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Generic UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Associated Types

type Rep UserPausedDetails :: Type -> Type #

Read UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Show UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

NFData UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Methods

rnf :: UserPausedDetails -> () #

Eq UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Hashable UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

type Rep UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

type Rep UserPausedDetails = D1 ('MetaData "UserPausedDetails" "Amazonka.MacieV2.Types.UserPausedDetails" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UserPausedDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobExpiresAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "jobImminentExpirationHealthEventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobPausedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))))

newUserPausedDetails :: UserPausedDetails Source #

Create a value of UserPausedDetails 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:jobExpiresAt:UserPausedDetails', userPausedDetails_jobExpiresAt - The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.

$sel:jobImminentExpirationHealthEventArn:UserPausedDetails', userPausedDetails_jobImminentExpirationHealthEventArn - The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

$sel:jobPausedAt:UserPausedDetails', userPausedDetails_jobPausedAt - The date and time, in UTC and extended ISO 8601 format, when you paused the job.

userPausedDetails_jobExpiresAt :: Lens' UserPausedDetails (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.

userPausedDetails_jobImminentExpirationHealthEventArn :: Lens' UserPausedDetails (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.

userPausedDetails_jobPausedAt :: Lens' UserPausedDetails (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when you paused the job.