Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes one or more of your Scheduled Instances.
- describeScheduledInstances :: DescribeScheduledInstances
- data DescribeScheduledInstances
- dsiFilters :: Lens' DescribeScheduledInstances [Filter]
- dsiSlotStartTimeRange :: Lens' DescribeScheduledInstances (Maybe SlotStartTimeRangeRequest)
- dsiNextToken :: Lens' DescribeScheduledInstances (Maybe Text)
- dsiScheduledInstanceIds :: Lens' DescribeScheduledInstances [Text]
- dsiDryRun :: Lens' DescribeScheduledInstances (Maybe Bool)
- dsiMaxResults :: Lens' DescribeScheduledInstances (Maybe Int)
- describeScheduledInstancesResponse :: Int -> DescribeScheduledInstancesResponse
- data DescribeScheduledInstancesResponse
- dsirsNextToken :: Lens' DescribeScheduledInstancesResponse (Maybe Text)
- dsirsScheduledInstanceSet :: Lens' DescribeScheduledInstancesResponse [ScheduledInstance]
- dsirsResponseStatus :: Lens' DescribeScheduledInstancesResponse Int
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:
data DescribeScheduledInstances Source #
Contains the parameters for DescribeScheduledInstances.
See: describeScheduledInstances
smart constructor.
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' orWindows
).
dsiSlotStartTimeRange :: Lens' DescribeScheduledInstances (Maybe SlotStartTimeRangeRequest) Source #
The time period for the first schedule to start.
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:
data DescribeScheduledInstancesResponse Source #
Contains the output of DescribeScheduledInstances.
See: describeScheduledInstancesResponse
smart constructor.
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.
dsirsScheduledInstanceSet :: Lens' DescribeScheduledInstancesResponse [ScheduledInstance] Source #
Information about the Scheduled Instances.
dsirsResponseStatus :: Lens' DescribeScheduledInstancesResponse Int Source #
The response status code.