transcribeservice

package
v1.39.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 10 Imported by: 23

Documentation

Overview

Package transcribeservice provides the client and types for making API requests to Amazon Transcribe Service.

Operations and objects for transcribing speech to text.

See https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26 for more information on this service.

See transcribeservice package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/transcribeservice/

Using the Client

To contact Amazon Transcribe Service with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Amazon Transcribe Service client TranscribeService for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/transcribeservice/#New

Index

Constants

View Source
const (
	// BaseModelNameNarrowBand is a BaseModelName enum value
	BaseModelNameNarrowBand = "NarrowBand"

	// BaseModelNameWideBand is a BaseModelName enum value
	BaseModelNameWideBand = "WideBand"
)
View Source
const (
	// CLMLanguageCodeEnUs is a CLMLanguageCode enum value
	CLMLanguageCodeEnUs = "en-US"

	// CLMLanguageCodeHiIn is a CLMLanguageCode enum value
	CLMLanguageCodeHiIn = "hi-IN"

	// CLMLanguageCodeEsUs is a CLMLanguageCode enum value
	CLMLanguageCodeEsUs = "es-US"

	// CLMLanguageCodeEnGb is a CLMLanguageCode enum value
	CLMLanguageCodeEnGb = "en-GB"

	// CLMLanguageCodeEnAu is a CLMLanguageCode enum value
	CLMLanguageCodeEnAu = "en-AU"
)
View Source
const (
	// LanguageCodeAfZa is a LanguageCode enum value
	LanguageCodeAfZa = "af-ZA"

	// LanguageCodeArAe is a LanguageCode enum value
	LanguageCodeArAe = "ar-AE"

	// LanguageCodeArSa is a LanguageCode enum value
	LanguageCodeArSa = "ar-SA"

	// LanguageCodeCyGb is a LanguageCode enum value
	LanguageCodeCyGb = "cy-GB"

	// LanguageCodeDaDk is a LanguageCode enum value
	LanguageCodeDaDk = "da-DK"

	// LanguageCodeDeCh is a LanguageCode enum value
	LanguageCodeDeCh = "de-CH"

	// LanguageCodeDeDe is a LanguageCode enum value
	LanguageCodeDeDe = "de-DE"

	// LanguageCodeEnAb is a LanguageCode enum value
	LanguageCodeEnAb = "en-AB"

	// LanguageCodeEnAu is a LanguageCode enum value
	LanguageCodeEnAu = "en-AU"

	// LanguageCodeEnGb is a LanguageCode enum value
	LanguageCodeEnGb = "en-GB"

	// LanguageCodeEnIe is a LanguageCode enum value
	LanguageCodeEnIe = "en-IE"

	// LanguageCodeEnIn is a LanguageCode enum value
	LanguageCodeEnIn = "en-IN"

	// LanguageCodeEnUs is a LanguageCode enum value
	LanguageCodeEnUs = "en-US"

	// LanguageCodeEnWl is a LanguageCode enum value
	LanguageCodeEnWl = "en-WL"

	// LanguageCodeEsEs is a LanguageCode enum value
	LanguageCodeEsEs = "es-ES"

	// LanguageCodeEsUs is a LanguageCode enum value
	LanguageCodeEsUs = "es-US"

	// LanguageCodeFaIr is a LanguageCode enum value
	LanguageCodeFaIr = "fa-IR"

	// LanguageCodeFrCa is a LanguageCode enum value
	LanguageCodeFrCa = "fr-CA"

	// LanguageCodeFrFr is a LanguageCode enum value
	LanguageCodeFrFr = "fr-FR"

	// LanguageCodeGaIe is a LanguageCode enum value
	LanguageCodeGaIe = "ga-IE"

	// LanguageCodeGdGb is a LanguageCode enum value
	LanguageCodeGdGb = "gd-GB"

	// LanguageCodeHeIl is a LanguageCode enum value
	LanguageCodeHeIl = "he-IL"

	// LanguageCodeHiIn is a LanguageCode enum value
	LanguageCodeHiIn = "hi-IN"

	// LanguageCodeIdId is a LanguageCode enum value
	LanguageCodeIdId = "id-ID"

	// LanguageCodeItIt is a LanguageCode enum value
	LanguageCodeItIt = "it-IT"

	// LanguageCodeJaJp is a LanguageCode enum value
	LanguageCodeJaJp = "ja-JP"

	// LanguageCodeKoKr is a LanguageCode enum value
	LanguageCodeKoKr = "ko-KR"

	// LanguageCodeMsMy is a LanguageCode enum value
	LanguageCodeMsMy = "ms-MY"

	// LanguageCodeNlNl is a LanguageCode enum value
	LanguageCodeNlNl = "nl-NL"

	// LanguageCodePtBr is a LanguageCode enum value
	LanguageCodePtBr = "pt-BR"

	// LanguageCodePtPt is a LanguageCode enum value
	LanguageCodePtPt = "pt-PT"

	// LanguageCodeRuRu is a LanguageCode enum value
	LanguageCodeRuRu = "ru-RU"

	// LanguageCodeTaIn is a LanguageCode enum value
	LanguageCodeTaIn = "ta-IN"

	// LanguageCodeTeIn is a LanguageCode enum value
	LanguageCodeTeIn = "te-IN"

	// LanguageCodeTrTr is a LanguageCode enum value
	LanguageCodeTrTr = "tr-TR"

	// LanguageCodeZhCn is a LanguageCode enum value
	LanguageCodeZhCn = "zh-CN"
)
View Source
const (
	// MediaFormatMp3 is a MediaFormat enum value
	MediaFormatMp3 = "mp3"

	// MediaFormatMp4 is a MediaFormat enum value
	MediaFormatMp4 = "mp4"

	// MediaFormatWav is a MediaFormat enum value
	MediaFormatWav = "wav"

	// MediaFormatFlac is a MediaFormat enum value
	MediaFormatFlac = "flac"

	// MediaFormatOgg is a MediaFormat enum value
	MediaFormatOgg = "ogg"

	// MediaFormatAmr is a MediaFormat enum value
	MediaFormatAmr = "amr"

	// MediaFormatWebm is a MediaFormat enum value
	MediaFormatWebm = "webm"
)
View Source
const (
	// ModelStatusInProgress is a ModelStatus enum value
	ModelStatusInProgress = "IN_PROGRESS"

	// ModelStatusFailed is a ModelStatus enum value
	ModelStatusFailed = "FAILED"

	// ModelStatusCompleted is a ModelStatus enum value
	ModelStatusCompleted = "COMPLETED"
)
View Source
const (
	// OutputLocationTypeCustomerBucket is a OutputLocationType enum value
	OutputLocationTypeCustomerBucket = "CUSTOMER_BUCKET"

	// OutputLocationTypeServiceBucket is a OutputLocationType enum value
	OutputLocationTypeServiceBucket = "SERVICE_BUCKET"
)
View Source
const (
	// RedactionOutputRedacted is a RedactionOutput enum value
	RedactionOutputRedacted = "redacted"

	// RedactionOutputRedactedAndUnredacted is a RedactionOutput enum value
	RedactionOutputRedactedAndUnredacted = "redacted_and_unredacted"
)
View Source
const (
	// TranscriptionJobStatusQueued is a TranscriptionJobStatus enum value
	TranscriptionJobStatusQueued = "QUEUED"

	// TranscriptionJobStatusInProgress is a TranscriptionJobStatus enum value
	TranscriptionJobStatusInProgress = "IN_PROGRESS"

	// TranscriptionJobStatusFailed is a TranscriptionJobStatus enum value
	TranscriptionJobStatusFailed = "FAILED"

	// TranscriptionJobStatusCompleted is a TranscriptionJobStatus enum value
	TranscriptionJobStatusCompleted = "COMPLETED"
)
View Source
const (
	// TypeConversation is a Type enum value
	TypeConversation = "CONVERSATION"

	// TypeDictation is a Type enum value
	TypeDictation = "DICTATION"
)
View Source
const (
	// VocabularyFilterMethodRemove is a VocabularyFilterMethod enum value
	VocabularyFilterMethodRemove = "remove"

	// VocabularyFilterMethodMask is a VocabularyFilterMethod enum value
	VocabularyFilterMethodMask = "mask"

	// VocabularyFilterMethodTag is a VocabularyFilterMethod enum value
	VocabularyFilterMethodTag = "tag"
)
View Source
const (
	// VocabularyStatePending is a VocabularyState enum value
	VocabularyStatePending = "PENDING"

	// VocabularyStateReady is a VocabularyState enum value
	VocabularyStateReady = "READY"

	// VocabularyStateFailed is a VocabularyState enum value
	VocabularyStateFailed = "FAILED"
)
View Source
const (

	// ErrCodeBadRequestException for service response error code
	// "BadRequestException".
	//
	// Your request didn't pass one or more validation tests. For example, if the
	// entity that you're trying to delete doesn't exist or if it is in a non-terminal
	// state (for example, it's "in progress"). See the exception Message field
	// for more information.
	ErrCodeBadRequestException = "BadRequestException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// There is already a resource with that name.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalFailureException for service response error code
	// "InternalFailureException".
	//
	// There was an internal error. Check the error message and try your request
	// again.
	ErrCodeInternalFailureException = "InternalFailureException"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// Either you have sent too many requests or your input file is too long. Wait
	// before you resend your request, or use a smaller file and resend the request.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// We can't find the requested resource. Check the name and try your request
	// again.
	ErrCodeNotFoundException = "NotFoundException"
)
View Source
const (
	ServiceName = "transcribe" // Name of service.
	EndpointsID = ServiceName  // ID to lookup a service endpoint with.
	ServiceID   = "Transcribe" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// MedicalContentIdentificationTypePhi is a MedicalContentIdentificationType enum value
	MedicalContentIdentificationTypePhi = "PHI"
)
View Source
const (
	// RedactionTypePii is a RedactionType enum value
	RedactionTypePii = "PII"
)
View Source
const (
	// SpecialtyPrimarycare is a Specialty enum value
	SpecialtyPrimarycare = "PRIMARYCARE"
)

Variables

This section is empty.

Functions

func BaseModelName_Values added in v1.34.3

func BaseModelName_Values() []string

BaseModelName_Values returns all elements of the BaseModelName enum

func CLMLanguageCode_Values added in v1.34.3

func CLMLanguageCode_Values() []string

CLMLanguageCode_Values returns all elements of the CLMLanguageCode enum

func LanguageCode_Values added in v1.34.3

func LanguageCode_Values() []string

LanguageCode_Values returns all elements of the LanguageCode enum

func MediaFormat_Values added in v1.34.3

func MediaFormat_Values() []string

MediaFormat_Values returns all elements of the MediaFormat enum

func MedicalContentIdentificationType_Values added in v1.38.40

func MedicalContentIdentificationType_Values() []string

MedicalContentIdentificationType_Values returns all elements of the MedicalContentIdentificationType enum

func ModelStatus_Values added in v1.34.3

func ModelStatus_Values() []string

ModelStatus_Values returns all elements of the ModelStatus enum

func OutputLocationType_Values added in v1.34.3

func OutputLocationType_Values() []string

OutputLocationType_Values returns all elements of the OutputLocationType enum

func RedactionOutput_Values added in v1.34.3

func RedactionOutput_Values() []string

RedactionOutput_Values returns all elements of the RedactionOutput enum

func RedactionType_Values added in v1.34.3

func RedactionType_Values() []string

RedactionType_Values returns all elements of the RedactionType enum

func Specialty_Values added in v1.34.3

func Specialty_Values() []string

Specialty_Values returns all elements of the Specialty enum

func TranscriptionJobStatus_Values added in v1.34.3

func TranscriptionJobStatus_Values() []string

TranscriptionJobStatus_Values returns all elements of the TranscriptionJobStatus enum

func Type_Values added in v1.34.3

func Type_Values() []string

Type_Values returns all elements of the Type enum

func VocabularyFilterMethod_Values added in v1.34.3

func VocabularyFilterMethod_Values() []string

VocabularyFilterMethod_Values returns all elements of the VocabularyFilterMethod enum

func VocabularyState_Values added in v1.34.3

func VocabularyState_Values() []string

VocabularyState_Values returns all elements of the VocabularyState enum

Types

type BadRequestException added in v1.28.0

type BadRequestException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

func (*BadRequestException) Code added in v1.28.0

func (s *BadRequestException) Code() string

Code returns the exception type name.

func (*BadRequestException) Error added in v1.28.0

func (s *BadRequestException) Error() string

func (BadRequestException) GoString added in v1.28.0

func (s BadRequestException) GoString() string

GoString returns the string representation

func (*BadRequestException) Message added in v1.28.0

func (s *BadRequestException) Message() string

Message returns the exception's message.

func (*BadRequestException) OrigErr added in v1.28.0

func (s *BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*BadRequestException) RequestID added in v1.28.0

func (s *BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*BadRequestException) StatusCode added in v1.28.0

func (s *BadRequestException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (BadRequestException) String added in v1.28.0

func (s BadRequestException) String() string

String returns the string representation

type ConflictException added in v1.28.0

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

There is already a resource with that name.

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type ContentRedaction added in v1.29.11

type ContentRedaction struct {

	// The output transcript file stored in either the default S3 bucket or in a
	// bucket you specify.
	//
	// When you choose redacted Amazon Transcribe outputs only the redacted transcript.
	//
	// When you choose redacted_and_unredacted Amazon Transcribe outputs both the
	// redacted and unredacted transcripts.
	//
	// RedactionOutput is a required field
	RedactionOutput *string `type:"string" required:"true" enum:"RedactionOutput"`

	// Request parameter that defines the entities to be redacted. The only accepted
	// value is PII.
	//
	// RedactionType is a required field
	RedactionType *string `type:"string" required:"true" enum:"RedactionType"`
	// contains filtered or unexported fields
}

Settings for content redaction within a transcription job.

func (ContentRedaction) GoString added in v1.29.11

func (s ContentRedaction) GoString() string

GoString returns the string representation

func (*ContentRedaction) SetRedactionOutput added in v1.29.11

func (s *ContentRedaction) SetRedactionOutput(v string) *ContentRedaction

SetRedactionOutput sets the RedactionOutput field's value.

func (*ContentRedaction) SetRedactionType added in v1.29.11

func (s *ContentRedaction) SetRedactionType(v string) *ContentRedaction

SetRedactionType sets the RedactionType field's value.

func (ContentRedaction) String added in v1.29.11

func (s ContentRedaction) String() string

String returns the string representation

func (*ContentRedaction) Validate added in v1.29.11

func (s *ContentRedaction) Validate() error

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

type CreateLanguageModelInput added in v1.33.20

type CreateLanguageModelInput struct {

	// The Amazon Transcribe standard language model, or base model used to create
	// your custom language model.
	//
	// If you want to use your custom language model to transcribe audio with a
	// sample rate of 16 kHz or greater, choose Wideband.
	//
	// If you want to use your custom language model to transcribe audio with a
	// sample rate that is less than 16 kHz, choose Narrowband.
	//
	// BaseModelName is a required field
	BaseModelName *string `type:"string" required:"true" enum:"BaseModelName"`

	// Contains the data access role and the Amazon S3 prefixes to read the required
	// input files to create a custom language model.
	//
	// InputDataConfig is a required field
	InputDataConfig *InputDataConfig `type:"structure" required:"true"`

	// The language of the input text you're using to train your custom language
	// model.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"CLMLanguageCode"`

	// The name you choose for your custom language model when you create it.
	//
	// ModelName is a required field
	ModelName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateLanguageModelInput) GoString added in v1.33.20

func (s CreateLanguageModelInput) GoString() string

GoString returns the string representation

func (*CreateLanguageModelInput) SetBaseModelName added in v1.33.20

SetBaseModelName sets the BaseModelName field's value.

func (*CreateLanguageModelInput) SetInputDataConfig added in v1.33.20

SetInputDataConfig sets the InputDataConfig field's value.

func (*CreateLanguageModelInput) SetLanguageCode added in v1.33.20

SetLanguageCode sets the LanguageCode field's value.

func (*CreateLanguageModelInput) SetModelName added in v1.33.20

SetModelName sets the ModelName field's value.

func (CreateLanguageModelInput) String added in v1.33.20

func (s CreateLanguageModelInput) String() string

String returns the string representation

func (*CreateLanguageModelInput) Validate added in v1.33.20

func (s *CreateLanguageModelInput) Validate() error

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

type CreateLanguageModelOutput added in v1.33.20

type CreateLanguageModelOutput struct {

	// The Amazon Transcribe standard language model, or base model you've used
	// to create a custom language model.
	BaseModelName *string `type:"string" enum:"BaseModelName"`

	// The data access role and Amazon S3 prefixes you've chosen to create your
	// custom language model.
	InputDataConfig *InputDataConfig `type:"structure"`

	// The language code of the text you've used to create a custom language model.
	LanguageCode *string `type:"string" enum:"CLMLanguageCode"`

	// The name you've chosen for your custom language model.
	ModelName *string `min:"1" type:"string"`

	// The status of the custom language model. When the status is COMPLETED the
	// model is ready to use.
	ModelStatus *string `type:"string" enum:"ModelStatus"`
	// contains filtered or unexported fields
}

func (CreateLanguageModelOutput) GoString added in v1.33.20

func (s CreateLanguageModelOutput) GoString() string

GoString returns the string representation

func (*CreateLanguageModelOutput) SetBaseModelName added in v1.33.20

SetBaseModelName sets the BaseModelName field's value.

func (*CreateLanguageModelOutput) SetInputDataConfig added in v1.33.20

SetInputDataConfig sets the InputDataConfig field's value.

func (*CreateLanguageModelOutput) SetLanguageCode added in v1.33.20

SetLanguageCode sets the LanguageCode field's value.

func (*CreateLanguageModelOutput) SetModelName added in v1.33.20

SetModelName sets the ModelName field's value.

func (*CreateLanguageModelOutput) SetModelStatus added in v1.33.20

SetModelStatus sets the ModelStatus field's value.

func (CreateLanguageModelOutput) String added in v1.33.20

func (s CreateLanguageModelOutput) String() string

String returns the string representation

type CreateMedicalVocabularyInput added in v1.30.17

type CreateMedicalVocabularyInput struct {

	// The language code for the language used for the entries in your custom vocabulary.
	// The language code of your custom vocabulary must match the language code
	// of your transcription job. US English (en-US) is the only language code available
	// for Amazon Transcribe Medical.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// The location in Amazon S3 of the text file you use to define your custom
	// vocabulary. The URI must be in the same AWS Region as the resource that you're
	// calling. Enter information about your VocabularyFileUri in the following
	// format:
	//
	// https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
	//
	// The following is an example URI for a vocabulary file that is stored in Amazon
	// S3:
	//
	// https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
	//
	// For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
	// in the Amazon S3 Developer Guide.
	//
	// For more information about custom vocabularies, see Medical Custom Vocabularies
	// (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med).
	//
	// VocabularyFileUri is a required field
	VocabularyFileUri *string `min:"1" type:"string" required:"true"`

	// The name of the custom vocabulary. This case-sensitive name must be unique
	// within an AWS account. If you try to create a vocabulary with the same name
	// as a previous vocabulary, you get a ConflictException error.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateMedicalVocabularyInput) GoString added in v1.30.17

func (s CreateMedicalVocabularyInput) GoString() string

GoString returns the string representation

func (*CreateMedicalVocabularyInput) SetLanguageCode added in v1.30.17

SetLanguageCode sets the LanguageCode field's value.

func (*CreateMedicalVocabularyInput) SetVocabularyFileUri added in v1.30.17

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*CreateMedicalVocabularyInput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (CreateMedicalVocabularyInput) String added in v1.30.17

String returns the string representation

func (*CreateMedicalVocabularyInput) Validate added in v1.30.17

func (s *CreateMedicalVocabularyInput) Validate() error

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

type CreateMedicalVocabularyOutput added in v1.30.17

type CreateMedicalVocabularyOutput struct {

	// If the VocabularyState field is FAILED, this field contains information about
	// why the job failed.
	FailureReason *string `type:"string"`

	// The language code for the entries in your custom vocabulary. US English (en-US)
	// is the only valid language code for Amazon Transcribe Medical.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that you created the vocabulary.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary. The name must be unique within an AWS account
	// and is case sensitive.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of your custom vocabulary in Amazon Transcribe Medical.
	// If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob
	// request.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (CreateMedicalVocabularyOutput) GoString added in v1.30.17

GoString returns the string representation

func (*CreateMedicalVocabularyOutput) SetFailureReason added in v1.30.17

SetFailureReason sets the FailureReason field's value.

func (*CreateMedicalVocabularyOutput) SetLanguageCode added in v1.30.17

SetLanguageCode sets the LanguageCode field's value.

func (*CreateMedicalVocabularyOutput) SetLastModifiedTime added in v1.30.17

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateMedicalVocabularyOutput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (*CreateMedicalVocabularyOutput) SetVocabularyState added in v1.30.17

SetVocabularyState sets the VocabularyState field's value.

func (CreateMedicalVocabularyOutput) String added in v1.30.17

String returns the string representation

type CreateVocabularyFilterInput added in v1.26.7

type CreateVocabularyFilterInput struct {

	// The language code of the words in the vocabulary filter. All words in the
	// filter must be in the same language. The vocabulary filter can only be used
	// with transcription jobs in the specified language.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// The Amazon S3 location of a text file used as input to create the vocabulary
	// filter. Only use characters from the character set defined for custom vocabularies.
	// For a list of character sets, see Character Sets for Custom Vocabularies
	// (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
	//
	// The specified file must be less than 50 KB of UTF-8 characters.
	//
	// If you provide the location of a list of words in the VocabularyFilterFileUri
	// parameter, you can't use the Words parameter.
	VocabularyFilterFileUri *string `min:"1" type:"string"`

	// The vocabulary filter name. The name must be unique within the account that
	// contains it. If you try to create a vocabulary filter with the same name
	// as another vocabulary filter, you get a ConflictException error.
	//
	// VocabularyFilterName is a required field
	VocabularyFilterName *string `min:"1" type:"string" required:"true"`

	// The words to use in the vocabulary filter. Only use characters from the character
	// set defined for custom vocabularies. For a list of character sets, see Character
	// Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
	//
	// If you provide a list of words in the Words parameter, you can't use the
	// VocabularyFilterFileUri parameter.
	Words []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (CreateVocabularyFilterInput) GoString added in v1.26.7

func (s CreateVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*CreateVocabularyFilterInput) SetLanguageCode added in v1.26.7

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyFilterInput) SetVocabularyFilterFileUri added in v1.26.7

func (s *CreateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *CreateVocabularyFilterInput

SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.

func (*CreateVocabularyFilterInput) SetVocabularyFilterName added in v1.26.7

func (s *CreateVocabularyFilterInput) SetVocabularyFilterName(v string) *CreateVocabularyFilterInput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*CreateVocabularyFilterInput) SetWords added in v1.26.7

SetWords sets the Words field's value.

func (CreateVocabularyFilterInput) String added in v1.26.7

String returns the string representation

func (*CreateVocabularyFilterInput) Validate added in v1.26.7

func (s *CreateVocabularyFilterInput) Validate() error

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

type CreateVocabularyFilterOutput added in v1.26.7

type CreateVocabularyFilterOutput struct {

	// The language code of the words in the collection.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary filter was modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary filter.
	VocabularyFilterName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (CreateVocabularyFilterOutput) GoString added in v1.26.7

func (s CreateVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*CreateVocabularyFilterOutput) SetLanguageCode added in v1.26.7

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyFilterOutput) SetLastModifiedTime added in v1.26.7

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateVocabularyFilterOutput) SetVocabularyFilterName added in v1.26.7

func (s *CreateVocabularyFilterOutput) SetVocabularyFilterName(v string) *CreateVocabularyFilterOutput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (CreateVocabularyFilterOutput) String added in v1.26.7

String returns the string representation

type CreateVocabularyInput added in v1.13.28

type CreateVocabularyInput struct {

	// The language code of the vocabulary entries. For a list of languages and
	// their corresponding language codes, see what-is-transcribe.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// An array of strings that contains the vocabulary entries.
	Phrases []*string `type:"list"`

	// The S3 location of the text file that contains the definition of the custom
	// vocabulary. The URI must be in the same region as the API endpoint that you
	// are calling. The general form is
	//
	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
	// in the Amazon S3 Developer Guide.
	//
	// For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary).
	VocabularyFileUri *string `min:"1" type:"string"`

	// The name of the vocabulary. The name must be unique within an AWS account.
	// The name is case sensitive. If you try to create a vocabulary with the same
	// name as a previous vocabulary you will receive a ConflictException error.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateVocabularyInput) GoString added in v1.13.28

func (s CreateVocabularyInput) GoString() string

GoString returns the string representation

func (*CreateVocabularyInput) SetLanguageCode added in v1.13.28

func (s *CreateVocabularyInput) SetLanguageCode(v string) *CreateVocabularyInput

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyInput) SetPhrases added in v1.13.28

func (s *CreateVocabularyInput) SetPhrases(v []*string) *CreateVocabularyInput

SetPhrases sets the Phrases field's value.

func (*CreateVocabularyInput) SetVocabularyFileUri added in v1.19.4

func (s *CreateVocabularyInput) SetVocabularyFileUri(v string) *CreateVocabularyInput

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*CreateVocabularyInput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (CreateVocabularyInput) String added in v1.13.28

func (s CreateVocabularyInput) String() string

String returns the string representation

func (*CreateVocabularyInput) Validate added in v1.13.28

func (s *CreateVocabularyInput) Validate() error

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

type CreateVocabularyOutput added in v1.13.28

type CreateVocabularyOutput struct {

	// If the VocabularyState field is FAILED, this field contains information about
	// why the job failed.
	FailureReason *string `type:"string"`

	// The language code of the vocabulary entries.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was created.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the vocabulary. When the VocabularyState field contains
	// READY the vocabulary is ready to be used in a StartTranscriptionJob request.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (CreateVocabularyOutput) GoString added in v1.13.28

func (s CreateVocabularyOutput) GoString() string

GoString returns the string representation

func (*CreateVocabularyOutput) SetFailureReason added in v1.13.28

func (s *CreateVocabularyOutput) SetFailureReason(v string) *CreateVocabularyOutput

SetFailureReason sets the FailureReason field's value.

func (*CreateVocabularyOutput) SetLanguageCode added in v1.13.28

func (s *CreateVocabularyOutput) SetLanguageCode(v string) *CreateVocabularyOutput

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyOutput) SetLastModifiedTime added in v1.13.28

func (s *CreateVocabularyOutput) SetLastModifiedTime(v time.Time) *CreateVocabularyOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateVocabularyOutput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (*CreateVocabularyOutput) SetVocabularyState added in v1.13.28

func (s *CreateVocabularyOutput) SetVocabularyState(v string) *CreateVocabularyOutput

SetVocabularyState sets the VocabularyState field's value.

func (CreateVocabularyOutput) String added in v1.13.28

func (s CreateVocabularyOutput) String() string

String returns the string representation

type DeleteLanguageModelInput added in v1.33.20

type DeleteLanguageModelInput struct {

	// The name of the model you're choosing to delete.
	//
	// ModelName is a required field
	ModelName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLanguageModelInput) GoString added in v1.33.20

func (s DeleteLanguageModelInput) GoString() string

GoString returns the string representation

func (*DeleteLanguageModelInput) SetModelName added in v1.33.20

SetModelName sets the ModelName field's value.

func (DeleteLanguageModelInput) String added in v1.33.20

func (s DeleteLanguageModelInput) String() string

String returns the string representation

func (*DeleteLanguageModelInput) Validate added in v1.33.20

func (s *DeleteLanguageModelInput) Validate() error

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

type DeleteLanguageModelOutput added in v1.33.20

type DeleteLanguageModelOutput struct {
	// contains filtered or unexported fields
}

func (DeleteLanguageModelOutput) GoString added in v1.33.20

func (s DeleteLanguageModelOutput) GoString() string

GoString returns the string representation

func (DeleteLanguageModelOutput) String added in v1.33.20

func (s DeleteLanguageModelOutput) String() string

String returns the string representation

type DeleteMedicalTranscriptionJobInput added in v1.30.5

type DeleteMedicalTranscriptionJobInput struct {

	// The name you provide to the DeleteMedicalTranscriptionJob object to delete
	// a transcription job.
	//
	// MedicalTranscriptionJobName is a required field
	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMedicalTranscriptionJobInput) GoString added in v1.30.5

GoString returns the string representation

func (*DeleteMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName added in v1.30.5

SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.

func (DeleteMedicalTranscriptionJobInput) String added in v1.30.5

String returns the string representation

func (*DeleteMedicalTranscriptionJobInput) Validate added in v1.30.5

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

type DeleteMedicalTranscriptionJobOutput added in v1.30.5

type DeleteMedicalTranscriptionJobOutput struct {
	// contains filtered or unexported fields
}

func (DeleteMedicalTranscriptionJobOutput) GoString added in v1.30.5

GoString returns the string representation

func (DeleteMedicalTranscriptionJobOutput) String added in v1.30.5

String returns the string representation

type DeleteMedicalVocabularyInput added in v1.30.17

type DeleteMedicalVocabularyInput struct {

	// The name of the vocabulary that you want to delete.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteMedicalVocabularyInput) GoString added in v1.30.17

func (s DeleteMedicalVocabularyInput) GoString() string

GoString returns the string representation

func (*DeleteMedicalVocabularyInput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (DeleteMedicalVocabularyInput) String added in v1.30.17

String returns the string representation

func (*DeleteMedicalVocabularyInput) Validate added in v1.30.17

func (s *DeleteMedicalVocabularyInput) Validate() error

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

type DeleteMedicalVocabularyOutput added in v1.30.17

type DeleteMedicalVocabularyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteMedicalVocabularyOutput) GoString added in v1.30.17

GoString returns the string representation

func (DeleteMedicalVocabularyOutput) String added in v1.30.17

String returns the string representation

type DeleteTranscriptionJobInput added in v1.15.52

type DeleteTranscriptionJobInput struct {

	// The name of the transcription job to be deleted.
	//
	// TranscriptionJobName is a required field
	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTranscriptionJobInput) GoString added in v1.15.52

func (s DeleteTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*DeleteTranscriptionJobInput) SetTranscriptionJobName added in v1.15.52

func (s *DeleteTranscriptionJobInput) SetTranscriptionJobName(v string) *DeleteTranscriptionJobInput

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (DeleteTranscriptionJobInput) String added in v1.15.52

String returns the string representation

func (*DeleteTranscriptionJobInput) Validate added in v1.15.52

func (s *DeleteTranscriptionJobInput) Validate() error

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

type DeleteTranscriptionJobOutput added in v1.15.52

type DeleteTranscriptionJobOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTranscriptionJobOutput) GoString added in v1.15.52

func (s DeleteTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (DeleteTranscriptionJobOutput) String added in v1.15.52

String returns the string representation

type DeleteVocabularyFilterInput added in v1.26.7

type DeleteVocabularyFilterInput struct {

	// The name of the vocabulary filter to remove.
	//
	// VocabularyFilterName is a required field
	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVocabularyFilterInput) GoString added in v1.26.7

func (s DeleteVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*DeleteVocabularyFilterInput) SetVocabularyFilterName added in v1.26.7

func (s *DeleteVocabularyFilterInput) SetVocabularyFilterName(v string) *DeleteVocabularyFilterInput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (DeleteVocabularyFilterInput) String added in v1.26.7

String returns the string representation

func (*DeleteVocabularyFilterInput) Validate added in v1.26.7

func (s *DeleteVocabularyFilterInput) Validate() error

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

type DeleteVocabularyFilterOutput added in v1.26.7

type DeleteVocabularyFilterOutput struct {
	// contains filtered or unexported fields
}

func (DeleteVocabularyFilterOutput) GoString added in v1.26.7

func (s DeleteVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (DeleteVocabularyFilterOutput) String added in v1.26.7

String returns the string representation

type DeleteVocabularyInput added in v1.13.28

type DeleteVocabularyInput struct {

	// The name of the vocabulary to delete.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteVocabularyInput) GoString added in v1.13.28

func (s DeleteVocabularyInput) GoString() string

GoString returns the string representation

func (*DeleteVocabularyInput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (DeleteVocabularyInput) String added in v1.13.28

func (s DeleteVocabularyInput) String() string

String returns the string representation

func (*DeleteVocabularyInput) Validate added in v1.13.28

func (s *DeleteVocabularyInput) Validate() error

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

type DeleteVocabularyOutput added in v1.13.28

type DeleteVocabularyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteVocabularyOutput) GoString added in v1.13.28

func (s DeleteVocabularyOutput) GoString() string

GoString returns the string representation

func (DeleteVocabularyOutput) String added in v1.13.28

func (s DeleteVocabularyOutput) String() string

String returns the string representation

type DescribeLanguageModelInput added in v1.33.20

type DescribeLanguageModelInput struct {

	// The name of the custom language model you submit to get more information.
	//
	// ModelName is a required field
	ModelName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeLanguageModelInput) GoString added in v1.33.20

func (s DescribeLanguageModelInput) GoString() string

GoString returns the string representation

func (*DescribeLanguageModelInput) SetModelName added in v1.33.20

SetModelName sets the ModelName field's value.

func (DescribeLanguageModelInput) String added in v1.33.20

String returns the string representation

func (*DescribeLanguageModelInput) Validate added in v1.33.20

func (s *DescribeLanguageModelInput) Validate() error

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

type DescribeLanguageModelOutput added in v1.33.20

type DescribeLanguageModelOutput struct {

	// The name of the custom language model you requested more information about.
	LanguageModel *LanguageModel `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeLanguageModelOutput) GoString added in v1.33.20

func (s DescribeLanguageModelOutput) GoString() string

GoString returns the string representation

func (*DescribeLanguageModelOutput) SetLanguageModel added in v1.33.20

SetLanguageModel sets the LanguageModel field's value.

func (DescribeLanguageModelOutput) String added in v1.33.20

String returns the string representation

type GetMedicalTranscriptionJobInput added in v1.30.5

type GetMedicalTranscriptionJobInput struct {

	// The name of the medical transcription job.
	//
	// MedicalTranscriptionJobName is a required field
	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMedicalTranscriptionJobInput) GoString added in v1.30.5

GoString returns the string representation

func (*GetMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName added in v1.30.5

func (s *GetMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *GetMedicalTranscriptionJobInput

SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.

func (GetMedicalTranscriptionJobInput) String added in v1.30.5

String returns the string representation

func (*GetMedicalTranscriptionJobInput) Validate added in v1.30.5

func (s *GetMedicalTranscriptionJobInput) Validate() error

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

type GetMedicalTranscriptionJobOutput added in v1.30.5

type GetMedicalTranscriptionJobOutput struct {

	// An object that contains the results of the medical transcription job.
	MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"`
	// contains filtered or unexported fields
}

func (GetMedicalTranscriptionJobOutput) GoString added in v1.30.5

GoString returns the string representation

func (*GetMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob added in v1.30.5

SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.

func (GetMedicalTranscriptionJobOutput) String added in v1.30.5

String returns the string representation

type GetMedicalVocabularyInput added in v1.30.17

type GetMedicalVocabularyInput struct {

	// The name of the vocabulary that you want information about. The value is
	// case sensitive.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetMedicalVocabularyInput) GoString added in v1.30.17

func (s GetMedicalVocabularyInput) GoString() string

GoString returns the string representation

func (*GetMedicalVocabularyInput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (GetMedicalVocabularyInput) String added in v1.30.17

func (s GetMedicalVocabularyInput) String() string

String returns the string representation

func (*GetMedicalVocabularyInput) Validate added in v1.30.17

func (s *GetMedicalVocabularyInput) Validate() error

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

type GetMedicalVocabularyOutput added in v1.30.17

type GetMedicalVocabularyOutput struct {

	// The location in Amazon S3 where the vocabulary is stored. Use this URI to
	// get the contents of the vocabulary. You can download your vocabulary from
	// the URI for a limited time.
	DownloadUri *string `min:"1" type:"string"`

	// If the VocabularyState is FAILED, this field contains information about why
	// the job failed.
	FailureReason *string `type:"string"`

	// The valid language code for your vocabulary entries.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was last modified with a text file
	// different from the one that was previously used.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary returned by Amazon Transcribe Medical.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the vocabulary. If the VocabularyState is READY then
	// you can use it in the StartMedicalTranscriptionJob operation.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (GetMedicalVocabularyOutput) GoString added in v1.30.17

func (s GetMedicalVocabularyOutput) GoString() string

GoString returns the string representation

func (*GetMedicalVocabularyOutput) SetDownloadUri added in v1.30.17

SetDownloadUri sets the DownloadUri field's value.

func (*GetMedicalVocabularyOutput) SetFailureReason added in v1.30.17

SetFailureReason sets the FailureReason field's value.

func (*GetMedicalVocabularyOutput) SetLanguageCode added in v1.30.17

SetLanguageCode sets the LanguageCode field's value.

func (*GetMedicalVocabularyOutput) SetLastModifiedTime added in v1.30.17

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*GetMedicalVocabularyOutput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (*GetMedicalVocabularyOutput) SetVocabularyState added in v1.30.17

SetVocabularyState sets the VocabularyState field's value.

func (GetMedicalVocabularyOutput) String added in v1.30.17

String returns the string representation

type GetTranscriptionJobInput

type GetTranscriptionJobInput struct {

	// The name of the job.
	//
	// TranscriptionJobName is a required field
	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetTranscriptionJobInput) GoString

func (s GetTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*GetTranscriptionJobInput) SetTranscriptionJobName

func (s *GetTranscriptionJobInput) SetTranscriptionJobName(v string) *GetTranscriptionJobInput

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (GetTranscriptionJobInput) String

func (s GetTranscriptionJobInput) String() string

String returns the string representation

func (*GetTranscriptionJobInput) Validate

func (s *GetTranscriptionJobInput) Validate() error

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

type GetTranscriptionJobOutput

type GetTranscriptionJobOutput struct {

	// An object that contains the results of the transcription job.
	TranscriptionJob *TranscriptionJob `type:"structure"`
	// contains filtered or unexported fields
}

func (GetTranscriptionJobOutput) GoString

func (s GetTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (*GetTranscriptionJobOutput) SetTranscriptionJob

SetTranscriptionJob sets the TranscriptionJob field's value.

func (GetTranscriptionJobOutput) String

func (s GetTranscriptionJobOutput) String() string

String returns the string representation

type GetVocabularyFilterInput added in v1.26.7

type GetVocabularyFilterInput struct {

	// The name of the vocabulary filter for which to return information.
	//
	// VocabularyFilterName is a required field
	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetVocabularyFilterInput) GoString added in v1.26.7

func (s GetVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*GetVocabularyFilterInput) SetVocabularyFilterName added in v1.26.7

func (s *GetVocabularyFilterInput) SetVocabularyFilterName(v string) *GetVocabularyFilterInput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (GetVocabularyFilterInput) String added in v1.26.7

func (s GetVocabularyFilterInput) String() string

String returns the string representation

func (*GetVocabularyFilterInput) Validate added in v1.26.7

func (s *GetVocabularyFilterInput) Validate() error

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

type GetVocabularyFilterOutput added in v1.26.7

type GetVocabularyFilterOutput struct {

	// The URI of the list of words in the vocabulary filter. You can use this URI
	// to get the list of words.
	DownloadUri *string `min:"1" type:"string"`

	// The language code of the words in the vocabulary filter.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the contents of the vocabulary filter were updated.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary filter.
	VocabularyFilterName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetVocabularyFilterOutput) GoString added in v1.26.7

func (s GetVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*GetVocabularyFilterOutput) SetDownloadUri added in v1.26.7

SetDownloadUri sets the DownloadUri field's value.

func (*GetVocabularyFilterOutput) SetLanguageCode added in v1.26.7

SetLanguageCode sets the LanguageCode field's value.

func (*GetVocabularyFilterOutput) SetLastModifiedTime added in v1.26.7

func (s *GetVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *GetVocabularyFilterOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*GetVocabularyFilterOutput) SetVocabularyFilterName added in v1.26.7

func (s *GetVocabularyFilterOutput) SetVocabularyFilterName(v string) *GetVocabularyFilterOutput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (GetVocabularyFilterOutput) String added in v1.26.7

func (s GetVocabularyFilterOutput) String() string

String returns the string representation

type GetVocabularyInput added in v1.13.28

type GetVocabularyInput struct {

	// The name of the vocabulary to return information about. The name is case
	// sensitive.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetVocabularyInput) GoString added in v1.13.28

func (s GetVocabularyInput) GoString() string

GoString returns the string representation

func (*GetVocabularyInput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (GetVocabularyInput) String added in v1.13.28

func (s GetVocabularyInput) String() string

String returns the string representation

func (*GetVocabularyInput) Validate added in v1.13.28

func (s *GetVocabularyInput) Validate() error

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

type GetVocabularyOutput added in v1.13.28

type GetVocabularyOutput struct {

	// The S3 location where the vocabulary is stored. Use this URI to get the contents
	// of the vocabulary. The URI is available for a limited time.
	DownloadUri *string `min:"1" type:"string"`

	// If the VocabularyState field is FAILED, this field contains information about
	// why the job failed.
	FailureReason *string `type:"string"`

	// The language code of the vocabulary entries.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was last modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary to return.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the vocabulary.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (GetVocabularyOutput) GoString added in v1.13.28

func (s GetVocabularyOutput) GoString() string

GoString returns the string representation

func (*GetVocabularyOutput) SetDownloadUri added in v1.13.28

func (s *GetVocabularyOutput) SetDownloadUri(v string) *GetVocabularyOutput

SetDownloadUri sets the DownloadUri field's value.

func (*GetVocabularyOutput) SetFailureReason added in v1.13.28

func (s *GetVocabularyOutput) SetFailureReason(v string) *GetVocabularyOutput

SetFailureReason sets the FailureReason field's value.

func (*GetVocabularyOutput) SetLanguageCode added in v1.13.28

func (s *GetVocabularyOutput) SetLanguageCode(v string) *GetVocabularyOutput

SetLanguageCode sets the LanguageCode field's value.

func (*GetVocabularyOutput) SetLastModifiedTime added in v1.13.28

func (s *GetVocabularyOutput) SetLastModifiedTime(v time.Time) *GetVocabularyOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*GetVocabularyOutput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (*GetVocabularyOutput) SetVocabularyState added in v1.13.28

func (s *GetVocabularyOutput) SetVocabularyState(v string) *GetVocabularyOutput

SetVocabularyState sets the VocabularyState field's value.

func (GetVocabularyOutput) String added in v1.13.28

func (s GetVocabularyOutput) String() string

String returns the string representation

type InputDataConfig added in v1.33.20

type InputDataConfig struct {

	// The Amazon Resource Name (ARN) that uniquely identifies the permissions you've
	// given Amazon Transcribe to access your Amazon S3 buckets containing your
	// media files or text data.
	//
	// DataAccessRoleArn is a required field
	DataAccessRoleArn *string `min:"20" type:"string" required:"true"`

	// The Amazon S3 prefix you specify to access the plain text files that you
	// use to train your custom language model.
	//
	// S3Uri is a required field
	S3Uri *string `min:"1" type:"string" required:"true"`

	// The Amazon S3 prefix you specify to access the plain text files that you
	// use to tune your custom language model.
	TuningDataS3Uri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The object that contains the Amazon S3 object location and access role required to train and tune your custom language model.

func (InputDataConfig) GoString added in v1.33.20

func (s InputDataConfig) GoString() string

GoString returns the string representation

func (*InputDataConfig) SetDataAccessRoleArn added in v1.33.20

func (s *InputDataConfig) SetDataAccessRoleArn(v string) *InputDataConfig

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (*InputDataConfig) SetS3Uri added in v1.33.20

func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig

SetS3Uri sets the S3Uri field's value.

func (*InputDataConfig) SetTuningDataS3Uri added in v1.33.20

func (s *InputDataConfig) SetTuningDataS3Uri(v string) *InputDataConfig

SetTuningDataS3Uri sets the TuningDataS3Uri field's value.

func (InputDataConfig) String added in v1.33.20

func (s InputDataConfig) String() string

String returns the string representation

func (*InputDataConfig) Validate added in v1.33.20

func (s *InputDataConfig) Validate() error

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

type InternalFailureException added in v1.28.0

type InternalFailureException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

There was an internal error. Check the error message and try your request again.

func (*InternalFailureException) Code added in v1.28.0

func (s *InternalFailureException) Code() string

Code returns the exception type name.

func (*InternalFailureException) Error added in v1.28.0

func (s *InternalFailureException) Error() string

func (InternalFailureException) GoString added in v1.28.0

func (s InternalFailureException) GoString() string

GoString returns the string representation

func (*InternalFailureException) Message added in v1.28.0

func (s *InternalFailureException) Message() string

Message returns the exception's message.

func (*InternalFailureException) OrigErr added in v1.28.0

func (s *InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalFailureException) RequestID added in v1.28.0

func (s *InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalFailureException) StatusCode added in v1.28.0

func (s *InternalFailureException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalFailureException) String added in v1.28.0

func (s InternalFailureException) String() string

String returns the string representation

type JobExecutionSettings added in v1.26.6

type JobExecutionSettings struct {

	// Indicates whether a job should be queued by Amazon Transcribe when the concurrent
	// execution limit is exceeded. When the AllowDeferredExecution field is true,
	// jobs are queued and executed when the number of executing jobs falls below
	// the concurrent execution limit. If the field is false, Amazon Transcribe
	// returns a LimitExceededException exception.
	//
	// If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn
	// field.
	AllowDeferredExecution *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
	// that contains the input files. Amazon Transcribe assumes this role to read
	// queued media files. If you have specified an output S3 bucket for the transcription
	// results, this role should have access to the output bucket as well.
	//
	// If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn
	// field.
	DataAccessRoleArn *string `min:"20" type:"string"`
	// contains filtered or unexported fields
}

Provides information about when a transcription job should be executed.

func (JobExecutionSettings) GoString added in v1.26.6

func (s JobExecutionSettings) GoString() string

GoString returns the string representation

func (*JobExecutionSettings) SetAllowDeferredExecution added in v1.26.6

func (s *JobExecutionSettings) SetAllowDeferredExecution(v bool) *JobExecutionSettings

SetAllowDeferredExecution sets the AllowDeferredExecution field's value.

func (*JobExecutionSettings) SetDataAccessRoleArn added in v1.26.6

func (s *JobExecutionSettings) SetDataAccessRoleArn(v string) *JobExecutionSettings

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (JobExecutionSettings) String added in v1.26.6

func (s JobExecutionSettings) String() string

String returns the string representation

func (*JobExecutionSettings) Validate added in v1.33.20

func (s *JobExecutionSettings) Validate() error

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

type LanguageModel added in v1.33.20

type LanguageModel struct {

	// The Amazon Transcribe standard language model, or base model used to create
	// the custom language model.
	BaseModelName *string `type:"string" enum:"BaseModelName"`

	// The time the custom language model was created.
	CreateTime *time.Time `type:"timestamp"`

	// The reason why the custom language model couldn't be created.
	FailureReason *string `type:"string"`

	// The data access role and Amazon S3 prefixes for the input files used to train
	// the custom language model.
	InputDataConfig *InputDataConfig `type:"structure"`

	// The language code you used to create your custom language model.
	LanguageCode *string `type:"string" enum:"CLMLanguageCode"`

	// The most recent time the custom language model was modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the custom language model.
	ModelName *string `min:"1" type:"string"`

	// The creation status of a custom language model. When the status is COMPLETED
	// the model is ready for use.
	ModelStatus *string `type:"string" enum:"ModelStatus"`

	// Whether the base model used for the custom language model is up to date.
	// If this field is true then you are running the most up-to-date version of
	// the base model in your custom language model.
	UpgradeAvailability *bool `type:"boolean"`
	// contains filtered or unexported fields
}

The structure used to describe a custom language model.

func (LanguageModel) GoString added in v1.33.20

func (s LanguageModel) GoString() string

GoString returns the string representation

func (*LanguageModel) SetBaseModelName added in v1.33.20

func (s *LanguageModel) SetBaseModelName(v string) *LanguageModel

SetBaseModelName sets the BaseModelName field's value.

func (*LanguageModel) SetCreateTime added in v1.33.20

func (s *LanguageModel) SetCreateTime(v time.Time) *LanguageModel

SetCreateTime sets the CreateTime field's value.

func (*LanguageModel) SetFailureReason added in v1.33.20

func (s *LanguageModel) SetFailureReason(v string) *LanguageModel

SetFailureReason sets the FailureReason field's value.

func (*LanguageModel) SetInputDataConfig added in v1.33.20

func (s *LanguageModel) SetInputDataConfig(v *InputDataConfig) *LanguageModel

SetInputDataConfig sets the InputDataConfig field's value.

func (*LanguageModel) SetLanguageCode added in v1.33.20

func (s *LanguageModel) SetLanguageCode(v string) *LanguageModel

SetLanguageCode sets the LanguageCode field's value.

func (*LanguageModel) SetLastModifiedTime added in v1.33.20

func (s *LanguageModel) SetLastModifiedTime(v time.Time) *LanguageModel

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*LanguageModel) SetModelName added in v1.33.20

func (s *LanguageModel) SetModelName(v string) *LanguageModel

SetModelName sets the ModelName field's value.

func (*LanguageModel) SetModelStatus added in v1.33.20

func (s *LanguageModel) SetModelStatus(v string) *LanguageModel

SetModelStatus sets the ModelStatus field's value.

func (*LanguageModel) SetUpgradeAvailability added in v1.33.20

func (s *LanguageModel) SetUpgradeAvailability(v bool) *LanguageModel

SetUpgradeAvailability sets the UpgradeAvailability field's value.

func (LanguageModel) String added in v1.33.20

func (s LanguageModel) String() string

String returns the string representation

type LimitExceededException added in v1.28.0

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

func (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String added in v1.28.0

func (s LimitExceededException) String() string

String returns the string representation

type ListLanguageModelsInput added in v1.33.20

type ListLanguageModelsInput struct {

	// The maximum number of language models to return in the response. If there
	// are fewer results in the list, the response contains only the actual results.
	MaxResults *int64 `min:"1" type:"integer"`

	// When specified, the custom language model names returned contain the substring
	// you've specified.
	NameContains *string `min:"1" type:"string"`

	// When included, fetches the next set of jobs if the result of the previous
	// request was truncated.
	NextToken *string `type:"string"`

	// When specified, returns only custom language models with the specified status.
	// Language models are ordered by creation date, with the newest models first.
	// If you don't specify a status, Amazon Transcribe returns all custom language
	// models ordered by date.
	StatusEquals *string `type:"string" enum:"ModelStatus"`
	// contains filtered or unexported fields
}

func (ListLanguageModelsInput) GoString added in v1.33.20

func (s ListLanguageModelsInput) GoString() string

GoString returns the string representation

func (*ListLanguageModelsInput) SetMaxResults added in v1.33.20

SetMaxResults sets the MaxResults field's value.

func (*ListLanguageModelsInput) SetNameContains added in v1.33.20

SetNameContains sets the NameContains field's value.

func (*ListLanguageModelsInput) SetNextToken added in v1.33.20

SetNextToken sets the NextToken field's value.

func (*ListLanguageModelsInput) SetStatusEquals added in v1.33.20

SetStatusEquals sets the StatusEquals field's value.

func (ListLanguageModelsInput) String added in v1.33.20

func (s ListLanguageModelsInput) String() string

String returns the string representation

func (*ListLanguageModelsInput) Validate added in v1.33.20

func (s *ListLanguageModelsInput) Validate() error

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

type ListLanguageModelsOutput added in v1.33.20

type ListLanguageModelsOutput struct {

	// A list of objects containing information about custom language models.
	Models []*LanguageModel `type:"list"`

	// The operation returns a page of jobs at a time. The maximum size of the list
	// is set by the MaxResults parameter. If there are more language models in
	// the list than the page size, Amazon Transcribe returns the NextPage token.
	// Include the token in the next request to the operation to return the next
	// page of language models.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListLanguageModelsOutput) GoString added in v1.33.20

func (s ListLanguageModelsOutput) GoString() string

GoString returns the string representation

func (*ListLanguageModelsOutput) SetModels added in v1.33.20

SetModels sets the Models field's value.

func (*ListLanguageModelsOutput) SetNextToken added in v1.33.20

SetNextToken sets the NextToken field's value.

func (ListLanguageModelsOutput) String added in v1.33.20

func (s ListLanguageModelsOutput) String() string

String returns the string representation

type ListMedicalTranscriptionJobsInput added in v1.30.5

type ListMedicalTranscriptionJobsInput struct {

	// When specified, the jobs returned in the list are limited to jobs whose name
	// contains the specified string.
	JobNameContains *string `min:"1" type:"string"`

	// The maximum number of medical transcription jobs to return in the response.
	// IF there are fewer results in the list, this response contains only the actual
	// results.
	MaxResults *int64 `min:"1" type:"integer"`

	// If you a receive a truncated result in the previous request of ListMedicalTranscriptionJobs,
	// include NextToken to fetch the next set of jobs.
	NextToken *string `type:"string"`

	// When specified, returns only medical transcription jobs with the specified
	// status. Jobs are ordered by creation date, with the newest jobs returned
	// first. If you don't specify a status, Amazon Transcribe Medical returns all
	// transcription jobs ordered by creation date.
	Status *string `type:"string" enum:"TranscriptionJobStatus"`
	// contains filtered or unexported fields
}

func (ListMedicalTranscriptionJobsInput) GoString added in v1.30.5

GoString returns the string representation

func (*ListMedicalTranscriptionJobsInput) SetJobNameContains added in v1.30.5

SetJobNameContains sets the JobNameContains field's value.

func (*ListMedicalTranscriptionJobsInput) SetMaxResults added in v1.30.5

SetMaxResults sets the MaxResults field's value.

func (*ListMedicalTranscriptionJobsInput) SetNextToken added in v1.30.5

SetNextToken sets the NextToken field's value.

func (*ListMedicalTranscriptionJobsInput) SetStatus added in v1.30.5

SetStatus sets the Status field's value.

func (ListMedicalTranscriptionJobsInput) String added in v1.30.5

String returns the string representation

func (*ListMedicalTranscriptionJobsInput) Validate added in v1.30.5

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

type ListMedicalTranscriptionJobsOutput added in v1.30.5

type ListMedicalTranscriptionJobsOutput struct {

	// A list of objects containing summary information for a transcription job.
	MedicalTranscriptionJobSummaries []*MedicalTranscriptionJobSummary `type:"list"`

	// The ListMedicalTranscriptionJobs operation returns a page of jobs at a time.
	// The maximum size of the page is set by the MaxResults parameter. If the number
	// of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns
	// the NextPage token. Include the token in the next request to the ListMedicalTranscriptionJobs
	// operation to return in the next page of jobs.
	NextToken *string `type:"string"`

	// The requested status of the medical transcription jobs returned.
	Status *string `type:"string" enum:"TranscriptionJobStatus"`
	// contains filtered or unexported fields
}

func (ListMedicalTranscriptionJobsOutput) GoString added in v1.30.5

GoString returns the string representation

func (*ListMedicalTranscriptionJobsOutput) SetMedicalTranscriptionJobSummaries added in v1.30.5

SetMedicalTranscriptionJobSummaries sets the MedicalTranscriptionJobSummaries field's value.

func (*ListMedicalTranscriptionJobsOutput) SetNextToken added in v1.30.5

SetNextToken sets the NextToken field's value.

func (*ListMedicalTranscriptionJobsOutput) SetStatus added in v1.30.5

SetStatus sets the Status field's value.

func (ListMedicalTranscriptionJobsOutput) String added in v1.30.5

String returns the string representation

type ListMedicalVocabulariesInput added in v1.30.17

type ListMedicalVocabulariesInput struct {

	// The maximum number of vocabularies to return in the response.
	MaxResults *int64 `min:"1" type:"integer"`

	// Returns vocabularies whose names contain the specified string. The search
	// is not case sensitive. ListMedicalVocabularies returns both "vocabularyname"
	// and "VocabularyName".
	NameContains *string `min:"1" type:"string"`

	// If the result of your previous request to ListMedicalVocabularies was truncated,
	// include the NextToken to fetch the next set of vocabularies.
	NextToken *string `type:"string"`

	// When specified, returns only vocabularies with the VocabularyState equal
	// to the specified vocabulary state. Use this field to see which vocabularies
	// are ready for your medical transcription jobs.
	StateEquals *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (ListMedicalVocabulariesInput) GoString added in v1.30.17

func (s ListMedicalVocabulariesInput) GoString() string

GoString returns the string representation

func (*ListMedicalVocabulariesInput) SetMaxResults added in v1.30.17

SetMaxResults sets the MaxResults field's value.

func (*ListMedicalVocabulariesInput) SetNameContains added in v1.30.17

SetNameContains sets the NameContains field's value.

func (*ListMedicalVocabulariesInput) SetNextToken added in v1.30.17

SetNextToken sets the NextToken field's value.

func (*ListMedicalVocabulariesInput) SetStateEquals added in v1.30.17

SetStateEquals sets the StateEquals field's value.

func (ListMedicalVocabulariesInput) String added in v1.30.17

String returns the string representation

func (*ListMedicalVocabulariesInput) Validate added in v1.30.17

func (s *ListMedicalVocabulariesInput) Validate() error

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

type ListMedicalVocabulariesOutput added in v1.30.17

type ListMedicalVocabulariesOutput struct {

	// The ListMedicalVocabularies operation returns a page of vocabularies at a
	// time. You set the maximum number of vocabularies to return on a page with
	// the MaxResults parameter. If there are more jobs in the list will fit on
	// a page, Amazon Transcribe Medical returns the NextPage token. To return the
	// next page of vocabularies, include the token in the next request to the ListMedicalVocabularies
	// operation .
	NextToken *string `type:"string"`

	// The requested vocabulary state.
	Status *string `type:"string" enum:"VocabularyState"`

	// A list of objects that describe the vocabularies that match your search criteria.
	Vocabularies []*VocabularyInfo `type:"list"`
	// contains filtered or unexported fields
}

func (ListMedicalVocabulariesOutput) GoString added in v1.30.17

GoString returns the string representation

func (*ListMedicalVocabulariesOutput) SetNextToken added in v1.30.17

SetNextToken sets the NextToken field's value.

func (*ListMedicalVocabulariesOutput) SetStatus added in v1.30.17

SetStatus sets the Status field's value.

func (*ListMedicalVocabulariesOutput) SetVocabularies added in v1.30.17

SetVocabularies sets the Vocabularies field's value.

func (ListMedicalVocabulariesOutput) String added in v1.30.17

String returns the string representation

type ListTranscriptionJobsInput

type ListTranscriptionJobsInput struct {

	// When specified, the jobs returned in the list are limited to jobs whose name
	// contains the specified string.
	JobNameContains *string `min:"1" type:"string"`

	// The maximum number of jobs to return in the response. If there are fewer
	// results in the list, this response contains only the actual results.
	MaxResults *int64 `min:"1" type:"integer"`

	// If the result of the previous request to ListTranscriptionJobs was truncated,
	// include the NextToken to fetch the next set of jobs.
	NextToken *string `type:"string"`

	// When specified, returns only transcription jobs with the specified status.
	// Jobs are ordered by creation date, with the newest jobs returned first. If
	// you don’t specify a status, Amazon Transcribe returns all transcription
	// jobs ordered by creation date.
	Status *string `type:"string" enum:"TranscriptionJobStatus"`
	// contains filtered or unexported fields
}

func (ListTranscriptionJobsInput) GoString

func (s ListTranscriptionJobsInput) GoString() string

GoString returns the string representation

func (*ListTranscriptionJobsInput) SetJobNameContains added in v1.13.28

SetJobNameContains sets the JobNameContains field's value.

func (*ListTranscriptionJobsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListTranscriptionJobsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTranscriptionJobsInput) SetStatus

SetStatus sets the Status field's value.

func (ListTranscriptionJobsInput) String

String returns the string representation

func (*ListTranscriptionJobsInput) Validate

func (s *ListTranscriptionJobsInput) Validate() error

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

type ListTranscriptionJobsOutput

type ListTranscriptionJobsOutput struct {

	// The ListTranscriptionJobs operation returns a page of jobs at a time. The
	// maximum size of the page is set by the MaxResults parameter. If there are
	// more jobs in the list than the page size, Amazon Transcribe returns the NextPage
	// token. Include the token in the next request to the ListTranscriptionJobs
	// operation to return in the next page of jobs.
	NextToken *string `type:"string"`

	// The requested status of the jobs returned.
	Status *string `type:"string" enum:"TranscriptionJobStatus"`

	// A list of objects containing summary information for a transcription job.
	TranscriptionJobSummaries []*TranscriptionJobSummary `type:"list"`
	// contains filtered or unexported fields
}

func (ListTranscriptionJobsOutput) GoString

func (s ListTranscriptionJobsOutput) GoString() string

GoString returns the string representation

func (*ListTranscriptionJobsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListTranscriptionJobsOutput) SetStatus

SetStatus sets the Status field's value.

func (*ListTranscriptionJobsOutput) SetTranscriptionJobSummaries

SetTranscriptionJobSummaries sets the TranscriptionJobSummaries field's value.

func (ListTranscriptionJobsOutput) String

String returns the string representation

type ListVocabulariesInput added in v1.13.28

type ListVocabulariesInput struct {

	// The maximum number of vocabularies to return in the response. If there are
	// fewer results in the list, this response contains only the actual results.
	MaxResults *int64 `min:"1" type:"integer"`

	// When specified, the vocabularies returned in the list are limited to vocabularies
	// whose name contains the specified string. The search is not case sensitive,
	// ListVocabularies returns both "vocabularyname" and "VocabularyName" in the
	// response list.
	NameContains *string `min:"1" type:"string"`

	// If the result of the previous request to ListVocabularies was truncated,
	// include the NextToken to fetch the next set of jobs.
	NextToken *string `type:"string"`

	// When specified, only returns vocabularies with the VocabularyState field
	// equal to the specified state.
	StateEquals *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (ListVocabulariesInput) GoString added in v1.13.28

func (s ListVocabulariesInput) GoString() string

GoString returns the string representation

func (*ListVocabulariesInput) SetMaxResults added in v1.13.28

func (s *ListVocabulariesInput) SetMaxResults(v int64) *ListVocabulariesInput

SetMaxResults sets the MaxResults field's value.

func (*ListVocabulariesInput) SetNameContains added in v1.13.28

func (s *ListVocabulariesInput) SetNameContains(v string) *ListVocabulariesInput

SetNameContains sets the NameContains field's value.

func (*ListVocabulariesInput) SetNextToken added in v1.13.28

SetNextToken sets the NextToken field's value.

func (*ListVocabulariesInput) SetStateEquals added in v1.13.28

func (s *ListVocabulariesInput) SetStateEquals(v string) *ListVocabulariesInput

SetStateEquals sets the StateEquals field's value.

func (ListVocabulariesInput) String added in v1.13.28

func (s ListVocabulariesInput) String() string

String returns the string representation

func (*ListVocabulariesInput) Validate added in v1.13.28

func (s *ListVocabulariesInput) Validate() error

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

type ListVocabulariesOutput added in v1.13.28

type ListVocabulariesOutput struct {

	// The ListVocabularies operation returns a page of vocabularies at a time.
	// The maximum size of the page is set in the MaxResults parameter. If there
	// are more jobs in the list than will fit on the page, Amazon Transcribe returns
	// the NextPage token. To return in the next page of jobs, include the token
	// in the next request to the ListVocabularies operation.
	NextToken *string `type:"string"`

	// The requested vocabulary state.
	Status *string `type:"string" enum:"VocabularyState"`

	// A list of objects that describe the vocabularies that match the search criteria
	// in the request.
	Vocabularies []*VocabularyInfo `type:"list"`
	// contains filtered or unexported fields
}

func (ListVocabulariesOutput) GoString added in v1.13.28

func (s ListVocabulariesOutput) GoString() string

GoString returns the string representation

func (*ListVocabulariesOutput) SetNextToken added in v1.13.28

SetNextToken sets the NextToken field's value.

func (*ListVocabulariesOutput) SetStatus added in v1.13.28

SetStatus sets the Status field's value.

func (*ListVocabulariesOutput) SetVocabularies added in v1.13.28

SetVocabularies sets the Vocabularies field's value.

func (ListVocabulariesOutput) String added in v1.13.28

func (s ListVocabulariesOutput) String() string

String returns the string representation

type ListVocabularyFiltersInput added in v1.26.7

type ListVocabularyFiltersInput struct {

	// The maximum number of filters to return in the response. If there are fewer
	// results in the list, this response contains only the actual results.
	MaxResults *int64 `min:"1" type:"integer"`

	// Filters the response so that it only contains vocabulary filters whose name
	// contains the specified string.
	NameContains *string `min:"1" type:"string"`

	// If the result of the previous request to ListVocabularyFilters was truncated,
	// include the NextToken to fetch the next set of collections.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListVocabularyFiltersInput) GoString added in v1.26.7

func (s ListVocabularyFiltersInput) GoString() string

GoString returns the string representation

func (*ListVocabularyFiltersInput) SetMaxResults added in v1.26.7

SetMaxResults sets the MaxResults field's value.

func (*ListVocabularyFiltersInput) SetNameContains added in v1.26.7

SetNameContains sets the NameContains field's value.

func (*ListVocabularyFiltersInput) SetNextToken added in v1.26.7

SetNextToken sets the NextToken field's value.

func (ListVocabularyFiltersInput) String added in v1.26.7

String returns the string representation

func (*ListVocabularyFiltersInput) Validate added in v1.26.7

func (s *ListVocabularyFiltersInput) Validate() error

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

type ListVocabularyFiltersOutput added in v1.26.7

type ListVocabularyFiltersOutput struct {

	// The ListVocabularyFilters operation returns a page of collections at a time.
	// The maximum size of the page is set by the MaxResults parameter. If there
	// are more jobs in the list than the page size, Amazon Transcribe returns the
	// NextPage token. Include the token in the next request to the ListVocabularyFilters
	// operation to return in the next page of jobs.
	NextToken *string `type:"string"`

	// The list of vocabulary filters. It contains at most MaxResults number of
	// filters. If there are more filters, call the ListVocabularyFilters operation
	// again with the NextToken parameter in the request set to the value of the
	// NextToken field in the response.
	VocabularyFilters []*VocabularyFilterInfo `type:"list"`
	// contains filtered or unexported fields
}

func (ListVocabularyFiltersOutput) GoString added in v1.26.7

func (s ListVocabularyFiltersOutput) GoString() string

GoString returns the string representation

func (*ListVocabularyFiltersOutput) SetNextToken added in v1.26.7

SetNextToken sets the NextToken field's value.

func (*ListVocabularyFiltersOutput) SetVocabularyFilters added in v1.26.7

SetVocabularyFilters sets the VocabularyFilters field's value.

func (ListVocabularyFiltersOutput) String added in v1.26.7

String returns the string representation

type Media

type Media struct {

	// The S3 object location of the input media file. The URI must be in the same
	// region as the API endpoint that you are calling. The general form is:
	//
	// For example:
	//
	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
	// in the Amazon S3 Developer Guide.
	MediaFileUri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Describes the input media file in a transcription request.

func (Media) GoString

func (s Media) GoString() string

GoString returns the string representation

func (*Media) SetMediaFileUri

func (s *Media) SetMediaFileUri(v string) *Media

SetMediaFileUri sets the MediaFileUri field's value.

func (Media) String

func (s Media) String() string

String returns the string representation

func (*Media) Validate

func (s *Media) Validate() error

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

type MedicalTranscript added in v1.30.5

type MedicalTranscript struct {

	// The S3 object location of the medical transcript.
	//
	// Use this URI to access the medical transcript. This URI points to the S3
	// bucket you created to store the medical transcript.
	TranscriptFileUri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Identifies the location of a medical transcript.

func (MedicalTranscript) GoString added in v1.30.5

func (s MedicalTranscript) GoString() string

GoString returns the string representation

func (*MedicalTranscript) SetTranscriptFileUri added in v1.30.5

func (s *MedicalTranscript) SetTranscriptFileUri(v string) *MedicalTranscript

SetTranscriptFileUri sets the TranscriptFileUri field's value.

func (MedicalTranscript) String added in v1.30.5

func (s MedicalTranscript) String() string

String returns the string representation

type MedicalTranscriptionJob added in v1.30.5

type MedicalTranscriptionJob struct {

	// A timestamp that shows when the job was completed.
	CompletionTime *time.Time `type:"timestamp"`

	// Shows the type of content that you've configured Amazon Transcribe Medical
	// to identify in a transcription job. If the value is PHI, you've configured
	// the job to identify personal health information (PHI) in the transcription
	// output.
	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`

	// A timestamp that shows when the job was created.
	CreationTime *time.Time `type:"timestamp"`

	// If the TranscriptionJobStatus field is FAILED, this field contains information
	// about why the job failed.
	//
	// The FailureReason field contains one of the following values:
	//
	//    * Unsupported media format- The media format specified in the MediaFormat
	//    field of the request isn't valid. See the description of the MediaFormat
	//    field for a list of valid values.
	//
	//    * The media format provided does not match the detected media format-
	//    The media format of the audio file doesn't match the format specified
	//    in the MediaFormat field in the request. Check the media format of your
	//    media file and make sure the two values match.
	//
	//    * Invalid sample rate for audio file- The sample rate specified in the
	//    MediaSampleRateHertz of the request isn't valid. The sample rate must
	//    be between 8000 and 48000 Hertz.
	//
	//    * The sample rate provided does not match the detected sample rate- The
	//    sample rate in the audio file doesn't match the sample rate specified
	//    in the MediaSampleRateHertz field in the request. Check the sample rate
	//    of your media file and make sure that the two values match.
	//
	//    * Invalid file size: file size too large- The size of your audio file
	//    is larger than what Amazon Transcribe Medical can process. For more information,
	//    see Guidelines and Quotas (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits)
	//    in the Amazon Transcribe Medical Guide
	//
	//    * Invalid number of channels: number of channels too large- Your audio
	//    contains more channels than Amazon Transcribe Medical is configured to
	//    process. To request additional channels, see Amazon Transcribe Medical
	//    Endpoints and Quotas (https://docs.aws.amazon.com/general/latest/gr/transcribe-medical.html)
	//    in the Amazon Web Services General Reference
	FailureReason *string `type:"string"`

	// The language code for the language spoken in the source audio file. US English
	// (en-US) is the only supported language for medical transcriptions. Any other
	// value you enter for language code results in a BadRequestException error.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// Describes the input media file in a transcription request.
	Media *Media `type:"structure"`

	// The format of the input media file.
	MediaFormat *string `type:"string" enum:"MediaFormat"`

	// The sample rate, in Hertz, of the source audio containing medical information.
	//
	// If you don't specify the sample rate, Amazon Transcribe Medical determines
	// it for you. If you choose to specify the sample rate, it must match the rate
	// detected by Amazon Transcribe Medical. In most cases, you should leave the
	// MediaSampleHertz blank and let Amazon Transcribe Medical determine the sample
	// rate.
	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`

	// The name for a given medical transcription job.
	MedicalTranscriptionJobName *string `min:"1" type:"string"`

	// Object that contains object.
	Settings *MedicalTranscriptionSetting `type:"structure"`

	// The medical specialty of any clinicians providing a dictation or having a
	// conversation. PRIMARYCARE is the only available setting for this object.
	// This specialty enables you to generate transcriptions for the following medical
	// fields:
	//
	//    * Family Medicine
	Specialty *string `type:"string" enum:"Specialty"`

	// A timestamp that shows when the job started processing.
	StartTime *time.Time `type:"timestamp"`

	// An object that contains the MedicalTranscript. The MedicalTranscript contains
	// the TranscriptFileUri.
	Transcript *MedicalTranscript `type:"structure"`

	// The completion status of a medical transcription job.
	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`

	// The type of speech in the transcription job. CONVERSATION is generally used
	// for patient-physician dialogues. DICTATION is the setting for physicians
	// speaking their notes after seeing a patient. For more information, see how-it-works-med
	Type *string `type:"string" enum:"Type"`
	// contains filtered or unexported fields
}

The data structure that contains the information for a medical transcription job.

func (MedicalTranscriptionJob) GoString added in v1.30.5

func (s MedicalTranscriptionJob) GoString() string

GoString returns the string representation

func (*MedicalTranscriptionJob) SetCompletionTime added in v1.30.5

func (s *MedicalTranscriptionJob) SetCompletionTime(v time.Time) *MedicalTranscriptionJob

SetCompletionTime sets the CompletionTime field's value.

func (*MedicalTranscriptionJob) SetContentIdentificationType added in v1.38.40

func (s *MedicalTranscriptionJob) SetContentIdentificationType(v string) *MedicalTranscriptionJob

SetContentIdentificationType sets the ContentIdentificationType field's value.

func (*MedicalTranscriptionJob) SetCreationTime added in v1.30.5

SetCreationTime sets the CreationTime field's value.

func (*MedicalTranscriptionJob) SetFailureReason added in v1.30.5

func (s *MedicalTranscriptionJob) SetFailureReason(v string) *MedicalTranscriptionJob

SetFailureReason sets the FailureReason field's value.

func (*MedicalTranscriptionJob) SetLanguageCode added in v1.30.5

SetLanguageCode sets the LanguageCode field's value.

func (*MedicalTranscriptionJob) SetMedia added in v1.30.5

SetMedia sets the Media field's value.

func (*MedicalTranscriptionJob) SetMediaFormat added in v1.30.5

SetMediaFormat sets the MediaFormat field's value.

func (*MedicalTranscriptionJob) SetMediaSampleRateHertz added in v1.30.5

func (s *MedicalTranscriptionJob) SetMediaSampleRateHertz(v int64) *MedicalTranscriptionJob

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*MedicalTranscriptionJob) SetMedicalTranscriptionJobName added in v1.30.5

func (s *MedicalTranscriptionJob) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJob

SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.

func (*MedicalTranscriptionJob) SetSettings added in v1.30.5

SetSettings sets the Settings field's value.

func (*MedicalTranscriptionJob) SetSpecialty added in v1.30.5

SetSpecialty sets the Specialty field's value.

func (*MedicalTranscriptionJob) SetStartTime added in v1.30.5

SetStartTime sets the StartTime field's value.

func (*MedicalTranscriptionJob) SetTranscript added in v1.30.5

SetTranscript sets the Transcript field's value.

func (*MedicalTranscriptionJob) SetTranscriptionJobStatus added in v1.30.5

func (s *MedicalTranscriptionJob) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJob

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (*MedicalTranscriptionJob) SetType added in v1.30.5

SetType sets the Type field's value.

func (MedicalTranscriptionJob) String added in v1.30.5

func (s MedicalTranscriptionJob) String() string

String returns the string representation

type MedicalTranscriptionJobSummary added in v1.30.5

type MedicalTranscriptionJobSummary struct {

	// A timestamp that shows when the job was completed.
	CompletionTime *time.Time `type:"timestamp"`

	// Shows the type of information you've configured Amazon Transcribe Medical
	// to identify in a transcription job. If the value is PHI, you've configured
	// the transcription job to identify personal health information (PHI).
	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`

	// A timestamp that shows when the medical transcription job was created.
	CreationTime *time.Time `type:"timestamp"`

	// If the TranscriptionJobStatus field is FAILED, a description of the error.
	FailureReason *string `type:"string"`

	// The language of the transcript in the source audio file.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The name of a medical transcription job.
	MedicalTranscriptionJobName *string `min:"1" type:"string"`

	// Indicates the location of the transcription job's output.
	//
	// The CUSTOMER_BUCKET is the S3 location provided in the OutputBucketName field
	// when the
	OutputLocationType *string `type:"string" enum:"OutputLocationType"`

	// The medical specialty of the transcription job. Primary care is the only
	// valid value.
	Specialty *string `type:"string" enum:"Specialty"`

	// A timestamp that shows when the job began processing.
	StartTime *time.Time `type:"timestamp"`

	// The status of the medical transcription job.
	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`

	// The speech of the clinician in the input audio.
	Type *string `type:"string" enum:"Type"`
	// contains filtered or unexported fields
}

Provides summary information about a transcription job.

func (MedicalTranscriptionJobSummary) GoString added in v1.30.5

GoString returns the string representation

func (*MedicalTranscriptionJobSummary) SetCompletionTime added in v1.30.5

SetCompletionTime sets the CompletionTime field's value.

func (*MedicalTranscriptionJobSummary) SetContentIdentificationType added in v1.38.40

func (s *MedicalTranscriptionJobSummary) SetContentIdentificationType(v string) *MedicalTranscriptionJobSummary

SetContentIdentificationType sets the ContentIdentificationType field's value.

func (*MedicalTranscriptionJobSummary) SetCreationTime added in v1.30.5

SetCreationTime sets the CreationTime field's value.

func (*MedicalTranscriptionJobSummary) SetFailureReason added in v1.30.5

SetFailureReason sets the FailureReason field's value.

func (*MedicalTranscriptionJobSummary) SetLanguageCode added in v1.30.5

SetLanguageCode sets the LanguageCode field's value.

func (*MedicalTranscriptionJobSummary) SetMedicalTranscriptionJobName added in v1.30.5

func (s *MedicalTranscriptionJobSummary) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJobSummary

SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.

func (*MedicalTranscriptionJobSummary) SetOutputLocationType added in v1.30.5

SetOutputLocationType sets the OutputLocationType field's value.

func (*MedicalTranscriptionJobSummary) SetSpecialty added in v1.30.5

SetSpecialty sets the Specialty field's value.

func (*MedicalTranscriptionJobSummary) SetStartTime added in v1.30.5

SetStartTime sets the StartTime field's value.

func (*MedicalTranscriptionJobSummary) SetTranscriptionJobStatus added in v1.30.5

func (s *MedicalTranscriptionJobSummary) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJobSummary

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (*MedicalTranscriptionJobSummary) SetType added in v1.30.5

SetType sets the Type field's value.

func (MedicalTranscriptionJobSummary) String added in v1.30.5

String returns the string representation

type MedicalTranscriptionSetting added in v1.30.5

type MedicalTranscriptionSetting struct {

	// Instructs Amazon Transcribe Medical to process each audio channel separately
	// and then merge the transcription output of each channel into a single transcription.
	//
	// Amazon Transcribe Medical 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 item. The alternative transcriptions also come
	// with confidence scores provided by Amazon Transcribe Medical.
	//
	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
	// request. If you set both, your request returns a BadRequestException
	ChannelIdentification *bool `type:"boolean"`

	// The maximum number of alternatives that you tell the service to return. If
	// you specify the MaxAlternatives field, you must set the ShowAlternatives
	// field to true.
	MaxAlternatives *int64 `min:"2" type:"integer"`

	// The maximum number of speakers to identify in the input audio. If there are
	// more speakers in the audio than this number, multiple speakers are identified
	// as a single speaker. If you specify the MaxSpeakerLabels field, you must
	// set the ShowSpeakerLabels field to true.
	MaxSpeakerLabels *int64 `min:"2" type:"integer"`

	// Determines whether alternative transcripts are generated along with the transcript
	// that has the highest confidence. If you set ShowAlternatives field to true,
	// you must also set the maximum number of alternatives to return in the MaxAlternatives
	// field.
	ShowAlternatives *bool `type:"boolean"`

	// 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 in the MaxSpeakerLabels
	// field.
	//
	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
	// request. If you set both, your request returns a BadRequestException.
	ShowSpeakerLabels *bool `type:"boolean"`

	// The name of the vocabulary to use when processing a medical transcription
	// job.
	VocabularyName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Optional settings for the StartMedicalTranscriptionJob operation.

func (MedicalTranscriptionSetting) GoString added in v1.30.5

func (s MedicalTranscriptionSetting) GoString() string

GoString returns the string representation

func (*MedicalTranscriptionSetting) SetChannelIdentification added in v1.30.5

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

SetChannelIdentification sets the ChannelIdentification field's value.

func (*MedicalTranscriptionSetting) SetMaxAlternatives added in v1.30.5

SetMaxAlternatives sets the MaxAlternatives field's value.

func (*MedicalTranscriptionSetting) SetMaxSpeakerLabels added in v1.30.5

SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.

func (*MedicalTranscriptionSetting) SetShowAlternatives added in v1.30.5

SetShowAlternatives sets the ShowAlternatives field's value.

func (*MedicalTranscriptionSetting) SetShowSpeakerLabels added in v1.30.5

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

SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.

func (*MedicalTranscriptionSetting) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (MedicalTranscriptionSetting) String added in v1.30.5

String returns the string representation

func (*MedicalTranscriptionSetting) Validate added in v1.30.5

func (s *MedicalTranscriptionSetting) Validate() error

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

type ModelSettings added in v1.33.20

type ModelSettings struct {

	// The name of your custom language model.
	LanguageModelName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

The object used to call your custom language model to your transcription job.

func (ModelSettings) GoString added in v1.33.20

func (s ModelSettings) GoString() string

GoString returns the string representation

func (*ModelSettings) SetLanguageModelName added in v1.33.20

func (s *ModelSettings) SetLanguageModelName(v string) *ModelSettings

SetLanguageModelName sets the LanguageModelName field's value.

func (ModelSettings) String added in v1.33.20

func (s ModelSettings) String() string

String returns the string representation

func (*ModelSettings) Validate added in v1.33.20

func (s *ModelSettings) Validate() error

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

type NotFoundException added in v1.28.0

type NotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

We can't find the requested resource. Check the name and try your request again.

func (*NotFoundException) Code added in v1.28.0

func (s *NotFoundException) Code() string

Code returns the exception type name.

func (*NotFoundException) Error added in v1.28.0

func (s *NotFoundException) Error() string

func (NotFoundException) GoString added in v1.28.0

func (s NotFoundException) GoString() string

GoString returns the string representation

func (*NotFoundException) Message added in v1.28.0

func (s *NotFoundException) Message() string

Message returns the exception's message.

func (*NotFoundException) OrigErr added in v1.28.0

func (s *NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*NotFoundException) RequestID added in v1.28.0

func (s *NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*NotFoundException) StatusCode added in v1.28.0

func (s *NotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (NotFoundException) String added in v1.28.0

func (s NotFoundException) String() string

String returns the string representation

type Settings added in v1.13.28

type Settings struct {

	// 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.
	ChannelIdentification *bool `type:"boolean"`

	// The number of alternative transcriptions that the service should return.
	// If you specify the MaxAlternatives field, you must set the ShowAlternatives
	// field to true.
	MaxAlternatives *int64 `min:"2" type:"integer"`

	// The maximum number of speakers to identify in the input audio. If there are
	// more speakers in the audio than this number, multiple speakers are identified
	// as a single speaker. If you specify the MaxSpeakerLabels field, you must
	// set the ShowSpeakerLabels field to true.
	MaxSpeakerLabels *int64 `min:"2" type:"integer"`

	// Determines whether the transcription contains alternative transcriptions.
	// If you set the ShowAlternatives field to true, you must also set the maximum
	// number of alternatives to return in the MaxAlternatives field.
	ShowAlternatives *bool `type:"boolean"`

	// 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.
	ShowSpeakerLabels *bool `type:"boolean"`

	// Set to mask to remove filtered text from the transcript and replace it with
	// three asterisks ("***") as placeholder text. Set to remove to remove filtered
	// text from the transcript without using placeholder text. Set to tag to mark
	// the word in the transcription output that matches the vocabulary filter.
	// When you set the filter method to tag, the words matching your vocabulary
	// filter are not masked or removed.
	VocabularyFilterMethod *string `type:"string" enum:"VocabularyFilterMethod"`

	// The name of the vocabulary filter to use when transcribing the audio. The
	// filter that you specify must have the same language code as the transcription
	// job.
	VocabularyFilterName *string `min:"1" type:"string"`

	// The name of a vocabulary to use when processing the transcription job.
	VocabularyName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides optional settings for the StartTranscriptionJob operation.

func (Settings) GoString added in v1.13.28

func (s Settings) GoString() string

GoString returns the string representation

func (*Settings) SetChannelIdentification added in v1.15.3

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

SetChannelIdentification sets the ChannelIdentification field's value.

func (*Settings) SetMaxAlternatives added in v1.25.39

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

SetMaxAlternatives sets the MaxAlternatives field's value.

func (*Settings) SetMaxSpeakerLabels added in v1.13.28

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

SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.

func (*Settings) SetShowAlternatives added in v1.25.39

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

SetShowAlternatives sets the ShowAlternatives field's value.

func (*Settings) SetShowSpeakerLabels added in v1.13.28

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

SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.

func (*Settings) SetVocabularyFilterMethod added in v1.26.7

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

SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.

func (*Settings) SetVocabularyFilterName added in v1.26.7

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*Settings) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (Settings) String added in v1.13.28

func (s Settings) String() string

String returns the string representation

func (*Settings) Validate added in v1.13.28

func (s *Settings) Validate() error

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

type StartMedicalTranscriptionJobInput added in v1.30.5

type StartMedicalTranscriptionJobInput struct {

	// You can configure Amazon Transcribe Medical to label content in the transcription
	// output. If you specify PHI, Amazon Transcribe Medical labels the personal
	// health information (PHI) that it identifies in the transcription output.
	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`

	// The language code for the language spoken in the input media file. US English
	// (en-US) is the valid value for medical transcription jobs. Any other value
	// you enter for language code results in a BadRequestException error.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// Describes the input media file in a transcription request.
	//
	// Media is a required field
	Media *Media `type:"structure" required:"true"`

	// The audio format of the input media file.
	MediaFormat *string `type:"string" enum:"MediaFormat"`

	// The sample rate, in Hertz, of the audio track in the input media file.
	//
	// If you do not specify the media sample rate, Amazon Transcribe Medical determines
	// the sample rate. If you specify the sample rate, it must match the rate detected
	// by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleRateHertz
	// field blank and let Amazon Transcribe Medical determine the sample rate.
	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`

	// The name of the medical transcription job. You can't use the strings "."
	// or ".." by themselves as the job name. The name must also be unique within
	// an AWS account. If you try to create a medical transcription job with the
	// same name as a previous medical transcription job, you get a ConflictException
	// error.
	//
	// MedicalTranscriptionJobName is a required field
	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`

	// The Amazon S3 location where the transcription is stored.
	//
	// You must set OutputBucketName for Amazon Transcribe Medical to store the
	// transcription results. Your transcript appears in the S3 location you specify.
	// When you call the GetMedicalTranscriptionJob, the operation returns this
	// location in the TranscriptFileUri field. The S3 bucket must have permissions
	// that allow Amazon Transcribe Medical to put files in the bucket. For more
	// information, see Permissions Required for IAM User Roles (https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user).
	//
	// You can specify an AWS Key Management Service (KMS) key to encrypt the output
	// of your transcription using the OutputEncryptionKMSKeyId parameter. If you
	// don't specify a KMS key, Amazon Transcribe Medical uses the default Amazon
	// S3 key for server-side encryption of transcripts that are placed in your
	// S3 bucket.
	//
	// OutputBucketName is a required field
	OutputBucketName *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key
	// used to encrypt the output of the transcription job. The user calling the
	// StartMedicalTranscriptionJob operation must have permission to use the specified
	// KMS key.
	//
	// You use either of the following to identify a KMS key in the current account:
	//
	//    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
	//
	//    * KMS Key Alias: "alias/ExampleAlias"
	//
	// You can use either of the following to identify a KMS key in the current
	// account or another account:
	//
	//    * Amazon Resource Name (ARN) of a KMS key in the current account or another
	//    account: "arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
	//
	//    * ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias"
	//
	// If you don't specify an encryption key, the output of the medical transcription
	// job is encrypted with the default Amazon S3 key (SSE-S3).
	//
	// If you specify a KMS key to encrypt your output, you must also specify an
	// output location in the OutputBucketName parameter.
	OutputEncryptionKMSKeyId *string `min:"1" type:"string"`

	// You can specify a location in an Amazon S3 bucket to store the output of
	// your medical transcription job.
	//
	// If you don't specify an output key, Amazon Transcribe Medical stores the
	// output of your transcription job in the Amazon S3 bucket you specified. By
	// default, the object key is "your-transcription-job-name.json".
	//
	// You can use output keys to specify the Amazon S3 prefix and file name of
	// the transcription output. For example, specifying the Amazon S3 prefix, "folder1/folder2/",
	// as an output key would lead to the output being stored as "folder1/folder2/your-transcription-job-name.json".
	// If you specify "my-other-job-name.json" as the output key, the object key
	// is changed to "my-other-job-name.json". You can use an output key to change
	// both the prefix and the file name, for example "folder/my-other-job-name.json".
	//
	// If you specify an output key, you must also specify an S3 bucket in the OutputBucketName
	// parameter.
	OutputKey *string `min:"1" type:"string"`

	// Optional settings for the medical transcription job.
	Settings *MedicalTranscriptionSetting `type:"structure"`

	// The medical specialty of any clinician speaking in the input media.
	//
	// Specialty is a required field
	Specialty *string `type:"string" required:"true" enum:"Specialty"`

	// The type of speech in the input audio. CONVERSATION refers to conversations
	// between two or more speakers, e.g., a conversations between doctors and patients.
	// DICTATION refers to single-speaker dictated speech, e.g., for clinical notes.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`
	// contains filtered or unexported fields
}

func (StartMedicalTranscriptionJobInput) GoString added in v1.30.5

GoString returns the string representation

func (*StartMedicalTranscriptionJobInput) SetContentIdentificationType added in v1.38.40

SetContentIdentificationType sets the ContentIdentificationType field's value.

func (*StartMedicalTranscriptionJobInput) SetLanguageCode added in v1.30.5

SetLanguageCode sets the LanguageCode field's value.

func (*StartMedicalTranscriptionJobInput) SetMedia added in v1.30.5

SetMedia sets the Media field's value.

func (*StartMedicalTranscriptionJobInput) SetMediaFormat added in v1.30.5

SetMediaFormat sets the MediaFormat field's value.

func (*StartMedicalTranscriptionJobInput) SetMediaSampleRateHertz added in v1.30.5

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*StartMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName added in v1.30.5

func (s *StartMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *StartMedicalTranscriptionJobInput

SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.

func (*StartMedicalTranscriptionJobInput) SetOutputBucketName added in v1.30.5

SetOutputBucketName sets the OutputBucketName field's value.

func (*StartMedicalTranscriptionJobInput) SetOutputEncryptionKMSKeyId added in v1.30.5

SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.

func (*StartMedicalTranscriptionJobInput) SetOutputKey added in v1.34.31

SetOutputKey sets the OutputKey field's value.

func (*StartMedicalTranscriptionJobInput) SetSettings added in v1.30.5

SetSettings sets the Settings field's value.

func (*StartMedicalTranscriptionJobInput) SetSpecialty added in v1.30.5

SetSpecialty sets the Specialty field's value.

func (*StartMedicalTranscriptionJobInput) SetType added in v1.30.5

SetType sets the Type field's value.

func (StartMedicalTranscriptionJobInput) String added in v1.30.5

String returns the string representation

func (*StartMedicalTranscriptionJobInput) Validate added in v1.30.5

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

type StartMedicalTranscriptionJobOutput added in v1.30.5

type StartMedicalTranscriptionJobOutput struct {

	// A batch job submitted to transcribe medical speech to text.
	MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"`
	// contains filtered or unexported fields
}

func (StartMedicalTranscriptionJobOutput) GoString added in v1.30.5

GoString returns the string representation

func (*StartMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob added in v1.30.5

SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.

func (StartMedicalTranscriptionJobOutput) String added in v1.30.5

String returns the string representation

type StartTranscriptionJobInput

type StartTranscriptionJobInput struct {

	// An object that contains the request parameters for content redaction.
	ContentRedaction *ContentRedaction `type:"structure"`

	// Set this field to true to enable automatic language identification. Automatic
	// language identification is disabled by default. You receive a BadRequestException
	// error if you enter a value for a LanguageCode.
	IdentifyLanguage *bool `type:"boolean"`

	// Provides information about how a transcription job is executed. Use this
	// field to indicate that the job can be queued for deferred execution if the
	// concurrency limit is reached and there are no slots available to immediately
	// run the job.
	JobExecutionSettings *JobExecutionSettings `type:"structure"`

	// The language code for the language used in the input media file.
	//
	// To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video
	// file must be encoded at a sample rate of 16000 Hz or higher.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// An object containing a list of languages that might be present in your collection
	// of audio files. Automatic language identification chooses a language that
	// best matches the source audio from that list.
	LanguageOptions []*string `min:"2" type:"list"`

	// An object that describes the input media for a transcription job.
	//
	// Media is a required field
	Media *Media `type:"structure" required:"true"`

	// The format of the input media file.
	MediaFormat *string `type:"string" enum:"MediaFormat"`

	// The sample rate, in Hertz, of the audio track in the input media file.
	//
	// If you do not specify the media sample rate, Amazon Transcribe determines
	// the sample rate. If you specify the sample rate, it must match the sample
	// rate detected by Amazon Transcribe. In most cases, you should leave the MediaSampleRateHertz
	// field blank and let Amazon Transcribe determine the sample rate.
	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`

	// Choose the custom language model you use for your transcription job in this
	// parameter.
	ModelSettings *ModelSettings `type:"structure"`

	// The location where the transcription is stored.
	//
	// If you set the OutputBucketName, Amazon Transcribe puts the transcript in
	// the specified S3 bucket. When you call the GetTranscriptionJob operation,
	// the operation returns this location in the TranscriptFileUri field. If you
	// enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.
	// If you enable content redaction and choose to output an unredacted transcript,
	// that transcript's location still appears in the TranscriptFileUri. The S3
	// bucket must have permissions that allow Amazon Transcribe to put files in
	// the bucket. For more information, see Permissions Required for IAM User Roles
	// (https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user).
	//
	// You can specify an AWS Key Management Service (KMS) key to encrypt the output
	// of your transcription using the OutputEncryptionKMSKeyId parameter. If you
	// don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key
	// for server-side encryption of transcripts that are placed in your S3 bucket.
	//
	// If you don't set the OutputBucketName, Amazon Transcribe generates a pre-signed
	// URL, a shareable URL that provides secure access to your transcription, and
	// returns it in the TranscriptFileUri field. Use this URL to download the transcription.
	OutputBucketName *string `type:"string"`

	// The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key
	// used to encrypt the output of the transcription job. The user calling the
	// StartTranscriptionJob operation must have permission to use the specified
	// KMS key.
	//
	// You can use either of the following to identify a KMS key in the current
	// account:
	//
	//    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
	//
	//    * KMS Key Alias: "alias/ExampleAlias"
	//
	// You can use either of the following to identify a KMS key in the current
	// account or another account:
	//
	//    * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:region:account
	//    ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
	//
	//    * ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias"
	//
	// If you don't specify an encryption key, the output of the transcription job
	// is encrypted with the default Amazon S3 key (SSE-S3).
	//
	// If you specify a KMS key to encrypt your output, you must also specify an
	// output location in the OutputBucketName parameter.
	OutputEncryptionKMSKeyId *string `min:"1" type:"string"`

	// You can specify a location in an Amazon S3 bucket to store the output of
	// your transcription job.
	//
	// If you don't specify an output key, Amazon Transcribe stores the output of
	// your transcription job in the Amazon S3 bucket you specified. By default,
	// the object key is "your-transcription-job-name.json".
	//
	// You can use output keys to specify the Amazon S3 prefix and file name of
	// the transcription output. For example, specifying the Amazon S3 prefix, "folder1/folder2/",
	// as an output key would lead to the output being stored as "folder1/folder2/your-transcription-job-name.json".
	// If you specify "my-other-job-name.json" as the output key, the object key
	// is changed to "my-other-job-name.json". You can use an output key to change
	// both the prefix and the file name, for example "folder/my-other-job-name.json".
	//
	// If you specify an output key, you must also specify an S3 bucket in the OutputBucketName
	// parameter.
	OutputKey *string `min:"1" type:"string"`

	// A Settings object that provides optional settings for a transcription job.
	Settings *Settings `type:"structure"`

	// The name of the job. You can't use the strings "." or ".." by themselves
	// as the job name. The name must also be unique within an AWS account. If you
	// try to create a transcription job with the same name as a previous transcription
	// job, you get a ConflictException error.
	//
	// TranscriptionJobName is a required field
	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartTranscriptionJobInput) GoString

func (s StartTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*StartTranscriptionJobInput) SetContentRedaction added in v1.29.11

SetContentRedaction sets the ContentRedaction field's value.

func (*StartTranscriptionJobInput) SetIdentifyLanguage added in v1.34.24

func (s *StartTranscriptionJobInput) SetIdentifyLanguage(v bool) *StartTranscriptionJobInput

SetIdentifyLanguage sets the IdentifyLanguage field's value.

func (*StartTranscriptionJobInput) SetJobExecutionSettings added in v1.26.6

SetJobExecutionSettings sets the JobExecutionSettings field's value.

func (*StartTranscriptionJobInput) SetLanguageCode

SetLanguageCode sets the LanguageCode field's value.

func (*StartTranscriptionJobInput) SetLanguageOptions added in v1.34.24

func (s *StartTranscriptionJobInput) SetLanguageOptions(v []*string) *StartTranscriptionJobInput

SetLanguageOptions sets the LanguageOptions field's value.

func (*StartTranscriptionJobInput) SetMedia

SetMedia sets the Media field's value.

func (*StartTranscriptionJobInput) SetMediaFormat

SetMediaFormat sets the MediaFormat field's value.

func (*StartTranscriptionJobInput) SetMediaSampleRateHertz

func (s *StartTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartTranscriptionJobInput

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*StartTranscriptionJobInput) SetModelSettings added in v1.33.20

SetModelSettings sets the ModelSettings field's value.

func (*StartTranscriptionJobInput) SetOutputBucketName added in v1.14.22

SetOutputBucketName sets the OutputBucketName field's value.

func (*StartTranscriptionJobInput) SetOutputEncryptionKMSKeyId added in v1.24.5

func (s *StartTranscriptionJobInput) SetOutputEncryptionKMSKeyId(v string) *StartTranscriptionJobInput

SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.

func (*StartTranscriptionJobInput) SetOutputKey added in v1.34.31

SetOutputKey sets the OutputKey field's value.

func (*StartTranscriptionJobInput) SetSettings added in v1.13.28

SetSettings sets the Settings field's value.

func (*StartTranscriptionJobInput) SetTranscriptionJobName

func (s *StartTranscriptionJobInput) SetTranscriptionJobName(v string) *StartTranscriptionJobInput

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (StartTranscriptionJobInput) String

String returns the string representation

func (*StartTranscriptionJobInput) Validate

func (s *StartTranscriptionJobInput) Validate() error

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

type StartTranscriptionJobOutput

type StartTranscriptionJobOutput struct {

	// An object containing details of the asynchronous transcription job.
	TranscriptionJob *TranscriptionJob `type:"structure"`
	// contains filtered or unexported fields
}

func (StartTranscriptionJobOutput) GoString

func (s StartTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (*StartTranscriptionJobOutput) SetTranscriptionJob

SetTranscriptionJob sets the TranscriptionJob field's value.

func (StartTranscriptionJobOutput) String

String returns the string representation

type TranscribeService

type TranscribeService struct {
	*client.Client
}

TranscribeService provides the API operation methods for making requests to Amazon Transcribe Service. See this package's package overview docs for details on the service.

TranscribeService methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New creates a new instance of the TranscribeService client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a TranscribeService client from just a session.
svc := transcribeservice.New(mySession)

// Create a TranscribeService client with additional configuration
svc := transcribeservice.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*TranscribeService) CreateLanguageModel added in v1.33.20

CreateLanguageModel API operation for Amazon Transcribe Service.

Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation CreateLanguageModel for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel

func (*TranscribeService) CreateLanguageModelRequest added in v1.33.20

func (c *TranscribeService) CreateLanguageModelRequest(input *CreateLanguageModelInput) (req *request.Request, output *CreateLanguageModelOutput)

CreateLanguageModelRequest generates a "aws/request.Request" representing the client's request for the CreateLanguageModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateLanguageModel for more information on using the CreateLanguageModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateLanguageModelRequest method.
req, resp := client.CreateLanguageModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel

func (*TranscribeService) CreateLanguageModelWithContext added in v1.33.20

func (c *TranscribeService) CreateLanguageModelWithContext(ctx aws.Context, input *CreateLanguageModelInput, opts ...request.Option) (*CreateLanguageModelOutput, error)

CreateLanguageModelWithContext is the same as CreateLanguageModel with the addition of the ability to pass a context and additional request options.

See CreateLanguageModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) CreateMedicalVocabulary added in v1.30.17

CreateMedicalVocabulary API operation for Amazon Transcribe Service.

Creates a new custom vocabulary that you can use to change how Amazon Transcribe Medical transcribes your audio file.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation CreateMedicalVocabulary for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary

func (*TranscribeService) CreateMedicalVocabularyRequest added in v1.30.17

func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalVocabularyInput) (req *request.Request, output *CreateMedicalVocabularyOutput)

CreateMedicalVocabularyRequest generates a "aws/request.Request" representing the client's request for the CreateMedicalVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateMedicalVocabulary for more information on using the CreateMedicalVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateMedicalVocabularyRequest method.
req, resp := client.CreateMedicalVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary

func (*TranscribeService) CreateMedicalVocabularyWithContext added in v1.30.17

func (c *TranscribeService) CreateMedicalVocabularyWithContext(ctx aws.Context, input *CreateMedicalVocabularyInput, opts ...request.Option) (*CreateMedicalVocabularyOutput, error)

CreateMedicalVocabularyWithContext is the same as CreateMedicalVocabulary with the addition of the ability to pass a context and additional request options.

See CreateMedicalVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) CreateVocabulary added in v1.13.28

func (c *TranscribeService) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error)

CreateVocabulary API operation for Amazon Transcribe Service.

Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation CreateVocabulary for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary

func (*TranscribeService) CreateVocabularyFilter added in v1.26.7

CreateVocabularyFilter API operation for Amazon Transcribe Service.

Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation CreateVocabularyFilter for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter

func (*TranscribeService) CreateVocabularyFilterRequest added in v1.26.7

func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabularyFilterInput) (req *request.Request, output *CreateVocabularyFilterOutput)

CreateVocabularyFilterRequest generates a "aws/request.Request" representing the client's request for the CreateVocabularyFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateVocabularyFilter for more information on using the CreateVocabularyFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateVocabularyFilterRequest method.
req, resp := client.CreateVocabularyFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter

func (*TranscribeService) CreateVocabularyFilterWithContext added in v1.26.7

func (c *TranscribeService) CreateVocabularyFilterWithContext(ctx aws.Context, input *CreateVocabularyFilterInput, opts ...request.Option) (*CreateVocabularyFilterOutput, error)

CreateVocabularyFilterWithContext is the same as CreateVocabularyFilter with the addition of the ability to pass a context and additional request options.

See CreateVocabularyFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) CreateVocabularyRequest added in v1.13.28

func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput) (req *request.Request, output *CreateVocabularyOutput)

CreateVocabularyRequest generates a "aws/request.Request" representing the client's request for the CreateVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateVocabulary for more information on using the CreateVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateVocabularyRequest method.
req, resp := client.CreateVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary

func (*TranscribeService) CreateVocabularyWithContext added in v1.13.28

func (c *TranscribeService) CreateVocabularyWithContext(ctx aws.Context, input *CreateVocabularyInput, opts ...request.Option) (*CreateVocabularyOutput, error)

CreateVocabularyWithContext is the same as CreateVocabulary with the addition of the ability to pass a context and additional request options.

See CreateVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteLanguageModel added in v1.33.20

DeleteLanguageModel API operation for Amazon Transcribe Service.

Deletes a custom language model using its name.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteLanguageModel for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel

func (*TranscribeService) DeleteLanguageModelRequest added in v1.33.20

func (c *TranscribeService) DeleteLanguageModelRequest(input *DeleteLanguageModelInput) (req *request.Request, output *DeleteLanguageModelOutput)

DeleteLanguageModelRequest generates a "aws/request.Request" representing the client's request for the DeleteLanguageModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteLanguageModel for more information on using the DeleteLanguageModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteLanguageModelRequest method.
req, resp := client.DeleteLanguageModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel

func (*TranscribeService) DeleteLanguageModelWithContext added in v1.33.20

func (c *TranscribeService) DeleteLanguageModelWithContext(ctx aws.Context, input *DeleteLanguageModelInput, opts ...request.Option) (*DeleteLanguageModelOutput, error)

DeleteLanguageModelWithContext is the same as DeleteLanguageModel with the addition of the ability to pass a context and additional request options.

See DeleteLanguageModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteMedicalTranscriptionJob added in v1.30.5

DeleteMedicalTranscriptionJob API operation for Amazon Transcribe Service.

Deletes a transcription job generated by Amazon Transcribe Medical and any related information.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteMedicalTranscriptionJob for usage and error information.

Returned Error Types:

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob

func (*TranscribeService) DeleteMedicalTranscriptionJobRequest added in v1.30.5

func (c *TranscribeService) DeleteMedicalTranscriptionJobRequest(input *DeleteMedicalTranscriptionJobInput) (req *request.Request, output *DeleteMedicalTranscriptionJobOutput)

DeleteMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the DeleteMedicalTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMedicalTranscriptionJob for more information on using the DeleteMedicalTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMedicalTranscriptionJobRequest method.
req, resp := client.DeleteMedicalTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob

func (*TranscribeService) DeleteMedicalTranscriptionJobWithContext added in v1.30.5

func (c *TranscribeService) DeleteMedicalTranscriptionJobWithContext(ctx aws.Context, input *DeleteMedicalTranscriptionJobInput, opts ...request.Option) (*DeleteMedicalTranscriptionJobOutput, error)

DeleteMedicalTranscriptionJobWithContext is the same as DeleteMedicalTranscriptionJob with the addition of the ability to pass a context and additional request options.

See DeleteMedicalTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteMedicalVocabulary added in v1.30.17

DeleteMedicalVocabulary API operation for Amazon Transcribe Service.

Deletes a vocabulary from Amazon Transcribe Medical.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteMedicalVocabulary for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary

func (*TranscribeService) DeleteMedicalVocabularyRequest added in v1.30.17

func (c *TranscribeService) DeleteMedicalVocabularyRequest(input *DeleteMedicalVocabularyInput) (req *request.Request, output *DeleteMedicalVocabularyOutput)

DeleteMedicalVocabularyRequest generates a "aws/request.Request" representing the client's request for the DeleteMedicalVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteMedicalVocabulary for more information on using the DeleteMedicalVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteMedicalVocabularyRequest method.
req, resp := client.DeleteMedicalVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary

func (*TranscribeService) DeleteMedicalVocabularyWithContext added in v1.30.17

func (c *TranscribeService) DeleteMedicalVocabularyWithContext(ctx aws.Context, input *DeleteMedicalVocabularyInput, opts ...request.Option) (*DeleteMedicalVocabularyOutput, error)

DeleteMedicalVocabularyWithContext is the same as DeleteMedicalVocabulary with the addition of the ability to pass a context and additional request options.

See DeleteMedicalVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteTranscriptionJob added in v1.15.52

DeleteTranscriptionJob API operation for Amazon Transcribe Service.

Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteTranscriptionJob for usage and error information.

Returned Error Types:

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob

func (*TranscribeService) DeleteTranscriptionJobRequest added in v1.15.52

func (c *TranscribeService) DeleteTranscriptionJobRequest(input *DeleteTranscriptionJobInput) (req *request.Request, output *DeleteTranscriptionJobOutput)

DeleteTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the DeleteTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteTranscriptionJob for more information on using the DeleteTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteTranscriptionJobRequest method.
req, resp := client.DeleteTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob

func (*TranscribeService) DeleteTranscriptionJobWithContext added in v1.15.52

func (c *TranscribeService) DeleteTranscriptionJobWithContext(ctx aws.Context, input *DeleteTranscriptionJobInput, opts ...request.Option) (*DeleteTranscriptionJobOutput, error)

DeleteTranscriptionJobWithContext is the same as DeleteTranscriptionJob with the addition of the ability to pass a context and additional request options.

See DeleteTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteVocabulary added in v1.13.28

func (c *TranscribeService) DeleteVocabulary(input *DeleteVocabularyInput) (*DeleteVocabularyOutput, error)

DeleteVocabulary API operation for Amazon Transcribe Service.

Deletes a vocabulary from Amazon Transcribe.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteVocabulary for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary

func (*TranscribeService) DeleteVocabularyFilter added in v1.26.7

DeleteVocabularyFilter API operation for Amazon Transcribe Service.

Removes a vocabulary filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DeleteVocabularyFilter for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter

func (*TranscribeService) DeleteVocabularyFilterRequest added in v1.26.7

func (c *TranscribeService) DeleteVocabularyFilterRequest(input *DeleteVocabularyFilterInput) (req *request.Request, output *DeleteVocabularyFilterOutput)

DeleteVocabularyFilterRequest generates a "aws/request.Request" representing the client's request for the DeleteVocabularyFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVocabularyFilter for more information on using the DeleteVocabularyFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVocabularyFilterRequest method.
req, resp := client.DeleteVocabularyFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter

func (*TranscribeService) DeleteVocabularyFilterWithContext added in v1.26.7

func (c *TranscribeService) DeleteVocabularyFilterWithContext(ctx aws.Context, input *DeleteVocabularyFilterInput, opts ...request.Option) (*DeleteVocabularyFilterOutput, error)

DeleteVocabularyFilterWithContext is the same as DeleteVocabularyFilter with the addition of the ability to pass a context and additional request options.

See DeleteVocabularyFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DeleteVocabularyRequest added in v1.13.28

func (c *TranscribeService) DeleteVocabularyRequest(input *DeleteVocabularyInput) (req *request.Request, output *DeleteVocabularyOutput)

DeleteVocabularyRequest generates a "aws/request.Request" representing the client's request for the DeleteVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVocabulary for more information on using the DeleteVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVocabularyRequest method.
req, resp := client.DeleteVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary

func (*TranscribeService) DeleteVocabularyWithContext added in v1.13.28

func (c *TranscribeService) DeleteVocabularyWithContext(ctx aws.Context, input *DeleteVocabularyInput, opts ...request.Option) (*DeleteVocabularyOutput, error)

DeleteVocabularyWithContext is the same as DeleteVocabulary with the addition of the ability to pass a context and additional request options.

See DeleteVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) DescribeLanguageModel added in v1.33.20

DescribeLanguageModel API operation for Amazon Transcribe Service.

Gets information about a single custom language model. Use this information to see details about the language model in your AWS account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation DescribeLanguageModel for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel

func (*TranscribeService) DescribeLanguageModelRequest added in v1.33.20

func (c *TranscribeService) DescribeLanguageModelRequest(input *DescribeLanguageModelInput) (req *request.Request, output *DescribeLanguageModelOutput)

DescribeLanguageModelRequest generates a "aws/request.Request" representing the client's request for the DescribeLanguageModel operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeLanguageModel for more information on using the DescribeLanguageModel API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeLanguageModelRequest method.
req, resp := client.DescribeLanguageModelRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel

func (*TranscribeService) DescribeLanguageModelWithContext added in v1.33.20

func (c *TranscribeService) DescribeLanguageModelWithContext(ctx aws.Context, input *DescribeLanguageModelInput, opts ...request.Option) (*DescribeLanguageModelOutput, error)

DescribeLanguageModelWithContext is the same as DescribeLanguageModel with the addition of the ability to pass a context and additional request options.

See DescribeLanguageModel for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) GetMedicalTranscriptionJob added in v1.30.5

GetMedicalTranscriptionJob API operation for Amazon Transcribe Service.

Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation GetMedicalTranscriptionJob for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob

func (*TranscribeService) GetMedicalTranscriptionJobRequest added in v1.30.5

func (c *TranscribeService) GetMedicalTranscriptionJobRequest(input *GetMedicalTranscriptionJobInput) (req *request.Request, output *GetMedicalTranscriptionJobOutput)

GetMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the GetMedicalTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMedicalTranscriptionJob for more information on using the GetMedicalTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMedicalTranscriptionJobRequest method.
req, resp := client.GetMedicalTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob

func (*TranscribeService) GetMedicalTranscriptionJobWithContext added in v1.30.5

func (c *TranscribeService) GetMedicalTranscriptionJobWithContext(ctx aws.Context, input *GetMedicalTranscriptionJobInput, opts ...request.Option) (*GetMedicalTranscriptionJobOutput, error)

GetMedicalTranscriptionJobWithContext is the same as GetMedicalTranscriptionJob with the addition of the ability to pass a context and additional request options.

See GetMedicalTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) GetMedicalVocabulary added in v1.30.17

GetMedicalVocabulary API operation for Amazon Transcribe Service.

Retrieves information about a medical vocabulary.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation GetMedicalVocabulary for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary

func (*TranscribeService) GetMedicalVocabularyRequest added in v1.30.17

func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabularyInput) (req *request.Request, output *GetMedicalVocabularyOutput)

GetMedicalVocabularyRequest generates a "aws/request.Request" representing the client's request for the GetMedicalVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetMedicalVocabulary for more information on using the GetMedicalVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetMedicalVocabularyRequest method.
req, resp := client.GetMedicalVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary

func (*TranscribeService) GetMedicalVocabularyWithContext added in v1.30.17

func (c *TranscribeService) GetMedicalVocabularyWithContext(ctx aws.Context, input *GetMedicalVocabularyInput, opts ...request.Option) (*GetMedicalVocabularyOutput, error)

GetMedicalVocabularyWithContext is the same as GetMedicalVocabulary with the addition of the ability to pass a context and additional request options.

See GetMedicalVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) GetTranscriptionJob

GetTranscriptionJob API operation for Amazon Transcribe Service.

Returns information about a transcription job. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation GetTranscriptionJob for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob

func (*TranscribeService) GetTranscriptionJobRequest

func (c *TranscribeService) GetTranscriptionJobRequest(input *GetTranscriptionJobInput) (req *request.Request, output *GetTranscriptionJobOutput)

GetTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the GetTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetTranscriptionJob for more information on using the GetTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetTranscriptionJobRequest method.
req, resp := client.GetTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob

func (*TranscribeService) GetTranscriptionJobWithContext

func (c *TranscribeService) GetTranscriptionJobWithContext(ctx aws.Context, input *GetTranscriptionJobInput, opts ...request.Option) (*GetTranscriptionJobOutput, error)

GetTranscriptionJobWithContext is the same as GetTranscriptionJob with the addition of the ability to pass a context and additional request options.

See GetTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) GetVocabulary added in v1.13.28

func (c *TranscribeService) GetVocabulary(input *GetVocabularyInput) (*GetVocabularyOutput, error)

GetVocabulary API operation for Amazon Transcribe Service.

Gets information about a vocabulary.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation GetVocabulary for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary

func (*TranscribeService) GetVocabularyFilter added in v1.26.7

GetVocabularyFilter API operation for Amazon Transcribe Service.

Returns information about a vocabulary filter.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation GetVocabularyFilter for usage and error information.

Returned Error Types:

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter

func (*TranscribeService) GetVocabularyFilterRequest added in v1.26.7

func (c *TranscribeService) GetVocabularyFilterRequest(input *GetVocabularyFilterInput) (req *request.Request, output *GetVocabularyFilterOutput)

GetVocabularyFilterRequest generates a "aws/request.Request" representing the client's request for the GetVocabularyFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVocabularyFilter for more information on using the GetVocabularyFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVocabularyFilterRequest method.
req, resp := client.GetVocabularyFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter

func (*TranscribeService) GetVocabularyFilterWithContext added in v1.26.7

func (c *TranscribeService) GetVocabularyFilterWithContext(ctx aws.Context, input *GetVocabularyFilterInput, opts ...request.Option) (*GetVocabularyFilterOutput, error)

GetVocabularyFilterWithContext is the same as GetVocabularyFilter with the addition of the ability to pass a context and additional request options.

See GetVocabularyFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) GetVocabularyRequest added in v1.13.28

func (c *TranscribeService) GetVocabularyRequest(input *GetVocabularyInput) (req *request.Request, output *GetVocabularyOutput)

GetVocabularyRequest generates a "aws/request.Request" representing the client's request for the GetVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetVocabulary for more information on using the GetVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetVocabularyRequest method.
req, resp := client.GetVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary

func (*TranscribeService) GetVocabularyWithContext added in v1.13.28

func (c *TranscribeService) GetVocabularyWithContext(ctx aws.Context, input *GetVocabularyInput, opts ...request.Option) (*GetVocabularyOutput, error)

GetVocabularyWithContext is the same as GetVocabulary with the addition of the ability to pass a context and additional request options.

See GetVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListLanguageModels added in v1.33.20

func (c *TranscribeService) ListLanguageModels(input *ListLanguageModelsInput) (*ListLanguageModelsOutput, error)

ListLanguageModels API operation for Amazon Transcribe Service.

Provides more information about the custom language models you've created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListLanguageModels for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels

func (*TranscribeService) ListLanguageModelsPages added in v1.33.20

func (c *TranscribeService) ListLanguageModelsPages(input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool) error

ListLanguageModelsPages iterates over the pages of a ListLanguageModels operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListLanguageModels method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListLanguageModels operation.
pageNum := 0
err := client.ListLanguageModelsPages(params,
    func(page *transcribeservice.ListLanguageModelsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListLanguageModelsPagesWithContext added in v1.33.20

func (c *TranscribeService) ListLanguageModelsPagesWithContext(ctx aws.Context, input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool, opts ...request.Option) error

ListLanguageModelsPagesWithContext same as ListLanguageModelsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListLanguageModelsRequest added in v1.33.20

func (c *TranscribeService) ListLanguageModelsRequest(input *ListLanguageModelsInput) (req *request.Request, output *ListLanguageModelsOutput)

ListLanguageModelsRequest generates a "aws/request.Request" representing the client's request for the ListLanguageModels operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListLanguageModels for more information on using the ListLanguageModels API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListLanguageModelsRequest method.
req, resp := client.ListLanguageModelsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels

func (*TranscribeService) ListLanguageModelsWithContext added in v1.33.20

func (c *TranscribeService) ListLanguageModelsWithContext(ctx aws.Context, input *ListLanguageModelsInput, opts ...request.Option) (*ListLanguageModelsOutput, error)

ListLanguageModelsWithContext is the same as ListLanguageModels with the addition of the ability to pass a context and additional request options.

See ListLanguageModels for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListMedicalTranscriptionJobs added in v1.30.5

ListMedicalTranscriptionJobs API operation for Amazon Transcribe Service.

Lists medical transcription jobs with a specified status or substring that matches their names.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListMedicalTranscriptionJobs for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs

func (*TranscribeService) ListMedicalTranscriptionJobsPages added in v1.30.5

func (c *TranscribeService) ListMedicalTranscriptionJobsPages(input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool) error

ListMedicalTranscriptionJobsPages iterates over the pages of a ListMedicalTranscriptionJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMedicalTranscriptionJobs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation.
pageNum := 0
err := client.ListMedicalTranscriptionJobsPages(params,
    func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListMedicalTranscriptionJobsPagesWithContext added in v1.30.5

func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool, opts ...request.Option) error

ListMedicalTranscriptionJobsPagesWithContext same as ListMedicalTranscriptionJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListMedicalTranscriptionJobsRequest added in v1.30.5

func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedicalTranscriptionJobsInput) (req *request.Request, output *ListMedicalTranscriptionJobsOutput)

ListMedicalTranscriptionJobsRequest generates a "aws/request.Request" representing the client's request for the ListMedicalTranscriptionJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMedicalTranscriptionJobs for more information on using the ListMedicalTranscriptionJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMedicalTranscriptionJobsRequest method.
req, resp := client.ListMedicalTranscriptionJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs

func (*TranscribeService) ListMedicalTranscriptionJobsWithContext added in v1.30.5

func (c *TranscribeService) ListMedicalTranscriptionJobsWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, opts ...request.Option) (*ListMedicalTranscriptionJobsOutput, error)

ListMedicalTranscriptionJobsWithContext is the same as ListMedicalTranscriptionJobs with the addition of the ability to pass a context and additional request options.

See ListMedicalTranscriptionJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListMedicalVocabularies added in v1.30.17

ListMedicalVocabularies API operation for Amazon Transcribe Service.

Returns a list of vocabularies that match the specified criteria. If you don't enter a value in any of the request parameters, returns the entire list of vocabularies.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListMedicalVocabularies for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies

func (*TranscribeService) ListMedicalVocabulariesPages added in v1.30.17

func (c *TranscribeService) ListMedicalVocabulariesPages(input *ListMedicalVocabulariesInput, fn func(*ListMedicalVocabulariesOutput, bool) bool) error

ListMedicalVocabulariesPages iterates over the pages of a ListMedicalVocabularies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListMedicalVocabularies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListMedicalVocabularies operation.
pageNum := 0
err := client.ListMedicalVocabulariesPages(params,
    func(page *transcribeservice.ListMedicalVocabulariesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListMedicalVocabulariesPagesWithContext added in v1.30.17

func (c *TranscribeService) ListMedicalVocabulariesPagesWithContext(ctx aws.Context, input *ListMedicalVocabulariesInput, fn func(*ListMedicalVocabulariesOutput, bool) bool, opts ...request.Option) error

ListMedicalVocabulariesPagesWithContext same as ListMedicalVocabulariesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListMedicalVocabulariesRequest added in v1.30.17

func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVocabulariesInput) (req *request.Request, output *ListMedicalVocabulariesOutput)

ListMedicalVocabulariesRequest generates a "aws/request.Request" representing the client's request for the ListMedicalVocabularies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListMedicalVocabularies for more information on using the ListMedicalVocabularies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListMedicalVocabulariesRequest method.
req, resp := client.ListMedicalVocabulariesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies

func (*TranscribeService) ListMedicalVocabulariesWithContext added in v1.30.17

func (c *TranscribeService) ListMedicalVocabulariesWithContext(ctx aws.Context, input *ListMedicalVocabulariesInput, opts ...request.Option) (*ListMedicalVocabulariesOutput, error)

ListMedicalVocabulariesWithContext is the same as ListMedicalVocabularies with the addition of the ability to pass a context and additional request options.

See ListMedicalVocabularies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListTranscriptionJobs

ListTranscriptionJobs API operation for Amazon Transcribe Service.

Lists transcription jobs with the specified status.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListTranscriptionJobs for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs

func (*TranscribeService) ListTranscriptionJobsPages

func (c *TranscribeService) ListTranscriptionJobsPages(input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool) error

ListTranscriptionJobsPages iterates over the pages of a ListTranscriptionJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListTranscriptionJobs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListTranscriptionJobs operation.
pageNum := 0
err := client.ListTranscriptionJobsPages(params,
    func(page *transcribeservice.ListTranscriptionJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListTranscriptionJobsPagesWithContext

func (c *TranscribeService) ListTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool, opts ...request.Option) error

ListTranscriptionJobsPagesWithContext same as ListTranscriptionJobsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListTranscriptionJobsRequest

func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptionJobsInput) (req *request.Request, output *ListTranscriptionJobsOutput)

ListTranscriptionJobsRequest generates a "aws/request.Request" representing the client's request for the ListTranscriptionJobs operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListTranscriptionJobs for more information on using the ListTranscriptionJobs API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListTranscriptionJobsRequest method.
req, resp := client.ListTranscriptionJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs

func (*TranscribeService) ListTranscriptionJobsWithContext

func (c *TranscribeService) ListTranscriptionJobsWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, opts ...request.Option) (*ListTranscriptionJobsOutput, error)

ListTranscriptionJobsWithContext is the same as ListTranscriptionJobs with the addition of the ability to pass a context and additional request options.

See ListTranscriptionJobs for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListVocabularies added in v1.13.28

func (c *TranscribeService) ListVocabularies(input *ListVocabulariesInput) (*ListVocabulariesOutput, error)

ListVocabularies API operation for Amazon Transcribe Service.

Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListVocabularies for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies

func (*TranscribeService) ListVocabulariesPages added in v1.13.28

func (c *TranscribeService) ListVocabulariesPages(input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool) error

ListVocabulariesPages iterates over the pages of a ListVocabularies operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVocabularies method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVocabularies operation.
pageNum := 0
err := client.ListVocabulariesPages(params,
    func(page *transcribeservice.ListVocabulariesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListVocabulariesPagesWithContext added in v1.13.28

func (c *TranscribeService) ListVocabulariesPagesWithContext(ctx aws.Context, input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool, opts ...request.Option) error

ListVocabulariesPagesWithContext same as ListVocabulariesPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListVocabulariesRequest added in v1.13.28

func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput) (req *request.Request, output *ListVocabulariesOutput)

ListVocabulariesRequest generates a "aws/request.Request" representing the client's request for the ListVocabularies operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListVocabularies for more information on using the ListVocabularies API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListVocabulariesRequest method.
req, resp := client.ListVocabulariesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies

func (*TranscribeService) ListVocabulariesWithContext added in v1.13.28

func (c *TranscribeService) ListVocabulariesWithContext(ctx aws.Context, input *ListVocabulariesInput, opts ...request.Option) (*ListVocabulariesOutput, error)

ListVocabulariesWithContext is the same as ListVocabularies with the addition of the ability to pass a context and additional request options.

See ListVocabularies for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListVocabularyFilters added in v1.26.7

ListVocabularyFilters API operation for Amazon Transcribe Service.

Gets information about vocabulary filters.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation ListVocabularyFilters for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters

func (*TranscribeService) ListVocabularyFiltersPages added in v1.26.7

func (c *TranscribeService) ListVocabularyFiltersPages(input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool) error

ListVocabularyFiltersPages iterates over the pages of a ListVocabularyFilters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListVocabularyFilters method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListVocabularyFilters operation.
pageNum := 0
err := client.ListVocabularyFiltersPages(params,
    func(page *transcribeservice.ListVocabularyFiltersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*TranscribeService) ListVocabularyFiltersPagesWithContext added in v1.26.7

func (c *TranscribeService) ListVocabularyFiltersPagesWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool, opts ...request.Option) error

ListVocabularyFiltersPagesWithContext same as ListVocabularyFiltersPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) ListVocabularyFiltersRequest added in v1.26.7

func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFiltersInput) (req *request.Request, output *ListVocabularyFiltersOutput)

ListVocabularyFiltersRequest generates a "aws/request.Request" representing the client's request for the ListVocabularyFilters operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListVocabularyFilters for more information on using the ListVocabularyFilters API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListVocabularyFiltersRequest method.
req, resp := client.ListVocabularyFiltersRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters

func (*TranscribeService) ListVocabularyFiltersWithContext added in v1.26.7

func (c *TranscribeService) ListVocabularyFiltersWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, opts ...request.Option) (*ListVocabularyFiltersOutput, error)

ListVocabularyFiltersWithContext is the same as ListVocabularyFilters with the addition of the ability to pass a context and additional request options.

See ListVocabularyFilters for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) StartMedicalTranscriptionJob added in v1.30.5

StartMedicalTranscriptionJob API operation for Amazon Transcribe Service.

Starts a batch job to transcribe medical speech to text.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation StartMedicalTranscriptionJob for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob

func (*TranscribeService) StartMedicalTranscriptionJobRequest added in v1.30.5

func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedicalTranscriptionJobInput) (req *request.Request, output *StartMedicalTranscriptionJobOutput)

StartMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the StartMedicalTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartMedicalTranscriptionJob for more information on using the StartMedicalTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartMedicalTranscriptionJobRequest method.
req, resp := client.StartMedicalTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob

func (*TranscribeService) StartMedicalTranscriptionJobWithContext added in v1.30.5

func (c *TranscribeService) StartMedicalTranscriptionJobWithContext(ctx aws.Context, input *StartMedicalTranscriptionJobInput, opts ...request.Option) (*StartMedicalTranscriptionJobOutput, error)

StartMedicalTranscriptionJobWithContext is the same as StartMedicalTranscriptionJob with the addition of the ability to pass a context and additional request options.

See StartMedicalTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) StartTranscriptionJob

StartTranscriptionJob API operation for Amazon Transcribe Service.

Starts an asynchronous job to transcribe speech to text.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation StartTranscriptionJob for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob

func (*TranscribeService) StartTranscriptionJobRequest

func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscriptionJobInput) (req *request.Request, output *StartTranscriptionJobOutput)

StartTranscriptionJobRequest generates a "aws/request.Request" representing the client's request for the StartTranscriptionJob operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See StartTranscriptionJob for more information on using the StartTranscriptionJob API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the StartTranscriptionJobRequest method.
req, resp := client.StartTranscriptionJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob

func (*TranscribeService) StartTranscriptionJobWithContext

func (c *TranscribeService) StartTranscriptionJobWithContext(ctx aws.Context, input *StartTranscriptionJobInput, opts ...request.Option) (*StartTranscriptionJobOutput, error)

StartTranscriptionJobWithContext is the same as StartTranscriptionJob with the addition of the ability to pass a context and additional request options.

See StartTranscriptionJob for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) UpdateMedicalVocabulary added in v1.30.17

UpdateMedicalVocabulary API operation for Amazon Transcribe Service.

Updates a vocabulary with new values that you provide in a different text file from the one you used to create the vocabulary. The UpdateMedicalVocabulary operation overwrites all of the existing information with the values that you provide in the request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation UpdateMedicalVocabulary for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary

func (*TranscribeService) UpdateMedicalVocabularyRequest added in v1.30.17

func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalVocabularyInput) (req *request.Request, output *UpdateMedicalVocabularyOutput)

UpdateMedicalVocabularyRequest generates a "aws/request.Request" representing the client's request for the UpdateMedicalVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateMedicalVocabulary for more information on using the UpdateMedicalVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateMedicalVocabularyRequest method.
req, resp := client.UpdateMedicalVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary

func (*TranscribeService) UpdateMedicalVocabularyWithContext added in v1.30.17

func (c *TranscribeService) UpdateMedicalVocabularyWithContext(ctx aws.Context, input *UpdateMedicalVocabularyInput, opts ...request.Option) (*UpdateMedicalVocabularyOutput, error)

UpdateMedicalVocabularyWithContext is the same as UpdateMedicalVocabulary with the addition of the ability to pass a context and additional request options.

See UpdateMedicalVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) UpdateVocabulary added in v1.13.28

func (c *TranscribeService) UpdateVocabulary(input *UpdateVocabularyInput) (*UpdateVocabularyOutput, error)

UpdateVocabulary API operation for Amazon Transcribe Service.

Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the existing information with the values that you provide in the request.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation UpdateVocabulary for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

  • ConflictException There is already a resource with that name.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary

func (*TranscribeService) UpdateVocabularyFilter added in v1.26.7

UpdateVocabularyFilter API operation for Amazon Transcribe Service.

Updates a vocabulary filter with a new list of filtered words.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Amazon Transcribe Service's API operation UpdateVocabularyFilter for usage and error information.

Returned Error Types:

  • BadRequestException Your request didn't pass one or more validation tests. For example, if the entity that you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

  • LimitExceededException Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

  • InternalFailureException There was an internal error. Check the error message and try your request again.

  • NotFoundException We can't find the requested resource. Check the name and try your request again.

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter

func (*TranscribeService) UpdateVocabularyFilterRequest added in v1.26.7

func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabularyFilterInput) (req *request.Request, output *UpdateVocabularyFilterOutput)

UpdateVocabularyFilterRequest generates a "aws/request.Request" representing the client's request for the UpdateVocabularyFilter operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateVocabularyFilter for more information on using the UpdateVocabularyFilter API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateVocabularyFilterRequest method.
req, resp := client.UpdateVocabularyFilterRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter

func (*TranscribeService) UpdateVocabularyFilterWithContext added in v1.26.7

func (c *TranscribeService) UpdateVocabularyFilterWithContext(ctx aws.Context, input *UpdateVocabularyFilterInput, opts ...request.Option) (*UpdateVocabularyFilterOutput, error)

UpdateVocabularyFilterWithContext is the same as UpdateVocabularyFilter with the addition of the ability to pass a context and additional request options.

See UpdateVocabularyFilter for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TranscribeService) UpdateVocabularyRequest added in v1.13.28

func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput) (req *request.Request, output *UpdateVocabularyOutput)

UpdateVocabularyRequest generates a "aws/request.Request" representing the client's request for the UpdateVocabulary operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateVocabulary for more information on using the UpdateVocabulary API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateVocabularyRequest method.
req, resp := client.UpdateVocabularyRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary

func (*TranscribeService) UpdateVocabularyWithContext added in v1.13.28

func (c *TranscribeService) UpdateVocabularyWithContext(ctx aws.Context, input *UpdateVocabularyInput, opts ...request.Option) (*UpdateVocabularyOutput, error)

UpdateVocabularyWithContext is the same as UpdateVocabulary with the addition of the ability to pass a context and additional request options.

See UpdateVocabulary for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type Transcript

type Transcript struct {

	// The S3 object location of the redacted transcript.
	//
	// Use this URI to access the redacted transcript. If you specified an S3 bucket
	// in the OutputBucketName field when you created the job, this is the URI of
	// that bucket. If you chose to store the transcript in Amazon Transcribe, this
	// is a shareable URL that provides secure access to that location.
	RedactedTranscriptFileUri *string `min:"1" type:"string"`

	// The S3 object location of the transcript.
	//
	// Use this URI to access the transcript. If you specified an S3 bucket in the
	// OutputBucketName field when you created the job, this is the URI of that
	// bucket. If you chose to store the transcript in Amazon Transcribe, this is
	// a shareable URL that provides secure access to that location.
	TranscriptFileUri *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Identifies the location of a transcription.

func (Transcript) GoString

func (s Transcript) GoString() string

GoString returns the string representation

func (*Transcript) SetRedactedTranscriptFileUri added in v1.29.11

func (s *Transcript) SetRedactedTranscriptFileUri(v string) *Transcript

SetRedactedTranscriptFileUri sets the RedactedTranscriptFileUri field's value.

func (*Transcript) SetTranscriptFileUri

func (s *Transcript) SetTranscriptFileUri(v string) *Transcript

SetTranscriptFileUri sets the TranscriptFileUri field's value.

func (Transcript) String

func (s Transcript) String() string

String returns the string representation

type TranscriptionJob

type TranscriptionJob struct {

	// A timestamp that shows when the job was completed.
	CompletionTime *time.Time `type:"timestamp"`

	// An object that describes content redaction settings for the transcription
	// job.
	ContentRedaction *ContentRedaction `type:"structure"`

	// A timestamp that shows when the job was created.
	CreationTime *time.Time `type:"timestamp"`

	// If the TranscriptionJobStatus field is FAILED, this field contains information
	// about why the job failed.
	//
	// The FailureReason field can contain one of the following values:
	//
	//    * Unsupported media format - The media format specified in the MediaFormat
	//    field of the request isn't valid. See the description of the MediaFormat
	//    field for a list of valid values.
	//
	//    * The media format provided does not match the detected media format -
	//    The media format of the audio file doesn't match the format specified
	//    in the MediaFormat field in the request. Check the media format of your
	//    media file and make sure that the two values match.
	//
	//    * Invalid sample rate for audio file - The sample rate specified in the
	//    MediaSampleRateHertz of the request isn't valid. The sample rate must
	//    be between 8000 and 48000 Hertz.
	//
	//    * The sample rate provided does not match the detected sample rate - The
	//    sample rate in the audio file doesn't match the sample rate specified
	//    in the MediaSampleRateHertz field in the request. Check the sample rate
	//    of your media file and make sure that the two values match.
	//
	//    * Invalid file size: file size too large - The size of your audio file
	//    is larger than Amazon Transcribe can process. For more information, see
	//    Limits (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits)
	//    in the Amazon Transcribe Developer Guide.
	//
	//    * Invalid number of channels: number of channels too large - Your audio
	//    contains more channels than Amazon Transcribe is configured to process.
	//    To request additional channels, see Amazon Transcribe Limits (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits-amazon-transcribe)
	//    in the Amazon Web Services General Reference.
	FailureReason *string `type:"string"`

	// A value between zero and one that Amazon Transcribe assigned to the language
	// that it identified in the source audio. Larger values indicate that Amazon
	// Transcribe has higher confidence in the language it identified.
	IdentifiedLanguageScore *float64 `type:"float"`

	// A value that shows if automatic language identification was enabled for a
	// transcription job.
	IdentifyLanguage *bool `type:"boolean"`

	// Provides information about how a transcription job is executed.
	JobExecutionSettings *JobExecutionSettings `type:"structure"`

	// The language code for the input speech.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// An object that shows the optional array of languages inputted for transcription
	// jobs with automatic language identification enabled.
	LanguageOptions []*string `min:"2" type:"list"`

	// An object that describes the input media for the transcription job.
	Media *Media `type:"structure"`

	// The format of the input media file.
	MediaFormat *string `type:"string" enum:"MediaFormat"`

	// The sample rate, in Hertz, of the audio track in the input media file.
	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`

	// An object containing the details of your custom language model.
	ModelSettings *ModelSettings `type:"structure"`

	// Optional settings for the transcription job. Use these settings to turn on
	// speaker recognition, to set the maximum number of speakers that should be
	// identified and to specify a custom vocabulary to use when processing the
	// transcription job.
	Settings *Settings `type:"structure"`

	// A timestamp that shows with the job was started processing.
	StartTime *time.Time `type:"timestamp"`

	// An object that describes the output of the transcription job.
	Transcript *Transcript `type:"structure"`

	// The name of the transcription job.
	TranscriptionJobName *string `min:"1" type:"string"`

	// The status of the transcription job.
	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
	// contains filtered or unexported fields
}

Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.

func (TranscriptionJob) GoString

func (s TranscriptionJob) GoString() string

GoString returns the string representation

func (*TranscriptionJob) SetCompletionTime

func (s *TranscriptionJob) SetCompletionTime(v time.Time) *TranscriptionJob

SetCompletionTime sets the CompletionTime field's value.

func (*TranscriptionJob) SetContentRedaction added in v1.29.11

func (s *TranscriptionJob) SetContentRedaction(v *ContentRedaction) *TranscriptionJob

SetContentRedaction sets the ContentRedaction field's value.

func (*TranscriptionJob) SetCreationTime

func (s *TranscriptionJob) SetCreationTime(v time.Time) *TranscriptionJob

SetCreationTime sets the CreationTime field's value.

func (*TranscriptionJob) SetFailureReason

func (s *TranscriptionJob) SetFailureReason(v string) *TranscriptionJob

SetFailureReason sets the FailureReason field's value.

func (*TranscriptionJob) SetIdentifiedLanguageScore added in v1.34.24

func (s *TranscriptionJob) SetIdentifiedLanguageScore(v float64) *TranscriptionJob

SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.

func (*TranscriptionJob) SetIdentifyLanguage added in v1.34.24

func (s *TranscriptionJob) SetIdentifyLanguage(v bool) *TranscriptionJob

SetIdentifyLanguage sets the IdentifyLanguage field's value.

func (*TranscriptionJob) SetJobExecutionSettings added in v1.26.6

func (s *TranscriptionJob) SetJobExecutionSettings(v *JobExecutionSettings) *TranscriptionJob

SetJobExecutionSettings sets the JobExecutionSettings field's value.

func (*TranscriptionJob) SetLanguageCode

func (s *TranscriptionJob) SetLanguageCode(v string) *TranscriptionJob

SetLanguageCode sets the LanguageCode field's value.

func (*TranscriptionJob) SetLanguageOptions added in v1.34.24

func (s *TranscriptionJob) SetLanguageOptions(v []*string) *TranscriptionJob

SetLanguageOptions sets the LanguageOptions field's value.

func (*TranscriptionJob) SetMedia

func (s *TranscriptionJob) SetMedia(v *Media) *TranscriptionJob

SetMedia sets the Media field's value.

func (*TranscriptionJob) SetMediaFormat

func (s *TranscriptionJob) SetMediaFormat(v string) *TranscriptionJob

SetMediaFormat sets the MediaFormat field's value.

func (*TranscriptionJob) SetMediaSampleRateHertz

func (s *TranscriptionJob) SetMediaSampleRateHertz(v int64) *TranscriptionJob

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*TranscriptionJob) SetModelSettings added in v1.33.20

func (s *TranscriptionJob) SetModelSettings(v *ModelSettings) *TranscriptionJob

SetModelSettings sets the ModelSettings field's value.

func (*TranscriptionJob) SetSettings added in v1.13.28

func (s *TranscriptionJob) SetSettings(v *Settings) *TranscriptionJob

SetSettings sets the Settings field's value.

func (*TranscriptionJob) SetStartTime added in v1.26.6

func (s *TranscriptionJob) SetStartTime(v time.Time) *TranscriptionJob

SetStartTime sets the StartTime field's value.

func (*TranscriptionJob) SetTranscript

func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob

SetTranscript sets the Transcript field's value.

func (*TranscriptionJob) SetTranscriptionJobName

func (s *TranscriptionJob) SetTranscriptionJobName(v string) *TranscriptionJob

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (*TranscriptionJob) SetTranscriptionJobStatus

func (s *TranscriptionJob) SetTranscriptionJobStatus(v string) *TranscriptionJob

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (TranscriptionJob) String

func (s TranscriptionJob) String() string

String returns the string representation

type TranscriptionJobSummary

type TranscriptionJobSummary struct {

	// A timestamp that shows when the job was completed.
	CompletionTime *time.Time `type:"timestamp"`

	// The content redaction settings of the transcription job.
	ContentRedaction *ContentRedaction `type:"structure"`

	// A timestamp that shows when the job was created.
	CreationTime *time.Time `type:"timestamp"`

	// If the TranscriptionJobStatus field is FAILED, a description of the error.
	FailureReason *string `type:"string"`

	// A value between zero and one that Amazon Transcribe assigned to the language
	// it identified in the source audio. A higher score indicates that Amazon Transcribe
	// is more confident in the language it identified.
	IdentifiedLanguageScore *float64 `type:"float"`

	// Whether automatic language identification was enabled for a transcription
	// job.
	IdentifyLanguage *bool `type:"boolean"`

	// The language code for the input speech.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The object used to call your custom language model to your transcription
	// job.
	ModelSettings *ModelSettings `type:"structure"`

	// Indicates the location of the output of the transcription job.
	//
	// If the value is CUSTOMER_BUCKET then the location is the S3 bucket specified
	// in the outputBucketName field when the transcription job was started with
	// the StartTranscriptionJob operation.
	//
	// If the value is SERVICE_BUCKET then the output is stored by Amazon Transcribe
	// and can be retrieved using the URI in the GetTranscriptionJob response's
	// TranscriptFileUri field.
	OutputLocationType *string `type:"string" enum:"OutputLocationType"`

	// A timestamp that shows when the job started processing.
	StartTime *time.Time `type:"timestamp"`

	// The name of the transcription job.
	TranscriptionJobName *string `min:"1" type:"string"`

	// The status of the transcription job. When the status is COMPLETED, use the
	// GetTranscriptionJob operation to get the results of the transcription.
	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
	// contains filtered or unexported fields
}

Provides a summary of information about a transcription job.

func (TranscriptionJobSummary) GoString

func (s TranscriptionJobSummary) GoString() string

GoString returns the string representation

func (*TranscriptionJobSummary) SetCompletionTime

func (s *TranscriptionJobSummary) SetCompletionTime(v time.Time) *TranscriptionJobSummary

SetCompletionTime sets the CompletionTime field's value.

func (*TranscriptionJobSummary) SetContentRedaction added in v1.29.11

SetContentRedaction sets the ContentRedaction field's value.

func (*TranscriptionJobSummary) SetCreationTime

SetCreationTime sets the CreationTime field's value.

func (*TranscriptionJobSummary) SetFailureReason

func (s *TranscriptionJobSummary) SetFailureReason(v string) *TranscriptionJobSummary

SetFailureReason sets the FailureReason field's value.

func (*TranscriptionJobSummary) SetIdentifiedLanguageScore added in v1.34.24

func (s *TranscriptionJobSummary) SetIdentifiedLanguageScore(v float64) *TranscriptionJobSummary

SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.

func (*TranscriptionJobSummary) SetIdentifyLanguage added in v1.34.24

func (s *TranscriptionJobSummary) SetIdentifyLanguage(v bool) *TranscriptionJobSummary

SetIdentifyLanguage sets the IdentifyLanguage field's value.

func (*TranscriptionJobSummary) SetLanguageCode

SetLanguageCode sets the LanguageCode field's value.

func (*TranscriptionJobSummary) SetModelSettings added in v1.33.20

SetModelSettings sets the ModelSettings field's value.

func (*TranscriptionJobSummary) SetOutputLocationType added in v1.14.22

func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary

SetOutputLocationType sets the OutputLocationType field's value.

func (*TranscriptionJobSummary) SetStartTime added in v1.26.6

SetStartTime sets the StartTime field's value.

func (*TranscriptionJobSummary) SetTranscriptionJobName

func (s *TranscriptionJobSummary) SetTranscriptionJobName(v string) *TranscriptionJobSummary

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (*TranscriptionJobSummary) SetTranscriptionJobStatus

func (s *TranscriptionJobSummary) SetTranscriptionJobStatus(v string) *TranscriptionJobSummary

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (TranscriptionJobSummary) String

func (s TranscriptionJobSummary) String() string

String returns the string representation

type UpdateMedicalVocabularyInput added in v1.30.17

type UpdateMedicalVocabularyInput struct {

	// The language code of the language used for the entries in the updated vocabulary.
	// US English (en-US) is the only valid language code in Amazon Transcribe Medical.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// The location in Amazon S3 of the text file that contains the you use for
	// your custom vocabulary. The URI must be in the same AWS Region as the resource
	// that you are calling. The following is the format for a URI:
	//
	// https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
	//
	// For example:
	//
	// https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
	//
	// For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
	// in the Amazon S3 Developer Guide.
	//
	// For more information about custom vocabularies in Amazon Transcribe Medical,
	// see Medical Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
	VocabularyFileUri *string `min:"1" type:"string"`

	// The name of the vocabulary to update. The name is case sensitive. If you
	// try to update a vocabulary with the same name as a vocabulary you've already
	// made, you get a ConflictException error.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateMedicalVocabularyInput) GoString added in v1.30.17

func (s UpdateMedicalVocabularyInput) GoString() string

GoString returns the string representation

func (*UpdateMedicalVocabularyInput) SetLanguageCode added in v1.30.17

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateMedicalVocabularyInput) SetVocabularyFileUri added in v1.30.17

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*UpdateMedicalVocabularyInput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (UpdateMedicalVocabularyInput) String added in v1.30.17

String returns the string representation

func (*UpdateMedicalVocabularyInput) Validate added in v1.30.17

func (s *UpdateMedicalVocabularyInput) Validate() error

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

type UpdateMedicalVocabularyOutput added in v1.30.17

type UpdateMedicalVocabularyOutput struct {

	// The language code for the language of the text file used to update the custom
	// vocabulary. US English (en-US) is the only language supported in Amazon Transcribe
	// Medical.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was updated.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the updated vocabulary.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the update to the vocabulary. When the VocabularyState
	// field is READY, the vocabulary is ready to be used in a StartMedicalTranscriptionJob
	// request.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (UpdateMedicalVocabularyOutput) GoString added in v1.30.17

GoString returns the string representation

func (*UpdateMedicalVocabularyOutput) SetLanguageCode added in v1.30.17

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateMedicalVocabularyOutput) SetLastModifiedTime added in v1.30.17

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateMedicalVocabularyOutput) SetVocabularyName added in v1.30.17

SetVocabularyName sets the VocabularyName field's value.

func (*UpdateMedicalVocabularyOutput) SetVocabularyState added in v1.30.17

SetVocabularyState sets the VocabularyState field's value.

func (UpdateMedicalVocabularyOutput) String added in v1.30.17

String returns the string representation

type UpdateVocabularyFilterInput added in v1.26.7

type UpdateVocabularyFilterInput struct {

	// The Amazon S3 location of a text file used as input to create the vocabulary
	// filter. Only use characters from the character set defined for custom vocabularies.
	// For a list of character sets, see Character Sets for Custom Vocabularies
	// (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
	//
	// The specified file must be less than 50 KB of UTF-8 characters.
	//
	// If you provide the location of a list of words in the VocabularyFilterFileUri
	// parameter, you can't use the Words parameter.
	VocabularyFilterFileUri *string `min:"1" type:"string"`

	// The name of the vocabulary filter to update. If you try to update a vocabulary
	// filter with the same name as another vocabulary filter, you get a ConflictException
	// error.
	//
	// VocabularyFilterName is a required field
	VocabularyFilterName *string `min:"1" type:"string" required:"true"`

	// The words to use in the vocabulary filter. Only use characters from the character
	// set defined for custom vocabularies. For a list of character sets, see Character
	// Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
	//
	// If you provide a list of words in the Words parameter, you can't use the
	// VocabularyFilterFileUri parameter.
	Words []*string `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateVocabularyFilterInput) GoString added in v1.26.7

func (s UpdateVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyFilterInput) SetVocabularyFilterFileUri added in v1.26.7

func (s *UpdateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *UpdateVocabularyFilterInput

SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.

func (*UpdateVocabularyFilterInput) SetVocabularyFilterName added in v1.26.7

func (s *UpdateVocabularyFilterInput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterInput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*UpdateVocabularyFilterInput) SetWords added in v1.26.7

SetWords sets the Words field's value.

func (UpdateVocabularyFilterInput) String added in v1.26.7

String returns the string representation

func (*UpdateVocabularyFilterInput) Validate added in v1.26.7

func (s *UpdateVocabularyFilterInput) Validate() error

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

type UpdateVocabularyFilterOutput added in v1.26.7

type UpdateVocabularyFilterOutput struct {

	// The language code of the words in the vocabulary filter.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary filter was updated.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the updated vocabulary filter.
	VocabularyFilterName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateVocabularyFilterOutput) GoString added in v1.26.7

func (s UpdateVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyFilterOutput) SetLanguageCode added in v1.26.7

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyFilterOutput) SetLastModifiedTime added in v1.26.7

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateVocabularyFilterOutput) SetVocabularyFilterName added in v1.26.7

func (s *UpdateVocabularyFilterOutput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterOutput

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (UpdateVocabularyFilterOutput) String added in v1.26.7

String returns the string representation

type UpdateVocabularyInput added in v1.13.28

type UpdateVocabularyInput struct {

	// The language code of the vocabulary entries. For a list of languages and
	// their corresponding language codes, see what-is-transcribe.
	//
	// LanguageCode is a required field
	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

	// An array of strings containing the vocabulary entries.
	Phrases []*string `type:"list"`

	// The S3 location of the text file that contains the definition of the custom
	// vocabulary. The URI must be in the same region as the API endpoint that you
	// are calling. The general form is
	//
	// For example:
	//
	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
	// in the Amazon S3 Developer Guide.
	//
	// For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
	VocabularyFileUri *string `min:"1" type:"string"`

	// The name of the vocabulary to update. The name is case sensitive. If you
	// try to update a vocabulary with the same name as a previous vocabulary you
	// will receive a ConflictException error.
	//
	// VocabularyName is a required field
	VocabularyName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVocabularyInput) GoString added in v1.13.28

func (s UpdateVocabularyInput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyInput) SetLanguageCode added in v1.13.28

func (s *UpdateVocabularyInput) SetLanguageCode(v string) *UpdateVocabularyInput

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyInput) SetPhrases added in v1.13.28

func (s *UpdateVocabularyInput) SetPhrases(v []*string) *UpdateVocabularyInput

SetPhrases sets the Phrases field's value.

func (*UpdateVocabularyInput) SetVocabularyFileUri added in v1.19.4

func (s *UpdateVocabularyInput) SetVocabularyFileUri(v string) *UpdateVocabularyInput

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*UpdateVocabularyInput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (UpdateVocabularyInput) String added in v1.13.28

func (s UpdateVocabularyInput) String() string

String returns the string representation

func (*UpdateVocabularyInput) Validate added in v1.13.28

func (s *UpdateVocabularyInput) Validate() error

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

type UpdateVocabularyOutput added in v1.13.28

type UpdateVocabularyOutput struct {

	// The language code of the vocabulary entries.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was updated.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary that was updated.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the vocabulary. When the VocabularyState field contains
	// READY the vocabulary is ready to be used in a StartTranscriptionJob request.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

func (UpdateVocabularyOutput) GoString added in v1.13.28

func (s UpdateVocabularyOutput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyOutput) SetLanguageCode added in v1.13.28

func (s *UpdateVocabularyOutput) SetLanguageCode(v string) *UpdateVocabularyOutput

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyOutput) SetLastModifiedTime added in v1.13.28

func (s *UpdateVocabularyOutput) SetLastModifiedTime(v time.Time) *UpdateVocabularyOutput

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateVocabularyOutput) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (*UpdateVocabularyOutput) SetVocabularyState added in v1.13.28

func (s *UpdateVocabularyOutput) SetVocabularyState(v string) *UpdateVocabularyOutput

SetVocabularyState sets the VocabularyState field's value.

func (UpdateVocabularyOutput) String added in v1.13.28

func (s UpdateVocabularyOutput) String() string

String returns the string representation

type VocabularyFilterInfo added in v1.26.7

type VocabularyFilterInfo struct {

	// The language code of the words in the vocabulary filter.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was last updated.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary filter. The name must be unique in the account
	// that holds the filter.
	VocabularyFilterName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

Provides information about a vocabulary filter.

func (VocabularyFilterInfo) GoString added in v1.26.7

func (s VocabularyFilterInfo) GoString() string

GoString returns the string representation

func (*VocabularyFilterInfo) SetLanguageCode added in v1.26.7

func (s *VocabularyFilterInfo) SetLanguageCode(v string) *VocabularyFilterInfo

SetLanguageCode sets the LanguageCode field's value.

func (*VocabularyFilterInfo) SetLastModifiedTime added in v1.26.7

func (s *VocabularyFilterInfo) SetLastModifiedTime(v time.Time) *VocabularyFilterInfo

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*VocabularyFilterInfo) SetVocabularyFilterName added in v1.26.7

func (s *VocabularyFilterInfo) SetVocabularyFilterName(v string) *VocabularyFilterInfo

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (VocabularyFilterInfo) String added in v1.26.7

func (s VocabularyFilterInfo) String() string

String returns the string representation

type VocabularyInfo added in v1.13.28

type VocabularyInfo struct {

	// The language code of the vocabulary entries.
	LanguageCode *string `type:"string" enum:"LanguageCode"`

	// The date and time that the vocabulary was last modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the vocabulary.
	VocabularyName *string `min:"1" type:"string"`

	// The processing state of the vocabulary. If the state is READY you can use
	// the vocabulary in a StartTranscriptionJob request.
	VocabularyState *string `type:"string" enum:"VocabularyState"`
	// contains filtered or unexported fields
}

Provides information about a custom vocabulary.

func (VocabularyInfo) GoString added in v1.13.28

func (s VocabularyInfo) GoString() string

GoString returns the string representation

func (*VocabularyInfo) SetLanguageCode added in v1.13.28

func (s *VocabularyInfo) SetLanguageCode(v string) *VocabularyInfo

SetLanguageCode sets the LanguageCode field's value.

func (*VocabularyInfo) SetLastModifiedTime added in v1.13.28

func (s *VocabularyInfo) SetLastModifiedTime(v time.Time) *VocabularyInfo

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*VocabularyInfo) SetVocabularyName added in v1.13.28

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

SetVocabularyName sets the VocabularyName field's value.

func (*VocabularyInfo) SetVocabularyState added in v1.13.28

func (s *VocabularyInfo) SetVocabularyState(v string) *VocabularyInfo

SetVocabularyState sets the VocabularyState field's value.

func (VocabularyInfo) String added in v1.13.28

func (s VocabularyInfo) String() string

String returns the string representation

Directories

Path Synopsis
Package transcribeserviceiface provides an interface to enable mocking the Amazon Transcribe Service service client for testing your code.
Package transcribeserviceiface provides an interface to enable mocking the Amazon Transcribe Service service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL