Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getInstanceProfile :: Text -> GetInstanceProfile
- data GetInstanceProfile
- gipInstanceProfileName :: Lens' GetInstanceProfile Text
- getInstanceProfileResponse :: Int -> InstanceProfile -> GetInstanceProfileResponse
- data GetInstanceProfileResponse
- giprsResponseStatus :: Lens' GetInstanceProfileResponse Int
- giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile
Creating a Request
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:
data GetInstanceProfile Source #
See: getInstanceProfile
smart constructor.
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:
data GetInstanceProfileResponse Source #
Contains the response to a successful GetInstanceProfile request.
See: getInstanceProfileResponse
smart constructor.
Response Lenses
giprsResponseStatus :: Lens' GetInstanceProfileResponse Int Source #
The response status code.
giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile Source #
Information about the instance profile.