| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScaling.Types.Activity
Description
Synopsis
- data Activity = Activity' {
- autoScalingGroupARN :: Maybe Text
- autoScalingGroupState :: Maybe Text
- description :: Maybe Text
- details :: Maybe Text
- endTime :: Maybe ISO8601
- progress :: Maybe Int
- statusMessage :: Maybe Text
- activityId :: Text
- autoScalingGroupName :: Text
- cause :: Text
- startTime :: ISO8601
- statusCode :: ScalingActivityStatusCode
- newActivity :: Text -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> Activity
- activity_autoScalingGroupARN :: Lens' Activity (Maybe Text)
- activity_autoScalingGroupState :: Lens' Activity (Maybe Text)
- activity_description :: Lens' Activity (Maybe Text)
- activity_details :: Lens' Activity (Maybe Text)
- activity_endTime :: Lens' Activity (Maybe UTCTime)
- activity_progress :: Lens' Activity (Maybe Int)
- activity_statusMessage :: Lens' Activity (Maybe Text)
- activity_activityId :: Lens' Activity Text
- activity_autoScalingGroupName :: Lens' Activity Text
- activity_cause :: Lens' Activity Text
- activity_startTime :: Lens' Activity UTCTime
- activity_statusCode :: Lens' Activity ScalingActivityStatusCode
Documentation
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
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_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_statusCode :: Lens' Activity ScalingActivityStatusCode Source #
The current status of the activity.