AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateProfileInput

import "github.com/aws/aws-sdk-go/service/alexaforbusiness"

type CreateProfileInput struct { Address *string `min:"1" type:"string" required:"true"` ClientRequestToken *string `min:"10" type:"string" idempotencyToken:"true"` DistanceUnit *string `type:"string" required:"true" enum:"DistanceUnit"` MaxVolumeLimit *int64 `type:"integer"` PSTNEnabled *bool `type:"boolean"` ProfileName *string `min:"1" type:"string" required:"true"` SetupModeDisabled *bool `type:"boolean"` TemperatureUnit *string `type:"string" required:"true" enum:"TemperatureUnit"` Timezone *string `min:"1" type:"string" required:"true"` WakeWord *string `type:"string" required:"true" enum:"WakeWord"` }

Address

Type: *string

The valid address for the room.

Address is a required field

ClientRequestToken

Type: *string

The user-specified token that is used during the creation of a profile.

DistanceUnit

Type: *string

The distance unit to be used by devices in the profile.

DistanceUnit is a required field

MaxVolumeLimit

Type: *int64

The maximum volume limit for a room profile.

PSTNEnabled

Type: *bool

Whether PSTN calling is enabled.

ProfileName

Type: *string

The name of a room profile.

ProfileName is a required field

SetupModeDisabled

Type: *bool

Whether room profile setup is enabled.

TemperatureUnit

Type: *string

The temperature unit to be used by devices in the profile.

TemperatureUnit is a required field

Timezone

Type: *string

The time zone used by a room profile.

Timezone is a required field

WakeWord

Type: *string

A wake word for Alexa, Echo, Amazon, or a computer.

WakeWord is a required field

Method

GoString

func (s CreateProfileInput) GoString() string

GoString returns the string representation

SetAddress

func (s *CreateProfileInput) SetAddress(v string) *CreateProfileInput

SetAddress sets the Address field's value.

SetClientRequestToken

func (s *CreateProfileInput) SetClientRequestToken(v string) *CreateProfileInput

SetClientRequestToken sets the ClientRequestToken field's value.

SetDistanceUnit

func (s *CreateProfileInput) SetDistanceUnit(v string) *CreateProfileInput

SetDistanceUnit sets the DistanceUnit field's value.

SetMaxVolumeLimit

func (s *CreateProfileInput) SetMaxVolumeLimit(v int64) *CreateProfileInput

SetMaxVolumeLimit sets the MaxVolumeLimit field's value.

SetPSTNEnabled

func (s *CreateProfileInput) SetPSTNEnabled(v bool) *CreateProfileInput

SetPSTNEnabled sets the PSTNEnabled field's value.

SetProfileName

func (s *CreateProfileInput) SetProfileName(v string) *CreateProfileInput

SetProfileName sets the ProfileName field's value.

SetSetupModeDisabled

func (s *CreateProfileInput) SetSetupModeDisabled(v bool) *CreateProfileInput

SetSetupModeDisabled sets the SetupModeDisabled field's value.

SetTemperatureUnit

func (s *CreateProfileInput) SetTemperatureUnit(v string) *CreateProfileInput

SetTemperatureUnit sets the TemperatureUnit field's value.

SetTimezone

func (s *CreateProfileInput) SetTimezone(v string) *CreateProfileInput

SetTimezone sets the Timezone field's value.

SetWakeWord

func (s *CreateProfileInput) SetWakeWord(v string) *CreateProfileInput

SetWakeWord sets the WakeWord field's value.

String

func (s CreateProfileInput) String() string

String returns the string representation

Validate

func (s *CreateProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: