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 |
Creates a new room profile with the specified details.
Synopsis
- data CreateProfile = CreateProfile' {
- setupModeDisabled :: Maybe Bool
- pSTNEnabled :: Maybe Bool
- locale :: Maybe Text
- meetingRoomConfiguration :: Maybe CreateMeetingRoomConfiguration
- dataRetentionOptIn :: Maybe Bool
- clientRequestToken :: Maybe Text
- maxVolumeLimit :: Maybe Int
- tags :: Maybe [Tag]
- profileName :: Text
- timezone :: Text
- address :: Text
- distanceUnit :: DistanceUnit
- temperatureUnit :: TemperatureUnit
- wakeWord :: WakeWord
- newCreateProfile :: Text -> Text -> Text -> DistanceUnit -> TemperatureUnit -> WakeWord -> CreateProfile
- createProfile_setupModeDisabled :: Lens' CreateProfile (Maybe Bool)
- createProfile_pSTNEnabled :: Lens' CreateProfile (Maybe Bool)
- createProfile_locale :: Lens' CreateProfile (Maybe Text)
- createProfile_meetingRoomConfiguration :: Lens' CreateProfile (Maybe CreateMeetingRoomConfiguration)
- createProfile_dataRetentionOptIn :: Lens' CreateProfile (Maybe Bool)
- createProfile_clientRequestToken :: Lens' CreateProfile (Maybe Text)
- createProfile_maxVolumeLimit :: Lens' CreateProfile (Maybe Int)
- createProfile_tags :: Lens' CreateProfile (Maybe [Tag])
- createProfile_profileName :: Lens' CreateProfile Text
- createProfile_timezone :: Lens' CreateProfile Text
- createProfile_address :: Lens' CreateProfile Text
- createProfile_distanceUnit :: Lens' CreateProfile DistanceUnit
- createProfile_temperatureUnit :: Lens' CreateProfile TemperatureUnit
- createProfile_wakeWord :: Lens' CreateProfile WakeWord
- data CreateProfileResponse = CreateProfileResponse' {
- profileArn :: Maybe Text
- httpStatus :: Int
- newCreateProfileResponse :: Int -> CreateProfileResponse
- createProfileResponse_profileArn :: Lens' CreateProfileResponse (Maybe Text)
- createProfileResponse_httpStatus :: Lens' CreateProfileResponse Int
Creating a Request
data CreateProfile Source #
See: newCreateProfile
smart constructor.
CreateProfile' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> DistanceUnit | |
-> TemperatureUnit | |
-> WakeWord | |
-> CreateProfile |
Create a value of CreateProfile
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:setupModeDisabled:CreateProfile'
, createProfile_setupModeDisabled
- Whether room profile setup is enabled.
$sel:pSTNEnabled:CreateProfile'
, createProfile_pSTNEnabled
- Whether PSTN calling is enabled.
$sel:locale:CreateProfile'
, createProfile_locale
- The locale of the room profile. (This is currently only available to a
limited preview audience.)
$sel:meetingRoomConfiguration:CreateProfile'
, createProfile_meetingRoomConfiguration
- The meeting room settings of a room profile.
$sel:dataRetentionOptIn:CreateProfile'
, createProfile_dataRetentionOptIn
- Whether data retention of the profile is enabled.
$sel:clientRequestToken:CreateProfile'
, createProfile_clientRequestToken
- The user-specified token that is used during the creation of a profile.
$sel:maxVolumeLimit:CreateProfile'
, createProfile_maxVolumeLimit
- The maximum volume limit for a room profile.
$sel:tags:CreateProfile'
, createProfile_tags
- The tags for the profile.
$sel:profileName:CreateProfile'
, createProfile_profileName
- The name of a room profile.
$sel:timezone:CreateProfile'
, createProfile_timezone
- The time zone used by a room profile.
$sel:address:CreateProfile'
, createProfile_address
- The valid address for the room.
$sel:distanceUnit:CreateProfile'
, createProfile_distanceUnit
- The distance unit to be used by devices in the profile.
$sel:temperatureUnit:CreateProfile'
, createProfile_temperatureUnit
- The temperature unit to be used by devices in the profile.
$sel:wakeWord:CreateProfile'
, createProfile_wakeWord
- A wake word for Alexa, Echo, Amazon, or a computer.
Request Lenses
createProfile_setupModeDisabled :: Lens' CreateProfile (Maybe Bool) Source #
Whether room profile setup is enabled.
createProfile_pSTNEnabled :: Lens' CreateProfile (Maybe Bool) Source #
Whether PSTN calling is enabled.
createProfile_locale :: Lens' CreateProfile (Maybe Text) Source #
The locale of the room profile. (This is currently only available to a limited preview audience.)
createProfile_meetingRoomConfiguration :: Lens' CreateProfile (Maybe CreateMeetingRoomConfiguration) Source #
The meeting room settings of a room profile.
createProfile_dataRetentionOptIn :: Lens' CreateProfile (Maybe Bool) Source #
Whether data retention of the profile is enabled.
createProfile_clientRequestToken :: Lens' CreateProfile (Maybe Text) Source #
The user-specified token that is used during the creation of a profile.
createProfile_maxVolumeLimit :: Lens' CreateProfile (Maybe Int) Source #
The maximum volume limit for a room profile.
createProfile_tags :: Lens' CreateProfile (Maybe [Tag]) Source #
The tags for the profile.
createProfile_profileName :: Lens' CreateProfile Text Source #
The name of a room profile.
createProfile_timezone :: Lens' CreateProfile Text Source #
The time zone used by a room profile.
createProfile_address :: Lens' CreateProfile Text Source #
The valid address for the room.
createProfile_distanceUnit :: Lens' CreateProfile DistanceUnit Source #
The distance unit to be used by devices in the profile.
createProfile_temperatureUnit :: Lens' CreateProfile TemperatureUnit Source #
The temperature unit to be used by devices in the profile.
createProfile_wakeWord :: Lens' CreateProfile WakeWord Source #
A wake word for Alexa, Echo, Amazon, or a computer.
Destructuring the Response
data CreateProfileResponse Source #
See: newCreateProfileResponse
smart constructor.
CreateProfileResponse' | |
|
Instances
newCreateProfileResponse Source #
Create a value of CreateProfileResponse
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:CreateProfileResponse'
, createProfileResponse_profileArn
- The ARN of the newly created room profile in the response.
$sel:httpStatus:CreateProfileResponse'
, createProfileResponse_httpStatus
- The response's http status code.
Response Lenses
createProfileResponse_profileArn :: Lens' CreateProfileResponse (Maybe Text) Source #
The ARN of the newly created room profile in the response.
createProfileResponse_httpStatus :: Lens' CreateProfileResponse Int Source #
The response's http status code.