Copyright | (c) 2013-2021 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 |
Returns information about the specified instance profile.
Synopsis
- data GetInstanceProfile = GetInstanceProfile' {}
- newGetInstanceProfile :: Text -> GetInstanceProfile
- getInstanceProfile_arn :: Lens' GetInstanceProfile Text
- data GetInstanceProfileResponse = GetInstanceProfileResponse' {}
- newGetInstanceProfileResponse :: Int -> GetInstanceProfileResponse
- getInstanceProfileResponse_instanceProfile :: Lens' GetInstanceProfileResponse (Maybe InstanceProfile)
- getInstanceProfileResponse_httpStatus :: Lens' GetInstanceProfileResponse Int
Creating a Request
data GetInstanceProfile Source #
See: newGetInstanceProfile
smart constructor.
Instances
newGetInstanceProfile Source #
Create a value of GetInstanceProfile
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:GetInstanceProfile'
, getInstanceProfile_arn
- The Amazon Resource Name (ARN) of an instance profile.
Request Lenses
getInstanceProfile_arn :: Lens' GetInstanceProfile Text Source #
The Amazon Resource Name (ARN) of an instance profile.
Destructuring the Response
data GetInstanceProfileResponse Source #
See: newGetInstanceProfileResponse
smart constructor.
GetInstanceProfileResponse' | |
|
Instances
newGetInstanceProfileResponse Source #
Create a value of GetInstanceProfileResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceProfile:GetInstanceProfileResponse'
, getInstanceProfileResponse_instanceProfile
- An object that contains information about an instance profile.
$sel:httpStatus:GetInstanceProfileResponse'
, getInstanceProfileResponse_httpStatus
- The response's http status code.
Response Lenses
getInstanceProfileResponse_instanceProfile :: Lens' GetInstanceProfileResponse (Maybe InstanceProfile) Source #
An object that contains information about an instance profile.
getInstanceProfileResponse_httpStatus :: Lens' GetInstanceProfileResponse Int Source #
The response's http status code.