aws-sdk-go: github.com/aws/aws-sdk-go/service/transcribeservice Index | Files | Directories

package transcribeservice

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

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

Operations and objects for transcribing speech to text.

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

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

Using the Client

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

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

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

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

Index

Package Files

api.go doc.go errors.go service.go

Constants

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // LanguageCodeZhCn is a LanguageCode enum value
    LanguageCodeZhCn = "zh-CN"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // LanguageCodeArAe is a LanguageCode enum value
    LanguageCodeArAe = "ar-AE"
)
const (
    // MediaFormatMp3 is a MediaFormat enum value
    MediaFormatMp3 = "mp3"

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

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

    // MediaFormatFlac is a MediaFormat enum value
    MediaFormatFlac = "flac"
)
const (
    // OutputLocationTypeCustomerBucket is a OutputLocationType enum value
    OutputLocationTypeCustomerBucket = "CUSTOMER_BUCKET"

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

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

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

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

    // TranscriptionJobStatusCompleted is a TranscriptionJobStatus enum value
    TranscriptionJobStatusCompleted = "COMPLETED"
)
const (
    // VocabularyFilterMethodRemove is a VocabularyFilterMethod enum value
    VocabularyFilterMethodRemove = "remove"

    // VocabularyFilterMethodMask is a VocabularyFilterMethod enum value
    VocabularyFilterMethodMask = "mask"
)
const (
    // VocabularyStatePending is a VocabularyState enum value
    VocabularyStatePending = "PENDING"

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

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

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

    // ErrCodeConflictException for service response error code
    // "ConflictException".
    //
    // When you are using the CreateVocabulary operation, the JobName field is a
    // duplicate of a previously entered job name. Resend your request with a different
    // name.
    //
    // When you are using the UpdateVocabulary operation, there are two jobs running
    // at the same time. Resend the second request later.
    ErrCodeConflictException = "ConflictException"

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

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

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

Service information constants

const (
    // RedactionTypePii is a RedactionType enum value
    RedactionTypePii = "PII"
)

type BadRequestException Uses

type BadRequestException struct {
    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 transcription you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's "in progress"). See the exception Message field for more information.

func (BadRequestException) Code Uses

func (s BadRequestException) Code() string

Code returns the exception type name.

func (BadRequestException) Error Uses

func (s BadRequestException) Error() string

func (BadRequestException) GoString Uses

func (s BadRequestException) GoString() string

GoString returns the string representation

func (BadRequestException) Message Uses

func (s BadRequestException) Message() string

Message returns the exception's message.

func (BadRequestException) OrigErr Uses

func (s BadRequestException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (BadRequestException) RequestID Uses

func (s BadRequestException) RequestID() string

RequestID returns the service's response RequestID for request.

func (BadRequestException) StatusCode Uses

func (s BadRequestException) StatusCode() int

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

func (BadRequestException) String Uses

func (s BadRequestException) String() string

String returns the string representation

type ConflictException Uses

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

When you are using the CreateVocabulary operation, the JobName field is a duplicate of a previously entered job name. Resend your request with a different name.

When you are using the UpdateVocabulary operation, there are two jobs running at the same time. Resend the second request later.

func (ConflictException) Code Uses

func (s ConflictException) Code() string

Code returns the exception type name.

func (ConflictException) Error Uses

func (s ConflictException) Error() string

func (ConflictException) GoString Uses

func (s ConflictException) GoString() string

GoString returns the string representation

func (ConflictException) Message Uses

func (s ConflictException) Message() string

Message returns the exception's message.

func (ConflictException) OrigErr Uses

func (s ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (ConflictException) RequestID Uses

func (s ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (ConflictException) StatusCode Uses

func (s ConflictException) StatusCode() int

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

func (ConflictException) String Uses

func (s ConflictException) String() string

String returns the string representation

type ContentRedaction Uses

type ContentRedaction struct {

    // Request parameter where you choose whether to output only the redacted transcript
    // or generate an additional unredacted transcript.
    //
    // When you choose redacted Amazon Transcribe outputs a JSON file with only
    // the redacted transcript and related information.
    //
    // When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON
    // file with the unredacted transcript and related information in addition to
    // the JSON file with the redacted transcript.
    //
    // 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.

You can redact transcripts in US English (en-us). For more information see: Automatic Content Redaction (https://docs.aws.amazon.com/transcribe/latest/dg/content-redaction.html)

func (ContentRedaction) GoString Uses

func (s ContentRedaction) GoString() string

GoString returns the string representation

func (*ContentRedaction) SetRedactionOutput Uses

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

SetRedactionOutput sets the RedactionOutput field's value.

func (*ContentRedaction) SetRedactionType Uses

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

SetRedactionType sets the RedactionType field's value.

func (ContentRedaction) String Uses

func (s ContentRedaction) String() string

String returns the string representation

func (*ContentRedaction) Validate Uses

func (s *ContentRedaction) Validate() error

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

type CreateVocabularyFilterInput Uses

type CreateVocabularyFilterInput struct {

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

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

    // The vocabulary filter name. The name must be unique within the account that
    // contains it.
    //
    // VocabularyFilterName is a required field
    VocabularyFilterName *string `min:"1" type:"string" required:"true"`

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

func (CreateVocabularyFilterInput) GoString Uses

func (s CreateVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*CreateVocabularyFilterInput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyFilterInput) SetVocabularyFilterFileUri Uses

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

SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.

func (*CreateVocabularyFilterInput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*CreateVocabularyFilterInput) SetWords Uses

func (s *CreateVocabularyFilterInput) SetWords(v []*string) *CreateVocabularyFilterInput

SetWords sets the Words field's value.

func (CreateVocabularyFilterInput) String Uses

func (s CreateVocabularyFilterInput) String() string

String returns the string representation

func (*CreateVocabularyFilterInput) Validate Uses

func (s *CreateVocabularyFilterInput) Validate() error

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

type CreateVocabularyFilterOutput Uses

type CreateVocabularyFilterOutput struct {

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

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

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

func (CreateVocabularyFilterOutput) GoString Uses

func (s CreateVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*CreateVocabularyFilterOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyFilterOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateVocabularyFilterOutput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (CreateVocabularyFilterOutput) String Uses

func (s CreateVocabularyFilterOutput) String() string

String returns the string representation

type CreateVocabularyInput Uses

type CreateVocabularyInput struct {

    // The language code of the vocabulary entries.
    //
    // LanguageCode is a required field
    LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`

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

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

    // The name of the vocabulary. The name must be unique within an AWS account.
    // The name is case-sensitive.
    //
    // VocabularyName is a required field
    VocabularyName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (CreateVocabularyInput) GoString Uses

func (s CreateVocabularyInput) GoString() string

GoString returns the string representation

func (*CreateVocabularyInput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyInput) SetPhrases Uses

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

SetPhrases sets the Phrases field's value.

func (*CreateVocabularyInput) SetVocabularyFileUri Uses

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

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*CreateVocabularyInput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (CreateVocabularyInput) String Uses

func (s CreateVocabularyInput) String() string

String returns the string representation

func (*CreateVocabularyInput) Validate Uses

func (s *CreateVocabularyInput) Validate() error

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

type CreateVocabularyOutput Uses

type CreateVocabularyOutput struct {

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

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

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

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

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

func (CreateVocabularyOutput) GoString Uses

func (s CreateVocabularyOutput) GoString() string

GoString returns the string representation

func (*CreateVocabularyOutput) SetFailureReason Uses

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

SetFailureReason sets the FailureReason field's value.

func (*CreateVocabularyOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*CreateVocabularyOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CreateVocabularyOutput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (*CreateVocabularyOutput) SetVocabularyState Uses

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

SetVocabularyState sets the VocabularyState field's value.

func (CreateVocabularyOutput) String Uses

func (s CreateVocabularyOutput) String() string

String returns the string representation

type DeleteTranscriptionJobInput Uses

type DeleteTranscriptionJobInput struct {

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

func (DeleteTranscriptionJobInput) GoString Uses

func (s DeleteTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*DeleteTranscriptionJobInput) SetTranscriptionJobName Uses

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

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (DeleteTranscriptionJobInput) String Uses

func (s DeleteTranscriptionJobInput) String() string

String returns the string representation

func (*DeleteTranscriptionJobInput) Validate Uses

func (s *DeleteTranscriptionJobInput) Validate() error

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

type DeleteTranscriptionJobOutput Uses

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

func (DeleteTranscriptionJobOutput) GoString Uses

func (s DeleteTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (DeleteTranscriptionJobOutput) String Uses

func (s DeleteTranscriptionJobOutput) String() string

String returns the string representation

type DeleteVocabularyFilterInput Uses

type DeleteVocabularyFilterInput struct {

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

func (DeleteVocabularyFilterInput) GoString Uses

func (s DeleteVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*DeleteVocabularyFilterInput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (DeleteVocabularyFilterInput) String Uses

func (s DeleteVocabularyFilterInput) String() string

String returns the string representation

func (*DeleteVocabularyFilterInput) Validate Uses

func (s *DeleteVocabularyFilterInput) Validate() error

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

type DeleteVocabularyFilterOutput Uses

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

func (DeleteVocabularyFilterOutput) GoString Uses

func (s DeleteVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (DeleteVocabularyFilterOutput) String Uses

func (s DeleteVocabularyFilterOutput) String() string

String returns the string representation

type DeleteVocabularyInput Uses

type DeleteVocabularyInput struct {

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

func (DeleteVocabularyInput) GoString Uses

func (s DeleteVocabularyInput) GoString() string

GoString returns the string representation

func (*DeleteVocabularyInput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (DeleteVocabularyInput) String Uses

func (s DeleteVocabularyInput) String() string

String returns the string representation

func (*DeleteVocabularyInput) Validate Uses

func (s *DeleteVocabularyInput) Validate() error

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

type DeleteVocabularyOutput Uses

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

func (DeleteVocabularyOutput) GoString Uses

func (s DeleteVocabularyOutput) GoString() string

GoString returns the string representation

func (DeleteVocabularyOutput) String Uses

func (s DeleteVocabularyOutput) String() string

String returns the string representation

type GetTranscriptionJobInput Uses

type GetTranscriptionJobInput struct {

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

func (GetTranscriptionJobInput) GoString Uses

func (s GetTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*GetTranscriptionJobInput) SetTranscriptionJobName Uses

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

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (GetTranscriptionJobInput) String Uses

func (s GetTranscriptionJobInput) String() string

String returns the string representation

func (*GetTranscriptionJobInput) Validate Uses

func (s *GetTranscriptionJobInput) Validate() error

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

type GetTranscriptionJobOutput Uses

type GetTranscriptionJobOutput struct {

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

func (GetTranscriptionJobOutput) GoString Uses

func (s GetTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (*GetTranscriptionJobOutput) SetTranscriptionJob Uses

func (s *GetTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *GetTranscriptionJobOutput

SetTranscriptionJob sets the TranscriptionJob field's value.

func (GetTranscriptionJobOutput) String Uses

func (s GetTranscriptionJobOutput) String() string

String returns the string representation

type GetVocabularyFilterInput Uses

type GetVocabularyFilterInput struct {

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

func (GetVocabularyFilterInput) GoString Uses

func (s GetVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*GetVocabularyFilterInput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (GetVocabularyFilterInput) String Uses

func (s GetVocabularyFilterInput) String() string

String returns the string representation

func (*GetVocabularyFilterInput) Validate Uses

func (s *GetVocabularyFilterInput) Validate() error

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

type GetVocabularyFilterOutput Uses

type GetVocabularyFilterOutput struct {

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

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

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

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

func (GetVocabularyFilterOutput) GoString Uses

func (s GetVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*GetVocabularyFilterOutput) SetDownloadUri Uses

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

SetDownloadUri sets the DownloadUri field's value.

func (*GetVocabularyFilterOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*GetVocabularyFilterOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*GetVocabularyFilterOutput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (GetVocabularyFilterOutput) String Uses

func (s GetVocabularyFilterOutput) String() string

String returns the string representation

type GetVocabularyInput Uses

type GetVocabularyInput struct {

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

func (GetVocabularyInput) GoString Uses

func (s GetVocabularyInput) GoString() string

GoString returns the string representation

func (*GetVocabularyInput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (GetVocabularyInput) String Uses

func (s GetVocabularyInput) String() string

String returns the string representation

func (*GetVocabularyInput) Validate Uses

func (s *GetVocabularyInput) Validate() error

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

type GetVocabularyOutput Uses

type GetVocabularyOutput struct {

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

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

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

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

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

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

func (GetVocabularyOutput) GoString Uses

func (s GetVocabularyOutput) GoString() string

GoString returns the string representation

func (*GetVocabularyOutput) SetDownloadUri Uses

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

SetDownloadUri sets the DownloadUri field's value.

func (*GetVocabularyOutput) SetFailureReason Uses

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

SetFailureReason sets the FailureReason field's value.

func (*GetVocabularyOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*GetVocabularyOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*GetVocabularyOutput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (*GetVocabularyOutput) SetVocabularyState Uses

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

SetVocabularyState sets the VocabularyState field's value.

func (GetVocabularyOutput) String Uses

func (s GetVocabularyOutput) String() string

String returns the string representation

type InternalFailureException Uses

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

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

func (InternalFailureException) Code Uses

func (s InternalFailureException) Code() string

Code returns the exception type name.

func (InternalFailureException) Error Uses

func (s InternalFailureException) Error() string

func (InternalFailureException) GoString Uses

func (s InternalFailureException) GoString() string

GoString returns the string representation

func (InternalFailureException) Message Uses

func (s InternalFailureException) Message() string

Message returns the exception's message.

func (InternalFailureException) OrigErr Uses

func (s InternalFailureException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (InternalFailureException) RequestID Uses

func (s InternalFailureException) RequestID() string

RequestID returns the service's response RequestID for request.

func (InternalFailureException) StatusCode Uses

func (s InternalFailureException) StatusCode() int

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

func (InternalFailureException) String Uses

func (s InternalFailureException) String() string

String returns the string representation

type JobExecutionSettings Uses

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 will be executed when the number of executing jobs falls
    // below the concurrent execution limit. If the field is false, Amazon Transcribe
    // returns a LimitExceededException exception.
    //
    // If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn
    // field.
    AllowDeferredExecution *bool `type:"boolean"`

    // The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
    // that contains the input files. Amazon Transcribe will assume 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 `type:"string"`
    // contains filtered or unexported fields
}

Provides information about when a transcription job should be executed.

func (JobExecutionSettings) GoString Uses

func (s JobExecutionSettings) GoString() string

GoString returns the string representation

func (*JobExecutionSettings) SetAllowDeferredExecution Uses

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

SetAllowDeferredExecution sets the AllowDeferredExecution field's value.

func (*JobExecutionSettings) SetDataAccessRoleArn Uses

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

SetDataAccessRoleArn sets the DataAccessRoleArn field's value.

func (JobExecutionSettings) String Uses

func (s JobExecutionSettings) String() string

String returns the string representation

type LimitExceededException Uses

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

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

func (LimitExceededException) Code Uses

func (s LimitExceededException) Code() string

Code returns the exception type name.

func (LimitExceededException) Error Uses

func (s LimitExceededException) Error() string

func (LimitExceededException) GoString Uses

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (LimitExceededException) Message Uses

func (s LimitExceededException) Message() string

Message returns the exception's message.

func (LimitExceededException) OrigErr Uses

func (s LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (LimitExceededException) RequestID Uses

func (s LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (LimitExceededException) StatusCode Uses

func (s LimitExceededException) StatusCode() int

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

func (LimitExceededException) String Uses

func (s LimitExceededException) String() string

String returns the string representation

type ListTranscriptionJobsInput Uses

type ListTranscriptionJobsInput struct {

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

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

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

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

func (ListTranscriptionJobsInput) GoString Uses

func (s ListTranscriptionJobsInput) GoString() string

GoString returns the string representation

func (*ListTranscriptionJobsInput) SetJobNameContains Uses

func (s *ListTranscriptionJobsInput) SetJobNameContains(v string) *ListTranscriptionJobsInput

SetJobNameContains sets the JobNameContains field's value.

func (*ListTranscriptionJobsInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListTranscriptionJobsInput) SetNextToken Uses

func (s *ListTranscriptionJobsInput) SetNextToken(v string) *ListTranscriptionJobsInput

SetNextToken sets the NextToken field's value.

func (*ListTranscriptionJobsInput) SetStatus Uses

func (s *ListTranscriptionJobsInput) SetStatus(v string) *ListTranscriptionJobsInput

SetStatus sets the Status field's value.

func (ListTranscriptionJobsInput) String Uses

func (s ListTranscriptionJobsInput) String() string

String returns the string representation

func (*ListTranscriptionJobsInput) Validate Uses

func (s *ListTranscriptionJobsInput) Validate() error

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

type ListTranscriptionJobsOutput Uses

type ListTranscriptionJobsOutput struct {

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

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

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

func (ListTranscriptionJobsOutput) GoString Uses

func (s ListTranscriptionJobsOutput) GoString() string

GoString returns the string representation

func (*ListTranscriptionJobsOutput) SetNextToken Uses

func (s *ListTranscriptionJobsOutput) SetNextToken(v string) *ListTranscriptionJobsOutput

SetNextToken sets the NextToken field's value.

func (*ListTranscriptionJobsOutput) SetStatus Uses

func (s *ListTranscriptionJobsOutput) SetStatus(v string) *ListTranscriptionJobsOutput

SetStatus sets the Status field's value.

func (*ListTranscriptionJobsOutput) SetTranscriptionJobSummaries Uses

func (s *ListTranscriptionJobsOutput) SetTranscriptionJobSummaries(v []*TranscriptionJobSummary) *ListTranscriptionJobsOutput

SetTranscriptionJobSummaries sets the TranscriptionJobSummaries field's value.

func (ListTranscriptionJobsOutput) String Uses

func (s ListTranscriptionJobsOutput) String() string

String returns the string representation

type ListVocabulariesInput Uses

type ListVocabulariesInput struct {

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

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

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

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

func (ListVocabulariesInput) GoString Uses

func (s ListVocabulariesInput) GoString() string

GoString returns the string representation

func (*ListVocabulariesInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListVocabulariesInput) SetNameContains Uses

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

SetNameContains sets the NameContains field's value.

func (*ListVocabulariesInput) SetNextToken Uses

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

SetNextToken sets the NextToken field's value.

func (*ListVocabulariesInput) SetStateEquals Uses

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

SetStateEquals sets the StateEquals field's value.

func (ListVocabulariesInput) String Uses

func (s ListVocabulariesInput) String() string

String returns the string representation

func (*ListVocabulariesInput) Validate Uses

func (s *ListVocabulariesInput) Validate() error

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

type ListVocabulariesOutput Uses

type ListVocabulariesOutput struct {

    // The ListVocabularies operation returns a page of vocabularies 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 ListVocabularies
    // operation to return in the next page of jobs.
    NextToken *string `type:"string"`

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

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

func (ListVocabulariesOutput) GoString Uses

func (s ListVocabulariesOutput) GoString() string

GoString returns the string representation

func (*ListVocabulariesOutput) SetNextToken Uses

func (s *ListVocabulariesOutput) SetNextToken(v string) *ListVocabulariesOutput

SetNextToken sets the NextToken field's value.

func (*ListVocabulariesOutput) SetStatus Uses

func (s *ListVocabulariesOutput) SetStatus(v string) *ListVocabulariesOutput

SetStatus sets the Status field's value.

func (*ListVocabulariesOutput) SetVocabularies Uses

func (s *ListVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListVocabulariesOutput

SetVocabularies sets the Vocabularies field's value.

func (ListVocabulariesOutput) String Uses

func (s ListVocabulariesOutput) String() string

String returns the string representation

type ListVocabularyFiltersInput Uses

type ListVocabularyFiltersInput struct {

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

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

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

func (ListVocabularyFiltersInput) GoString Uses

func (s ListVocabularyFiltersInput) GoString() string

GoString returns the string representation

func (*ListVocabularyFiltersInput) SetMaxResults Uses

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

SetMaxResults sets the MaxResults field's value.

func (*ListVocabularyFiltersInput) SetNameContains Uses

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

SetNameContains sets the NameContains field's value.

func (*ListVocabularyFiltersInput) SetNextToken Uses

func (s *ListVocabularyFiltersInput) SetNextToken(v string) *ListVocabularyFiltersInput

SetNextToken sets the NextToken field's value.

func (ListVocabularyFiltersInput) String Uses

func (s ListVocabularyFiltersInput) String() string

String returns the string representation

func (*ListVocabularyFiltersInput) Validate Uses

func (s *ListVocabularyFiltersInput) Validate() error

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

type ListVocabularyFiltersOutput Uses

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 will contain at most MaxResults number
    // of filters. If there are more filters, call the ListVocabularyFilters operation
    // again with the NextToken parameter in the request set to the value of the
    // NextToken field in the response.
    VocabularyFilters []*VocabularyFilterInfo `type:"list"`
    // contains filtered or unexported fields
}

func (ListVocabularyFiltersOutput) GoString Uses

func (s ListVocabularyFiltersOutput) GoString() string

GoString returns the string representation

func (*ListVocabularyFiltersOutput) SetNextToken Uses

func (s *ListVocabularyFiltersOutput) SetNextToken(v string) *ListVocabularyFiltersOutput

SetNextToken sets the NextToken field's value.

func (*ListVocabularyFiltersOutput) SetVocabularyFilters Uses

func (s *ListVocabularyFiltersOutput) SetVocabularyFilters(v []*VocabularyFilterInfo) *ListVocabularyFiltersOutput

SetVocabularyFilters sets the VocabularyFilters field's value.

func (ListVocabularyFiltersOutput) String Uses

func (s ListVocabularyFiltersOutput) String() string

String returns the string representation

type Media Uses

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://<bucket-name>/<keyprefix>/<objectkey>
    //
    // For example:
    //
    // s3://examplebucket/example.mp4
    //
    // s3://examplebucket/mediadocs/example.mp4
    //
    // For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
    // in the Amazon S3 Developer Guide.
    MediaFileUri *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Describes the input media file in a transcription request.

func (Media) GoString Uses

func (s Media) GoString() string

GoString returns the string representation

func (*Media) SetMediaFileUri Uses

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

SetMediaFileUri sets the MediaFileUri field's value.

func (Media) String Uses

func (s Media) String() string

String returns the string representation

func (*Media) Validate Uses

func (s *Media) Validate() error

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

type NotFoundException Uses

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

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

func (NotFoundException) Code Uses

func (s NotFoundException) Code() string

Code returns the exception type name.

func (NotFoundException) Error Uses

func (s NotFoundException) Error() string

func (NotFoundException) GoString Uses

func (s NotFoundException) GoString() string

GoString returns the string representation

func (NotFoundException) Message Uses

func (s NotFoundException) Message() string

Message returns the exception's message.

func (NotFoundException) OrigErr Uses

func (s NotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (NotFoundException) RequestID Uses

func (s NotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (NotFoundException) StatusCode Uses

func (s NotFoundException) StatusCode() int

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

func (NotFoundException) String Uses

func (s NotFoundException) String() string

String returns the string representation

type Settings Uses

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 will be 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.
    VocabularyFilterMethod *string `type:"string" enum:"VocabularyFilterMethod"`

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

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

Provides optional settings for the StartTranscriptionJob operation.

func (Settings) GoString Uses

func (s Settings) GoString() string

GoString returns the string representation

func (*Settings) SetChannelIdentification Uses

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

SetChannelIdentification sets the ChannelIdentification field's value.

func (*Settings) SetMaxAlternatives Uses

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

SetMaxAlternatives sets the MaxAlternatives field's value.

func (*Settings) SetMaxSpeakerLabels Uses

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

SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.

func (*Settings) SetShowAlternatives Uses

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

SetShowAlternatives sets the ShowAlternatives field's value.

func (*Settings) SetShowSpeakerLabels Uses

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

SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.

func (*Settings) SetVocabularyFilterMethod Uses

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

SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.

func (*Settings) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*Settings) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (Settings) String Uses

func (s Settings) String() string

String returns the string representation

func (*Settings) Validate Uses

func (s *Settings) Validate() error

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

type StartTranscriptionJobInput Uses

type StartTranscriptionJobInput struct {

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

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

    // The language code for the language used in the input media file.
    //
    // LanguageCode is a required field
    LanguageCode *string `type:"string" required:"true" 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"`

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

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

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

    // The name of the job. Note that you can't use the strings "." or ".." by themselves
    // as the job name. The name must also be unique within an AWS account.
    //
    // TranscriptionJobName is a required field
    TranscriptionJobName *string `min:"1" type:"string" required:"true"`
    // contains filtered or unexported fields
}

func (StartTranscriptionJobInput) GoString Uses

func (s StartTranscriptionJobInput) GoString() string

GoString returns the string representation

func (*StartTranscriptionJobInput) SetContentRedaction Uses

func (s *StartTranscriptionJobInput) SetContentRedaction(v *ContentRedaction) *StartTranscriptionJobInput

SetContentRedaction sets the ContentRedaction field's value.

func (*StartTranscriptionJobInput) SetJobExecutionSettings Uses

func (s *StartTranscriptionJobInput) SetJobExecutionSettings(v *JobExecutionSettings) *StartTranscriptionJobInput

SetJobExecutionSettings sets the JobExecutionSettings field's value.

func (*StartTranscriptionJobInput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*StartTranscriptionJobInput) SetMedia Uses

func (s *StartTranscriptionJobInput) SetMedia(v *Media) *StartTranscriptionJobInput

SetMedia sets the Media field's value.

func (*StartTranscriptionJobInput) SetMediaFormat Uses

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

SetMediaFormat sets the MediaFormat field's value.

func (*StartTranscriptionJobInput) SetMediaSampleRateHertz Uses

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

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*StartTranscriptionJobInput) SetOutputBucketName Uses

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

SetOutputBucketName sets the OutputBucketName field's value.

func (*StartTranscriptionJobInput) SetOutputEncryptionKMSKeyId Uses

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

SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.

func (*StartTranscriptionJobInput) SetSettings Uses

func (s *StartTranscriptionJobInput) SetSettings(v *Settings) *StartTranscriptionJobInput

SetSettings sets the Settings field's value.

func (*StartTranscriptionJobInput) SetTranscriptionJobName Uses

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

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (StartTranscriptionJobInput) String Uses

func (s StartTranscriptionJobInput) String() string

String returns the string representation

func (*StartTranscriptionJobInput) Validate Uses

func (s *StartTranscriptionJobInput) Validate() error

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

type StartTranscriptionJobOutput Uses

type StartTranscriptionJobOutput struct {

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

func (StartTranscriptionJobOutput) GoString Uses

func (s StartTranscriptionJobOutput) GoString() string

GoString returns the string representation

func (*StartTranscriptionJobOutput) SetTranscriptionJob Uses

func (s *StartTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *StartTranscriptionJobOutput

SetTranscriptionJob sets the TranscriptionJob field's value.

func (StartTranscriptionJobOutput) String Uses

func (s StartTranscriptionJobOutput) String() string

String returns the string representation

type TranscribeService Uses

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 Uses

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 (*TranscribeService) CreateVocabulary Uses

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

CreateVocabulary API operation for Amazon Transcribe Service.

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

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

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

Returned Error Types:

* BadRequestException
Your request didn't pass one or more validation tests. For example, if the
transcription 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
When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different
name.

When you are using the UpdateVocabulary operation, there are two jobs running
at the same time. Resend the second request later.

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

func (*TranscribeService) CreateVocabularyFilter Uses

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, such as profane words, from the output of a transcription job.

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

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

Returned Error Types:

* BadRequestException
Your request didn't pass one or more validation tests. For example, if the
transcription 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
When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different
name.

When you are using the UpdateVocabulary operation, there are two jobs running
at the same time. Resend the second request later.

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

func (*TranscribeService) CreateVocabularyFilterRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) CreateVocabularyFilterWithContext Uses

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

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

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

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

func (*TranscribeService) CreateVocabularyRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) CreateVocabularyWithContext Uses

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

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

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

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

func (*TranscribeService) DeleteTranscriptionJob Uses

func (c *TranscribeService) DeleteTranscriptionJob(input *DeleteTranscriptionJobInput) (*DeleteTranscriptionJobOutput, error)

DeleteTranscriptionJob API operation for Amazon Transcribe Service.

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

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

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

Returned Error Types:

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

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

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

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

func (*TranscribeService) DeleteTranscriptionJobRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) DeleteTranscriptionJobWithContext Uses

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

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

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

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

func (*TranscribeService) DeleteVocabulary Uses

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

DeleteVocabulary API operation for Amazon Transcribe Service.

Deletes a vocabulary from Amazon Transcribe.

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

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

Returned Error Types:

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

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

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

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

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

func (*TranscribeService) DeleteVocabularyFilter Uses

func (c *TranscribeService) DeleteVocabularyFilter(input *DeleteVocabularyFilterInput) (*DeleteVocabularyFilterOutput, error)

DeleteVocabularyFilter API operation for Amazon Transcribe Service.

Removes a vocabulary filter.

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

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

Returned Error Types:

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

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

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

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

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

func (*TranscribeService) DeleteVocabularyFilterRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) DeleteVocabularyFilterWithContext Uses

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

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

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

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

func (*TranscribeService) DeleteVocabularyRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) DeleteVocabularyWithContext Uses

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

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

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

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

func (*TranscribeService) GetTranscriptionJob Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

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

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

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

func (*TranscribeService) GetTranscriptionJobRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) GetTranscriptionJobWithContext Uses

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

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

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

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

func (*TranscribeService) GetVocabulary Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

func (*TranscribeService) GetVocabularyFilter Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

func (*TranscribeService) GetVocabularyFilterRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) GetVocabularyFilterWithContext Uses

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

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

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

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

func (*TranscribeService) GetVocabularyRequest Uses

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

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

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

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

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

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

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

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

func (*TranscribeService) GetVocabularyWithContext Uses

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

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

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

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

func (*TranscribeService) ListTranscriptionJobs Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

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

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

func (*TranscribeService) ListTranscriptionJobsPages Uses

func (c *TranscribeService) ListTranscriptionJobsPages(input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool) error

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

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

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

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

func (*TranscribeService) ListTranscriptionJobsPagesWithContext Uses

func (c *TranscribeService) ListTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool, opts ...request.Option) error

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

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

func (*TranscribeService) ListTranscriptionJobsRequest Uses

func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptionJobsInput) (req *request.Request, output *ListTranscriptionJobsOutput)

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

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

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

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

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

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

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

func (*TranscribeService) ListTranscriptionJobsWithContext Uses

func (c *TranscribeService) ListTranscriptionJobsWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, opts ...request.Option) (*ListTranscriptionJobsOutput, error)

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

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

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

func (*TranscribeService) ListVocabularies Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

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

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

func (*TranscribeService) ListVocabulariesPages Uses

func (c *TranscribeService) ListVocabulariesPages(input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool) error

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

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

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

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

func (*TranscribeService) ListVocabulariesPagesWithContext Uses

func (c *TranscribeService) ListVocabulariesPagesWithContext(ctx aws.Context, input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool, opts ...request.Option) error

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

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

func (*TranscribeService) ListVocabulariesRequest Uses

func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput) (req *request.Request, output *ListVocabulariesOutput)

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

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

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

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

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

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

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

func (*TranscribeService) ListVocabulariesWithContext Uses

func (c *TranscribeService) ListVocabulariesWithContext(ctx aws.Context, input *ListVocabulariesInput, opts ...request.Option) (*ListVocabulariesOutput, error)

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

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

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

func (*TranscribeService) ListVocabularyFilters Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

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

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

func (*TranscribeService) ListVocabularyFiltersPages Uses

func (c *TranscribeService) ListVocabularyFiltersPages(input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool) error

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

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

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

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

func (*TranscribeService) ListVocabularyFiltersPagesWithContext Uses

func (c *TranscribeService) ListVocabularyFiltersPagesWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool, opts ...request.Option) error

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

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

func (*TranscribeService) ListVocabularyFiltersRequest Uses

func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFiltersInput) (req *request.Request, output *ListVocabularyFiltersOutput)

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

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

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

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

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

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

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

func (*TranscribeService) ListVocabularyFiltersWithContext Uses

func (c *TranscribeService) ListVocabularyFiltersWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, opts ...request.Option) (*ListVocabularyFiltersOutput, error)

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

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

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

func (*TranscribeService) StartTranscriptionJob Uses

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
transcription 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
When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different
name.

When you are using the UpdateVocabulary operation, there are two jobs running
at the same time. Resend the second request later.

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

func (*TranscribeService) StartTranscriptionJobRequest Uses

func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscriptionJobInput) (req *request.Request, output *StartTranscriptionJobOutput)

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

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

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

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

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

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

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

func (*TranscribeService) StartTranscriptionJobWithContext Uses

func (c *TranscribeService) StartTranscriptionJobWithContext(ctx aws.Context, input *StartTranscriptionJobInput, opts ...request.Option) (*StartTranscriptionJobOutput, error)

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

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

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

func (*TranscribeService) UpdateVocabulary Uses

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
transcription 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
When you are using the CreateVocabulary operation, the JobName field is a
duplicate of a previously entered job name. Resend your request with a different
name.

When you are using the UpdateVocabulary operation, there are two jobs running
at the same time. Resend the second request later.

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

func (*TranscribeService) UpdateVocabularyFilter Uses

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
transcription you're trying to delete doesn't exist or if it is in a non-terminal
state (for example, it's "in progress"). See the exception Message field
for more information.

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

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

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

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

func (*TranscribeService) UpdateVocabularyFilterRequest Uses

func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabularyFilterInput) (req *request.Request, output *UpdateVocabularyFilterOutput)

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

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

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

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

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

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

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

func (*TranscribeService) UpdateVocabularyFilterWithContext Uses

func (c *TranscribeService) UpdateVocabularyFilterWithContext(ctx aws.Context, input *UpdateVocabularyFilterInput, opts ...request.Option) (*UpdateVocabularyFilterOutput, error)

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

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

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

func (*TranscribeService) UpdateVocabularyRequest Uses

func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput) (req *request.Request, output *UpdateVocabularyOutput)

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

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

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

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

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

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

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

func (*TranscribeService) UpdateVocabularyWithContext Uses

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 Uses

type Transcript struct {

    // The S3 object location of the redacted transcript.
    //
    // Use this URI to access the redacated 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 the transcript.
    //
    // Use this URI to access the transcript. If you specified an S3 bucket in the
    // OutputBucketName field when you created the job, this is the URI of that
    // bucket. If you chose to store the transcript in Amazon Transcribe, this is
    // a shareable URL that provides secure access to that location.
    TranscriptFileUri *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Identifies the location of a transcription.

func (Transcript) GoString Uses

func (s Transcript) GoString() string

GoString returns the string representation

func (*Transcript) SetRedactedTranscriptFileUri Uses

func (s *Transcript) SetRedactedTranscriptFileUri(v string) *Transcript

SetRedactedTranscriptFileUri sets the RedactedTranscriptFileUri field's value.

func (*Transcript) SetTranscriptFileUri Uses

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

SetTranscriptFileUri sets the TranscriptFileUri field's value.

func (Transcript) String Uses

func (s Transcript) String() string

String returns the string representation

type TranscriptionJob Uses

type TranscriptionJob struct {

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

    // An object that describes content redaction settings for the transcription
    // job.
    ContentRedaction *ContentRedaction `type:"structure"`

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

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

    // Provides information about how a transcription job is executed.
    JobExecutionSettings *JobExecutionSettings `type:"structure"`

    // The language code for the input speech.
    LanguageCode *string `type:"string" enum:"LanguageCode"`

    // An object that describes the input media for the transcription job.
    Media *Media `type:"structure"`

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

    // The sample rate, in Hertz, of the audio track in the input media file.
    MediaSampleRateHertz *int64 `min:"8000" type:"integer"`

    // Optional settings for the transcription job. Use these settings to turn on
    // speaker recognition, to set the maximum number of speakers that should be
    // identified and to specify a custom vocabulary to use when processing the
    // transcription job.
    Settings *Settings `type:"structure"`

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

    // An object that describes the output of the transcription job.
    Transcript *Transcript `type:"structure"`

    // The name of the transcription job.
    TranscriptionJobName *string `min:"1" type:"string"`

    // The status of the transcription job.
    TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
    // contains filtered or unexported fields
}

Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.

func (TranscriptionJob) GoString Uses

func (s TranscriptionJob) GoString() string

GoString returns the string representation

func (*TranscriptionJob) SetCompletionTime Uses

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

SetCompletionTime sets the CompletionTime field's value.

func (*TranscriptionJob) SetContentRedaction Uses

func (s *TranscriptionJob) SetContentRedaction(v *ContentRedaction) *TranscriptionJob

SetContentRedaction sets the ContentRedaction field's value.

func (*TranscriptionJob) SetCreationTime Uses

func (s *TranscriptionJob) SetCreationTime(v time.Time) *TranscriptionJob

SetCreationTime sets the CreationTime field's value.

func (*TranscriptionJob) SetFailureReason Uses

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

SetFailureReason sets the FailureReason field's value.

func (*TranscriptionJob) SetJobExecutionSettings Uses

func (s *TranscriptionJob) SetJobExecutionSettings(v *JobExecutionSettings) *TranscriptionJob

SetJobExecutionSettings sets the JobExecutionSettings field's value.

func (*TranscriptionJob) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*TranscriptionJob) SetMedia Uses

func (s *TranscriptionJob) SetMedia(v *Media) *TranscriptionJob

SetMedia sets the Media field's value.

func (*TranscriptionJob) SetMediaFormat Uses

func (s *TranscriptionJob) SetMediaFormat(v string) *TranscriptionJob

SetMediaFormat sets the MediaFormat field's value.

func (*TranscriptionJob) SetMediaSampleRateHertz Uses

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

SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.

func (*TranscriptionJob) SetSettings Uses

func (s *TranscriptionJob) SetSettings(v *Settings) *TranscriptionJob

SetSettings sets the Settings field's value.

func (*TranscriptionJob) SetStartTime Uses

func (s *TranscriptionJob) SetStartTime(v time.Time) *TranscriptionJob

SetStartTime sets the StartTime field's value.

func (*TranscriptionJob) SetTranscript Uses

func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob

SetTranscript sets the Transcript field's value.

func (*TranscriptionJob) SetTranscriptionJobName Uses

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

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (*TranscriptionJob) SetTranscriptionJobStatus Uses

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

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (TranscriptionJob) String Uses

func (s TranscriptionJob) String() string

String returns the string representation

type TranscriptionJobSummary Uses

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"`

    // The language code for the input speech.
    LanguageCode *string `type:"string" enum:"LanguageCode"`

    // Indicates the location of the output of the transcription job.
    //
    // If the value is CUSTOMER_BUCKET then the location is the S3 bucket specified
    // in the outputBucketName field when the transcription job was started with
    // the StartTranscriptionJob operation.
    //
    // If the value is SERVICE_BUCKET then the output is stored by Amazon Transcribe
    // and can be retrieved using the URI in the GetTranscriptionJob response's
    // TranscriptFileUri field.
    OutputLocationType *string `type:"string" enum:"OutputLocationType"`

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

    // The name of the transcription job.
    TranscriptionJobName *string `min:"1" type:"string"`

    // The status of the transcription job. When the status is COMPLETED, use the
    // GetTranscriptionJob operation to get the results of the transcription.
    TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
    // contains filtered or unexported fields
}

Provides a summary of information about a transcription job.

func (TranscriptionJobSummary) GoString Uses

func (s TranscriptionJobSummary) GoString() string

GoString returns the string representation

func (*TranscriptionJobSummary) SetCompletionTime Uses

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

SetCompletionTime sets the CompletionTime field's value.

func (*TranscriptionJobSummary) SetContentRedaction Uses

func (s *TranscriptionJobSummary) SetContentRedaction(v *ContentRedaction) *TranscriptionJobSummary

SetContentRedaction sets the ContentRedaction field's value.

func (*TranscriptionJobSummary) SetCreationTime Uses

func (s *TranscriptionJobSummary) SetCreationTime(v time.Time) *TranscriptionJobSummary

SetCreationTime sets the CreationTime field's value.

func (*TranscriptionJobSummary) SetFailureReason Uses

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

SetFailureReason sets the FailureReason field's value.

func (*TranscriptionJobSummary) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*TranscriptionJobSummary) SetOutputLocationType Uses

func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary

SetOutputLocationType sets the OutputLocationType field's value.

func (*TranscriptionJobSummary) SetStartTime Uses

func (s *TranscriptionJobSummary) SetStartTime(v time.Time) *TranscriptionJobSummary

SetStartTime sets the StartTime field's value.

func (*TranscriptionJobSummary) SetTranscriptionJobName Uses

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

SetTranscriptionJobName sets the TranscriptionJobName field's value.

func (*TranscriptionJobSummary) SetTranscriptionJobStatus Uses

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

SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.

func (TranscriptionJobSummary) String Uses

func (s TranscriptionJobSummary) String() string

String returns the string representation

type UpdateVocabularyFilterInput Uses

type UpdateVocabularyFilterInput struct {

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

    // The name of the vocabulary filter to update.
    //
    // VocabularyFilterName is a required field
    VocabularyFilterName *string `min:"1" type:"string" required:"true"`

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

func (UpdateVocabularyFilterInput) GoString Uses

func (s UpdateVocabularyFilterInput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyFilterInput) SetVocabularyFilterFileUri Uses

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

SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.

func (*UpdateVocabularyFilterInput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (*UpdateVocabularyFilterInput) SetWords Uses

func (s *UpdateVocabularyFilterInput) SetWords(v []*string) *UpdateVocabularyFilterInput

SetWords sets the Words field's value.

func (UpdateVocabularyFilterInput) String Uses

func (s UpdateVocabularyFilterInput) String() string

String returns the string representation

func (*UpdateVocabularyFilterInput) Validate Uses

func (s *UpdateVocabularyFilterInput) Validate() error

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

type UpdateVocabularyFilterOutput Uses

type UpdateVocabularyFilterOutput struct {

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

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

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

func (UpdateVocabularyFilterOutput) GoString Uses

func (s UpdateVocabularyFilterOutput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyFilterOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyFilterOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateVocabularyFilterOutput) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (UpdateVocabularyFilterOutput) String Uses

func (s UpdateVocabularyFilterOutput) String() string

String returns the string representation

type UpdateVocabularyInput Uses

type UpdateVocabularyInput struct {

    // The language code of the vocabulary entries.
    //
    // 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/examplebucket/vocab.txt
    //
    // For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
    // in the Amazon S3 Developer Guide.
    //
    // For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
    VocabularyFileUri *string `min:"1" type:"string"`

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

func (UpdateVocabularyInput) GoString Uses

func (s UpdateVocabularyInput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyInput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyInput) SetPhrases Uses

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

SetPhrases sets the Phrases field's value.

func (*UpdateVocabularyInput) SetVocabularyFileUri Uses

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

SetVocabularyFileUri sets the VocabularyFileUri field's value.

func (*UpdateVocabularyInput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (UpdateVocabularyInput) String Uses

func (s UpdateVocabularyInput) String() string

String returns the string representation

func (*UpdateVocabularyInput) Validate Uses

func (s *UpdateVocabularyInput) Validate() error

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

type UpdateVocabularyOutput Uses

type UpdateVocabularyOutput struct {

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

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

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

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

func (UpdateVocabularyOutput) GoString Uses

func (s UpdateVocabularyOutput) GoString() string

GoString returns the string representation

func (*UpdateVocabularyOutput) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*UpdateVocabularyOutput) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*UpdateVocabularyOutput) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (*UpdateVocabularyOutput) SetVocabularyState Uses

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

SetVocabularyState sets the VocabularyState field's value.

func (UpdateVocabularyOutput) String Uses

func (s UpdateVocabularyOutput) String() string

String returns the string representation

type VocabularyFilterInfo Uses

type VocabularyFilterInfo struct {

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

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

    // The name of the vocabulary filter. The name must be unique in the account
    // that holds the filter.
    VocabularyFilterName *string `min:"1" type:"string"`
    // contains filtered or unexported fields
}

Provides information about a vocabulary filter.

func (VocabularyFilterInfo) GoString Uses

func (s VocabularyFilterInfo) GoString() string

GoString returns the string representation

func (*VocabularyFilterInfo) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*VocabularyFilterInfo) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*VocabularyFilterInfo) SetVocabularyFilterName Uses

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

SetVocabularyFilterName sets the VocabularyFilterName field's value.

func (VocabularyFilterInfo) String Uses

func (s VocabularyFilterInfo) String() string

String returns the string representation

type VocabularyInfo Uses

type VocabularyInfo struct {

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

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

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

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

Provides information about a custom vocabulary.

func (VocabularyInfo) GoString Uses

func (s VocabularyInfo) GoString() string

GoString returns the string representation

func (*VocabularyInfo) SetLanguageCode Uses

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

SetLanguageCode sets the LanguageCode field's value.

func (*VocabularyInfo) SetLastModifiedTime Uses

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

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*VocabularyInfo) SetVocabularyName Uses

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

SetVocabularyName sets the VocabularyName field's value.

func (*VocabularyInfo) SetVocabularyState Uses

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

SetVocabularyState sets the VocabularyState field's value.

func (VocabularyInfo) String Uses

func (s VocabularyInfo) String() string

String returns the string representation

Directories

PathSynopsis
transcribeserviceifacePackage transcribeserviceiface provides an interface to enable mocking the Amazon Transcribe Service service client for testing your code.

Package transcribeservice imports 10 packages (graph) and is imported by 24 packages. Updated 2020-02-27. Refresh now. Tools for package owners.