| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DeviceFarm.GetInstanceProfile
Description
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.
Constructors
| GetInstanceProfile' | |
Instances
newGetInstanceProfile Source #
Arguments
| :: Text | |
| -> GetInstanceProfile |
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:
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.
Constructors
| GetInstanceProfileResponse' | |
Fields
| |
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:
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.