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, see About Instance Profiles in the IAM User Guide.
- 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.
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.
Response Lenses
giprsResponseStatus :: Lens' GetInstanceProfileResponse Int Source #
The response status code.
giprsInstanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile Source #
A structure containing details about the instance profile.