amazonka-iam-1.6.1: Amazon Identity and Access Management 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.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. This parameter allows (per its regex pattern ) 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 # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Data GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

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 # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Show GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Generic GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Associated Types

type Rep GetInstanceProfile :: Type -> Type #

Hashable GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

AWSRequest GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Associated Types

type Rs GetInstanceProfile :: Type #

ToHeaders GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

ToPath GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

ToQuery GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

NFData GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Methods

rnf :: GetInstanceProfile -> () #

type Rep GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

type Rep GetInstanceProfile = D1 (MetaData "GetInstanceProfile" "Network.AWS.IAM.GetInstanceProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" True) (C1 (MetaCons "GetInstanceProfile'" PrefixI True) (S1 (MetaSel (Just "_gipInstanceProfileName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetInstanceProfile Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Request Lenses

gipInstanceProfileName :: Lens' GetInstanceProfile Text Source #

The name of the instance profile to get information about. This parameter allows (per its regex pattern ) 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 # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Data GetInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

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 # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Show GetInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Generic GetInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

Associated Types

type Rep GetInstanceProfileResponse :: Type -> Type #

NFData GetInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

type Rep GetInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetInstanceProfile

type Rep GetInstanceProfileResponse = D1 (MetaData "GetInstanceProfileResponse" "Network.AWS.IAM.GetInstanceProfile" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "GetInstanceProfileResponse'" PrefixI True) (S1 (MetaSel (Just "_giprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_giprsInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceProfile)))

Response Lenses

giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile Source #

A structure containing details about the instance profile.