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

Contents

Description

Describes the Elastic GPUs associated with your instances. For more information about Elastic GPUs, see Amazon EC2 Elastic GPUs .

Synopsis

Creating a Request

describeElasticGpus :: DescribeElasticGpus Source #

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

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

  • degFilters - One or more filters. * availability-zone - The Availability Zone in which the Elastic GPU resides. * elastic-gpu-health - The status of the Elastic GPU (OK | IMPAIRED ). * elastic-gpu-state - The state of the Elastic GPU (ATTACHED ). * elastic-gpu-type - The type of Elastic GPU; for example, eg1.medium . * instance-id - The ID of the instance to which the Elastic GPU is associated.
  • degNextToken - The token to request the next page of results.
  • degDryRun - 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 .
  • degMaxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 5 and 1000.
  • degElasticGpuIds - One or more Elastic GPU IDs.

data DescribeElasticGpus Source #

See: describeElasticGpus smart constructor.

Instances
Eq DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Data DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Methods

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

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

toConstr :: DescribeElasticGpus -> Constr #

dataTypeOf :: DescribeElasticGpus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Show DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Generic DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Associated Types

type Rep DescribeElasticGpus :: Type -> Type #

Hashable DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

AWSRequest DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Associated Types

type Rs DescribeElasticGpus :: Type #

ToHeaders DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

ToPath DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

ToQuery DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

NFData DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Methods

rnf :: DescribeElasticGpus -> () #

type Rep DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

type Rep DescribeElasticGpus = D1 (MetaData "DescribeElasticGpus" "Network.AWS.EC2.DescribeElasticGpus" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeElasticGpus'" PrefixI True) ((S1 (MetaSel (Just "_degFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_degNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_degDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_degMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_degElasticGpuIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))
type Rs DescribeElasticGpus Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Request Lenses

degFilters :: Lens' DescribeElasticGpus [Filter] Source #

One or more filters. * availability-zone - The Availability Zone in which the Elastic GPU resides. * elastic-gpu-health - The status of the Elastic GPU (OK | IMPAIRED ). * elastic-gpu-state - The state of the Elastic GPU (ATTACHED ). * elastic-gpu-type - The type of Elastic GPU; for example, eg1.medium . * instance-id - The ID of the instance to which the Elastic GPU is associated.

degNextToken :: Lens' DescribeElasticGpus (Maybe Text) Source #

The token to request the next page of results.

degDryRun :: Lens' DescribeElasticGpus (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 .

degMaxResults :: Lens' DescribeElasticGpus (Maybe Int) Source #

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

degElasticGpuIds :: Lens' DescribeElasticGpus [Text] Source #

One or more Elastic GPU IDs.

Destructuring the Response

describeElasticGpusResponse Source #

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

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

  • degrsElasticGpuSet - Information about the Elastic GPUs.
  • degrsNextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
  • degrsMaxResults - The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.
  • degrsResponseStatus - -- | The response status code.

data DescribeElasticGpusResponse Source #

See: describeElasticGpusResponse smart constructor.

Instances
Eq DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Data DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Methods

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

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

toConstr :: DescribeElasticGpusResponse -> Constr #

dataTypeOf :: DescribeElasticGpusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Show DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Generic DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

Associated Types

type Rep DescribeElasticGpusResponse :: Type -> Type #

NFData DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

type Rep DescribeElasticGpusResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeElasticGpus

type Rep DescribeElasticGpusResponse = D1 (MetaData "DescribeElasticGpusResponse" "Network.AWS.EC2.DescribeElasticGpus" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeElasticGpusResponse'" PrefixI True) ((S1 (MetaSel (Just "_degrsElasticGpuSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ElasticGpus])) :*: S1 (MetaSel (Just "_degrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_degrsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_degrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

degrsNextToken :: Lens' DescribeElasticGpusResponse (Maybe Text) Source #

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

degrsMaxResults :: Lens' DescribeElasticGpusResponse (Maybe Int) Source #

The total number of items to return. If the total number of items available is more than the value specified in max-items then a Next-Token will be provided in the output that you can use to resume pagination.