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 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:

  • 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 Source #

Contains the parameters for DescribeScheduledInstances.

See: describeScheduledInstances smart constructor.

Instances
Eq DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Data DescribeScheduledInstances Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Show DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Generic DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rep DescribeScheduledInstances :: Type -> Type #

Hashable DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

AWSRequest DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rs DescribeScheduledInstances :: Type #

ToHeaders DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

ToPath DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

ToQuery DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

NFData DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstances Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstances = D1 (MetaData "DescribeScheduledInstances" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

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:

data DescribeScheduledInstancesResponse Source #

Contains the output of DescribeScheduledInstances.

See: describeScheduledInstancesResponse smart constructor.

Instances
Eq DescribeScheduledInstancesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Data DescribeScheduledInstancesResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Show DescribeScheduledInstancesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Generic DescribeScheduledInstancesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

Associated Types

type Rep DescribeScheduledInstancesResponse :: Type -> Type #

NFData DescribeScheduledInstancesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstancesResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeScheduledInstances

type Rep DescribeScheduledInstancesResponse = D1 (MetaData "DescribeScheduledInstancesResponse" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" 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) Source #

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