| 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.AlexaBusiness.GetProfile
Description
Gets the details of a room profile by profile ARN.
Synopsis
- data GetProfile = GetProfile' {
- profileArn :: Maybe Text
- newGetProfile :: GetProfile
- getProfile_profileArn :: Lens' GetProfile (Maybe Text)
- data GetProfileResponse = GetProfileResponse' {
- profile :: Maybe Profile
- httpStatus :: Int
- newGetProfileResponse :: Int -> GetProfileResponse
- getProfileResponse_profile :: Lens' GetProfileResponse (Maybe Profile)
- getProfileResponse_httpStatus :: Lens' GetProfileResponse Int
Creating a Request
data GetProfile Source #
See: newGetProfile smart constructor.
Constructors
| GetProfile' | |
Fields
| |
Instances
newGetProfile :: GetProfile Source #
Create a value of GetProfile 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:
GetProfile, getProfile_profileArn - The ARN of the room profile for which to request details. Required.
Request Lenses
getProfile_profileArn :: Lens' GetProfile (Maybe Text) Source #
The ARN of the room profile for which to request details. Required.
Destructuring the Response
data GetProfileResponse Source #
See: newGetProfileResponse smart constructor.
Constructors
| GetProfileResponse' | |
Fields
| |
Instances
newGetProfileResponse Source #
Arguments
| :: Int | |
| -> GetProfileResponse |
Create a value of GetProfileResponse 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:profile:GetProfileResponse', getProfileResponse_profile - The details of the room profile requested. Required.
$sel:httpStatus:GetProfileResponse', getProfileResponse_httpStatus - The response's http status code.
Response Lenses
getProfileResponse_profile :: Lens' GetProfileResponse (Maybe Profile) Source #
The details of the room profile requested. Required.
getProfileResponse_httpStatus :: Lens' GetProfileResponse Int Source #
The response's http status code.