func BaseModelName_Values() []string
BaseModelName_Values returns all elements of the BaseModelName enum
func CLMLanguageCode_Values() []string
CLMLanguageCode_Values returns all elements of the CLMLanguageCode enum
func CallAnalyticsJobStatus_Values() []string
CallAnalyticsJobStatus_Values returns all elements of the CallAnalyticsJobStatus enum
func LanguageCode_Values() []string
LanguageCode_Values returns all elements of the LanguageCode enum
func MediaFormat_Values() []string
MediaFormat_Values returns all elements of the MediaFormat enum
func MedicalContentIdentificationType_Values() []string
MedicalContentIdentificationType_Values returns all elements of the MedicalContentIdentificationType enum
func ModelStatus_Values() []string
ModelStatus_Values returns all elements of the ModelStatus enum
func OutputLocationType_Values() []string
OutputLocationType_Values returns all elements of the OutputLocationType enum
func ParticipantRole_Values() []string
ParticipantRole_Values returns all elements of the ParticipantRole enum
func PiiEntityType_Values() []string
PiiEntityType_Values returns all elements of the PiiEntityType enum
func RedactionOutput_Values() []string
RedactionOutput_Values returns all elements of the RedactionOutput enum
func RedactionType_Values() []string
RedactionType_Values returns all elements of the RedactionType enum
func SentimentValue_Values() []string
SentimentValue_Values returns all elements of the SentimentValue enum
func Specialty_Values() []string
Specialty_Values returns all elements of the Specialty enum
func SubtitleFormat_Values() []string
SubtitleFormat_Values returns all elements of the SubtitleFormat enum
func TranscriptFilterType_Values() []string
TranscriptFilterType_Values returns all elements of the TranscriptFilterType enum
func TranscriptionJobStatus_Values() []string
TranscriptionJobStatus_Values returns all elements of the TranscriptionJobStatus enum
func Type_Values() []string
Type_Values returns all elements of the Type enum
func VocabularyFilterMethod_Values() []string
VocabularyFilterMethod_Values returns all elements of the VocabularyFilterMethod enum
func VocabularyState_Values() []string
VocabularyState_Values returns all elements of the VocabularyState enum
type AbsoluteTimeRange struct { // A value that indicates the end of the time range in milliseconds. To set // absolute time range, you must specify a start time and an end time. For example, // if you specify the following values: // // * StartTime - 10000 // // * Endtime - 50000 // // The time range is set between 10,000 milliseconds and 50,000 milliseconds // into the call. EndTime *int64 `type:"long"` // A time range from the beginning of the call to the value that you've specified. // For example, if you specify 100000, the time range is set to the first 100,000 // milliseconds of the call. First *int64 `type:"long"` // A time range from the value that you've specified to the end of the call. // For example, if you specify 100000, the time range is set to the last 100,000 // milliseconds of the call. Last *int64 `type:"long"` // A value that indicates the beginning of the time range in seconds. To set // absolute time range, you must specify a start time and an end time. For example, // if you specify the following values: // // * StartTime - 10000 // // * Endtime - 50000 // // The time range is set between 10,000 milliseconds and 50,000 milliseconds // into the call. StartTime *int64 `type:"long"` // contains filtered or unexported fields }
A time range, set in seconds, between two points in the call.
func (s AbsoluteTimeRange) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AbsoluteTimeRange) SetEndTime(v int64) *AbsoluteTimeRange
SetEndTime sets the EndTime field's value.
func (s *AbsoluteTimeRange) SetFirst(v int64) *AbsoluteTimeRange
SetFirst sets the First field's value.
func (s *AbsoluteTimeRange) SetLast(v int64) *AbsoluteTimeRange
SetLast sets the Last field's value.
func (s *AbsoluteTimeRange) SetStartTime(v int64) *AbsoluteTimeRange
SetStartTime sets the StartTime field's value.
func (s AbsoluteTimeRange) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *BadRequestException) Code() string
Code returns the exception type name.
func (s *BadRequestException) Error() string
func (s BadRequestException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *BadRequestException) Message() string
Message returns the exception's message.
func (s *BadRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *BadRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *BadRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s BadRequestException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CallAnalyticsJob struct { // The name of the call analytics job. CallAnalyticsJobName *string `min:"1" type:"string"` // The status of the analytics job. CallAnalyticsJobStatus *string `type:"string" enum:"CallAnalyticsJobStatus"` // Shows numeric values to indicate the channel assigned to the agent's audio // and the channel assigned to the customer's audio. ChannelDefinitions []*ChannelDefinition `min:"2" type:"list"` // A timestamp that shows when the analytics job was completed. CompletionTime *time.Time `type:"timestamp"` // A timestamp that shows when the analytics job was created. CreationTime *time.Time `type:"timestamp"` // The Amazon Resource Number (ARN) that you use to access the analytics job. // ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id. DataAccessRoleArn *string `min:"20" type:"string"` // If the AnalyticsJobStatus 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 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 8,000 and 48,000 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 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 in the Amazon Web Services General Reference (https://docs.aws.amazon.com/general/latest/gr/Welcome.html). FailureReason *string `type:"string"` // A value between zero and one that Amazon Transcribe assigned to the language // that it identified in the source audio. This value appears only when you // don't provide a single language code. Larger values indicate that Amazon // Transcribe has higher confidence in the language that it identified. IdentifiedLanguageScore *float64 `type:"float"` // If you know the language spoken between the customer and the agent, specify // a language code for this field. // // If you don't know the language, you can leave this field blank, and Amazon // Transcribe will use machine learning to automatically identify the language. // To improve the accuracy of language identification, you can provide an array // containing the possible language codes for the language spoken in your audio. // Refer to Supported languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) // for additional information. LanguageCode *string `type:"string" enum:"LanguageCode"` // Describes the input media file in a transcription request. Media *Media `type:"structure"` // The format of the input audio file. Note: for call analytics jobs, only the // following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM. MediaFormat *string `type:"string" enum:"MediaFormat"` // The sample rate, in Hertz, of the input audio. MediaSampleRateHertz *int64 `min:"8000" type:"integer"` // Provides information about the settings used to run a transcription job. Settings *CallAnalyticsJobSettings `type:"structure"` // A timestamp that shows when the analytics job started processing. StartTime *time.Time `type:"timestamp"` // Identifies the location of a transcription. Transcript *Transcript `type:"structure"` // contains filtered or unexported fields }
Describes an asynchronous analytics job that was created with the StartAnalyticsJob operation.
func (s CallAnalyticsJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CallAnalyticsJob) SetCallAnalyticsJobName(v string) *CallAnalyticsJob
SetCallAnalyticsJobName sets the CallAnalyticsJobName field's value.
func (s *CallAnalyticsJob) SetCallAnalyticsJobStatus(v string) *CallAnalyticsJob
SetCallAnalyticsJobStatus sets the CallAnalyticsJobStatus field's value.
func (s *CallAnalyticsJob) SetChannelDefinitions(v []*ChannelDefinition) *CallAnalyticsJob
SetChannelDefinitions sets the ChannelDefinitions field's value.
func (s *CallAnalyticsJob) SetCompletionTime(v time.Time) *CallAnalyticsJob
SetCompletionTime sets the CompletionTime field's value.
func (s *CallAnalyticsJob) SetCreationTime(v time.Time) *CallAnalyticsJob
SetCreationTime sets the CreationTime field's value.
func (s *CallAnalyticsJob) SetDataAccessRoleArn(v string) *CallAnalyticsJob
SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
func (s *CallAnalyticsJob) SetFailureReason(v string) *CallAnalyticsJob
SetFailureReason sets the FailureReason field's value.
func (s *CallAnalyticsJob) SetIdentifiedLanguageScore(v float64) *CallAnalyticsJob
SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.
func (s *CallAnalyticsJob) SetLanguageCode(v string) *CallAnalyticsJob
SetLanguageCode sets the LanguageCode field's value.
func (s *CallAnalyticsJob) SetMedia(v *Media) *CallAnalyticsJob
SetMedia sets the Media field's value.
func (s *CallAnalyticsJob) SetMediaFormat(v string) *CallAnalyticsJob
SetMediaFormat sets the MediaFormat field's value.
func (s *CallAnalyticsJob) SetMediaSampleRateHertz(v int64) *CallAnalyticsJob
SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
func (s *CallAnalyticsJob) SetSettings(v *CallAnalyticsJobSettings) *CallAnalyticsJob
SetSettings sets the Settings field's value.
func (s *CallAnalyticsJob) SetStartTime(v time.Time) *CallAnalyticsJob
SetStartTime sets the StartTime field's value.
func (s *CallAnalyticsJob) SetTranscript(v *Transcript) *CallAnalyticsJob
SetTranscript sets the Transcript field's value.
func (s CallAnalyticsJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CallAnalyticsJobSettings struct { // Settings for content redaction within a transcription job. ContentRedaction *ContentRedaction `type:"structure"` // The language identification settings associated with your call analytics // job. These settings include VocabularyName, VocabularyFilterName, and LanguageModelName. LanguageIdSettings map[string]*LanguageIdSettings `min:"1" type:"map"` // The structure used to describe a custom language model. LanguageModelName *string `min:"1" type:"string"` // When you run a call analytics job, you can specify the language spoken in // the audio, or you can have Amazon Transcribe identify the language for you. // // To specify a language, specify an array with one language code. If you don't // know the language, you can leave this field blank and Amazon Transcribe will // use machine learning to identify the language for you. To improve the ability // of Amazon Transcribe to correctly identify the language, you can provide // an array of the languages that can be present in the audio. Refer to Supported // languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html) // for additional information. LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // 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 running a call analytics job. // The filter that you specify must have the same language code as the analytics // job. VocabularyFilterName *string `min:"1" type:"string"` // The name of a vocabulary to use when processing the call analytics job. VocabularyName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Provides optional settings for the CallAnalyticsJob operation.
func (s CallAnalyticsJobSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CallAnalyticsJobSettings) SetContentRedaction(v *ContentRedaction) *CallAnalyticsJobSettings
SetContentRedaction sets the ContentRedaction field's value.
func (s *CallAnalyticsJobSettings) SetLanguageIdSettings(v map[string]*LanguageIdSettings) *CallAnalyticsJobSettings
SetLanguageIdSettings sets the LanguageIdSettings field's value.
func (s *CallAnalyticsJobSettings) SetLanguageModelName(v string) *CallAnalyticsJobSettings
SetLanguageModelName sets the LanguageModelName field's value.
func (s *CallAnalyticsJobSettings) SetLanguageOptions(v []*string) *CallAnalyticsJobSettings
SetLanguageOptions sets the LanguageOptions field's value.
func (s *CallAnalyticsJobSettings) SetVocabularyFilterMethod(v string) *CallAnalyticsJobSettings
SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.
func (s *CallAnalyticsJobSettings) SetVocabularyFilterName(v string) *CallAnalyticsJobSettings
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s *CallAnalyticsJobSettings) SetVocabularyName(v string) *CallAnalyticsJobSettings
SetVocabularyName sets the VocabularyName field's value.
func (s CallAnalyticsJobSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CallAnalyticsJobSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CallAnalyticsJobSummary struct { // The name of the call analytics job. CallAnalyticsJobName *string `min:"1" type:"string"` // The status of the call analytics job. CallAnalyticsJobStatus *string `type:"string" enum:"CallAnalyticsJobStatus"` // A timestamp that shows when the job was completed. CompletionTime *time.Time `type:"timestamp"` // A timestamp that shows when the call analytics job was created. CreationTime *time.Time `type:"timestamp"` // If the CallAnalyticsJobStatus 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"` // A timestamp that shows when the job began processing. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Provides summary information about a call analytics job.
func (s CallAnalyticsJobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CallAnalyticsJobSummary) SetCallAnalyticsJobName(v string) *CallAnalyticsJobSummary
SetCallAnalyticsJobName sets the CallAnalyticsJobName field's value.
func (s *CallAnalyticsJobSummary) SetCallAnalyticsJobStatus(v string) *CallAnalyticsJobSummary
SetCallAnalyticsJobStatus sets the CallAnalyticsJobStatus field's value.
func (s *CallAnalyticsJobSummary) SetCompletionTime(v time.Time) *CallAnalyticsJobSummary
SetCompletionTime sets the CompletionTime field's value.
func (s *CallAnalyticsJobSummary) SetCreationTime(v time.Time) *CallAnalyticsJobSummary
SetCreationTime sets the CreationTime field's value.
func (s *CallAnalyticsJobSummary) SetFailureReason(v string) *CallAnalyticsJobSummary
SetFailureReason sets the FailureReason field's value.
func (s *CallAnalyticsJobSummary) SetLanguageCode(v string) *CallAnalyticsJobSummary
SetLanguageCode sets the LanguageCode field's value.
func (s *CallAnalyticsJobSummary) SetStartTime(v time.Time) *CallAnalyticsJobSummary
SetStartTime sets the StartTime field's value.
func (s CallAnalyticsJobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CategoryProperties struct { // The name of the call analytics category. CategoryName *string `min:"1" type:"string"` // A timestamp that shows when the call analytics category was created. CreateTime *time.Time `type:"timestamp"` // A timestamp that shows when the call analytics category was most recently // updated. LastUpdateTime *time.Time `type:"timestamp"` // The rules used to create a call analytics category. Rules []*Rule `min:"1" type:"list"` // contains filtered or unexported fields }
An object that contains the rules and additional information about a call analytics category.
func (s CategoryProperties) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CategoryProperties) SetCategoryName(v string) *CategoryProperties
SetCategoryName sets the CategoryName field's value.
func (s *CategoryProperties) SetCreateTime(v time.Time) *CategoryProperties
SetCreateTime sets the CreateTime field's value.
func (s *CategoryProperties) SetLastUpdateTime(v time.Time) *CategoryProperties
SetLastUpdateTime sets the LastUpdateTime field's value.
func (s *CategoryProperties) SetRules(v []*Rule) *CategoryProperties
SetRules sets the Rules field's value.
func (s CategoryProperties) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ChannelDefinition struct { // A value that indicates the audio channel. ChannelId *int64 `type:"integer"` // Indicates whether the person speaking on the audio channel is the agent or // customer. ParticipantRole *string `type:"string" enum:"ParticipantRole"` // contains filtered or unexported fields }
For a call analytics job, an object that indicates the audio channel that belongs to the agent and the audio channel that belongs to the customer.
func (s ChannelDefinition) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ChannelDefinition) SetChannelId(v int64) *ChannelDefinition
SetChannelId sets the ChannelId field's value.
func (s *ChannelDefinition) SetParticipantRole(v string) *ChannelDefinition
SetParticipantRole sets the ParticipantRole field's value.
func (s ChannelDefinition) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *ConflictException) Code() string
Code returns the exception type name.
func (s *ConflictException) Error() string
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ConflictException) Message() string
Message returns the exception's message.
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ContentRedaction struct { // The types of personally identifiable information (PII) you want to redact // in your transcript. PiiEntityTypes []*string `type:"list" enum:"PiiEntityType"` // 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 (s ContentRedaction) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ContentRedaction) SetPiiEntityTypes(v []*string) *ContentRedaction
SetPiiEntityTypes sets the PiiEntityTypes field's value.
func (s *ContentRedaction) SetRedactionOutput(v string) *ContentRedaction
SetRedactionOutput sets the RedactionOutput field's value.
func (s *ContentRedaction) SetRedactionType(v string) *ContentRedaction
SetRedactionType sets the RedactionType field's value.
func (s ContentRedaction) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ContentRedaction) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCallAnalyticsCategoryInput struct { // A unique name, chosen by you, for your call analytics category. For example, // sentiment-positive-last30seconds. // // CategoryName is a required field CategoryName *string `min:"1" type:"string" required:"true"` // Rules make up a call analytics category. When creating a call analytics category, // you must create between 1 and 20 rules for your category. For each rule, // you specify a filter you want applied to the attributes of a call. For example, // you can choose a sentiment filter that detects if a customer's sentiment // was positive during the last 30 seconds of the call. // // Rules is a required field Rules []*Rule `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s CreateCallAnalyticsCategoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCallAnalyticsCategoryInput) SetCategoryName(v string) *CreateCallAnalyticsCategoryInput
SetCategoryName sets the CategoryName field's value.
func (s *CreateCallAnalyticsCategoryInput) SetRules(v []*Rule) *CreateCallAnalyticsCategoryInput
SetRules sets the Rules field's value.
func (s CreateCallAnalyticsCategoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCallAnalyticsCategoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCallAnalyticsCategoryOutput struct { // If your audio matches one of your categories, this field contains data on // that category and its associated rules. This parameter shows which category // is flagged (CategoryName) along with metadata for the rules that match your // audio. Metadata includes the rule filter (such as InterruptionFilter, NonTalkTimeFilter, // SentimentFilter, and TranscriptFilter) and where in your audio (StartTime // and EndTime) the rule has a match. CategoryProperties *CategoryProperties `type:"structure"` // contains filtered or unexported fields }
func (s CreateCallAnalyticsCategoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateCallAnalyticsCategoryOutput) SetCategoryProperties(v *CategoryProperties) *CreateCallAnalyticsCategoryOutput
SetCategoryProperties sets the CategoryProperties field's value.
func (s CreateCallAnalyticsCategoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateLanguageModelInput struct { // The Amazon Transcribe standard language model, or base model, used to create // your custom language model. Amazon Transcribe offers two options for base // models: Wideband and Narrowband. // // If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, // choose WideBand. To transcribe audio with a sample rate less than 16,000 // Hz, choose NarrowBand. // // BaseModelName is a required field BaseModelName *string `type:"string" required:"true" enum:"BaseModelName"` // Contains your data access role ARN (Amazon Resource Name) and the Amazon // S3 locations of your training (S3Uri) and tuning (TuningDataS3Uri) data. // // InputDataConfig is a required field InputDataConfig *InputDataConfig `type:"structure" required:"true"` // The language of your custom language model; note that the language code you // select must match the language of your training and tuning data. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"CLMLanguageCode"` // The name of your new custom language model. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a language model with // the same name as a previous language model, you get a ConflictException error. // // ModelName is a required field ModelName *string `min:"1" type:"string" required:"true"` // Optionally add tags, each in the form of a key:value pair, to your new language // model. See also: . Tags []*Tag `min:"1" type:"list"` // contains filtered or unexported fields }
func (s CreateLanguageModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateLanguageModelInput) SetBaseModelName(v string) *CreateLanguageModelInput
SetBaseModelName sets the BaseModelName field's value.
func (s *CreateLanguageModelInput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelInput
SetInputDataConfig sets the InputDataConfig field's value.
func (s *CreateLanguageModelInput) SetLanguageCode(v string) *CreateLanguageModelInput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateLanguageModelInput) SetModelName(v string) *CreateLanguageModelInput
SetModelName sets the ModelName field's value.
func (s *CreateLanguageModelInput) SetTags(v []*Tag) *CreateLanguageModelInput
SetTags sets the Tags field's value.
func (s CreateLanguageModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateLanguageModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLanguageModelOutput struct { // The Amazon Transcribe standard language model, or base model, you used when // creating your custom language model. // // If your audio has a sample rate of 16,000 Hz or greater, this value should // be WideBand. If your audio has a sample rate of less than 16,000 Hz, this // value should be NarrowBand. BaseModelName *string `type:"string" enum:"BaseModelName"` // Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 // locations your provided for your training (S3Uri) and tuning (TuningDataS3Uri) // data. InputDataConfig *InputDataConfig `type:"structure"` // The language code you selected for your custom language model. LanguageCode *string `type:"string" enum:"CLMLanguageCode"` // The unique name you chose for your custom language model. ModelName *string `min:"1" type:"string"` // The status of your custom language model. When the status shows as COMPLETED, // your model is ready to use. ModelStatus *string `type:"string" enum:"ModelStatus"` // contains filtered or unexported fields }
func (s CreateLanguageModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateLanguageModelOutput) SetBaseModelName(v string) *CreateLanguageModelOutput
SetBaseModelName sets the BaseModelName field's value.
func (s *CreateLanguageModelOutput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelOutput
SetInputDataConfig sets the InputDataConfig field's value.
func (s *CreateLanguageModelOutput) SetLanguageCode(v string) *CreateLanguageModelOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateLanguageModelOutput) SetModelName(v string) *CreateLanguageModelOutput
SetModelName sets the ModelName field's value.
func (s *CreateLanguageModelOutput) SetModelStatus(v string) *CreateLanguageModelOutput
SetModelStatus sets the ModelStatus field's value.
func (s CreateLanguageModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateMedicalVocabularyInput struct { // The language code that represents the language of the entries in your custom // vocabulary. Note that U.S. English (en-US) is the only language supported // with Amazon Transcribe Medical. // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` // Adds one or more tags, each in the form of a key:value pair, to a new medical // vocabulary at the time you create the new vocabulary. // // To learn more about using tags with Amazon Transcribe, refer to Tagging resources // (https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html). Tags []*Tag `min:"1" type:"list"` // The Amazon S3 location (URI) of the text file that contains your custom vocabulary. // The URI must be in the same Amazon Web Services Region as the resource that // you're calling. // // Here's an example URI path: // // https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt // // VocabularyFileUri is a required field VocabularyFileUri *string `min:"1" type:"string" required:"true"` // The name of your new vocabulary. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services 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 (s CreateMedicalVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMedicalVocabularyInput) SetLanguageCode(v string) *CreateMedicalVocabularyInput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateMedicalVocabularyInput) SetTags(v []*Tag) *CreateMedicalVocabularyInput
SetTags sets the Tags field's value.
func (s *CreateMedicalVocabularyInput) SetVocabularyFileUri(v string) *CreateMedicalVocabularyInput
SetVocabularyFileUri sets the VocabularyFileUri field's value.
func (s *CreateMedicalVocabularyInput) SetVocabularyName(v string) *CreateMedicalVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s CreateMedicalVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMedicalVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateMedicalVocabularyOutput struct { // If the VocabularyState field is FAILED, FailureReason contains information // about why the job failed. FailureReason *string `type:"string"` // The language code you selected for your medical vocabulary. Note that U.S. // English (en-US) is the only language supported with Amazon Transcribe Medical. LanguageCode *string `type:"string" enum:"LanguageCode"` // The date and time you created your custom medical vocabulary. LastModifiedTime *time.Time `type:"timestamp"` // The name you chose for your vocabulary. VocabularyName *string `min:"1" type:"string"` // The processing state of your custom medical vocabulary. 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 (s CreateMedicalVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateMedicalVocabularyOutput) SetFailureReason(v string) *CreateMedicalVocabularyOutput
SetFailureReason sets the FailureReason field's value.
func (s *CreateMedicalVocabularyOutput) SetLanguageCode(v string) *CreateMedicalVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *CreateMedicalVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *CreateMedicalVocabularyOutput) SetVocabularyName(v string) *CreateMedicalVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *CreateMedicalVocabularyOutput) SetVocabularyState(v string) *CreateMedicalVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s CreateMedicalVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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"` // Adds one or more tags, each in the form of a key:value pair, to a new vocabulary // filter at the time you create this new vocabulary filter. Tags []*Tag `min:"1" type:"list"` // 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/charsets.html). // // Your vocabulary filter file must be less than 50 KB in size. // // Note that if you include VocabularyFilterFileUri in your request, you cannot // use Words; you must choose one or the other. VocabularyFilterFileUri *string `min:"1" type:"string"` // The name of your new vocabulary filter. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services account. If you try to create a vocabulary filter // with the same name as a previous vocabulary filter, you get a ConflictException // error. // // VocabularyFilterName is a required field VocabularyFilterName *string `min:"1" type:"string" required:"true"` // The words you want in your vocabulary filter. Only use characters specified // in the Character sets (https://docs.aws.amazon.com/transcribe/latest/dg/charsets.html) // for the language you're transcribing. // // Note that if you include Words in your request, you cannot use VocabularyFilterFileUri; // you must choose one or the other. Words []*string `min:"1" type:"list"` // contains filtered or unexported fields }
func (s CreateVocabularyFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyFilterInput) SetLanguageCode(v string) *CreateVocabularyFilterInput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateVocabularyFilterInput) SetTags(v []*Tag) *CreateVocabularyFilterInput
SetTags sets the Tags field's value.
func (s *CreateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *CreateVocabularyFilterInput
SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.
func (s *CreateVocabularyFilterInput) SetVocabularyFilterName(v string) *CreateVocabularyFilterInput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s *CreateVocabularyFilterInput) SetWords(v []*string) *CreateVocabularyFilterInput
SetWords sets the Words field's value.
func (s CreateVocabularyFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVocabularyFilterOutput struct { // The language code associated with your vocabulary filter. LanguageCode *string `type:"string" enum:"LanguageCode"` // The date and time 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 (s CreateVocabularyFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyFilterOutput) SetLanguageCode(v string) *CreateVocabularyFilterOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *CreateVocabularyFilterOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *CreateVocabularyFilterOutput) SetVocabularyFilterName(v string) *CreateVocabularyFilterOutput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s CreateVocabularyFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateVocabularyInput struct { // The language code that represents the language of the entries in your custom // vocabulary. Each vocabulary must contain terms in only one language. For // a list of languages and their corresponding language codes, see Supported // languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). // // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` // Use this flag to include a list of terms within your request. // // Note that if you include Phrases in your request, you cannot use VocabularyFileUri; // you must choose one or the other. Phrases []*string `type:"list"` // Adds one or more tags, each in the form of a key:value pair, to a new custom // vocabulary at the time you create this new vocabulary. Tags []*Tag `min:"1" type:"list"` // The S3 location of the text file that contains your custom vocabulary. The // URI must be located in the same region as the API endpoint you're calling. // // Here's an example URI path: // // https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt // // Note that if you include VocabularyFileUri in your request, you cannot use // the Phrases flag; you must choose one or the other. VocabularyFileUri *string `min:"1" type:"string"` // The name of your new vocabulary. // // This name is case sensitive, cannot contain spaces, and must be unique within // an Amazon Web Services 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 (s CreateVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyInput) SetLanguageCode(v string) *CreateVocabularyInput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateVocabularyInput) SetPhrases(v []*string) *CreateVocabularyInput
SetPhrases sets the Phrases field's value.
func (s *CreateVocabularyInput) SetTags(v []*Tag) *CreateVocabularyInput
SetTags sets the Tags field's value.
func (s *CreateVocabularyInput) SetVocabularyFileUri(v string) *CreateVocabularyInput
SetVocabularyFileUri sets the VocabularyFileUri field's value.
func (s *CreateVocabularyInput) SetVocabularyName(v string) *CreateVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s CreateVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateVocabularyOutput struct { // If the VocabularyState field is FAILED, FailureReason contains information // about why the job failed. FailureReason *string `type:"string"` // The language code you selected for your vocabulary. LanguageCode *string `type:"string" enum:"LanguageCode"` // The date and time you created your custom vocabulary. LastModifiedTime *time.Time `type:"timestamp"` // The name you chose for your vocabulary. VocabularyName *string `min:"1" type:"string"` // The processing state of your 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 }
func (s CreateVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateVocabularyOutput) SetFailureReason(v string) *CreateVocabularyOutput
SetFailureReason sets the FailureReason field's value.
func (s *CreateVocabularyOutput) SetLanguageCode(v string) *CreateVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *CreateVocabularyOutput) SetLastModifiedTime(v time.Time) *CreateVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *CreateVocabularyOutput) SetVocabularyName(v string) *CreateVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *CreateVocabularyOutput) SetVocabularyState(v string) *CreateVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s CreateVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCallAnalyticsCategoryInput struct { // The name of the call analytics category you want to delete. Category names // are case-sensitive. // // CategoryName is a required field CategoryName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteCallAnalyticsCategoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCallAnalyticsCategoryInput) SetCategoryName(v string) *DeleteCallAnalyticsCategoryInput
SetCategoryName sets the CategoryName field's value.
func (s DeleteCallAnalyticsCategoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCallAnalyticsCategoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCallAnalyticsCategoryOutput struct {
// contains filtered or unexported fields
}
func (s DeleteCallAnalyticsCategoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteCallAnalyticsCategoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCallAnalyticsJobInput struct { // The name of the call analytics job you want to delete. Job names are case-sensitive. // // CallAnalyticsJobName is a required field CallAnalyticsJobName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteCallAnalyticsJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCallAnalyticsJobInput) SetCallAnalyticsJobName(v string) *DeleteCallAnalyticsJobInput
SetCallAnalyticsJobName sets the CallAnalyticsJobName field's value.
func (s DeleteCallAnalyticsJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteCallAnalyticsJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCallAnalyticsJobOutput struct {
// contains filtered or unexported fields
}
func (s DeleteCallAnalyticsJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteCallAnalyticsJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteLanguageModelInput struct { // The name of the model you want to delete. Model names are case-sensitive. // // ModelName is a required field ModelName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteLanguageModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteLanguageModelInput) SetModelName(v string) *DeleteLanguageModelInput
SetModelName sets the ModelName field's value.
func (s DeleteLanguageModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteLanguageModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLanguageModelOutput struct {
// contains filtered or unexported fields
}
func (s DeleteLanguageModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteLanguageModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteMedicalTranscriptionJobInput struct { // The name of the medical transcription job you want to delete. Job names are // case-sensitive. // // MedicalTranscriptionJobName is a required field MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteMedicalTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *DeleteMedicalTranscriptionJobInput
SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
func (s DeleteMedicalTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMedicalTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMedicalTranscriptionJobOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMedicalTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteMedicalTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteMedicalVocabularyInput struct { // The name of the vocabulary that you want to delete. Vocabulary names are // case-sensitive. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteMedicalVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMedicalVocabularyInput) SetVocabularyName(v string) *DeleteMedicalVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s DeleteMedicalVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteMedicalVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteMedicalVocabularyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteMedicalVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteMedicalVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteTranscriptionJobInput struct { // The name of the transcription job you want to delete. Job names are case-sensitive. // // TranscriptionJobName is a required field TranscriptionJobName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTranscriptionJobInput) SetTranscriptionJobName(v string) *DeleteTranscriptionJobInput
SetTranscriptionJobName sets the TranscriptionJobName field's value.
func (s DeleteTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTranscriptionJobOutput struct {
// contains filtered or unexported fields
}
func (s DeleteTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteVocabularyFilterInput struct { // The name of the vocabulary filter you want to delete. Vocabulary filter names // are case-sensitive. // // VocabularyFilterName is a required field VocabularyFilterName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteVocabularyFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVocabularyFilterInput) SetVocabularyFilterName(v string) *DeleteVocabularyFilterInput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s DeleteVocabularyFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVocabularyFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVocabularyFilterOutput struct {
// contains filtered or unexported fields
}
func (s DeleteVocabularyFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteVocabularyFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteVocabularyInput struct { // The name of the vocabulary you want to delete. Vocabulary names are case-sensitive. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVocabularyInput) SetVocabularyName(v string) *DeleteVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s DeleteVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVocabularyOutput struct {
// contains filtered or unexported fields
}
func (s DeleteVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s DeleteVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeLanguageModelInput struct { // The name of the custom language model you want described. Model names are // case-sensitive. // // ModelName is a required field ModelName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLanguageModelInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeLanguageModelInput) SetModelName(v string) *DescribeLanguageModelInput
SetModelName sets the ModelName field's value.
func (s DescribeLanguageModelInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeLanguageModelInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s DescribeLanguageModelOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeLanguageModelOutput) SetLanguageModel(v *LanguageModel) *DescribeLanguageModelOutput
SetLanguageModel sets the LanguageModel field's value.
func (s DescribeLanguageModelOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCallAnalyticsCategoryInput struct { // The name of the category you want information about. Category names are case // sensitive. // // CategoryName is a required field CategoryName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetCallAnalyticsCategoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsCategoryInput) SetCategoryName(v string) *GetCallAnalyticsCategoryInput
SetCategoryName sets the CategoryName field's value.
func (s GetCallAnalyticsCategoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsCategoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCallAnalyticsCategoryOutput struct { // Provides you with the rules associated with the category you specified in // your GetCallAnalyticsCategory request. CategoryProperties *CategoryProperties `type:"structure"` // contains filtered or unexported fields }
func (s GetCallAnalyticsCategoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsCategoryOutput) SetCategoryProperties(v *CategoryProperties) *GetCallAnalyticsCategoryOutput
SetCategoryProperties sets the CategoryProperties field's value.
func (s GetCallAnalyticsCategoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetCallAnalyticsJobInput struct { // The name of the analytics job you want information about. This value is case // sensitive. // // CallAnalyticsJobName is a required field CallAnalyticsJobName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetCallAnalyticsJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsJobInput) SetCallAnalyticsJobName(v string) *GetCallAnalyticsJobInput
SetCallAnalyticsJobName sets the CallAnalyticsJobName field's value.
func (s GetCallAnalyticsJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCallAnalyticsJobOutput struct { // An object that contains detailed information about your call analytics job. // Returned fields include: CallAnalyticsJobName, CallAnalyticsJobStatus, ChannelDefinitions, // CompletionTime, CreationTime, DataAccessRoleArn, FailureReason, IdentifiedLanguageScore, // LanguageCode, Media, MediaFormat, MediaSampleRateHertz, Settings, StartTime, // and Transcript. CallAnalyticsJob *CallAnalyticsJob `type:"structure"` // contains filtered or unexported fields }
func (s GetCallAnalyticsJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetCallAnalyticsJobOutput) SetCallAnalyticsJob(v *CallAnalyticsJob) *GetCallAnalyticsJobOutput
SetCallAnalyticsJob sets the CallAnalyticsJob field's value.
func (s GetCallAnalyticsJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMedicalTranscriptionJobInput struct { // The name of the medical transcription job you want information about. This // value is case sensitive. // // MedicalTranscriptionJobName is a required field MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetMedicalTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *GetMedicalTranscriptionJobInput
SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
func (s GetMedicalTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMedicalTranscriptionJobOutput struct { // An object that contains detailed information about your medical transcription // job. Returned fields include: CompletionTime, ContentIdentificationType, // CreationTime, FailureReason, LanguageCode, Media, MediaFormat, MediaSampleRateHertz, // MedicalTranscriptionJobName, Settings, Specialty, StartTime, Tags, Transcript, // TranscriptionJobStatus, and Type. MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"` // contains filtered or unexported fields }
func (s GetMedicalTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob(v *MedicalTranscriptionJob) *GetMedicalTranscriptionJobOutput
SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.
func (s GetMedicalTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetMedicalVocabularyInput struct { // The name of the medical vocabulary you want information about. This value // is case sensitive. // // VocabularyName is a required field VocabularyName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s GetMedicalVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalVocabularyInput) SetVocabularyName(v string) *GetMedicalVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s GetMedicalVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetMedicalVocabularyOutput struct { // The S3 location where the vocabulary is stored; use this URI to view or download // the vocabulary. DownloadUri *string `min:"1" type:"string"` // If your request returns a VocabularyState that is FAILED, the FailureReason // field contains information about why the request failed. // // For more information, refer to the Common Errors (https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html) // section. 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 (s GetMedicalVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetMedicalVocabularyOutput) SetDownloadUri(v string) *GetMedicalVocabularyOutput
SetDownloadUri sets the DownloadUri field's value.
func (s *GetMedicalVocabularyOutput) SetFailureReason(v string) *GetMedicalVocabularyOutput
SetFailureReason sets the FailureReason field's value.
func (s *GetMedicalVocabularyOutput) SetLanguageCode(v string) *GetMedicalVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *GetMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *GetMedicalVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetMedicalVocabularyOutput) SetVocabularyName(v string) *GetMedicalVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *GetMedicalVocabularyOutput) SetVocabularyState(v string) *GetMedicalVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s GetMedicalVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s GetTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTranscriptionJobInput) SetTranscriptionJobName(v string) *GetTranscriptionJobInput
SetTranscriptionJobName sets the TranscriptionJobName field's value.
func (s GetTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetTranscriptionJobOutput struct { // An object that contains the results of the transcription job. TranscriptionJob *TranscriptionJob `type:"structure"` // contains filtered or unexported fields }
func (s GetTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *GetTranscriptionJobOutput
SetTranscriptionJob sets the TranscriptionJob field's value.
func (s GetTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s GetVocabularyFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyFilterInput) SetVocabularyFilterName(v string) *GetVocabularyFilterInput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s GetVocabularyFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetVocabularyFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyFilterOutput) SetDownloadUri(v string) *GetVocabularyFilterOutput
SetDownloadUri sets the DownloadUri field's value.
func (s *GetVocabularyFilterOutput) SetLanguageCode(v string) *GetVocabularyFilterOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *GetVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *GetVocabularyFilterOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetVocabularyFilterOutput) SetVocabularyFilterName(v string) *GetVocabularyFilterOutput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s GetVocabularyFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s GetVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyInput) SetVocabularyName(v string) *GetVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s GetVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s GetVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *GetVocabularyOutput) SetDownloadUri(v string) *GetVocabularyOutput
SetDownloadUri sets the DownloadUri field's value.
func (s *GetVocabularyOutput) SetFailureReason(v string) *GetVocabularyOutput
SetFailureReason sets the FailureReason field's value.
func (s *GetVocabularyOutput) SetLanguageCode(v string) *GetVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *GetVocabularyOutput) SetLastModifiedTime(v time.Time) *GetVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *GetVocabularyOutput) SetVocabularyName(v string) *GetVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *GetVocabularyOutput) SetVocabularyState(v string) *GetVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s GetVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id. // // 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 (s InputDataConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InputDataConfig) SetDataAccessRoleArn(v string) *InputDataConfig
SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig
SetS3Uri sets the S3Uri field's value.
func (s *InputDataConfig) SetTuningDataS3Uri(v string) *InputDataConfig
SetTuningDataS3Uri sets the TuningDataS3Uri field's value.
func (s InputDataConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InputDataConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s *InternalFailureException) Code() string
Code returns the exception type name.
func (s *InternalFailureException) Error() string
func (s InternalFailureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InternalFailureException) Message() string
Message returns the exception's message.
func (s *InternalFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalFailureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InterruptionFilter struct { // An object you can use to specify a time range (in milliseconds) for when // you'd want to find the interruption. For example, you could search for an // interruption between the 30,000 millisecond mark and the 45,000 millisecond // mark. You could also specify the time period as the first 15,000 milliseconds // or the last 15,000 milliseconds. AbsoluteTimeRange *AbsoluteTimeRange `type:"structure"` // Set to TRUE to look for a time period where there was no interruption. Negate *bool `type:"boolean"` // Indicates whether the caller or customer was interrupting. ParticipantRole *string `type:"string" enum:"ParticipantRole"` // An object that allows percentages to specify the proportion of the call where // there was a interruption. For example, you can specify the first half of // the call. You can also specify the period of time between halfway through // to three-quarters of the way through the call. Because the length of conversation // can vary between calls, you can apply relative time ranges across all calls. RelativeTimeRange *RelativeTimeRange `type:"structure"` // The duration of the interruption. Threshold *int64 `type:"long"` // contains filtered or unexported fields }
An object that enables you to configure your category to be applied to call analytics jobs where either the customer or agent was interrupted.
func (s InterruptionFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *InterruptionFilter) SetAbsoluteTimeRange(v *AbsoluteTimeRange) *InterruptionFilter
SetAbsoluteTimeRange sets the AbsoluteTimeRange field's value.
func (s *InterruptionFilter) SetNegate(v bool) *InterruptionFilter
SetNegate sets the Negate field's value.
func (s *InterruptionFilter) SetParticipantRole(v string) *InterruptionFilter
SetParticipantRole sets the ParticipantRole field's value.
func (s *InterruptionFilter) SetRelativeTimeRange(v *RelativeTimeRange) *InterruptionFilter
SetRelativeTimeRange sets the RelativeTimeRange field's value.
func (s *InterruptionFilter) SetThreshold(v int64) *InterruptionFilter
SetThreshold sets the Threshold field's value.
func (s InterruptionFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. // // Note that job queuing is enabled by default for call analytics jobs. // // If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn // field. AllowDeferredExecution *bool `type:"boolean"` // The Amazon Resource Name (ARN), in the form arn:partition:service:region:account-id:resource-type/resource-id, // 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 (s JobExecutionSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobExecutionSettings) SetAllowDeferredExecution(v bool) *JobExecutionSettings
SetAllowDeferredExecution sets the AllowDeferredExecution field's value.
func (s *JobExecutionSettings) SetDataAccessRoleArn(v string) *JobExecutionSettings
SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
func (s JobExecutionSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *JobExecutionSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LanguageIdSettings struct { // The name of the language model you want to use when transcribing your audio. // The model you specify must have the same language codes as the transcription // job; if the languages don't match, the language model isn't be applied. LanguageModelName *string `min:"1" type:"string"` // The name of the vocabulary filter you want to use when transcribing your // audio. The filter you specify must have the same language codes as the transcription // job; if the languages don't match, the vocabulary filter isn't be applied. VocabularyFilterName *string `min:"1" type:"string"` // The name of the vocabulary you want to use when processing your transcription // job. The vocabulary you specify must have the same language codes as the // transcription job; if the languages don't match, the vocabulary isn't applied. VocabularyName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Language-specific settings that can be specified when language identification is enabled.
func (s LanguageIdSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LanguageIdSettings) SetLanguageModelName(v string) *LanguageIdSettings
SetLanguageModelName sets the LanguageModelName field's value.
func (s *LanguageIdSettings) SetVocabularyFilterName(v string) *LanguageIdSettings
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s *LanguageIdSettings) SetVocabularyName(v string) *LanguageIdSettings
SetVocabularyName sets the VocabularyName field's value.
func (s LanguageIdSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LanguageIdSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 false 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 (s LanguageModel) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LanguageModel) SetBaseModelName(v string) *LanguageModel
SetBaseModelName sets the BaseModelName field's value.
func (s *LanguageModel) SetCreateTime(v time.Time) *LanguageModel
SetCreateTime sets the CreateTime field's value.
func (s *LanguageModel) SetFailureReason(v string) *LanguageModel
SetFailureReason sets the FailureReason field's value.
func (s *LanguageModel) SetInputDataConfig(v *InputDataConfig) *LanguageModel
SetInputDataConfig sets the InputDataConfig field's value.
func (s *LanguageModel) SetLanguageCode(v string) *LanguageModel
SetLanguageCode sets the LanguageCode field's value.
func (s *LanguageModel) SetLastModifiedTime(v time.Time) *LanguageModel
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *LanguageModel) SetModelName(v string) *LanguageModel
SetModelName sets the ModelName field's value.
func (s *LanguageModel) SetModelStatus(v string) *LanguageModel
SetModelStatus sets the ModelStatus field's value.
func (s *LanguageModel) SetUpgradeAvailability(v bool) *LanguageModel
SetUpgradeAvailability sets the UpgradeAvailability field's value.
func (s LanguageModel) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *LimitExceededException) Code() string
Code returns the exception type name.
func (s *LimitExceededException) Error() string
func (s LimitExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s LimitExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCallAnalyticsCategoriesInput struct { // The maximum number of categories to return in each page of results. If there // are fewer results than the value you specify, only the actual results are // returned. If you do not specify a value, the default of 5 is used. MaxResults *int64 `min:"1" type:"integer"` // When included, NextTokenfetches the next set of categories if the result // of the previous request was truncated. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListCallAnalyticsCategoriesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsCategoriesInput) SetMaxResults(v int64) *ListCallAnalyticsCategoriesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCallAnalyticsCategoriesInput) SetNextToken(v string) *ListCallAnalyticsCategoriesInput
SetNextToken sets the NextToken field's value.
func (s ListCallAnalyticsCategoriesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsCategoriesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCallAnalyticsCategoriesOutput struct { // A list of objects containing information about analytics categories. Categories []*CategoryProperties `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 categories 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 // analytics categories. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListCallAnalyticsCategoriesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsCategoriesOutput) SetCategories(v []*CategoryProperties) *ListCallAnalyticsCategoriesOutput
SetCategories sets the Categories field's value.
func (s *ListCallAnalyticsCategoriesOutput) SetNextToken(v string) *ListCallAnalyticsCategoriesOutput
SetNextToken sets the NextToken field's value.
func (s ListCallAnalyticsCategoriesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCallAnalyticsJobsInput 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 call analytics jobs to return in each page of results. // If there are fewer results than the value you specify, only the actual results // are returned. If you do not specify a value, the default of 5 is used. MaxResults *int64 `min:"1" type:"integer"` // If you receive a truncated result in the previous request of , include NextToken // to fetch the next set of jobs. NextToken *string `type:"string"` // When specified, returns only call analytics jobs with the specified status. // Jobs are ordered by creation date, with the most recent jobs returned first. // If you don't specify a status, Amazon Transcribe returns all analytics jobs // ordered by creation date. Status *string `type:"string" enum:"CallAnalyticsJobStatus"` // contains filtered or unexported fields }
func (s ListCallAnalyticsJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsJobsInput) SetJobNameContains(v string) *ListCallAnalyticsJobsInput
SetJobNameContains sets the JobNameContains field's value.
func (s *ListCallAnalyticsJobsInput) SetMaxResults(v int64) *ListCallAnalyticsJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListCallAnalyticsJobsInput) SetNextToken(v string) *ListCallAnalyticsJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListCallAnalyticsJobsInput) SetStatus(v string) *ListCallAnalyticsJobsInput
SetStatus sets the Status field's value.
func (s ListCallAnalyticsJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCallAnalyticsJobsOutput struct { // A list of objects containing summary information for a transcription job. CallAnalyticsJobSummaries []*CallAnalyticsJobSummary `type:"list"` // The 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 your next request to the operation to return next page of jobs. NextToken *string `type:"string"` // When specified, returns only call analytics jobs with that status. Jobs are // ordered by creation date, with the most recent 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:"CallAnalyticsJobStatus"` // contains filtered or unexported fields }
func (s ListCallAnalyticsJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListCallAnalyticsJobsOutput) SetCallAnalyticsJobSummaries(v []*CallAnalyticsJobSummary) *ListCallAnalyticsJobsOutput
SetCallAnalyticsJobSummaries sets the CallAnalyticsJobSummaries field's value.
func (s *ListCallAnalyticsJobsOutput) SetNextToken(v string) *ListCallAnalyticsJobsOutput
SetNextToken sets the NextToken field's value.
func (s *ListCallAnalyticsJobsOutput) SetStatus(v string) *ListCallAnalyticsJobsOutput
SetStatus sets the Status field's value.
func (s ListCallAnalyticsJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListLanguageModelsInput struct { // The maximum number of language models to return in each page of results. // If there are fewer results than the value you specify, only the actual results // are returned. If you do not specify a value, the default of 5 is used. 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 (s ListLanguageModelsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListLanguageModelsInput) SetMaxResults(v int64) *ListLanguageModelsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLanguageModelsInput) SetNameContains(v string) *ListLanguageModelsInput
SetNameContains sets the NameContains field's value.
func (s *ListLanguageModelsInput) SetNextToken(v string) *ListLanguageModelsInput
SetNextToken sets the NextToken field's value.
func (s *ListLanguageModelsInput) SetStatusEquals(v string) *ListLanguageModelsInput
SetStatusEquals sets the StatusEquals field's value.
func (s ListLanguageModelsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListLanguageModelsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListLanguageModelsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListLanguageModelsOutput) SetModels(v []*LanguageModel) *ListLanguageModelsOutput
SetModels sets the Models field's value.
func (s *ListLanguageModelsOutput) SetNextToken(v string) *ListLanguageModelsOutput
SetNextToken sets the NextToken field's value.
func (s ListLanguageModelsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 each page of // results. If there are fewer results than the value you specify, only the // actual results are returned. If you do not specify a value, the default of // 5 is used. 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 (s ListMedicalTranscriptionJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalTranscriptionJobsInput) SetJobNameContains(v string) *ListMedicalTranscriptionJobsInput
SetJobNameContains sets the JobNameContains field's value.
func (s *ListMedicalTranscriptionJobsInput) SetMaxResults(v int64) *ListMedicalTranscriptionJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMedicalTranscriptionJobsInput) SetNextToken(v string) *ListMedicalTranscriptionJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListMedicalTranscriptionJobsInput) SetStatus(v string) *ListMedicalTranscriptionJobsInput
SetStatus sets the Status field's value.
func (s ListMedicalTranscriptionJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalTranscriptionJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListMedicalTranscriptionJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalTranscriptionJobsOutput) SetMedicalTranscriptionJobSummaries(v []*MedicalTranscriptionJobSummary) *ListMedicalTranscriptionJobsOutput
SetMedicalTranscriptionJobSummaries sets the MedicalTranscriptionJobSummaries field's value.
func (s *ListMedicalTranscriptionJobsOutput) SetNextToken(v string) *ListMedicalTranscriptionJobsOutput
SetNextToken sets the NextToken field's value.
func (s *ListMedicalTranscriptionJobsOutput) SetStatus(v string) *ListMedicalTranscriptionJobsOutput
SetStatus sets the Status field's value.
func (s ListMedicalTranscriptionJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListMedicalVocabulariesInput struct { // The maximum number of vocabularies to return in each page of results. If // there are fewer results than the value you specify, only the actual results // are returned. If you do not specify a value, the default of 5 is used. 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 (s ListMedicalVocabulariesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalVocabulariesInput) SetMaxResults(v int64) *ListMedicalVocabulariesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListMedicalVocabulariesInput) SetNameContains(v string) *ListMedicalVocabulariesInput
SetNameContains sets the NameContains field's value.
func (s *ListMedicalVocabulariesInput) SetNextToken(v string) *ListMedicalVocabulariesInput
SetNextToken sets the NextToken field's value.
func (s *ListMedicalVocabulariesInput) SetStateEquals(v string) *ListMedicalVocabulariesInput
SetStateEquals sets the StateEquals field's value.
func (s ListMedicalVocabulariesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalVocabulariesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListMedicalVocabulariesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListMedicalVocabulariesOutput) SetNextToken(v string) *ListMedicalVocabulariesOutput
SetNextToken sets the NextToken field's value.
func (s *ListMedicalVocabulariesOutput) SetStatus(v string) *ListMedicalVocabulariesOutput
SetStatus sets the Status field's value.
func (s *ListMedicalVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListMedicalVocabulariesOutput
SetVocabularies sets the Vocabularies field's value.
func (s ListMedicalVocabulariesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput struct { // Lists all tags associated with a given Amazon Resource Name (ARN). ARNs have // the format arn:partition:service:region:account-id:resource-type/resource-id // (for example, arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). // Valid values for resource-type are: transcription-job, medical-transcription-job, // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput struct { // Lists all tags associated with the given Amazon Resource Name (ARN). ResourceArn *string `min:"1" type:"string"` // Lists all tags associated with the given transcription job, vocabulary, or // resource. Tags []*Tag `min:"1" type:"list"` // contains filtered or unexported fields }
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTagsForResourceOutput) SetResourceArn(v string) *ListTagsForResourceOutput
SetResourceArn sets the ResourceArn field's value.
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 each page of results. If there are // fewer results than the value you specify, only the actual results are returned. // If you do not specify a value, the default of 5 is used. MaxResults *int64 `min:"1" type:"integer"` // If the result of the previous request to ListTranscriptionJobs is 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 (s ListTranscriptionJobsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTranscriptionJobsInput) SetJobNameContains(v string) *ListTranscriptionJobsInput
SetJobNameContains sets the JobNameContains field's value.
func (s *ListTranscriptionJobsInput) SetMaxResults(v int64) *ListTranscriptionJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTranscriptionJobsInput) SetNextToken(v string) *ListTranscriptionJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListTranscriptionJobsInput) SetStatus(v string) *ListTranscriptionJobsInput
SetStatus sets the Status field's value.
func (s ListTranscriptionJobsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTranscriptionJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListTranscriptionJobsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListTranscriptionJobsOutput) SetNextToken(v string) *ListTranscriptionJobsOutput
SetNextToken sets the NextToken field's value.
func (s *ListTranscriptionJobsOutput) SetStatus(v string) *ListTranscriptionJobsOutput
SetStatus sets the Status field's value.
func (s *ListTranscriptionJobsOutput) SetTranscriptionJobSummaries(v []*TranscriptionJobSummary) *ListTranscriptionJobsOutput
SetTranscriptionJobSummaries sets the TranscriptionJobSummaries field's value.
func (s ListTranscriptionJobsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListVocabulariesInput struct { // The maximum number of vocabularies to return in each page of results. If // there are fewer results than the value you specify, only the actual results // are returned. If you do not specify a value, the default of 5 is used. 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 (s ListVocabulariesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabulariesInput) SetMaxResults(v int64) *ListVocabulariesInput
SetMaxResults sets the MaxResults field's value.
func (s *ListVocabulariesInput) SetNameContains(v string) *ListVocabulariesInput
SetNameContains sets the NameContains field's value.
func (s *ListVocabulariesInput) SetNextToken(v string) *ListVocabulariesInput
SetNextToken sets the NextToken field's value.
func (s *ListVocabulariesInput) SetStateEquals(v string) *ListVocabulariesInput
SetStateEquals sets the StateEquals field's value.
func (s ListVocabulariesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabulariesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListVocabulariesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabulariesOutput) SetNextToken(v string) *ListVocabulariesOutput
SetNextToken sets the NextToken field's value.
func (s *ListVocabulariesOutput) SetStatus(v string) *ListVocabulariesOutput
SetStatus sets the Status field's value.
func (s *ListVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListVocabulariesOutput
SetVocabularies sets the Vocabularies field's value.
func (s ListVocabulariesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListVocabularyFiltersInput struct { // The maximum number of filters to return in each page of results. If there // are fewer results than the value you specify, only the actual results are // returned. If you do not specify a value, the default of 5 is used. 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 (s ListVocabularyFiltersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabularyFiltersInput) SetMaxResults(v int64) *ListVocabularyFiltersInput
SetMaxResults sets the MaxResults field's value.
func (s *ListVocabularyFiltersInput) SetNameContains(v string) *ListVocabularyFiltersInput
SetNameContains sets the NameContains field's value.
func (s *ListVocabularyFiltersInput) SetNextToken(v string) *ListVocabularyFiltersInput
SetNextToken sets the NextToken field's value.
func (s ListVocabularyFiltersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabularyFiltersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ListVocabularyFiltersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVocabularyFiltersOutput) SetNextToken(v string) *ListVocabularyFiltersOutput
SetNextToken sets the NextToken field's value.
func (s *ListVocabularyFiltersOutput) SetVocabularyFilters(v []*VocabularyFilterInfo) *ListVocabularyFiltersOutput
SetVocabularyFilters sets the VocabularyFilters field's value.
func (s ListVocabularyFiltersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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: // // s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey // // For example: // // s3://DOC-EXAMPLE-BUCKET/example.flac // // s3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac // // For more information about S3 object names, see Object Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys) // in the Amazon S3 Developer Guide. MediaFileUri *string `min:"1" type:"string"` // The S3 object location for your redacted output media file. This is only // supported for call analytics jobs. RedactedMediaFileUri *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes the input media file in a transcription request.
func (s Media) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Media) SetMediaFileUri(v string) *Media
SetMediaFileUri sets the MediaFileUri field's value.
func (s *Media) SetRedactedMediaFileUri(v string) *Media
SetRedactedMediaFileUri sets the RedactedMediaFileUri field's value.
func (s Media) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Media) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s MedicalTranscript) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MedicalTranscript) SetTranscriptFileUri(v string) *MedicalTranscript
SetTranscriptFileUri sets the TranscriptFileUri field's value.
func (s MedicalTranscript) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 8,000 and 48,000 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. MediaSampleRateHertz *int64 `min:"16000" 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. Refer to Transcribing a medical conversation (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html)for // a list of supported specialties. Specialty *string `type:"string" enum:"Specialty"` // A timestamp that shows when the job started processing. StartTime *time.Time `type:"timestamp"` // A key:value pair assigned to a given medical transcription job. Tags []*Tag `min:"1" type:"list"` // 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 What // is Amazon Transcribe Medical? (https://docs.aws.amazon.com/transcribe/latest/dg/what-is-transcribe-med.html). Type *string `type:"string" enum:"Type"` // contains filtered or unexported fields }
The data structure that contains the information for a medical transcription job.
func (s MedicalTranscriptionJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MedicalTranscriptionJob) SetCompletionTime(v time.Time) *MedicalTranscriptionJob
SetCompletionTime sets the CompletionTime field's value.
func (s *MedicalTranscriptionJob) SetContentIdentificationType(v string) *MedicalTranscriptionJob
SetContentIdentificationType sets the ContentIdentificationType field's value.
func (s *MedicalTranscriptionJob) SetCreationTime(v time.Time) *MedicalTranscriptionJob
SetCreationTime sets the CreationTime field's value.
func (s *MedicalTranscriptionJob) SetFailureReason(v string) *MedicalTranscriptionJob
SetFailureReason sets the FailureReason field's value.
func (s *MedicalTranscriptionJob) SetLanguageCode(v string) *MedicalTranscriptionJob
SetLanguageCode sets the LanguageCode field's value.
func (s *MedicalTranscriptionJob) SetMedia(v *Media) *MedicalTranscriptionJob
SetMedia sets the Media field's value.
func (s *MedicalTranscriptionJob) SetMediaFormat(v string) *MedicalTranscriptionJob
SetMediaFormat sets the MediaFormat field's value.
func (s *MedicalTranscriptionJob) SetMediaSampleRateHertz(v int64) *MedicalTranscriptionJob
SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
func (s *MedicalTranscriptionJob) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJob
SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
func (s *MedicalTranscriptionJob) SetSettings(v *MedicalTranscriptionSetting) *MedicalTranscriptionJob
SetSettings sets the Settings field's value.
func (s *MedicalTranscriptionJob) SetSpecialty(v string) *MedicalTranscriptionJob
SetSpecialty sets the Specialty field's value.
func (s *MedicalTranscriptionJob) SetStartTime(v time.Time) *MedicalTranscriptionJob
SetStartTime sets the StartTime field's value.
func (s *MedicalTranscriptionJob) SetTags(v []*Tag) *MedicalTranscriptionJob
SetTags sets the Tags field's value.
func (s *MedicalTranscriptionJob) SetTranscript(v *MedicalTranscript) *MedicalTranscriptionJob
SetTranscript sets the Transcript field's value.
func (s *MedicalTranscriptionJob) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJob
SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
func (s *MedicalTranscriptionJob) SetType(v string) *MedicalTranscriptionJob
SetType sets the Type field's value.
func (s MedicalTranscriptionJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. This field must // be the path of an S3 bucket; if you don't already have an S3 bucket, one // is created based on the path you add. OutputLocationType *string `type:"string" enum:"OutputLocationType"` // The medical specialty of the transcription job. Refer to Transcribing a medical // conversation (https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html)for // a list of supported specialties. 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 (s MedicalTranscriptionJobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MedicalTranscriptionJobSummary) SetCompletionTime(v time.Time) *MedicalTranscriptionJobSummary
SetCompletionTime sets the CompletionTime field's value.
func (s *MedicalTranscriptionJobSummary) SetContentIdentificationType(v string) *MedicalTranscriptionJobSummary
SetContentIdentificationType sets the ContentIdentificationType field's value.
func (s *MedicalTranscriptionJobSummary) SetCreationTime(v time.Time) *MedicalTranscriptionJobSummary
SetCreationTime sets the CreationTime field's value.
func (s *MedicalTranscriptionJobSummary) SetFailureReason(v string) *MedicalTranscriptionJobSummary
SetFailureReason sets the FailureReason field's value.
func (s *MedicalTranscriptionJobSummary) SetLanguageCode(v string) *MedicalTranscriptionJobSummary
SetLanguageCode sets the LanguageCode field's value.
func (s *MedicalTranscriptionJobSummary) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJobSummary
SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
func (s *MedicalTranscriptionJobSummary) SetOutputLocationType(v string) *MedicalTranscriptionJobSummary
SetOutputLocationType sets the OutputLocationType field's value.
func (s *MedicalTranscriptionJobSummary) SetSpecialty(v string) *MedicalTranscriptionJobSummary
SetSpecialty sets the Specialty field's value.
func (s *MedicalTranscriptionJobSummary) SetStartTime(v time.Time) *MedicalTranscriptionJobSummary
SetStartTime sets the StartTime field's value.
func (s *MedicalTranscriptionJobSummary) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJobSummary
SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
func (s *MedicalTranscriptionJobSummary) SetType(v string) *MedicalTranscriptionJobSummary
SetType sets the Type field's value.
func (s MedicalTranscriptionJobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s MedicalTranscriptionSetting) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MedicalTranscriptionSetting) SetChannelIdentification(v bool) *MedicalTranscriptionSetting
SetChannelIdentification sets the ChannelIdentification field's value.
func (s *MedicalTranscriptionSetting) SetMaxAlternatives(v int64) *MedicalTranscriptionSetting
SetMaxAlternatives sets the MaxAlternatives field's value.
func (s *MedicalTranscriptionSetting) SetMaxSpeakerLabels(v int64) *MedicalTranscriptionSetting
SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.
func (s *MedicalTranscriptionSetting) SetShowAlternatives(v bool) *MedicalTranscriptionSetting
SetShowAlternatives sets the ShowAlternatives field's value.
func (s *MedicalTranscriptionSetting) SetShowSpeakerLabels(v bool) *MedicalTranscriptionSetting
SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.
func (s *MedicalTranscriptionSetting) SetVocabularyName(v string) *MedicalTranscriptionSetting
SetVocabularyName sets the VocabularyName field's value.
func (s MedicalTranscriptionSetting) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *MedicalTranscriptionSetting) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s ModelSettings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ModelSettings) SetLanguageModelName(v string) *ModelSettings
SetLanguageModelName sets the LanguageModelName field's value.
func (s ModelSettings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ModelSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NonTalkTimeFilter struct { // An object you can use to specify a time range (in milliseconds) for when // no one is talking. For example, you could specify a time period between the // 30,000 millisecond mark and the 45,000 millisecond mark. You could also specify // the time period as the first 15,000 milliseconds or the last 15,000 milliseconds. AbsoluteTimeRange *AbsoluteTimeRange `type:"structure"` // Set to TRUE to look for a time period when people were talking. Negate *bool `type:"boolean"` // An object that allows percentages to specify the proportion of the call where // there was silence. For example, you can specify the first half of the call. // You can also specify the period of time between halfway through to three-quarters // of the way through the call. Because the length of conversation can vary // between calls, you can apply relative time ranges across all calls. RelativeTimeRange *RelativeTimeRange `type:"structure"` // The duration of the period when neither the customer nor agent was talking. Threshold *int64 `type:"long"` // contains filtered or unexported fields }
An object that enables you to configure your category to be applied to call analytics jobs where either the customer or agent was interrupted.
func (s NonTalkTimeFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NonTalkTimeFilter) SetAbsoluteTimeRange(v *AbsoluteTimeRange) *NonTalkTimeFilter
SetAbsoluteTimeRange sets the AbsoluteTimeRange field's value.
func (s *NonTalkTimeFilter) SetNegate(v bool) *NonTalkTimeFilter
SetNegate sets the Negate field's value.
func (s *NonTalkTimeFilter) SetRelativeTimeRange(v *RelativeTimeRange) *NonTalkTimeFilter
SetRelativeTimeRange sets the RelativeTimeRange field's value.
func (s *NonTalkTimeFilter) SetThreshold(v int64) *NonTalkTimeFilter
SetThreshold sets the Threshold field's value.
func (s NonTalkTimeFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s *NotFoundException) Code() string
Code returns the exception type name.
func (s *NotFoundException) Error() string
func (s NotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotFoundException) Message() string
Message returns the exception's message.
func (s *NotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *NotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *NotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s NotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RelativeTimeRange struct { // A value that indicates the percentage of the end of the time range. To set // a relative time range, you must specify a start percentage and an end percentage. // For example, if you specify the following values: // // * StartPercentage - 10 // // * EndPercentage - 50 // // This looks at the time range starting from 10% of the way into the call to // 50% of the way through the call. For a call that lasts 100,000 milliseconds, // this example range would apply from the 10,000 millisecond mark to the 50,000 // millisecond mark. EndPercentage *int64 `type:"integer"` // A range that takes the portion of the call up to the time in milliseconds // set by the value that you've specified. For example, if you specify 120000, // the time range is set for the first 120,000 milliseconds of the call. First *int64 `type:"integer"` // A range that takes the portion of the call from the time in milliseconds // set by the value that you've specified to the end of the call. For example, // if you specify 120000, the time range is set for the last 120,000 milliseconds // of the call. Last *int64 `type:"integer"` // A value that indicates the percentage of the beginning of the time range. // To set a relative time range, you must specify a start percentage and an // end percentage. For example, if you specify the following values: // // * StartPercentage - 10 // // * EndPercentage - 50 // // This looks at the time range starting from 10% of the way into the call to // 50% of the way through the call. For a call that lasts 100,000 milliseconds, // this example range would apply from the 10,000 millisecond mark to the 50,000 // millisecond mark. StartPercentage *int64 `type:"integer"` // contains filtered or unexported fields }
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
func (s RelativeTimeRange) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RelativeTimeRange) SetEndPercentage(v int64) *RelativeTimeRange
SetEndPercentage sets the EndPercentage field's value.
func (s *RelativeTimeRange) SetFirst(v int64) *RelativeTimeRange
SetFirst sets the First field's value.
func (s *RelativeTimeRange) SetLast(v int64) *RelativeTimeRange
SetLast sets the Last field's value.
func (s *RelativeTimeRange) SetStartPercentage(v int64) *RelativeTimeRange
SetStartPercentage sets the StartPercentage field's value.
func (s RelativeTimeRange) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Rule struct { // A condition for a time period when either the customer or agent was interrupting // the other person. InterruptionFilter *InterruptionFilter `type:"structure"` // A condition for a time period when neither the customer nor the agent was // talking. NonTalkTimeFilter *NonTalkTimeFilter `type:"structure"` // A condition that is applied to a particular customer sentiment. SentimentFilter *SentimentFilter `type:"structure"` // A condition that catches particular words or phrases based on a exact match. // For example, if you set the phrase "I want to speak to the manager", only // that exact phrase will be returned. TranscriptFilter *TranscriptFilter `type:"structure"` // contains filtered or unexported fields }
A condition in the call between the customer and the agent that you want to filter for.
func (s Rule) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Rule) SetInterruptionFilter(v *InterruptionFilter) *Rule
SetInterruptionFilter sets the InterruptionFilter field's value.
func (s *Rule) SetNonTalkTimeFilter(v *NonTalkTimeFilter) *Rule
SetNonTalkTimeFilter sets the NonTalkTimeFilter field's value.
func (s *Rule) SetSentimentFilter(v *SentimentFilter) *Rule
SetSentimentFilter sets the SentimentFilter field's value.
func (s *Rule) SetTranscriptFilter(v *TranscriptFilter) *Rule
SetTranscriptFilter sets the TranscriptFilter field's value.
func (s Rule) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Rule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SentimentFilter struct { // The time range, measured in seconds, of the sentiment. AbsoluteTimeRange *AbsoluteTimeRange `type:"structure"` // Set to TRUE to look for sentiments that weren't specified in the request. Negate *bool `type:"boolean"` // A value that determines whether the sentiment belongs to the customer or // the agent. ParticipantRole *string `type:"string" enum:"ParticipantRole"` // The time range, set in percentages, that correspond to proportion of the // call. RelativeTimeRange *RelativeTimeRange `type:"structure"` // An array that enables you to specify sentiments for the customer or agent. // You can specify one or more values. // // Sentiments is a required field Sentiments []*string `min:"1" type:"list" required:"true" enum:"SentimentValue"` // contains filtered or unexported fields }
An object that enables you to specify a particular customer or agent sentiment. If at least 50 percent of the conversation turns (the back-and-forth between two speakers) in a specified time period match the specified sentiment, Amazon Transcribe will consider the sentiment a match.
func (s SentimentFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SentimentFilter) SetAbsoluteTimeRange(v *AbsoluteTimeRange) *SentimentFilter
SetAbsoluteTimeRange sets the AbsoluteTimeRange field's value.
func (s *SentimentFilter) SetNegate(v bool) *SentimentFilter
SetNegate sets the Negate field's value.
func (s *SentimentFilter) SetParticipantRole(v string) *SentimentFilter
SetParticipantRole sets the ParticipantRole field's value.
func (s *SentimentFilter) SetRelativeTimeRange(v *RelativeTimeRange) *SentimentFilter
SetRelativeTimeRange sets the RelativeTimeRange field's value.
func (s *SentimentFilter) SetSentiments(v []*string) *SentimentFilter
SetSentiments sets the Sentiments field's value.
func (s SentimentFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SentimentFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s Settings) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Settings) SetChannelIdentification(v bool) *Settings
SetChannelIdentification sets the ChannelIdentification field's value.
func (s *Settings) SetMaxAlternatives(v int64) *Settings
SetMaxAlternatives sets the MaxAlternatives field's value.
func (s *Settings) SetMaxSpeakerLabels(v int64) *Settings
SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.
func (s *Settings) SetShowAlternatives(v bool) *Settings
SetShowAlternatives sets the ShowAlternatives field's value.
func (s *Settings) SetShowSpeakerLabels(v bool) *Settings
SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.
func (s *Settings) SetVocabularyFilterMethod(v string) *Settings
SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.
func (s *Settings) SetVocabularyFilterName(v string) *Settings
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s *Settings) SetVocabularyName(v string) *Settings
SetVocabularyName sets the VocabularyName field's value.
func (s Settings) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Settings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartCallAnalyticsJobInput struct { // The name of the call analytics job. You can't use the string "." or ".." // by themselves as the job name. The name must also be unique within an Amazon // Web Services account. If you try to create a call analytics job with the // same name as a previous call analytics job, you get a ConflictException error. // // CallAnalyticsJobName is a required field CallAnalyticsJobName *string `min:"1" type:"string" required:"true"` // When you start a call analytics job, you must pass an array that maps the // agent and the customer to specific audio channels. The values you can assign // to a channel are 0 and 1. The agent and the customer must each have their // own channel. You can't assign more than one channel to an agent or customer. ChannelDefinitions []*ChannelDefinition `min:"2" type:"list"` // The Amazon Resource Name (ARN) of a role that has access to the S3 bucket // that contains your input files. Amazon Transcribe assumes this role to read // queued audio files. If you have specified an output S3 bucket for your transcription // results, this role should have access to the output bucket as well. // // DataAccessRoleArn is a required field DataAccessRoleArn *string `min:"20" type:"string" required:"true"` // Describes the input media file in a transcription request. // // Media is a required field Media *Media `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the Amazon Web Services Key Management // Service key used to encrypt the output of the call analytics job. The user // calling the operation must have permission to use the specified KMS key. // // You use either of the following to identify an Amazon Web Services 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-56ef1234567890ab" // // * ARN of a KMS Key Alias: "arn:aws:kms:region:accountID:alias/ExampleAlias" // // If you don't specify an encryption key, the output of the call analytics // 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 OutputLocation parameter. OutputEncryptionKMSKeyId *string `min:"1" type:"string"` // The Amazon S3 location where the output of the call analytics job is stored. // You can provide the following location types to store the output of call // analytics job: // // * s3://DOC-EXAMPLE-BUCKET1 If you specify a bucket, Amazon Transcribe // saves the output of the analytics job as a JSON file at the root level // of the bucket. // // * s3://DOC-EXAMPLE-BUCKET1/folder/ f you specify a path, Amazon Transcribe // saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json. // If you specify a folder, you must provide a trailing slash. // // * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json. If you provide a path // that has the filename specified, Amazon Transcribe saves the output of // the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json. // // You can specify an Amazon Web Services Key Management Service (KMS) key to // encrypt the output of our analytics job 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 the analytics job output that // is placed in your S3 bucket. OutputLocation *string `min:"1" type:"string"` // A Settings object that provides optional settings for a call analytics job. Settings *CallAnalyticsJobSettings `type:"structure"` // contains filtered or unexported fields }
func (s StartCallAnalyticsJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartCallAnalyticsJobInput) SetCallAnalyticsJobName(v string) *StartCallAnalyticsJobInput
SetCallAnalyticsJobName sets the CallAnalyticsJobName field's value.
func (s *StartCallAnalyticsJobInput) SetChannelDefinitions(v []*ChannelDefinition) *StartCallAnalyticsJobInput
SetChannelDefinitions sets the ChannelDefinitions field's value.
func (s *StartCallAnalyticsJobInput) SetDataAccessRoleArn(v string) *StartCallAnalyticsJobInput
SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
func (s *StartCallAnalyticsJobInput) SetMedia(v *Media) *StartCallAnalyticsJobInput
SetMedia sets the Media field's value.
func (s *StartCallAnalyticsJobInput) SetOutputEncryptionKMSKeyId(v string) *StartCallAnalyticsJobInput
SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.
func (s *StartCallAnalyticsJobInput) SetOutputLocation(v string) *StartCallAnalyticsJobInput
SetOutputLocation sets the OutputLocation field's value.
func (s *StartCallAnalyticsJobInput) SetSettings(v *CallAnalyticsJobSettings) *StartCallAnalyticsJobInput
SetSettings sets the Settings field's value.
func (s StartCallAnalyticsJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartCallAnalyticsJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartCallAnalyticsJobOutput struct { // An object containing the details of the asynchronous call analytics job. CallAnalyticsJob *CallAnalyticsJob `type:"structure"` // contains filtered or unexported fields }
func (s StartCallAnalyticsJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartCallAnalyticsJobOutput) SetCallAnalyticsJob(v *CallAnalyticsJob) *StartCallAnalyticsJobOutput
SetCallAnalyticsJob sets the CallAnalyticsJob field's value.
func (s StartCallAnalyticsJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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"` // A map of plain text, non-secret key:value pairs, known as encryption context // pairs, that provide an added layer of security for your data. KMSEncryptionContext map[string]*string `min:"1" type:"map"` // 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:"16000" 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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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"` // Add tags to an Amazon Transcribe Medical transcription job. Tags []*Tag `min:"1" type:"list"` // 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, such as clinical notes. // // Type is a required field Type *string `type:"string" required:"true" enum:"Type"` // contains filtered or unexported fields }
func (s StartMedicalTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartMedicalTranscriptionJobInput) SetContentIdentificationType(v string) *StartMedicalTranscriptionJobInput
SetContentIdentificationType sets the ContentIdentificationType field's value.
func (s *StartMedicalTranscriptionJobInput) SetKMSEncryptionContext(v map[string]*string) *StartMedicalTranscriptionJobInput
SetKMSEncryptionContext sets the KMSEncryptionContext field's value.
func (s *StartMedicalTranscriptionJobInput) SetLanguageCode(v string) *StartMedicalTranscriptionJobInput
SetLanguageCode sets the LanguageCode field's value.
func (s *StartMedicalTranscriptionJobInput) SetMedia(v *Media) *StartMedicalTranscriptionJobInput
SetMedia sets the Media field's value.
func (s *StartMedicalTranscriptionJobInput) SetMediaFormat(v string) *StartMedicalTranscriptionJobInput
SetMediaFormat sets the MediaFormat field's value.
func (s *StartMedicalTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartMedicalTranscriptionJobInput
SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
func (s *StartMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *StartMedicalTranscriptionJobInput
SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
func (s *StartMedicalTranscriptionJobInput) SetOutputBucketName(v string) *StartMedicalTranscriptionJobInput
SetOutputBucketName sets the OutputBucketName field's value.
func (s *StartMedicalTranscriptionJobInput) SetOutputEncryptionKMSKeyId(v string) *StartMedicalTranscriptionJobInput
SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.
func (s *StartMedicalTranscriptionJobInput) SetOutputKey(v string) *StartMedicalTranscriptionJobInput
SetOutputKey sets the OutputKey field's value.
func (s *StartMedicalTranscriptionJobInput) SetSettings(v *MedicalTranscriptionSetting) *StartMedicalTranscriptionJobInput
SetSettings sets the Settings field's value.
func (s *StartMedicalTranscriptionJobInput) SetSpecialty(v string) *StartMedicalTranscriptionJobInput
SetSpecialty sets the Specialty field's value.
func (s *StartMedicalTranscriptionJobInput) SetTags(v []*Tag) *StartMedicalTranscriptionJobInput
SetTags sets the Tags field's value.
func (s *StartMedicalTranscriptionJobInput) SetType(v string) *StartMedicalTranscriptionJobInput
SetType sets the Type field's value.
func (s StartMedicalTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartMedicalTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartMedicalTranscriptionJobOutput struct { // A batch job submitted to transcribe medical speech to text. MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"` // contains filtered or unexported fields }
func (s StartMedicalTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob(v *MedicalTranscriptionJob) *StartMedicalTranscriptionJobOutput
SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.
func (s StartMedicalTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. // // You must include either LanguageCode or IdentifyLanguage in your request. 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"` // A map of plain text, non-secret key:value pairs, known as encryption context // pairs, that provide an added layer of security for your data. KMSEncryptionContext map[string]*string `min:"1" type:"map"` // The language code for the language used in the input media file. You must // include either LanguageCode or IdentifyLanguage in your request. // // To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video // file must be encoded at a sample rate of 16,000 Hz or higher. LanguageCode *string `type:"string" enum:"LanguageCode"` // The language identification settings associated with your transcription job. // These settings include VocabularyName, VocabularyFilterName, and LanguageModelName. LanguageIdSettings map[string]*LanguageIdSettings `min:"1" type:"map"` // 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. // // To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video // file must be encoded at a sample rate of 16,000 Hz or higher. LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // 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 Amazon Web Services 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 Amazon Web Services 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"` // Add subtitles to your batch transcription job. Subtitles *Subtitles `type:"structure"` // Add tags to an Amazon Transcribe transcription job. Tags []*Tag `min:"1" type:"list"` // 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 Amazon Web Services // 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 (s StartTranscriptionJobInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartTranscriptionJobInput) SetContentRedaction(v *ContentRedaction) *StartTranscriptionJobInput
SetContentRedaction sets the ContentRedaction field's value.
func (s *StartTranscriptionJobInput) SetIdentifyLanguage(v bool) *StartTranscriptionJobInput
SetIdentifyLanguage sets the IdentifyLanguage field's value.
func (s *StartTranscriptionJobInput) SetJobExecutionSettings(v *JobExecutionSettings) *StartTranscriptionJobInput
SetJobExecutionSettings sets the JobExecutionSettings field's value.
func (s *StartTranscriptionJobInput) SetKMSEncryptionContext(v map[string]*string) *StartTranscriptionJobInput
SetKMSEncryptionContext sets the KMSEncryptionContext field's value.
func (s *StartTranscriptionJobInput) SetLanguageCode(v string) *StartTranscriptionJobInput
SetLanguageCode sets the LanguageCode field's value.
func (s *StartTranscriptionJobInput) SetLanguageIdSettings(v map[string]*LanguageIdSettings) *StartTranscriptionJobInput
SetLanguageIdSettings sets the LanguageIdSettings field's value.
func (s *StartTranscriptionJobInput) SetLanguageOptions(v []*string) *StartTranscriptionJobInput
SetLanguageOptions sets the LanguageOptions field's value.
func (s *StartTranscriptionJobInput) SetMedia(v *Media) *StartTranscriptionJobInput
SetMedia sets the Media field's value.
func (s *StartTranscriptionJobInput) SetMediaFormat(v string) *StartTranscriptionJobInput
SetMediaFormat sets the MediaFormat field's value.
func (s *StartTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartTranscriptionJobInput
SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
func (s *StartTranscriptionJobInput) SetModelSettings(v *ModelSettings) *StartTranscriptionJobInput
SetModelSettings sets the ModelSettings field's value.
func (s *StartTranscriptionJobInput) SetOutputBucketName(v string) *StartTranscriptionJobInput
SetOutputBucketName sets the OutputBucketName field's value.
func (s *StartTranscriptionJobInput) SetOutputEncryptionKMSKeyId(v string) *StartTranscriptionJobInput
SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.
func (s *StartTranscriptionJobInput) SetOutputKey(v string) *StartTranscriptionJobInput
SetOutputKey sets the OutputKey field's value.
func (s *StartTranscriptionJobInput) SetSettings(v *Settings) *StartTranscriptionJobInput
SetSettings sets the Settings field's value.
func (s *StartTranscriptionJobInput) SetSubtitles(v *Subtitles) *StartTranscriptionJobInput
SetSubtitles sets the Subtitles field's value.
func (s *StartTranscriptionJobInput) SetTags(v []*Tag) *StartTranscriptionJobInput
SetTags sets the Tags field's value.
func (s *StartTranscriptionJobInput) SetTranscriptionJobName(v string) *StartTranscriptionJobInput
SetTranscriptionJobName sets the TranscriptionJobName field's value.
func (s StartTranscriptionJobInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartTranscriptionJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartTranscriptionJobOutput struct { // Provides information about your asynchronous transcription job. TranscriptionJob *TranscriptionJob `type:"structure"` // contains filtered or unexported fields }
func (s StartTranscriptionJobOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *StartTranscriptionJobOutput
SetTranscriptionJob sets the TranscriptionJob field's value.
func (s StartTranscriptionJobOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Subtitles struct { // Specify the output format for your subtitle file; if you select both srt // and vtt formats, two output files are generated. Formats []*string `type:"list" enum:"SubtitleFormat"` // Defines the starting value that is assigned to the first subtitle segment. // // The default start index for Amazon Transcribe is 0, which differs from the // more widely used standard of 1. If you're uncertain which value to use, we // recommend choosing 1, as this may improve compatibility with other services. OutputStartIndex *int64 `type:"integer"` // contains filtered or unexported fields }
Generate subtitles for your batch transcription job. Note that your subtitle files are placed in the same location as your transcription output.
func (s Subtitles) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Subtitles) SetFormats(v []*string) *Subtitles
SetFormats sets the Formats field's value.
func (s *Subtitles) SetOutputStartIndex(v int64) *Subtitles
SetOutputStartIndex sets the OutputStartIndex field's value.
func (s Subtitles) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SubtitlesOutput_ struct { // The format of your subtitle files. If your request specified both srt and // vtt formats, both formats are shown. Formats []*string `type:"list" enum:"SubtitleFormat"` // Shows the output start index value for your subtitle files. If you did not // specify a value in your request, the default value of 0 is used. OutputStartIndex *int64 `type:"integer"` // Contains the output location for your subtitle file. This location must be // an S3 bucket. SubtitleFileUris []*string `type:"list"` // contains filtered or unexported fields }
The S3 location where your subtitle files are located. Note that your subtitle files are placed in the same location as your transcription output. Refer to TranscriptFileUri to download your files.
func (s SubtitlesOutput_) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SubtitlesOutput_) SetFormats(v []*string) *SubtitlesOutput_
SetFormats sets the Formats field's value.
func (s *SubtitlesOutput_) SetOutputStartIndex(v int64) *SubtitlesOutput_
SetOutputStartIndex sets the OutputStartIndex field's value.
func (s *SubtitlesOutput_) SetSubtitleFileUris(v []*string) *SubtitlesOutput_
SetSubtitleFileUris sets the SubtitleFileUris field's value.
func (s SubtitlesOutput_) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Tag struct { // The first part of a key:value pair that forms a tag associated with a given // resource. For example, in the tag ‘Department’:’Sales’, the key is // 'Department'. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The second part of a key:value pair that forms a tag associated with a given // resource. For example, in the tag ‘Department’:’Sales’, the value // is 'Sales'. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
A key:value pair that adds metadata to a resource used by Amazon Transcribe. For example, a tag with the key:value pair ‘Department’:’Sales’ might be added to a resource to indicate its use by your organization's sales department.
func (s Tag) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Tag) SetKey(v string) *Tag
SetKey sets the Key field's value.
func (s *Tag) SetValue(v string) *Tag
SetValue sets the Value field's value.
func (s Tag) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Tag) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want // to tag. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id // (for example, arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). // Valid values for resource-type are: transcription-job, medical-transcription-job, // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // The tags you are assigning to a given Amazon Transcribe resource. // // Tags is a required field Tags []*Tag `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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(p client.ConfigProvider, cfgs ...*aws.Config) *TranscribeService
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 (c *TranscribeService) CreateCallAnalyticsCategory(input *CreateCallAnalyticsCategoryInput) (*CreateCallAnalyticsCategoryOutput, error)
CreateCallAnalyticsCategory API operation for Amazon Transcribe Service.
Creates a call analytics category. Amazon Transcribe applies the conditions specified by your call analytics categories to your call analytics jobs. For each analytics category, you must create between 1 and 20 rules. For example, you can create a 'greeting' category with a rule that flags calls in which your agent does not use a specified phrase (for example: "Please note this call may be recorded.") in the first 15 seconds of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call analytics categories to that 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 CreateCallAnalyticsCategory 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/CreateCallAnalyticsCategory
func (c *TranscribeService) CreateCallAnalyticsCategoryRequest(input *CreateCallAnalyticsCategoryInput) (req *request.Request, output *CreateCallAnalyticsCategoryOutput)
CreateCallAnalyticsCategoryRequest generates a "aws/request.Request" representing the client's request for the CreateCallAnalyticsCategory 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 CreateCallAnalyticsCategory for more information on using the CreateCallAnalyticsCategory 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 CreateCallAnalyticsCategoryRequest method. req, resp := client.CreateCallAnalyticsCategoryRequest(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/CreateCallAnalyticsCategory
func (c *TranscribeService) CreateCallAnalyticsCategoryWithContext(ctx aws.Context, input *CreateCallAnalyticsCategoryInput, opts ...request.Option) (*CreateCallAnalyticsCategoryOutput, error)
CreateCallAnalyticsCategoryWithContext is the same as CreateCallAnalyticsCategory with the addition of the ability to pass a context and additional request options.
See CreateCallAnalyticsCategory 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 (c *TranscribeService) CreateLanguageModel(input *CreateLanguageModelInput) (*CreateLanguageModelOutput, error)
CreateLanguageModel API operation for Amazon Transcribe Service.
Creates a new custom language model. When creating a new language model, you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model. You then include the S3 URI location of your training and tuning files, the language for the model, a unique name, and any tags you want associated with your model.
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 (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 (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 (c *TranscribeService) CreateMedicalVocabulary(input *CreateMedicalVocabularyInput) (*CreateMedicalVocabularyOutput, error)
CreateMedicalVocabulary API operation for Amazon Transcribe Service.
Creates a new custom medical vocabulary.
When creating a new medical vocabulary, you must upload a text file that contains your new entries, phrases, and terms into an S3 bucket. Note that this differs from , where you can include a list of terms within your request using the Phrases flag, as CreateMedicalVocabulary does not support the Phrases flag.
For more information on creating a custom vocabulary text file, see Creating a custom vocabulary (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html).
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 (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 (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 (c *TranscribeService) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error)
CreateVocabulary API operation for Amazon Transcribe Service.
Creates a new custom vocabulary.
When creating a new medical vocabulary, you can either upload a text file that contains your new entries, phrases, and terms into an S3 bucket or include a list of terms directly in your request using the Phrases flag.
For more information on creating a custom vocabulary, see Creating a custom vocabulary (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary-create.html).
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 (c *TranscribeService) CreateVocabularyFilter(input *CreateVocabularyFilterInput) (*CreateVocabularyFilterOutput, error)
CreateVocabularyFilter API operation for Amazon Transcribe Service.
Creates a new vocabulary filter that you can use to filter words from your transcription output. For example, you can use this operation to remove profanity from your transcript.
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 (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 (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 (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 (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 (c *TranscribeService) DeleteCallAnalyticsCategory(input *DeleteCallAnalyticsCategoryInput) (*DeleteCallAnalyticsCategoryOutput, error)
DeleteCallAnalyticsCategory API operation for Amazon Transcribe Service.
Deletes a call analytics category. To use this operation, specify the name of the category you want to delete using CategoryName.
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 DeleteCallAnalyticsCategory 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/DeleteCallAnalyticsCategory
func (c *TranscribeService) DeleteCallAnalyticsCategoryRequest(input *DeleteCallAnalyticsCategoryInput) (req *request.Request, output *DeleteCallAnalyticsCategoryOutput)
DeleteCallAnalyticsCategoryRequest generates a "aws/request.Request" representing the client's request for the DeleteCallAnalyticsCategory 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 DeleteCallAnalyticsCategory for more information on using the DeleteCallAnalyticsCategory 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 DeleteCallAnalyticsCategoryRequest method. req, resp := client.DeleteCallAnalyticsCategoryRequest(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/DeleteCallAnalyticsCategory
func (c *TranscribeService) DeleteCallAnalyticsCategoryWithContext(ctx aws.Context, input *DeleteCallAnalyticsCategoryInput, opts ...request.Option) (*DeleteCallAnalyticsCategoryOutput, error)
DeleteCallAnalyticsCategoryWithContext is the same as DeleteCallAnalyticsCategory with the addition of the ability to pass a context and additional request options.
See DeleteCallAnalyticsCategory 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 (c *TranscribeService) DeleteCallAnalyticsJob(input *DeleteCallAnalyticsJobInput) (*DeleteCallAnalyticsJobOutput, error)
DeleteCallAnalyticsJob API operation for Amazon Transcribe Service.
Deletes a call analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName.
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 DeleteCallAnalyticsJob 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/DeleteCallAnalyticsJob
func (c *TranscribeService) DeleteCallAnalyticsJobRequest(input *DeleteCallAnalyticsJobInput) (req *request.Request, output *DeleteCallAnalyticsJobOutput)
DeleteCallAnalyticsJobRequest generates a "aws/request.Request" representing the client's request for the DeleteCallAnalyticsJob 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 DeleteCallAnalyticsJob for more information on using the DeleteCallAnalyticsJob 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 DeleteCallAnalyticsJobRequest method. req, resp := client.DeleteCallAnalyticsJobRequest(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/DeleteCallAnalyticsJob
func (c *TranscribeService) DeleteCallAnalyticsJobWithContext(ctx aws.Context, input *DeleteCallAnalyticsJobInput, opts ...request.Option) (*DeleteCallAnalyticsJobOutput, error)
DeleteCallAnalyticsJobWithContext is the same as DeleteCallAnalyticsJob with the addition of the ability to pass a context and additional request options.
See DeleteCallAnalyticsJob 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 (c *TranscribeService) DeleteLanguageModel(input *DeleteLanguageModelInput) (*DeleteLanguageModelOutput, error)
DeleteLanguageModel API operation for Amazon Transcribe Service.
Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName.
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 (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 (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 (c *TranscribeService) DeleteMedicalTranscriptionJob(input *DeleteMedicalTranscriptionJobInput) (*DeleteMedicalTranscriptionJobOutput, error)
DeleteMedicalTranscriptionJob API operation for Amazon Transcribe Service.
Deletes a medical transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName.
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 (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 (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 (c *TranscribeService) DeleteMedicalVocabulary(input *DeleteMedicalVocabularyInput) (*DeleteMedicalVocabularyOutput, error)
DeleteMedicalVocabulary API operation for Amazon Transcribe Service.
Deletes a custom medical vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName.
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 (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 (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 (c *TranscribeService) DeleteTranscriptionJob(input *DeleteTranscriptionJobInput) (*DeleteTranscriptionJobOutput, error)
DeleteTranscriptionJob API operation for Amazon Transcribe Service.
Deletes a transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using TranscriptionJobName.
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 (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 (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 (c *TranscribeService) DeleteVocabulary(input *DeleteVocabularyInput) (*DeleteVocabularyOutput, error)
DeleteVocabulary API operation for Amazon Transcribe Service.
Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName.
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 (c *TranscribeService) DeleteVocabularyFilter(input *DeleteVocabularyFilterInput) (*DeleteVocabularyFilterOutput, error)
DeleteVocabularyFilter API operation for Amazon Transcribe Service.
Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary filter you want to delete using VocabularyFilterName.
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 (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 (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 (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 (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 (c *TranscribeService) DescribeLanguageModel(input *DescribeLanguageModelInput) (*DescribeLanguageModelOutput, error)
DescribeLanguageModel API operation for Amazon Transcribe Service.
Provides information about a specific custom language model in your Amazon Web Services account.
This operation also shows if the base language model you 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 you tried to create a new custom language model and the request wasn't successful, you can use this operation to help identify the reason.
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 (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 (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 (c *TranscribeService) GetCallAnalyticsCategory(input *GetCallAnalyticsCategoryInput) (*GetCallAnalyticsCategoryOutput, error)
GetCallAnalyticsCategory API operation for Amazon Transcribe Service.
Retrieves information about a call analytics category.
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 GetCallAnalyticsCategory 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/GetCallAnalyticsCategory
func (c *TranscribeService) GetCallAnalyticsCategoryRequest(input *GetCallAnalyticsCategoryInput) (req *request.Request, output *GetCallAnalyticsCategoryOutput)
GetCallAnalyticsCategoryRequest generates a "aws/request.Request" representing the client's request for the GetCallAnalyticsCategory 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 GetCallAnalyticsCategory for more information on using the GetCallAnalyticsCategory 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 GetCallAnalyticsCategoryRequest method. req, resp := client.GetCallAnalyticsCategoryRequest(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/GetCallAnalyticsCategory
func (c *TranscribeService) GetCallAnalyticsCategoryWithContext(ctx aws.Context, input *GetCallAnalyticsCategoryInput, opts ...request.Option) (*GetCallAnalyticsCategoryOutput, error)
GetCallAnalyticsCategoryWithContext is the same as GetCallAnalyticsCategory with the addition of the ability to pass a context and additional request options.
See GetCallAnalyticsCategory 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 (c *TranscribeService) GetCallAnalyticsJob(input *GetCallAnalyticsJobInput) (*GetCallAnalyticsJobOutput, error)
GetCallAnalyticsJob API operation for Amazon Transcribe Service.
Retrieves information about a call analytics job.
To view the job's status, refer to the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. If you enabled personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri 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 GetCallAnalyticsJob 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/GetCallAnalyticsJob
func (c *TranscribeService) GetCallAnalyticsJobRequest(input *GetCallAnalyticsJobInput) (req *request.Request, output *GetCallAnalyticsJobOutput)
GetCallAnalyticsJobRequest generates a "aws/request.Request" representing the client's request for the GetCallAnalyticsJob 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 GetCallAnalyticsJob for more information on using the GetCallAnalyticsJob 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 GetCallAnalyticsJobRequest method. req, resp := client.GetCallAnalyticsJobRequest(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/GetCallAnalyticsJob
func (c *TranscribeService) GetCallAnalyticsJobWithContext(ctx aws.Context, input *GetCallAnalyticsJobInput, opts ...request.Option) (*GetCallAnalyticsJobOutput, error)
GetCallAnalyticsJobWithContext is the same as GetCallAnalyticsJob with the addition of the ability to pass a context and additional request options.
See GetCallAnalyticsJob 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 (c *TranscribeService) GetMedicalTranscriptionJob(input *GetMedicalTranscriptionJobInput) (*GetMedicalTranscriptionJobOutput, error)
GetMedicalTranscriptionJob API operation for Amazon Transcribe Service.
Retrieves information about a medical transcription job.
To view the job's status, refer to the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified 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 (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 (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 (c *TranscribeService) GetMedicalVocabulary(input *GetMedicalVocabularyInput) (*GetMedicalVocabularyOutput, error)
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 (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 (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 (c *TranscribeService) GetTranscriptionJob(input *GetTranscriptionJobInput) (*GetTranscriptionJobOutput, error)
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 (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 (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 (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 (c *TranscribeService) GetVocabularyFilter(input *GetVocabularyFilterInput) (*GetVocabularyFilterOutput, error)
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 (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 (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 (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 (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 (c *TranscribeService) ListCallAnalyticsCategories(input *ListCallAnalyticsCategoriesInput) (*ListCallAnalyticsCategoriesOutput, error)
ListCallAnalyticsCategories API operation for Amazon Transcribe Service.
Provides more information about the call analytics categories that you've created. You can use the information in this list to find a specific category. 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 ListCallAnalyticsCategories 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/ListCallAnalyticsCategories
func (c *TranscribeService) ListCallAnalyticsCategoriesPages(input *ListCallAnalyticsCategoriesInput, fn func(*ListCallAnalyticsCategoriesOutput, bool) bool) error
ListCallAnalyticsCategoriesPages iterates over the pages of a ListCallAnalyticsCategories operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCallAnalyticsCategories 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 ListCallAnalyticsCategories operation. pageNum := 0 err := client.ListCallAnalyticsCategoriesPages(params, func(page *transcribeservice.ListCallAnalyticsCategoriesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *TranscribeService) ListCallAnalyticsCategoriesPagesWithContext(ctx aws.Context, input *ListCallAnalyticsCategoriesInput, fn func(*ListCallAnalyticsCategoriesOutput, bool) bool, opts ...request.Option) error
ListCallAnalyticsCategoriesPagesWithContext same as ListCallAnalyticsCategoriesPages 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 (c *TranscribeService) ListCallAnalyticsCategoriesRequest(input *ListCallAnalyticsCategoriesInput) (req *request.Request, output *ListCallAnalyticsCategoriesOutput)
ListCallAnalyticsCategoriesRequest generates a "aws/request.Request" representing the client's request for the ListCallAnalyticsCategories 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 ListCallAnalyticsCategories for more information on using the ListCallAnalyticsCategories 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 ListCallAnalyticsCategoriesRequest method. req, resp := client.ListCallAnalyticsCategoriesRequest(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/ListCallAnalyticsCategories
func (c *TranscribeService) ListCallAnalyticsCategoriesWithContext(ctx aws.Context, input *ListCallAnalyticsCategoriesInput, opts ...request.Option) (*ListCallAnalyticsCategoriesOutput, error)
ListCallAnalyticsCategoriesWithContext is the same as ListCallAnalyticsCategories with the addition of the ability to pass a context and additional request options.
See ListCallAnalyticsCategories 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 (c *TranscribeService) ListCallAnalyticsJobs(input *ListCallAnalyticsJobsInput) (*ListCallAnalyticsJobsOutput, error)
ListCallAnalyticsJobs API operation for Amazon Transcribe Service.
List call analytics 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 ListCallAnalyticsJobs 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/ListCallAnalyticsJobs
func (c *TranscribeService) ListCallAnalyticsJobsPages(input *ListCallAnalyticsJobsInput, fn func(*ListCallAnalyticsJobsOutput, bool) bool) error
ListCallAnalyticsJobsPages iterates over the pages of a ListCallAnalyticsJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCallAnalyticsJobs 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 ListCallAnalyticsJobs operation. pageNum := 0 err := client.ListCallAnalyticsJobsPages(params, func(page *transcribeservice.ListCallAnalyticsJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *TranscribeService) ListCallAnalyticsJobsPagesWithContext(ctx aws.Context, input *ListCallAnalyticsJobsInput, fn func(*ListCallAnalyticsJobsOutput, bool) bool, opts ...request.Option) error
ListCallAnalyticsJobsPagesWithContext same as ListCallAnalyticsJobsPages 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 (c *TranscribeService) ListCallAnalyticsJobsRequest(input *ListCallAnalyticsJobsInput) (req *request.Request, output *ListCallAnalyticsJobsOutput)
ListCallAnalyticsJobsRequest generates a "aws/request.Request" representing the client's request for the ListCallAnalyticsJobs 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 ListCallAnalyticsJobs for more information on using the ListCallAnalyticsJobs 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 ListCallAnalyticsJobsRequest method. req, resp := client.ListCallAnalyticsJobsRequest(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/ListCallAnalyticsJobs
func (c *TranscribeService) ListCallAnalyticsJobsWithContext(ctx aws.Context, input *ListCallAnalyticsJobsInput, opts ...request.Option) (*ListCallAnalyticsJobsOutput, error)
ListCallAnalyticsJobsWithContext is the same as ListCallAnalyticsJobs with the addition of the ability to pass a context and additional request options.
See ListCallAnalyticsJobs 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 (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 (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 (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 (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 (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 (c *TranscribeService) ListMedicalTranscriptionJobs(input *ListMedicalTranscriptionJobsInput) (*ListMedicalTranscriptionJobsOutput, error)
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 (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 (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 (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 (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 (c *TranscribeService) ListMedicalVocabularies(input *ListMedicalVocabulariesInput) (*ListMedicalVocabulariesOutput, error)
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 (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 (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 (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 (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 (c *TranscribeService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon Transcribe Service.
Lists all tags associated with a given transcription job, vocabulary, or resource.
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 ListTagsForResource 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. * 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResource
func (c *TranscribeService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(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/ListTagsForResource
func (c *TranscribeService) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource 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 (c *TranscribeService) ListTranscriptionJobs(input *ListTranscriptionJobsInput) (*ListTranscriptionJobsOutput, error)
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (c *TranscribeService) ListVocabularyFilters(input *ListVocabularyFiltersInput) (*ListVocabularyFiltersOutput, error)
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 (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 (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 (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 (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 (c *TranscribeService) StartCallAnalyticsJob(input *StartCallAnalyticsJobInput) (*StartCallAnalyticsJobOutput, error)
StartCallAnalyticsJob API operation for Amazon Transcribe Service.
Starts an asynchronous analytics job that not only transcribes the audio recording of a caller and agent, but also returns additional insights. These insights include how quickly or loudly the caller or agent was speaking. To retrieve additional insights with your analytics jobs, create categories. A category is a way to classify analytics jobs based on attributes, such as a customer's sentiment or a particular phrase being used during the call. For more information, see the operation.
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 StartCallAnalyticsJob 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/StartCallAnalyticsJob
func (c *TranscribeService) StartCallAnalyticsJobRequest(input *StartCallAnalyticsJobInput) (req *request.Request, output *StartCallAnalyticsJobOutput)
StartCallAnalyticsJobRequest generates a "aws/request.Request" representing the client's request for the StartCallAnalyticsJob 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 StartCallAnalyticsJob for more information on using the StartCallAnalyticsJob 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 StartCallAnalyticsJobRequest method. req, resp := client.StartCallAnalyticsJobRequest(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/StartCallAnalyticsJob
func (c *TranscribeService) StartCallAnalyticsJobWithContext(ctx aws.Context, input *StartCallAnalyticsJobInput, opts ...request.Option) (*StartCallAnalyticsJobOutput, error)
StartCallAnalyticsJobWithContext is the same as StartCallAnalyticsJob with the addition of the ability to pass a context and additional request options.
See StartCallAnalyticsJob 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 (c *TranscribeService) StartMedicalTranscriptionJob(input *StartMedicalTranscriptionJobInput) (*StartMedicalTranscriptionJobOutput, error)
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 (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 (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 (c *TranscribeService) StartTranscriptionJob(input *StartTranscriptionJobInput) (*StartTranscriptionJobOutput, error)
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 (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 (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 (c *TranscribeService) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon Transcribe Service.
Tags an Amazon Transcribe resource with the given list of tags.
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 TagResource 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. * ConflictException There is already a resource with that name. * 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResource
func (c *TranscribeService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method. req, resp := client.TagResourceRequest(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/TagResource
func (c *TranscribeService) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource 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 (c *TranscribeService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon Transcribe Service.
Removes specified tags from a specified Amazon Transcribe resource.
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 UntagResource 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. * ConflictException There is already a resource with that name. * NotFoundException We can't find the requested resource. Check the name and try your request again. * 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/UntagResource
func (c *TranscribeService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method. req, resp := client.UntagResourceRequest(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/UntagResource
func (c *TranscribeService) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource 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 (c *TranscribeService) UpdateCallAnalyticsCategory(input *UpdateCallAnalyticsCategoryInput) (*UpdateCallAnalyticsCategoryOutput, error)
UpdateCallAnalyticsCategory API operation for Amazon Transcribe Service.
Updates the call analytics category with new values. The UpdateCallAnalyticsCategory 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 UpdateCallAnalyticsCategory 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/UpdateCallAnalyticsCategory
func (c *TranscribeService) UpdateCallAnalyticsCategoryRequest(input *UpdateCallAnalyticsCategoryInput) (req *request.Request, output *UpdateCallAnalyticsCategoryOutput)
UpdateCallAnalyticsCategoryRequest generates a "aws/request.Request" representing the client's request for the UpdateCallAnalyticsCategory 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 UpdateCallAnalyticsCategory for more information on using the UpdateCallAnalyticsCategory 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 UpdateCallAnalyticsCategoryRequest method. req, resp := client.UpdateCallAnalyticsCategoryRequest(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/UpdateCallAnalyticsCategory
func (c *TranscribeService) UpdateCallAnalyticsCategoryWithContext(ctx aws.Context, input *UpdateCallAnalyticsCategoryInput, opts ...request.Option) (*UpdateCallAnalyticsCategoryOutput, error)
UpdateCallAnalyticsCategoryWithContext is the same as UpdateCallAnalyticsCategory with the addition of the ability to pass a context and additional request options.
See UpdateCallAnalyticsCategory 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 (c *TranscribeService) UpdateMedicalVocabulary(input *UpdateMedicalVocabularyInput) (*UpdateMedicalVocabularyOutput, error)
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 (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 (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 (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 (c *TranscribeService) UpdateVocabularyFilter(input *UpdateVocabularyFilterInput) (*UpdateVocabularyFilterOutput, error)
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 (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 (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 (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 (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 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 (s Transcript) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *Transcript) SetRedactedTranscriptFileUri(v string) *Transcript
SetRedactedTranscriptFileUri sets the RedactedTranscriptFileUri field's value.
func (s *Transcript) SetTranscriptFileUri(v string) *Transcript
SetTranscriptFileUri sets the TranscriptFileUri field's value.
func (s Transcript) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TranscriptFilter struct { // A time range, set in seconds, between two points in the call. AbsoluteTimeRange *AbsoluteTimeRange `type:"structure"` // If TRUE, the rule that you specify is applied to everything except for the // phrases that you specify. Negate *bool `type:"boolean"` // Determines whether the customer or the agent is speaking the phrases that // you've specified. ParticipantRole *string `type:"string" enum:"ParticipantRole"` // An object that allows percentages to specify the proportion of the call where // you would like to apply a filter. For example, you can specify the first // half of the call. You can also specify the period of time between halfway // through to three-quarters of the way through the call. Because the length // of conversation can vary between calls, you can apply relative time ranges // across all calls. RelativeTimeRange *RelativeTimeRange `type:"structure"` // The phrases that you're specifying for the transcript filter to match. // // Targets is a required field Targets []*string `min:"1" type:"list" required:"true"` // Matches the phrase to the transcription output in a word for word fashion. // For example, if you specify the phrase "I want to speak to the manager." // Amazon Transcribe attempts to match that specific phrase to the transcription. // // TranscriptFilterType is a required field TranscriptFilterType *string `type:"string" required:"true" enum:"TranscriptFilterType"` // contains filtered or unexported fields }
Matches the output of the transcription to either the specific phrases that you specify, or the intent of the phrases that you specify.
func (s TranscriptFilter) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TranscriptFilter) SetAbsoluteTimeRange(v *AbsoluteTimeRange) *TranscriptFilter
SetAbsoluteTimeRange sets the AbsoluteTimeRange field's value.
func (s *TranscriptFilter) SetNegate(v bool) *TranscriptFilter
SetNegate sets the Negate field's value.
func (s *TranscriptFilter) SetParticipantRole(v string) *TranscriptFilter
SetParticipantRole sets the ParticipantRole field's value.
func (s *TranscriptFilter) SetRelativeTimeRange(v *RelativeTimeRange) *TranscriptFilter
SetRelativeTimeRange sets the RelativeTimeRange field's value.
func (s *TranscriptFilter) SetTargets(v []*string) *TranscriptFilter
SetTargets sets the Targets field's value.
func (s *TranscriptFilter) SetTranscriptFilterType(v string) *TranscriptFilter
SetTranscriptFilterType sets the TranscriptFilterType field's value.
func (s TranscriptFilter) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TranscriptFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TranscriptionJob struct { // A timestamp that shows when the job 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 8,000 and 48,000 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"` // Language-specific settings that can be specified when language identification // is enabled for your transcription job. These settings include VocabularyName, // VocabularyFilterName, and LanguageModelName. LanguageIdSettings map[string]*LanguageIdSettings `min:"1" type:"map"` // An object that shows the optional array of languages inputted for transcription // jobs with automatic language identification enabled. LanguageOptions []*string `min:"1" type:"list" enum:"LanguageCode"` // 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 (Hz), 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 when the job started processing. StartTime *time.Time `type:"timestamp"` // Generate subtitles for your batch transcription job. Subtitles *SubtitlesOutput_ `type:"structure"` // A key:value pair assigned to a given transcription job. Tags []*Tag `min:"1" type:"list"` // 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 (s TranscriptionJob) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TranscriptionJob) SetCompletionTime(v time.Time) *TranscriptionJob
SetCompletionTime sets the CompletionTime field's value.
func (s *TranscriptionJob) SetContentRedaction(v *ContentRedaction) *TranscriptionJob
SetContentRedaction sets the ContentRedaction field's value.
func (s *TranscriptionJob) SetCreationTime(v time.Time) *TranscriptionJob
SetCreationTime sets the CreationTime field's value.
func (s *TranscriptionJob) SetFailureReason(v string) *TranscriptionJob
SetFailureReason sets the FailureReason field's value.
func (s *TranscriptionJob) SetIdentifiedLanguageScore(v float64) *TranscriptionJob
SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.
func (s *TranscriptionJob) SetIdentifyLanguage(v bool) *TranscriptionJob
SetIdentifyLanguage sets the IdentifyLanguage field's value.
func (s *TranscriptionJob) SetJobExecutionSettings(v *JobExecutionSettings) *TranscriptionJob
SetJobExecutionSettings sets the JobExecutionSettings field's value.
func (s *TranscriptionJob) SetLanguageCode(v string) *TranscriptionJob
SetLanguageCode sets the LanguageCode field's value.
func (s *TranscriptionJob) SetLanguageIdSettings(v map[string]*LanguageIdSettings) *TranscriptionJob
SetLanguageIdSettings sets the LanguageIdSettings field's value.
func (s *TranscriptionJob) SetLanguageOptions(v []*string) *TranscriptionJob
SetLanguageOptions sets the LanguageOptions field's value.
func (s *TranscriptionJob) SetMedia(v *Media) *TranscriptionJob
SetMedia sets the Media field's value.
func (s *TranscriptionJob) SetMediaFormat(v string) *TranscriptionJob
SetMediaFormat sets the MediaFormat field's value.
func (s *TranscriptionJob) SetMediaSampleRateHertz(v int64) *TranscriptionJob
SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
func (s *TranscriptionJob) SetModelSettings(v *ModelSettings) *TranscriptionJob
SetModelSettings sets the ModelSettings field's value.
func (s *TranscriptionJob) SetSettings(v *Settings) *TranscriptionJob
SetSettings sets the Settings field's value.
func (s *TranscriptionJob) SetStartTime(v time.Time) *TranscriptionJob
SetStartTime sets the StartTime field's value.
func (s *TranscriptionJob) SetSubtitles(v *SubtitlesOutput_) *TranscriptionJob
SetSubtitles sets the Subtitles field's value.
func (s *TranscriptionJob) SetTags(v []*Tag) *TranscriptionJob
SetTags sets the Tags field's value.
func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob
SetTranscript sets the Transcript field's value.
func (s *TranscriptionJob) SetTranscriptionJobName(v string) *TranscriptionJob
SetTranscriptionJobName sets the TranscriptionJobName field's value.
func (s *TranscriptionJob) SetTranscriptionJobStatus(v string) *TranscriptionJob
SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
func (s TranscriptionJob) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s TranscriptionJobSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *TranscriptionJobSummary) SetCompletionTime(v time.Time) *TranscriptionJobSummary
SetCompletionTime sets the CompletionTime field's value.
func (s *TranscriptionJobSummary) SetContentRedaction(v *ContentRedaction) *TranscriptionJobSummary
SetContentRedaction sets the ContentRedaction field's value.
func (s *TranscriptionJobSummary) SetCreationTime(v time.Time) *TranscriptionJobSummary
SetCreationTime sets the CreationTime field's value.
func (s *TranscriptionJobSummary) SetFailureReason(v string) *TranscriptionJobSummary
SetFailureReason sets the FailureReason field's value.
func (s *TranscriptionJobSummary) SetIdentifiedLanguageScore(v float64) *TranscriptionJobSummary
SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.
func (s *TranscriptionJobSummary) SetIdentifyLanguage(v bool) *TranscriptionJobSummary
SetIdentifyLanguage sets the IdentifyLanguage field's value.
func (s *TranscriptionJobSummary) SetLanguageCode(v string) *TranscriptionJobSummary
SetLanguageCode sets the LanguageCode field's value.
func (s *TranscriptionJobSummary) SetModelSettings(v *ModelSettings) *TranscriptionJobSummary
SetModelSettings sets the ModelSettings field's value.
func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary
SetOutputLocationType sets the OutputLocationType field's value.
func (s *TranscriptionJobSummary) SetStartTime(v time.Time) *TranscriptionJobSummary
SetStartTime sets the StartTime field's value.
func (s *TranscriptionJobSummary) SetTranscriptionJobName(v string) *TranscriptionJobSummary
SetTranscriptionJobName sets the TranscriptionJobName field's value.
func (s *TranscriptionJobSummary) SetTranscriptionJobStatus(v string) *TranscriptionJobSummary
SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
func (s TranscriptionJobSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the Amazon Transcribe resource you want // to remove tags from. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id // (for example, arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name). // Valid values for resource-type are: transcription-job, medical-transcription-job, // vocabulary, medical-vocabulary, vocabulary-filter, and language-model. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // A list of tag keys you want to remove from a specified Amazon Transcribe // resource. // // TagKeys is a required field TagKeys []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateCallAnalyticsCategoryInput struct { // The name of the analytics category to update. The name is case sensitive. // If you try to update a call analytics category with the same name as a previous // category you will receive a ConflictException error. // // CategoryName is a required field CategoryName *string `min:"1" type:"string" required:"true"` // The rules used for the updated analytics category. The rules that you provide // in this field replace the ones that are currently being used. // // Rules is a required field Rules []*Rule `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s UpdateCallAnalyticsCategoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateCallAnalyticsCategoryInput) SetCategoryName(v string) *UpdateCallAnalyticsCategoryInput
SetCategoryName sets the CategoryName field's value.
func (s *UpdateCallAnalyticsCategoryInput) SetRules(v []*Rule) *UpdateCallAnalyticsCategoryInput
SetRules sets the Rules field's value.
func (s UpdateCallAnalyticsCategoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateCallAnalyticsCategoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCallAnalyticsCategoryOutput struct { // The attributes describing the analytics category. You can see information // such as the rules that you've used to update the category and when the category // was originally created. CategoryProperties *CategoryProperties `type:"structure"` // contains filtered or unexported fields }
func (s UpdateCallAnalyticsCategoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateCallAnalyticsCategoryOutput) SetCategoryProperties(v *CategoryProperties) *UpdateCallAnalyticsCategoryOutput
SetCategoryProperties sets the CategoryProperties field's value.
func (s UpdateCallAnalyticsCategoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateMedicalVocabularyInput struct { // The language code of the language used for the entries in the updated vocabulary. // U.S. 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 your custom vocabulary. // The URI must be in the same Amazon Web Services 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/DOC-EXAMPLE-BUCKET/vocab.txt // // For more information about Amazon S3 object names, see Object Keys (https://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 (https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html). 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 (s UpdateMedicalVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateMedicalVocabularyInput) SetLanguageCode(v string) *UpdateMedicalVocabularyInput
SetLanguageCode sets the LanguageCode field's value.
func (s *UpdateMedicalVocabularyInput) SetVocabularyFileUri(v string) *UpdateMedicalVocabularyInput
SetVocabularyFileUri sets the VocabularyFileUri field's value.
func (s *UpdateMedicalVocabularyInput) SetVocabularyName(v string) *UpdateMedicalVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s UpdateMedicalVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateMedicalVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateMedicalVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateMedicalVocabularyOutput) SetLanguageCode(v string) *UpdateMedicalVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *UpdateMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *UpdateMedicalVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *UpdateMedicalVocabularyOutput) SetVocabularyName(v string) *UpdateMedicalVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *UpdateMedicalVocabularyOutput) SetVocabularyState(v string) *UpdateMedicalVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s UpdateMedicalVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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/charsets.html). // // 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/charsets.html). // // 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 (s UpdateVocabularyFilterInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *UpdateVocabularyFilterInput
SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.
func (s *UpdateVocabularyFilterInput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterInput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s *UpdateVocabularyFilterInput) SetWords(v []*string) *UpdateVocabularyFilterInput
SetWords sets the Words field's value.
func (s UpdateVocabularyFilterInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyFilterInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateVocabularyFilterOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyFilterOutput) SetLanguageCode(v string) *UpdateVocabularyFilterOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *UpdateVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *UpdateVocabularyFilterOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *UpdateVocabularyFilterOutput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterOutput
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s UpdateVocabularyFilterOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateVocabularyInput struct { // The language code of the vocabulary entries. For a list of languages and // their corresponding language codes, see Supported languages (https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html). // // 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: // // https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey // // For example: // // https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt // // For more information about S3 object names, see Object Keys (https://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 (https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html). 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 (s UpdateVocabularyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyInput) SetLanguageCode(v string) *UpdateVocabularyInput
SetLanguageCode sets the LanguageCode field's value.
func (s *UpdateVocabularyInput) SetPhrases(v []*string) *UpdateVocabularyInput
SetPhrases sets the Phrases field's value.
func (s *UpdateVocabularyInput) SetVocabularyFileUri(v string) *UpdateVocabularyInput
SetVocabularyFileUri sets the VocabularyFileUri field's value.
func (s *UpdateVocabularyInput) SetVocabularyName(v string) *UpdateVocabularyInput
SetVocabularyName sets the VocabularyName field's value.
func (s UpdateVocabularyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 (s UpdateVocabularyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *UpdateVocabularyOutput) SetLanguageCode(v string) *UpdateVocabularyOutput
SetLanguageCode sets the LanguageCode field's value.
func (s *UpdateVocabularyOutput) SetLastModifiedTime(v time.Time) *UpdateVocabularyOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *UpdateVocabularyOutput) SetVocabularyName(v string) *UpdateVocabularyOutput
SetVocabularyName sets the VocabularyName field's value.
func (s *UpdateVocabularyOutput) SetVocabularyState(v string) *UpdateVocabularyOutput
SetVocabularyState sets the VocabularyState field's value.
func (s UpdateVocabularyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s VocabularyFilterInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VocabularyFilterInfo) SetLanguageCode(v string) *VocabularyFilterInfo
SetLanguageCode sets the LanguageCode field's value.
func (s *VocabularyFilterInfo) SetLastModifiedTime(v time.Time) *VocabularyFilterInfo
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *VocabularyFilterInfo) SetVocabularyFilterName(v string) *VocabularyFilterInfo
SetVocabularyFilterName sets the VocabularyFilterName field's value.
func (s VocabularyFilterInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 (s VocabularyInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *VocabularyInfo) SetLanguageCode(v string) *VocabularyInfo
SetLanguageCode sets the LanguageCode field's value.
func (s *VocabularyInfo) SetLastModifiedTime(v time.Time) *VocabularyInfo
SetLastModifiedTime sets the LastModifiedTime field's value.
func (s *VocabularyInfo) SetVocabularyName(v string) *VocabularyInfo
SetVocabularyName sets the VocabularyName field's value.
func (s *VocabularyInfo) SetVocabularyState(v string) *VocabularyInfo
SetVocabularyState sets the VocabularyState field's value.
func (s VocabularyInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".