amazonka-ec2-1.4.1: 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:

data DescribeScheduledInstances Source #

Contains the parameters for DescribeScheduledInstances.

See: describeScheduledInstances smart constructor.

Instances

Eq DescribeScheduledInstances Source # 
Data DescribeScheduledInstances Source # 

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 # 
Show DescribeScheduledInstances Source # 
Generic DescribeScheduledInstances Source # 
Hashable DescribeScheduledInstances Source # 
NFData DescribeScheduledInstances Source # 
AWSRequest DescribeScheduledInstances Source # 
ToQuery DescribeScheduledInstances Source # 
ToPath DescribeScheduledInstances Source # 
ToHeaders DescribeScheduledInstances Source # 
type Rep DescribeScheduledInstances Source # 
type Rep DescribeScheduledInstances = D1 (MetaData "DescribeScheduledInstances" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DescribeScheduledInstances'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsiFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) ((:*:) (S1 (MetaSel (Just Symbol "_dsiSlotStartTimeRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SlotStartTimeRangeRequest))) (S1 (MetaSel (Just Symbol "_dsiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsiScheduledInstanceIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_dsiDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dsiMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))))
type Rs DescribeScheduledInstances Source # 

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

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 # 
Show DescribeScheduledInstancesResponse Source # 
Generic DescribeScheduledInstancesResponse Source # 
NFData DescribeScheduledInstancesResponse Source # 
type Rep DescribeScheduledInstancesResponse Source # 
type Rep DescribeScheduledInstancesResponse = D1 (MetaData "DescribeScheduledInstancesResponse" "Network.AWS.EC2.DescribeScheduledInstances" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "DescribeScheduledInstancesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsirsScheduledInstanceSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScheduledInstance]))) (S1 (MetaSel (Just Symbol "_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.