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.InstanceRefresh

Description

 
Synopsis

Documentation

data InstanceRefresh Source #

Describes an instance refresh for an Auto Scaling group.

See: newInstanceRefresh smart constructor.

Constructors

InstanceRefresh' 

Fields

  • status :: Maybe InstanceRefreshStatus

    The current status for the instance refresh operation:

    • Pending - The request was created, but the operation has not started.
    • InProgress - The operation is in progress.
    • Successful - The operation completed successfully.
    • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
    • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
    • Cancelled - The operation is cancelled.
  • progressDetails :: Maybe InstanceRefreshProgressDetails

    Additional progress details for an Auto Scaling group that has a warm pool.

  • startTime :: Maybe ISO8601

    The date and time at which the instance refresh began.

  • preferences :: Maybe RefreshPreferences
     
  • instancesToUpdate :: Maybe Natural

    The number of instances remaining to update before the instance refresh is complete.

  • percentageComplete :: Maybe Natural

    The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • endTime :: Maybe ISO8601

    The date and time at which the instance refresh ended.

  • statusReason :: Maybe Text

    Provides more details about the current status of the instance refresh.

  • desiredConfiguration :: Maybe DesiredConfiguration

    Describes the specific update you want to deploy.

  • instanceRefreshId :: Maybe Text

    The instance refresh ID.

Instances

Instances details
Eq InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Read InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Show InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Generic InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Associated Types

type Rep InstanceRefresh :: Type -> Type #

NFData InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Methods

rnf :: InstanceRefresh -> () #

Hashable InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

FromXML InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

type Rep InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

type Rep InstanceRefresh = D1 ('MetaData "InstanceRefresh" "Amazonka.AutoScaling.Types.InstanceRefresh" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "InstanceRefresh'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshStatus)) :*: S1 ('MetaSel ('Just "progressDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshProgressDetails))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "preferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RefreshPreferences)) :*: S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "desiredConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DesiredConfiguration)) :*: S1 ('MetaSel ('Just "instanceRefreshId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newInstanceRefresh :: InstanceRefresh Source #

Create a value of InstanceRefresh 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:status:InstanceRefresh', instanceRefresh_status - The current status for the instance refresh operation:

  • Pending - The request was created, but the operation has not started.
  • InProgress - The operation is in progress.
  • Successful - The operation completed successfully.
  • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
  • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
  • Cancelled - The operation is cancelled.

$sel:progressDetails:InstanceRefresh', instanceRefresh_progressDetails - Additional progress details for an Auto Scaling group that has a warm pool.

$sel:startTime:InstanceRefresh', instanceRefresh_startTime - The date and time at which the instance refresh began.

$sel:preferences:InstanceRefresh', instanceRefresh_preferences - Undocumented member.

$sel:instancesToUpdate:InstanceRefresh', instanceRefresh_instancesToUpdate - The number of instances remaining to update before the instance refresh is complete.

$sel:percentageComplete:InstanceRefresh', instanceRefresh_percentageComplete - The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

$sel:autoScalingGroupName:InstanceRefresh', instanceRefresh_autoScalingGroupName - The name of the Auto Scaling group.

$sel:endTime:InstanceRefresh', instanceRefresh_endTime - The date and time at which the instance refresh ended.

$sel:statusReason:InstanceRefresh', instanceRefresh_statusReason - Provides more details about the current status of the instance refresh.

$sel:desiredConfiguration:InstanceRefresh', instanceRefresh_desiredConfiguration - Describes the specific update you want to deploy.

$sel:instanceRefreshId:InstanceRefresh', instanceRefresh_instanceRefreshId - The instance refresh ID.

instanceRefresh_status :: Lens' InstanceRefresh (Maybe InstanceRefreshStatus) Source #

The current status for the instance refresh operation:

  • Pending - The request was created, but the operation has not started.
  • InProgress - The operation is in progress.
  • Successful - The operation completed successfully.
  • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
  • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
  • Cancelled - The operation is cancelled.

instanceRefresh_progressDetails :: Lens' InstanceRefresh (Maybe InstanceRefreshProgressDetails) Source #

Additional progress details for an Auto Scaling group that has a warm pool.

instanceRefresh_startTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #

The date and time at which the instance refresh began.

instanceRefresh_instancesToUpdate :: Lens' InstanceRefresh (Maybe Natural) Source #

The number of instances remaining to update before the instance refresh is complete.

instanceRefresh_percentageComplete :: Lens' InstanceRefresh (Maybe Natural) Source #

The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

instanceRefresh_endTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #

The date and time at which the instance refresh ended.

instanceRefresh_statusReason :: Lens' InstanceRefresh (Maybe Text) Source #

Provides more details about the current status of the instance refresh.

instanceRefresh_desiredConfiguration :: Lens' InstanceRefresh (Maybe DesiredConfiguration) Source #

Describes the specific update you want to deploy.