Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about the specified instance profile.
- getInstanceProfile :: Text -> GetInstanceProfile
- data GetInstanceProfile
- gipArn :: Lens' GetInstanceProfile Text
- getInstanceProfileResponse :: Int -> GetInstanceProfileResponse
- data GetInstanceProfileResponse
- giprsInstanceProfile :: Lens' GetInstanceProfileResponse (Maybe InstanceProfile)
- giprsResponseStatus :: Lens' GetInstanceProfileResponse Int
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:
gipArn
- The Amazon Resource Name (ARN) of your instance profile.
data GetInstanceProfile Source #
See: getInstanceProfile
smart constructor.
Request Lenses
gipArn :: Lens' GetInstanceProfile Text Source #
The Amazon Resource Name (ARN) of your instance profile.
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:
giprsInstanceProfile
- An object containing information about your instance profile.giprsResponseStatus
- -- | The response status code.
data GetInstanceProfileResponse Source #
See: getInstanceProfileResponse
smart constructor.
Response Lenses
giprsInstanceProfile :: Lens' GetInstanceProfileResponse (Maybe InstanceProfile) Source #
An object containing information about your instance profile.
giprsResponseStatus :: Lens' GetInstanceProfileResponse Int Source #
- - | The response status code.