amazonka-autoscaling-2.0: Amazon Auto Scaling 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.AutoScaling.Types.Activity

Description

 
Synopsis

Documentation

data Activity Source #

Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.

See: newActivity smart constructor.

Constructors

Activity' 

Fields

Instances

Instances details
FromXML Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Generic Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Associated Types

type Rep Activity :: Type -> Type #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

Read Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Show Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

NFData Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

rnf :: Activity -> () #

Eq Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Hashable Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

type Rep Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity = D1 ('MetaData "Activity" "Amazonka.AutoScaling.Types.Activity" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Activity'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoScalingGroupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "activityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScalingActivityStatusCode))))))

newActivity Source #

Create a value of Activity 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:autoScalingGroupARN:Activity', activity_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

$sel:autoScalingGroupState:Activity', activity_autoScalingGroupState - The state of the Auto Scaling group, which is either InService or Deleted.

$sel:description:Activity', activity_description - A friendly, more verbose description of the activity.

$sel:details:Activity', activity_details - The details about the activity.

$sel:endTime:Activity', activity_endTime - The end time of the activity.

$sel:progress:Activity', activity_progress - A value between 0 and 100 that indicates the progress of the activity.

$sel:statusMessage:Activity', activity_statusMessage - A friendly, more verbose description of the activity status.

$sel:activityId:Activity', activity_activityId - The ID of the activity.

$sel:autoScalingGroupName:Activity', activity_autoScalingGroupName - The name of the Auto Scaling group.

$sel:cause:Activity', activity_cause - The reason the activity began.

$sel:startTime:Activity', activity_startTime - The start time of the activity.

$sel:statusCode:Activity', activity_statusCode - The current status of the activity.

activity_autoScalingGroupARN :: Lens' Activity (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Auto Scaling group.

activity_autoScalingGroupState :: Lens' Activity (Maybe Text) Source #

The state of the Auto Scaling group, which is either InService or Deleted.

activity_description :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity.

activity_details :: Lens' Activity (Maybe Text) Source #

The details about the activity.

activity_endTime :: Lens' Activity (Maybe UTCTime) Source #

The end time of the activity.

activity_progress :: Lens' Activity (Maybe Int) Source #

A value between 0 and 100 that indicates the progress of the activity.

activity_statusMessage :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity status.

activity_activityId :: Lens' Activity Text Source #

The ID of the activity.

activity_autoScalingGroupName :: Lens' Activity Text Source #

The name of the Auto Scaling group.

activity_cause :: Lens' Activity Text Source #

The reason the activity began.

activity_startTime :: Lens' Activity UTCTime Source #

The start time of the activity.

activity_statusCode :: Lens' Activity ScalingActivityStatusCode Source #

The current status of the activity.