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.

Settings

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

type Settings struct { ChannelIdentification *bool `type:"boolean"` MaxSpeakerLabels *int64 `min:"2" type:"integer"` ShowSpeakerLabels *bool `type:"boolean"` VocabularyName *string `min:"1" type:"string"` }

Provides optional settings for the StartTranscriptionJob operation.

ChannelIdentification

Type: *bool

Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

MaxSpeakerLabels

Type: *int64

The maximum number of speakers to identify in the input audio. If there are more speakers in the audio than this number, multiple speakers will be identified as a single speaker. If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.

ShowSpeakerLabels

Type: *bool

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

VocabularyName

Type: *string

The name of a vocabulary to use when processing the transcription job.

Method

GoString

func (s Settings) GoString() string

GoString returns the string representation

SetChannelIdentification

func (s *Settings) SetChannelIdentification(v bool) *Settings

SetChannelIdentification sets the ChannelIdentification field's value.

SetMaxSpeakerLabels

func (s *Settings) SetMaxSpeakerLabels(v int64) *Settings

SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.

SetShowSpeakerLabels

func (s *Settings) SetShowSpeakerLabels(v bool) *Settings

SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.

SetVocabularyName

func (s *Settings) SetVocabularyName(v string) *Settings

SetVocabularyName sets the VocabularyName field's value.

String

func (s Settings) String() string

String returns the string representation

Validate

func (s *Settings) Validate() error

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

On this page: