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 |
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.
GetProfile' | |
|
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:
$sel:profileArn: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.
GetProfileResponse' | |
|
Instances
newGetProfileResponse Source #
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.