amazonka-ec2-1.6.0: 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 # 
Data DescribeIAMInstanceProfileAssociations Source # 

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 # 
Show DescribeIAMInstanceProfileAssociations Source # 
Generic DescribeIAMInstanceProfileAssociations Source # 
Hashable DescribeIAMInstanceProfileAssociations Source # 
NFData DescribeIAMInstanceProfileAssociations Source # 
AWSPager DescribeIAMInstanceProfileAssociations Source # 
AWSRequest DescribeIAMInstanceProfileAssociations Source # 
ToHeaders DescribeIAMInstanceProfileAssociations Source # 
ToPath DescribeIAMInstanceProfileAssociations Source # 
ToQuery DescribeIAMInstanceProfileAssociations Source # 
type Rep DescribeIAMInstanceProfileAssociations Source # 
type Rep DescribeIAMInstanceProfileAssociations = D1 * (MetaData "DescribeIAMInstanceProfileAssociations" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeIAMInstanceProfileAssociations'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_diapaFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) (S1 * (MetaSel (Just Symbol "_diapaNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diapaAssociationIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_diapaMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs DescribeIAMInstanceProfileAssociations Source # 

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

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 # 
Show DescribeIAMInstanceProfileAssociationsResponse Source # 
Generic DescribeIAMInstanceProfileAssociationsResponse Source # 
NFData DescribeIAMInstanceProfileAssociationsResponse Source # 
type Rep DescribeIAMInstanceProfileAssociationsResponse Source # 
type Rep DescribeIAMInstanceProfileAssociationsResponse = D1 * (MetaData "DescribeIAMInstanceProfileAssociationsResponse" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeIAMInstanceProfileAssociationsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_diaparsIAMInstanceProfileAssociations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [IAMInstanceProfileAssociation]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_diaparsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.