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

Description

Gets information about the scheduled actions that haven't run or that have not reached their end time.

To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities API.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeScheduledActions Source #

See: newDescribeScheduledActions smart constructor.

Constructors

DescribeScheduledActions' 

Fields

  • startTime :: Maybe ISO8601

    The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

  • nextToken :: Maybe Text

    The token for the next set of items to return. (You received this token from a previous call.)

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • maxRecords :: Maybe Int

    The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

  • endTime :: Maybe ISO8601

    The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

  • scheduledActionNames :: Maybe [Text]

    The names of one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.

    Array Members: Maximum number of 50 actions.

Instances

Instances details
Eq DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Read DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Show DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Generic DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Associated Types

type Rep DescribeScheduledActions :: Type -> Type #

NFData DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Hashable DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

AWSPager DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

AWSRequest DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

ToHeaders DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

ToPath DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

ToQuery DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

type Rep DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

type Rep DescribeScheduledActions = D1 ('MetaData "DescribeScheduledActions" "Amazonka.AutoScaling.DescribeScheduledActions" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeScheduledActions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "scheduledActionNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))
type AWSResponse DescribeScheduledActions Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

newDescribeScheduledActions :: DescribeScheduledActions Source #

Create a value of DescribeScheduledActions 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:startTime:DescribeScheduledActions', describeScheduledActions_startTime - The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

$sel:nextToken:DescribeScheduledActions', describeScheduledActions_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:autoScalingGroupName:DescribeScheduledActions', describeScheduledActions_autoScalingGroupName - The name of the Auto Scaling group.

$sel:maxRecords:DescribeScheduledActions', describeScheduledActions_maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

$sel:endTime:DescribeScheduledActions', describeScheduledActions_endTime - The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

$sel:scheduledActionNames:DescribeScheduledActions', describeScheduledActions_scheduledActionNames - The names of one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.

Array Members: Maximum number of 50 actions.

Request Lenses

describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #

The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int) Source #

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #

The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text]) Source #

The names of one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.

Array Members: Maximum number of 50 actions.

Destructuring the Response

data DescribeScheduledActionsResponse Source #

See: newDescribeScheduledActionsResponse smart constructor.

Constructors

DescribeScheduledActionsResponse' 

Fields

Instances

Instances details
Eq DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Read DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Show DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Generic DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

Associated Types

type Rep DescribeScheduledActionsResponse :: Type -> Type #

NFData DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

type Rep DescribeScheduledActionsResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeScheduledActions

type Rep DescribeScheduledActionsResponse = D1 ('MetaData "DescribeScheduledActionsResponse" "Amazonka.AutoScaling.DescribeScheduledActions" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeScheduledActionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scheduledUpdateGroupActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScheduledUpdateGroupAction])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeScheduledActionsResponse Source #

Create a value of DescribeScheduledActionsResponse 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:scheduledUpdateGroupActions:DescribeScheduledActionsResponse', describeScheduledActionsResponse_scheduledUpdateGroupActions - The scheduled actions.

$sel:nextToken:DescribeScheduledActions', describeScheduledActionsResponse_nextToken - A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.

$sel:httpStatus:DescribeScheduledActionsResponse', describeScheduledActionsResponse_httpStatus - The response's http status code.

Response Lenses

describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text) Source #

A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.