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