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 #

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 #

Instances

Eq DescribeIAMInstanceProfileAssociations # 
Data 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 # 
Show DescribeIAMInstanceProfileAssociations # 
Generic DescribeIAMInstanceProfileAssociations # 
Hashable DescribeIAMInstanceProfileAssociations # 
NFData DescribeIAMInstanceProfileAssociations # 
AWSPager DescribeIAMInstanceProfileAssociations # 
AWSRequest DescribeIAMInstanceProfileAssociations # 
ToHeaders DescribeIAMInstanceProfileAssociations # 
ToPath DescribeIAMInstanceProfileAssociations # 
ToQuery DescribeIAMInstanceProfileAssociations # 
type Rep DescribeIAMInstanceProfileAssociations # 
type Rep DescribeIAMInstanceProfileAssociations = D1 * (MetaData "DescribeIAMInstanceProfileAssociations" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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 # 

Request Lenses

diapaFilters :: Lens' DescribeIAMInstanceProfileAssociations [Filter] #

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) #

The token to request the next page of results.

diapaAssociationIds :: Lens' DescribeIAMInstanceProfileAssociations [Text] #

One or more IAM instance profile associations.

diapaMaxResults :: Lens' DescribeIAMInstanceProfileAssociations (Maybe Natural) #

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 #

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 #

Instances

Eq DescribeIAMInstanceProfileAssociationsResponse # 
Data DescribeIAMInstanceProfileAssociationsResponse # 

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 # 
Show DescribeIAMInstanceProfileAssociationsResponse # 
Generic DescribeIAMInstanceProfileAssociationsResponse # 
NFData DescribeIAMInstanceProfileAssociationsResponse # 
type Rep DescribeIAMInstanceProfileAssociationsResponse # 
type Rep DescribeIAMInstanceProfileAssociationsResponse = D1 * (MetaData "DescribeIAMInstanceProfileAssociationsResponse" "Network.AWS.EC2.DescribeIAMInstanceProfileAssociations" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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) #

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