libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.SetTimeBasedAutoScaling

Description

Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data SetTimeBasedAutoScaling Source #

See: newSetTimeBasedAutoScaling smart constructor.

Constructors

SetTimeBasedAutoScaling' 

Fields

Instances

Instances details
Eq SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Read SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Show SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Generic SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Associated Types

type Rep SetTimeBasedAutoScaling :: Type -> Type #

NFData SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Methods

rnf :: SetTimeBasedAutoScaling -> () #

Hashable SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

ToJSON SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

AWSRequest SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

ToHeaders SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

ToPath SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

ToQuery SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

type Rep SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

type Rep SetTimeBasedAutoScaling = D1 ('MetaData "SetTimeBasedAutoScaling" "Amazonka.OpsWorks.SetTimeBasedAutoScaling" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "SetTimeBasedAutoScaling'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingSchedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WeeklyAutoScalingSchedule)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse SetTimeBasedAutoScaling Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

newSetTimeBasedAutoScaling Source #

Create a value of SetTimeBasedAutoScaling 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:autoScalingSchedule:SetTimeBasedAutoScaling', setTimeBasedAutoScaling_autoScalingSchedule - An AutoScalingSchedule with the instance schedule.

$sel:instanceId:SetTimeBasedAutoScaling', setTimeBasedAutoScaling_instanceId - The instance ID.

Request Lenses

Destructuring the Response

data SetTimeBasedAutoScalingResponse Source #

See: newSetTimeBasedAutoScalingResponse smart constructor.

Instances

Instances details
Eq SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Read SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Show SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Generic SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

Associated Types

type Rep SetTimeBasedAutoScalingResponse :: Type -> Type #

NFData SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

type Rep SetTimeBasedAutoScalingResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.SetTimeBasedAutoScaling

type Rep SetTimeBasedAutoScalingResponse = D1 ('MetaData "SetTimeBasedAutoScalingResponse" "Amazonka.OpsWorks.SetTimeBasedAutoScaling" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "SetTimeBasedAutoScalingResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetTimeBasedAutoScalingResponse :: SetTimeBasedAutoScalingResponse Source #

Create a value of SetTimeBasedAutoScalingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.