libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.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 POSIX

    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 POSIX

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

Instances

Instances details
Eq UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Read UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

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

NFData UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

Methods

rnf :: UserPausedDetails -> () #

Hashable UserPausedDetails Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserPausedDetails

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UserPausedDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobExpiresAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "jobImminentExpirationHealthEventArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobPausedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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.