amazonka-iam-1.4.5: Amazon Identity and Access Management 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.IAM.GetInstanceProfile

Contents

Description

Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About Instance Profiles in the IAM User Guide .

Synopsis

Creating a Request

getInstanceProfile Source #

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

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

  • gipInstanceProfileName - The name of the instance profile to get information about. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

data GetInstanceProfile Source #

See: getInstanceProfile smart constructor.

Instances

Eq GetInstanceProfile Source # 
Data GetInstanceProfile Source # 

Methods

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

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

toConstr :: GetInstanceProfile -> Constr #

dataTypeOf :: GetInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstanceProfile Source # 
Show GetInstanceProfile Source # 
Generic GetInstanceProfile Source # 
Hashable GetInstanceProfile Source # 
NFData GetInstanceProfile Source # 

Methods

rnf :: GetInstanceProfile -> () #

AWSRequest GetInstanceProfile Source # 
ToPath GetInstanceProfile Source # 
ToHeaders GetInstanceProfile Source # 
ToQuery GetInstanceProfile Source # 
type Rep GetInstanceProfile Source # 
type Rep GetInstanceProfile = D1 (MetaData "GetInstanceProfile" "Network.AWS.IAM.GetInstanceProfile" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" True) (C1 (MetaCons "GetInstanceProfile'" PrefixI True) (S1 (MetaSel (Just Symbol "_gipInstanceProfileName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetInstanceProfile Source # 

Request Lenses

gipInstanceProfileName :: Lens' GetInstanceProfile Text Source #

The name of the instance profile to get information about. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Destructuring the Response

getInstanceProfileResponse Source #

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

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

data GetInstanceProfileResponse Source #

Contains the response to a successful GetInstanceProfile request.

See: getInstanceProfileResponse smart constructor.

Instances

Eq GetInstanceProfileResponse Source # 
Data GetInstanceProfileResponse Source # 

Methods

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

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

toConstr :: GetInstanceProfileResponse -> Constr #

dataTypeOf :: GetInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInstanceProfileResponse Source # 
Show GetInstanceProfileResponse Source # 
Generic GetInstanceProfileResponse Source # 
NFData GetInstanceProfileResponse Source # 
type Rep GetInstanceProfileResponse Source # 
type Rep GetInstanceProfileResponse = D1 (MetaData "GetInstanceProfileResponse" "Network.AWS.IAM.GetInstanceProfile" "amazonka-iam-1.4.5-tAuuyG7nyKEp3j6LBO0rr" False) (C1 (MetaCons "GetInstanceProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_giprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_giprsInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceProfile))))

Response Lenses

giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile Source #

A structure containing details about the instance profile.