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.CreateProfile

Description

Creates a new room profile with the specified details.

Synopsis

Creating a Request

data CreateProfile Source #

See: newCreateProfile smart constructor.

Constructors

CreateProfile' 

Fields

Instances

Instances details
Eq CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Read CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Show CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Generic CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Associated Types

type Rep CreateProfile :: Type -> Type #

NFData CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Methods

rnf :: CreateProfile -> () #

Hashable CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

ToJSON CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

AWSRequest CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Associated Types

type AWSResponse CreateProfile #

ToHeaders CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

ToPath CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

ToQuery CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

type Rep CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

type Rep CreateProfile = D1 ('MetaData "CreateProfile" "Amazonka.AlexaBusiness.CreateProfile" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateProfile'" '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 "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "meetingRoomConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateMeetingRoomConfiguration)) :*: S1 ('MetaSel ('Just "dataRetentionOptIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxVolumeLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "profileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "distanceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistanceUnit)) :*: (S1 ('MetaSel ('Just "temperatureUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemperatureUnit) :*: S1 ('MetaSel ('Just "wakeWord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WakeWord))))))
type AWSResponse CreateProfile Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

newCreateProfile Source #

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_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_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

Instances details
Eq CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Read CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Show CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Generic CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Associated Types

type Rep CreateProfileResponse :: Type -> Type #

NFData CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

Methods

rnf :: CreateProfileResponse -> () #

type Rep CreateProfileResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateProfile

type Rep CreateProfileResponse = D1 ('MetaData "CreateProfileResponse" "Amazonka.AlexaBusiness.CreateProfile" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "profileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.