libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AlexaBusiness.UpdateProfile

Description

Updates an existing room profile by room profile ARN.

Synopsis

Creating a Request

data UpdateProfile Source #

See: newUpdateProfile smart constructor.

Constructors

UpdateProfile' 

Fields

Instances

Instances details
Eq UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Read UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Show UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Generic UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Associated Types

type Rep UpdateProfile :: Type -> Type #

NFData UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Methods

rnf :: UpdateProfile -> () #

Hashable UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

ToJSON UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

AWSRequest UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Associated Types

type AWSResponse UpdateProfile #

ToHeaders UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

ToPath UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

ToQuery UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

type Rep UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

type Rep UpdateProfile = D1 ('MetaData "UpdateProfile" "Amazonka.AlexaBusiness.UpdateProfile" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "UpdateProfile'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "setupModeDisabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "pSTNEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "distanceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DistanceUnit)))) :*: ((S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "profileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "wakeWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WakeWord))))) :*: ((S1 ('MetaSel ('Just "meetingRoomConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateMeetingRoomConfiguration)) :*: (S1 ('MetaSel ('Just "profileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "temperatureUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemperatureUnit)))) :*: ((S1 ('MetaSel ('Just "dataRetentionOptIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxVolumeLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "isDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))
type AWSResponse UpdateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

newUpdateProfile :: UpdateProfile Source #

Create a value of UpdateProfile 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:UpdateProfile', updateProfile_setupModeDisabled - Whether the setup mode of the profile is enabled.

$sel:pSTNEnabled:UpdateProfile', updateProfile_pSTNEnabled - Whether the PSTN setting of the room profile is enabled.

$sel:distanceUnit:UpdateProfile', updateProfile_distanceUnit - The updated distance unit for the room profile.

$sel:locale:UpdateProfile', updateProfile_locale - The updated locale for the room profile. (This is currently only available to a limited preview audience.)

$sel:address:UpdateProfile', updateProfile_address - The updated address for the room profile.

$sel:profileArn:UpdateProfile', updateProfile_profileArn - The ARN of the room profile to update. Required.

$sel:wakeWord:UpdateProfile', updateProfile_wakeWord - The updated wake word for the room profile.

$sel:meetingRoomConfiguration:UpdateProfile', updateProfile_meetingRoomConfiguration - The updated meeting room settings of a room profile.

$sel:profileName:UpdateProfile', updateProfile_profileName - The updated name for the room profile.

$sel:temperatureUnit:UpdateProfile', updateProfile_temperatureUnit - The updated temperature unit for the room profile.

$sel:dataRetentionOptIn:UpdateProfile', updateProfile_dataRetentionOptIn - Whether data retention of the profile is enabled.

$sel:timezone:UpdateProfile', updateProfile_timezone - The updated timezone for the room profile.

$sel:maxVolumeLimit:UpdateProfile', updateProfile_maxVolumeLimit - The updated maximum volume limit for the room profile.

$sel:isDefault:UpdateProfile', updateProfile_isDefault - Sets the profile as default if selected. If this is missing, no update is done to the default status.

Request Lenses

updateProfile_setupModeDisabled :: Lens' UpdateProfile (Maybe Bool) Source #

Whether the setup mode of the profile is enabled.

updateProfile_pSTNEnabled :: Lens' UpdateProfile (Maybe Bool) Source #

Whether the PSTN setting of the room profile is enabled.

updateProfile_distanceUnit :: Lens' UpdateProfile (Maybe DistanceUnit) Source #

The updated distance unit for the room profile.

updateProfile_locale :: Lens' UpdateProfile (Maybe Text) Source #

The updated locale for the room profile. (This is currently only available to a limited preview audience.)

updateProfile_address :: Lens' UpdateProfile (Maybe Text) Source #

The updated address for the room profile.

updateProfile_profileArn :: Lens' UpdateProfile (Maybe Text) Source #

The ARN of the room profile to update. Required.

updateProfile_wakeWord :: Lens' UpdateProfile (Maybe WakeWord) Source #

The updated wake word for the room profile.

updateProfile_profileName :: Lens' UpdateProfile (Maybe Text) Source #

The updated name for the room profile.

updateProfile_temperatureUnit :: Lens' UpdateProfile (Maybe TemperatureUnit) Source #

The updated temperature unit for the room profile.

updateProfile_dataRetentionOptIn :: Lens' UpdateProfile (Maybe Bool) Source #

Whether data retention of the profile is enabled.

updateProfile_timezone :: Lens' UpdateProfile (Maybe Text) Source #

The updated timezone for the room profile.

updateProfile_maxVolumeLimit :: Lens' UpdateProfile (Maybe Int) Source #

The updated maximum volume limit for the room profile.

updateProfile_isDefault :: Lens' UpdateProfile (Maybe Bool) Source #

Sets the profile as default if selected. If this is missing, no update is done to the default status.

Destructuring the Response

data UpdateProfileResponse Source #

See: newUpdateProfileResponse smart constructor.

Constructors

UpdateProfileResponse' 

Fields

Instances

Instances details
Eq UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Read UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Show UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Generic UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Associated Types

type Rep UpdateProfileResponse :: Type -> Type #

NFData UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

Methods

rnf :: UpdateProfileResponse -> () #

type Rep UpdateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.UpdateProfile

type Rep UpdateProfileResponse = D1 ('MetaData "UpdateProfileResponse" "Amazonka.AlexaBusiness.UpdateProfile" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "UpdateProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateProfileResponse Source #

Create a value of UpdateProfileResponse 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:httpStatus:UpdateProfileResponse', updateProfileResponse_httpStatus - The response's http status code.

Response Lenses