amazonka-ec2-1.4.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeScheduledInstances

Contents

Description

Describes one or more of your Scheduled Instances.

Synopsis

Creating a Request

describeScheduledInstances :: DescribeScheduledInstances Source

Creates a value of DescribeScheduledInstances with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dsiFilters :: Lens' DescribeScheduledInstances [Filter] Source

One or more filters.

  • 'availability-zone' - The Availability Zone (for example, 'us-west-2a').
  • 'instance-type' - The instance type (for example, 'c4.large').
  • 'network-platform' - The network platform ('EC2-Classic' or 'EC2-VPC').
  • platform - The platform ('Linux\/UNIX' or Windows).

dsiNextToken :: Lens' DescribeScheduledInstances (Maybe Text) Source

The token for the next set of results.

dsiScheduledInstanceIds :: Lens' DescribeScheduledInstances [Text] Source

One or more Scheduled Instance IDs.

dsiDryRun :: Lens' DescribeScheduledInstances (Maybe Bool) Source

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

dsiMaxResults :: Lens' DescribeScheduledInstances (Maybe Int) Source

The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. To retrieve the remaining results, make another call with the returned NextToken value.

Destructuring the Response

describeScheduledInstancesResponse Source

Creates a value of DescribeScheduledInstancesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dsirsNextToken :: Lens' DescribeScheduledInstancesResponse (Maybe Text) Source

The token required to retrieve the next set of results. This value is null when there are no more results to return.