amazonka-iam-1.0.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 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, go to About Instance Profiles. For more information about ARNs, go to ARNs.

See: AWS API Reference for GetInstanceProfile.

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:

Request Lenses

gipInstanceProfileName :: Lens' GetInstanceProfile Text Source

The name of the instance profile to get information about.

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:

Response Lenses