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

Contents

Description

Describes your IAM instance profile associations.

This operation returns paginated results.

Synopsis

Creating a Request

describeIAMInstanceProfileAssociations :: DescribeIAMInstanceProfileAssociations Source #

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

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

  • diapaFilters - One or more filters. * instance-id - The ID of the instance. * state - The state of the association (associating | associated | disassociating | disassociated ).
  • diapaNextToken - The token to request the next page of results.
  • diapaAssociationIds - One or more IAM instance profile associations.
  • diapaMaxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

data DescribeIAMInstanceProfileAssociations Source #

Instances
Eq DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Data DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Methods

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

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

toConstr :: DescribeIAMInstanceProfileAssociations -> Constr #

dataTypeOf :: DescribeIAMInstanceProfileAssociations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Show DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Generic DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Hashable DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

AWSPager DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

AWSRequest DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

ToHeaders DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

ToPath DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

ToQuery DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

NFData DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

type Rep DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

type Rep DescribeIAMInstanceProfileAssociations = D1 (MetaData "DescribeIAMInstanceProfileAssociations" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeIAMInstanceProfileAssociations'" PrefixI True) ((S1 (MetaSel (Just "_diapaFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_diapaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_diapaAssociationIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_diapaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs DescribeIAMInstanceProfileAssociations Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Request Lenses

diapaFilters :: Lens' DescribeIAMInstanceProfileAssociations [Filter] Source #

One or more filters. * instance-id - The ID of the instance. * state - The state of the association (associating | associated | disassociating | disassociated ).

diapaNextToken :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Text) Source #

The token to request the next page of results.

diapaAssociationIds :: Lens' DescribeIAMInstanceProfileAssociations [Text] Source #

One or more IAM instance profile associations.

diapaMaxResults :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Natural) 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.

Destructuring the Response

describeIAMInstanceProfileAssociationsResponse Source #

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

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

data DescribeIAMInstanceProfileAssociationsResponse Source #

Instances
Eq DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Data DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Methods

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

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

toConstr :: DescribeIAMInstanceProfileAssociationsResponse -> Constr #

dataTypeOf :: DescribeIAMInstanceProfileAssociationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Show DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

Generic DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

NFData DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

type Rep DescribeIAMInstanceProfileAssociationsResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIAMInstanceProfileAssociations

type Rep DescribeIAMInstanceProfileAssociationsResponse = D1 (MetaData "DescribeIAMInstanceProfileAssociationsResponse" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeIAMInstanceProfileAssociationsResponse'" PrefixI True) (S1 (MetaSel (Just "_diaparsIAMInstanceProfileAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IAMInstanceProfileAssociation])) :*: (S1 (MetaSel (Just "_diaparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_diaparsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

diaparsNextToken :: Lens' DescribeIAMInstanceProfileAssociationsResponse (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.