libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
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.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
Eq Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Read Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

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

NFData Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

rnf :: Activity -> () #

Hashable Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

FromXML Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity = D1 ('MetaData "Activity" "Amazonka.AutoScaling.Types.Activity" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "Activity'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "description") '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: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:autoScalingGroupState:Activity', activity_autoScalingGroupState - The state of the Auto Scaling group, which is either InService or Deleted.

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

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

$sel:autoScalingGroupARN:Activity', activity_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

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

$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_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_autoScalingGroupState :: Lens' Activity (Maybe Text) Source #

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

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

The end time of the activity.

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

The details about the activity.

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

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

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

A friendly, more verbose description of the activity.

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.