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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 #

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:

  • dsiFilters - 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 ).
  • dsiSlotStartTimeRange - The time period for the first schedule to start.
  • dsiNextToken - The token for the next set of results.
  • dsiScheduledInstanceIds - One or more Scheduled Instance IDs.
  • dsiDryRun - 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 - 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.

data DescribeScheduledInstances #

Contains the parameters for DescribeScheduledInstances.

See: describeScheduledInstances smart constructor.

Instances
Eq DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Data DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeScheduledInstances -> c DescribeScheduledInstances #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeScheduledInstances #

toConstr :: DescribeScheduledInstances -> Constr #

dataTypeOf :: DescribeScheduledInstances -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeScheduledInstances) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeScheduledInstances) #

gmapT :: (forall b. Data b => b -> b) -> DescribeScheduledInstances -> DescribeScheduledInstances #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScheduledInstances -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScheduledInstances -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeScheduledInstances -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeScheduledInstances -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeScheduledInstances -> m DescribeScheduledInstances #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScheduledInstances -> m DescribeScheduledInstances #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScheduledInstances -> m DescribeScheduledInstances #

Read DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Show DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Generic DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rep DescribeScheduledInstances :: Type -> Type #

Hashable DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

AWSRequest DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rs DescribeScheduledInstances :: Type #

ToHeaders DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

ToPath DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

ToQuery DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

NFData DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstances = D1 (MetaData "DescribeScheduledInstances" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "DescribeScheduledInstances'" PrefixI True) ((S1 (MetaSel (Just "_dsiFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 (MetaSel (Just "_dsiSlotStartTimeRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SlotStartTimeRangeRequest)) :*: S1 (MetaSel (Just "_dsiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_dsiScheduledInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_dsiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dsiMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeScheduledInstances # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Request Lenses

dsiFilters :: Lens' DescribeScheduledInstances [Filter] #

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

dsiSlotStartTimeRange :: Lens' DescribeScheduledInstances (Maybe SlotStartTimeRangeRequest) #

The time period for the first schedule to start.

dsiNextToken :: Lens' DescribeScheduledInstances (Maybe Text) #

The token for the next set of results.

dsiScheduledInstanceIds :: Lens' DescribeScheduledInstances [Text] #

One or more Scheduled Instance IDs.

dsiDryRun :: Lens' DescribeScheduledInstances (Maybe Bool) #

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) #

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 #

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 #

Contains the output of DescribeScheduledInstances.

See: describeScheduledInstancesResponse smart constructor.

Instances
Eq DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Data DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeScheduledInstancesResponse -> c DescribeScheduledInstancesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeScheduledInstancesResponse #

toConstr :: DescribeScheduledInstancesResponse -> Constr #

dataTypeOf :: DescribeScheduledInstancesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeScheduledInstancesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeScheduledInstancesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeScheduledInstancesResponse -> DescribeScheduledInstancesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScheduledInstancesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeScheduledInstancesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeScheduledInstancesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeScheduledInstancesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeScheduledInstancesResponse -> m DescribeScheduledInstancesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScheduledInstancesResponse -> m DescribeScheduledInstancesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeScheduledInstancesResponse -> m DescribeScheduledInstancesResponse #

Read DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Show DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Generic DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rep DescribeScheduledInstancesResponse :: Type -> Type #

NFData DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstancesResponse # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstancesResponse = D1 (MetaData "DescribeScheduledInstancesResponse" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.6.1-H98Zd65xIYr2z4e5UhW9ck" False) (C1 (MetaCons "DescribeScheduledInstancesResponse'" PrefixI True) (S1 (MetaSel (Just "_dsirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dsirsScheduledInstanceSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScheduledInstance])) :*: S1 (MetaSel (Just "_dsirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dsirsNextToken :: Lens' DescribeScheduledInstancesResponse (Maybe Text) #

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