1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package transcribeservice
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13	"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
14)
15
16const opCreateLanguageModel = "CreateLanguageModel"
17
18// CreateLanguageModelRequest generates a "aws/request.Request" representing the
19// client's request for the CreateLanguageModel operation. The "output" return
20// value will be populated with the request's response once the request completes
21// successfully.
22//
23// Use "Send" method on the returned Request to send the API call to the service.
24// the "output" return value is not valid until after Send returns without error.
25//
26// See CreateLanguageModel for more information on using the CreateLanguageModel
27// API call, and error handling.
28//
29// This method is useful when you want to inject custom logic or configuration
30// into the SDK's request lifecycle. Such as custom headers, or retry logic.
31//
32//
33//    // Example sending a request using the CreateLanguageModelRequest method.
34//    req, resp := client.CreateLanguageModelRequest(params)
35//
36//    err := req.Send()
37//    if err == nil { // resp is now filled
38//        fmt.Println(resp)
39//    }
40//
41// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel
42func (c *TranscribeService) CreateLanguageModelRequest(input *CreateLanguageModelInput) (req *request.Request, output *CreateLanguageModelOutput) {
43	op := &request.Operation{
44		Name:       opCreateLanguageModel,
45		HTTPMethod: "POST",
46		HTTPPath:   "/",
47	}
48
49	if input == nil {
50		input = &CreateLanguageModelInput{}
51	}
52
53	output = &CreateLanguageModelOutput{}
54	req = c.newRequest(op, input, output)
55	return
56}
57
58// CreateLanguageModel API operation for Amazon Transcribe Service.
59//
60// Creates a new custom language model. Use Amazon S3 prefixes to provide the
61// location of your input files. The time it takes to create your model depends
62// on the size of your training data.
63//
64// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
65// with awserr.Error's Code and Message methods to get detailed information about
66// the error.
67//
68// See the AWS API reference guide for Amazon Transcribe Service's
69// API operation CreateLanguageModel for usage and error information.
70//
71// Returned Error Types:
72//   * BadRequestException
73//   Your request didn't pass one or more validation tests. For example, if the
74//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
75//   state (for example, it's "in progress"). See the exception Message field
76//   for more information.
77//
78//   * LimitExceededException
79//   Either you have sent too many requests or your input file is too long. Wait
80//   before you resend your request, or use a smaller file and resend the request.
81//
82//   * InternalFailureException
83//   There was an internal error. Check the error message and try your request
84//   again.
85//
86//   * ConflictException
87//   There is already a resource with that name.
88//
89// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel
90func (c *TranscribeService) CreateLanguageModel(input *CreateLanguageModelInput) (*CreateLanguageModelOutput, error) {
91	req, out := c.CreateLanguageModelRequest(input)
92	return out, req.Send()
93}
94
95// CreateLanguageModelWithContext is the same as CreateLanguageModel with the addition of
96// the ability to pass a context and additional request options.
97//
98// See CreateLanguageModel for details on how to use this API operation.
99//
100// The context must be non-nil and will be used for request cancellation. If
101// the context is nil a panic will occur. In the future the SDK may create
102// sub-contexts for http.Requests. See https://golang.org/pkg/context/
103// for more information on using Contexts.
104func (c *TranscribeService) CreateLanguageModelWithContext(ctx aws.Context, input *CreateLanguageModelInput, opts ...request.Option) (*CreateLanguageModelOutput, error) {
105	req, out := c.CreateLanguageModelRequest(input)
106	req.SetContext(ctx)
107	req.ApplyOptions(opts...)
108	return out, req.Send()
109}
110
111const opCreateMedicalVocabulary = "CreateMedicalVocabulary"
112
113// CreateMedicalVocabularyRequest generates a "aws/request.Request" representing the
114// client's request for the CreateMedicalVocabulary operation. The "output" return
115// value will be populated with the request's response once the request completes
116// successfully.
117//
118// Use "Send" method on the returned Request to send the API call to the service.
119// the "output" return value is not valid until after Send returns without error.
120//
121// See CreateMedicalVocabulary for more information on using the CreateMedicalVocabulary
122// API call, and error handling.
123//
124// This method is useful when you want to inject custom logic or configuration
125// into the SDK's request lifecycle. Such as custom headers, or retry logic.
126//
127//
128//    // Example sending a request using the CreateMedicalVocabularyRequest method.
129//    req, resp := client.CreateMedicalVocabularyRequest(params)
130//
131//    err := req.Send()
132//    if err == nil { // resp is now filled
133//        fmt.Println(resp)
134//    }
135//
136// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary
137func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalVocabularyInput) (req *request.Request, output *CreateMedicalVocabularyOutput) {
138	op := &request.Operation{
139		Name:       opCreateMedicalVocabulary,
140		HTTPMethod: "POST",
141		HTTPPath:   "/",
142	}
143
144	if input == nil {
145		input = &CreateMedicalVocabularyInput{}
146	}
147
148	output = &CreateMedicalVocabularyOutput{}
149	req = c.newRequest(op, input, output)
150	return
151}
152
153// CreateMedicalVocabulary API operation for Amazon Transcribe Service.
154//
155// Creates a new custom vocabulary that you can use to change how Amazon Transcribe
156// Medical transcribes your audio file.
157//
158// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
159// with awserr.Error's Code and Message methods to get detailed information about
160// the error.
161//
162// See the AWS API reference guide for Amazon Transcribe Service's
163// API operation CreateMedicalVocabulary for usage and error information.
164//
165// Returned Error Types:
166//   * BadRequestException
167//   Your request didn't pass one or more validation tests. For example, if the
168//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
169//   state (for example, it's "in progress"). See the exception Message field
170//   for more information.
171//
172//   * LimitExceededException
173//   Either you have sent too many requests or your input file is too long. Wait
174//   before you resend your request, or use a smaller file and resend the request.
175//
176//   * InternalFailureException
177//   There was an internal error. Check the error message and try your request
178//   again.
179//
180//   * ConflictException
181//   There is already a resource with that name.
182//
183// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary
184func (c *TranscribeService) CreateMedicalVocabulary(input *CreateMedicalVocabularyInput) (*CreateMedicalVocabularyOutput, error) {
185	req, out := c.CreateMedicalVocabularyRequest(input)
186	return out, req.Send()
187}
188
189// CreateMedicalVocabularyWithContext is the same as CreateMedicalVocabulary with the addition of
190// the ability to pass a context and additional request options.
191//
192// See CreateMedicalVocabulary for details on how to use this API operation.
193//
194// The context must be non-nil and will be used for request cancellation. If
195// the context is nil a panic will occur. In the future the SDK may create
196// sub-contexts for http.Requests. See https://golang.org/pkg/context/
197// for more information on using Contexts.
198func (c *TranscribeService) CreateMedicalVocabularyWithContext(ctx aws.Context, input *CreateMedicalVocabularyInput, opts ...request.Option) (*CreateMedicalVocabularyOutput, error) {
199	req, out := c.CreateMedicalVocabularyRequest(input)
200	req.SetContext(ctx)
201	req.ApplyOptions(opts...)
202	return out, req.Send()
203}
204
205const opCreateVocabulary = "CreateVocabulary"
206
207// CreateVocabularyRequest generates a "aws/request.Request" representing the
208// client's request for the CreateVocabulary operation. The "output" return
209// value will be populated with the request's response once the request completes
210// successfully.
211//
212// Use "Send" method on the returned Request to send the API call to the service.
213// the "output" return value is not valid until after Send returns without error.
214//
215// See CreateVocabulary for more information on using the CreateVocabulary
216// API call, and error handling.
217//
218// This method is useful when you want to inject custom logic or configuration
219// into the SDK's request lifecycle. Such as custom headers, or retry logic.
220//
221//
222//    // Example sending a request using the CreateVocabularyRequest method.
223//    req, resp := client.CreateVocabularyRequest(params)
224//
225//    err := req.Send()
226//    if err == nil { // resp is now filled
227//        fmt.Println(resp)
228//    }
229//
230// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary
231func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput) (req *request.Request, output *CreateVocabularyOutput) {
232	op := &request.Operation{
233		Name:       opCreateVocabulary,
234		HTTPMethod: "POST",
235		HTTPPath:   "/",
236	}
237
238	if input == nil {
239		input = &CreateVocabularyInput{}
240	}
241
242	output = &CreateVocabularyOutput{}
243	req = c.newRequest(op, input, output)
244	return
245}
246
247// CreateVocabulary API operation for Amazon Transcribe Service.
248//
249// Creates a new custom vocabulary that you can use to change the way Amazon
250// Transcribe handles transcription of an audio file.
251//
252// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
253// with awserr.Error's Code and Message methods to get detailed information about
254// the error.
255//
256// See the AWS API reference guide for Amazon Transcribe Service's
257// API operation CreateVocabulary for usage and error information.
258//
259// Returned Error Types:
260//   * BadRequestException
261//   Your request didn't pass one or more validation tests. For example, if the
262//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
263//   state (for example, it's "in progress"). See the exception Message field
264//   for more information.
265//
266//   * LimitExceededException
267//   Either you have sent too many requests or your input file is too long. Wait
268//   before you resend your request, or use a smaller file and resend the request.
269//
270//   * InternalFailureException
271//   There was an internal error. Check the error message and try your request
272//   again.
273//
274//   * ConflictException
275//   There is already a resource with that name.
276//
277// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary
278func (c *TranscribeService) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error) {
279	req, out := c.CreateVocabularyRequest(input)
280	return out, req.Send()
281}
282
283// CreateVocabularyWithContext is the same as CreateVocabulary with the addition of
284// the ability to pass a context and additional request options.
285//
286// See CreateVocabulary for details on how to use this API operation.
287//
288// The context must be non-nil and will be used for request cancellation. If
289// the context is nil a panic will occur. In the future the SDK may create
290// sub-contexts for http.Requests. See https://golang.org/pkg/context/
291// for more information on using Contexts.
292func (c *TranscribeService) CreateVocabularyWithContext(ctx aws.Context, input *CreateVocabularyInput, opts ...request.Option) (*CreateVocabularyOutput, error) {
293	req, out := c.CreateVocabularyRequest(input)
294	req.SetContext(ctx)
295	req.ApplyOptions(opts...)
296	return out, req.Send()
297}
298
299const opCreateVocabularyFilter = "CreateVocabularyFilter"
300
301// CreateVocabularyFilterRequest generates a "aws/request.Request" representing the
302// client's request for the CreateVocabularyFilter operation. The "output" return
303// value will be populated with the request's response once the request completes
304// successfully.
305//
306// Use "Send" method on the returned Request to send the API call to the service.
307// the "output" return value is not valid until after Send returns without error.
308//
309// See CreateVocabularyFilter for more information on using the CreateVocabularyFilter
310// API call, and error handling.
311//
312// This method is useful when you want to inject custom logic or configuration
313// into the SDK's request lifecycle. Such as custom headers, or retry logic.
314//
315//
316//    // Example sending a request using the CreateVocabularyFilterRequest method.
317//    req, resp := client.CreateVocabularyFilterRequest(params)
318//
319//    err := req.Send()
320//    if err == nil { // resp is now filled
321//        fmt.Println(resp)
322//    }
323//
324// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter
325func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabularyFilterInput) (req *request.Request, output *CreateVocabularyFilterOutput) {
326	op := &request.Operation{
327		Name:       opCreateVocabularyFilter,
328		HTTPMethod: "POST",
329		HTTPPath:   "/",
330	}
331
332	if input == nil {
333		input = &CreateVocabularyFilterInput{}
334	}
335
336	output = &CreateVocabularyFilterOutput{}
337	req = c.newRequest(op, input, output)
338	return
339}
340
341// CreateVocabularyFilter API operation for Amazon Transcribe Service.
342//
343// Creates a new vocabulary filter that you can use to filter words, such as
344// profane words, from the output of a transcription job.
345//
346// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
347// with awserr.Error's Code and Message methods to get detailed information about
348// the error.
349//
350// See the AWS API reference guide for Amazon Transcribe Service's
351// API operation CreateVocabularyFilter for usage and error information.
352//
353// Returned Error Types:
354//   * BadRequestException
355//   Your request didn't pass one or more validation tests. For example, if the
356//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
357//   state (for example, it's "in progress"). See the exception Message field
358//   for more information.
359//
360//   * LimitExceededException
361//   Either you have sent too many requests or your input file is too long. Wait
362//   before you resend your request, or use a smaller file and resend the request.
363//
364//   * InternalFailureException
365//   There was an internal error. Check the error message and try your request
366//   again.
367//
368//   * ConflictException
369//   There is already a resource with that name.
370//
371// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter
372func (c *TranscribeService) CreateVocabularyFilter(input *CreateVocabularyFilterInput) (*CreateVocabularyFilterOutput, error) {
373	req, out := c.CreateVocabularyFilterRequest(input)
374	return out, req.Send()
375}
376
377// CreateVocabularyFilterWithContext is the same as CreateVocabularyFilter with the addition of
378// the ability to pass a context and additional request options.
379//
380// See CreateVocabularyFilter for details on how to use this API operation.
381//
382// The context must be non-nil and will be used for request cancellation. If
383// the context is nil a panic will occur. In the future the SDK may create
384// sub-contexts for http.Requests. See https://golang.org/pkg/context/
385// for more information on using Contexts.
386func (c *TranscribeService) CreateVocabularyFilterWithContext(ctx aws.Context, input *CreateVocabularyFilterInput, opts ...request.Option) (*CreateVocabularyFilterOutput, error) {
387	req, out := c.CreateVocabularyFilterRequest(input)
388	req.SetContext(ctx)
389	req.ApplyOptions(opts...)
390	return out, req.Send()
391}
392
393const opDeleteLanguageModel = "DeleteLanguageModel"
394
395// DeleteLanguageModelRequest generates a "aws/request.Request" representing the
396// client's request for the DeleteLanguageModel operation. The "output" return
397// value will be populated with the request's response once the request completes
398// successfully.
399//
400// Use "Send" method on the returned Request to send the API call to the service.
401// the "output" return value is not valid until after Send returns without error.
402//
403// See DeleteLanguageModel for more information on using the DeleteLanguageModel
404// API call, and error handling.
405//
406// This method is useful when you want to inject custom logic or configuration
407// into the SDK's request lifecycle. Such as custom headers, or retry logic.
408//
409//
410//    // Example sending a request using the DeleteLanguageModelRequest method.
411//    req, resp := client.DeleteLanguageModelRequest(params)
412//
413//    err := req.Send()
414//    if err == nil { // resp is now filled
415//        fmt.Println(resp)
416//    }
417//
418// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel
419func (c *TranscribeService) DeleteLanguageModelRequest(input *DeleteLanguageModelInput) (req *request.Request, output *DeleteLanguageModelOutput) {
420	op := &request.Operation{
421		Name:       opDeleteLanguageModel,
422		HTTPMethod: "POST",
423		HTTPPath:   "/",
424	}
425
426	if input == nil {
427		input = &DeleteLanguageModelInput{}
428	}
429
430	output = &DeleteLanguageModelOutput{}
431	req = c.newRequest(op, input, output)
432	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
433	return
434}
435
436// DeleteLanguageModel API operation for Amazon Transcribe Service.
437//
438// Deletes a custom language model using its name.
439//
440// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
441// with awserr.Error's Code and Message methods to get detailed information about
442// the error.
443//
444// See the AWS API reference guide for Amazon Transcribe Service's
445// API operation DeleteLanguageModel for usage and error information.
446//
447// Returned Error Types:
448//   * BadRequestException
449//   Your request didn't pass one or more validation tests. For example, if the
450//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
451//   state (for example, it's "in progress"). See the exception Message field
452//   for more information.
453//
454//   * LimitExceededException
455//   Either you have sent too many requests or your input file is too long. Wait
456//   before you resend your request, or use a smaller file and resend the request.
457//
458//   * InternalFailureException
459//   There was an internal error. Check the error message and try your request
460//   again.
461//
462// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel
463func (c *TranscribeService) DeleteLanguageModel(input *DeleteLanguageModelInput) (*DeleteLanguageModelOutput, error) {
464	req, out := c.DeleteLanguageModelRequest(input)
465	return out, req.Send()
466}
467
468// DeleteLanguageModelWithContext is the same as DeleteLanguageModel with the addition of
469// the ability to pass a context and additional request options.
470//
471// See DeleteLanguageModel for details on how to use this API operation.
472//
473// The context must be non-nil and will be used for request cancellation. If
474// the context is nil a panic will occur. In the future the SDK may create
475// sub-contexts for http.Requests. See https://golang.org/pkg/context/
476// for more information on using Contexts.
477func (c *TranscribeService) DeleteLanguageModelWithContext(ctx aws.Context, input *DeleteLanguageModelInput, opts ...request.Option) (*DeleteLanguageModelOutput, error) {
478	req, out := c.DeleteLanguageModelRequest(input)
479	req.SetContext(ctx)
480	req.ApplyOptions(opts...)
481	return out, req.Send()
482}
483
484const opDeleteMedicalTranscriptionJob = "DeleteMedicalTranscriptionJob"
485
486// DeleteMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the
487// client's request for the DeleteMedicalTranscriptionJob operation. The "output" return
488// value will be populated with the request's response once the request completes
489// successfully.
490//
491// Use "Send" method on the returned Request to send the API call to the service.
492// the "output" return value is not valid until after Send returns without error.
493//
494// See DeleteMedicalTranscriptionJob for more information on using the DeleteMedicalTranscriptionJob
495// API call, and error handling.
496//
497// This method is useful when you want to inject custom logic or configuration
498// into the SDK's request lifecycle. Such as custom headers, or retry logic.
499//
500//
501//    // Example sending a request using the DeleteMedicalTranscriptionJobRequest method.
502//    req, resp := client.DeleteMedicalTranscriptionJobRequest(params)
503//
504//    err := req.Send()
505//    if err == nil { // resp is now filled
506//        fmt.Println(resp)
507//    }
508//
509// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob
510func (c *TranscribeService) DeleteMedicalTranscriptionJobRequest(input *DeleteMedicalTranscriptionJobInput) (req *request.Request, output *DeleteMedicalTranscriptionJobOutput) {
511	op := &request.Operation{
512		Name:       opDeleteMedicalTranscriptionJob,
513		HTTPMethod: "POST",
514		HTTPPath:   "/",
515	}
516
517	if input == nil {
518		input = &DeleteMedicalTranscriptionJobInput{}
519	}
520
521	output = &DeleteMedicalTranscriptionJobOutput{}
522	req = c.newRequest(op, input, output)
523	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
524	return
525}
526
527// DeleteMedicalTranscriptionJob API operation for Amazon Transcribe Service.
528//
529// Deletes a transcription job generated by Amazon Transcribe Medical and any
530// related information.
531//
532// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
533// with awserr.Error's Code and Message methods to get detailed information about
534// the error.
535//
536// See the AWS API reference guide for Amazon Transcribe Service's
537// API operation DeleteMedicalTranscriptionJob for usage and error information.
538//
539// Returned Error Types:
540//   * LimitExceededException
541//   Either you have sent too many requests or your input file is too long. Wait
542//   before you resend your request, or use a smaller file and resend the request.
543//
544//   * BadRequestException
545//   Your request didn't pass one or more validation tests. For example, if the
546//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
547//   state (for example, it's "in progress"). See the exception Message field
548//   for more information.
549//
550//   * InternalFailureException
551//   There was an internal error. Check the error message and try your request
552//   again.
553//
554// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob
555func (c *TranscribeService) DeleteMedicalTranscriptionJob(input *DeleteMedicalTranscriptionJobInput) (*DeleteMedicalTranscriptionJobOutput, error) {
556	req, out := c.DeleteMedicalTranscriptionJobRequest(input)
557	return out, req.Send()
558}
559
560// DeleteMedicalTranscriptionJobWithContext is the same as DeleteMedicalTranscriptionJob with the addition of
561// the ability to pass a context and additional request options.
562//
563// See DeleteMedicalTranscriptionJob for details on how to use this API operation.
564//
565// The context must be non-nil and will be used for request cancellation. If
566// the context is nil a panic will occur. In the future the SDK may create
567// sub-contexts for http.Requests. See https://golang.org/pkg/context/
568// for more information on using Contexts.
569func (c *TranscribeService) DeleteMedicalTranscriptionJobWithContext(ctx aws.Context, input *DeleteMedicalTranscriptionJobInput, opts ...request.Option) (*DeleteMedicalTranscriptionJobOutput, error) {
570	req, out := c.DeleteMedicalTranscriptionJobRequest(input)
571	req.SetContext(ctx)
572	req.ApplyOptions(opts...)
573	return out, req.Send()
574}
575
576const opDeleteMedicalVocabulary = "DeleteMedicalVocabulary"
577
578// DeleteMedicalVocabularyRequest generates a "aws/request.Request" representing the
579// client's request for the DeleteMedicalVocabulary operation. The "output" return
580// value will be populated with the request's response once the request completes
581// successfully.
582//
583// Use "Send" method on the returned Request to send the API call to the service.
584// the "output" return value is not valid until after Send returns without error.
585//
586// See DeleteMedicalVocabulary for more information on using the DeleteMedicalVocabulary
587// API call, and error handling.
588//
589// This method is useful when you want to inject custom logic or configuration
590// into the SDK's request lifecycle. Such as custom headers, or retry logic.
591//
592//
593//    // Example sending a request using the DeleteMedicalVocabularyRequest method.
594//    req, resp := client.DeleteMedicalVocabularyRequest(params)
595//
596//    err := req.Send()
597//    if err == nil { // resp is now filled
598//        fmt.Println(resp)
599//    }
600//
601// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary
602func (c *TranscribeService) DeleteMedicalVocabularyRequest(input *DeleteMedicalVocabularyInput) (req *request.Request, output *DeleteMedicalVocabularyOutput) {
603	op := &request.Operation{
604		Name:       opDeleteMedicalVocabulary,
605		HTTPMethod: "POST",
606		HTTPPath:   "/",
607	}
608
609	if input == nil {
610		input = &DeleteMedicalVocabularyInput{}
611	}
612
613	output = &DeleteMedicalVocabularyOutput{}
614	req = c.newRequest(op, input, output)
615	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
616	return
617}
618
619// DeleteMedicalVocabulary API operation for Amazon Transcribe Service.
620//
621// Deletes a vocabulary from Amazon Transcribe Medical.
622//
623// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
624// with awserr.Error's Code and Message methods to get detailed information about
625// the error.
626//
627// See the AWS API reference guide for Amazon Transcribe Service's
628// API operation DeleteMedicalVocabulary for usage and error information.
629//
630// Returned Error Types:
631//   * NotFoundException
632//   We can't find the requested resource. Check the name and try your request
633//   again.
634//
635//   * LimitExceededException
636//   Either you have sent too many requests or your input file is too long. Wait
637//   before you resend your request, or use a smaller file and resend the request.
638//
639//   * BadRequestException
640//   Your request didn't pass one or more validation tests. For example, if the
641//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
642//   state (for example, it's "in progress"). See the exception Message field
643//   for more information.
644//
645//   * InternalFailureException
646//   There was an internal error. Check the error message and try your request
647//   again.
648//
649// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary
650func (c *TranscribeService) DeleteMedicalVocabulary(input *DeleteMedicalVocabularyInput) (*DeleteMedicalVocabularyOutput, error) {
651	req, out := c.DeleteMedicalVocabularyRequest(input)
652	return out, req.Send()
653}
654
655// DeleteMedicalVocabularyWithContext is the same as DeleteMedicalVocabulary with the addition of
656// the ability to pass a context and additional request options.
657//
658// See DeleteMedicalVocabulary for details on how to use this API operation.
659//
660// The context must be non-nil and will be used for request cancellation. If
661// the context is nil a panic will occur. In the future the SDK may create
662// sub-contexts for http.Requests. See https://golang.org/pkg/context/
663// for more information on using Contexts.
664func (c *TranscribeService) DeleteMedicalVocabularyWithContext(ctx aws.Context, input *DeleteMedicalVocabularyInput, opts ...request.Option) (*DeleteMedicalVocabularyOutput, error) {
665	req, out := c.DeleteMedicalVocabularyRequest(input)
666	req.SetContext(ctx)
667	req.ApplyOptions(opts...)
668	return out, req.Send()
669}
670
671const opDeleteTranscriptionJob = "DeleteTranscriptionJob"
672
673// DeleteTranscriptionJobRequest generates a "aws/request.Request" representing the
674// client's request for the DeleteTranscriptionJob operation. The "output" return
675// value will be populated with the request's response once the request completes
676// successfully.
677//
678// Use "Send" method on the returned Request to send the API call to the service.
679// the "output" return value is not valid until after Send returns without error.
680//
681// See DeleteTranscriptionJob for more information on using the DeleteTranscriptionJob
682// API call, and error handling.
683//
684// This method is useful when you want to inject custom logic or configuration
685// into the SDK's request lifecycle. Such as custom headers, or retry logic.
686//
687//
688//    // Example sending a request using the DeleteTranscriptionJobRequest method.
689//    req, resp := client.DeleteTranscriptionJobRequest(params)
690//
691//    err := req.Send()
692//    if err == nil { // resp is now filled
693//        fmt.Println(resp)
694//    }
695//
696// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob
697func (c *TranscribeService) DeleteTranscriptionJobRequest(input *DeleteTranscriptionJobInput) (req *request.Request, output *DeleteTranscriptionJobOutput) {
698	op := &request.Operation{
699		Name:       opDeleteTranscriptionJob,
700		HTTPMethod: "POST",
701		HTTPPath:   "/",
702	}
703
704	if input == nil {
705		input = &DeleteTranscriptionJobInput{}
706	}
707
708	output = &DeleteTranscriptionJobOutput{}
709	req = c.newRequest(op, input, output)
710	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
711	return
712}
713
714// DeleteTranscriptionJob API operation for Amazon Transcribe Service.
715//
716// Deletes a previously submitted transcription job along with any other generated
717// results such as the transcription, models, and so on.
718//
719// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
720// with awserr.Error's Code and Message methods to get detailed information about
721// the error.
722//
723// See the AWS API reference guide for Amazon Transcribe Service's
724// API operation DeleteTranscriptionJob for usage and error information.
725//
726// Returned Error Types:
727//   * LimitExceededException
728//   Either you have sent too many requests or your input file is too long. Wait
729//   before you resend your request, or use a smaller file and resend the request.
730//
731//   * BadRequestException
732//   Your request didn't pass one or more validation tests. For example, if the
733//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
734//   state (for example, it's "in progress"). See the exception Message field
735//   for more information.
736//
737//   * InternalFailureException
738//   There was an internal error. Check the error message and try your request
739//   again.
740//
741// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob
742func (c *TranscribeService) DeleteTranscriptionJob(input *DeleteTranscriptionJobInput) (*DeleteTranscriptionJobOutput, error) {
743	req, out := c.DeleteTranscriptionJobRequest(input)
744	return out, req.Send()
745}
746
747// DeleteTranscriptionJobWithContext is the same as DeleteTranscriptionJob with the addition of
748// the ability to pass a context and additional request options.
749//
750// See DeleteTranscriptionJob for details on how to use this API operation.
751//
752// The context must be non-nil and will be used for request cancellation. If
753// the context is nil a panic will occur. In the future the SDK may create
754// sub-contexts for http.Requests. See https://golang.org/pkg/context/
755// for more information on using Contexts.
756func (c *TranscribeService) DeleteTranscriptionJobWithContext(ctx aws.Context, input *DeleteTranscriptionJobInput, opts ...request.Option) (*DeleteTranscriptionJobOutput, error) {
757	req, out := c.DeleteTranscriptionJobRequest(input)
758	req.SetContext(ctx)
759	req.ApplyOptions(opts...)
760	return out, req.Send()
761}
762
763const opDeleteVocabulary = "DeleteVocabulary"
764
765// DeleteVocabularyRequest generates a "aws/request.Request" representing the
766// client's request for the DeleteVocabulary operation. The "output" return
767// value will be populated with the request's response once the request completes
768// successfully.
769//
770// Use "Send" method on the returned Request to send the API call to the service.
771// the "output" return value is not valid until after Send returns without error.
772//
773// See DeleteVocabulary for more information on using the DeleteVocabulary
774// API call, and error handling.
775//
776// This method is useful when you want to inject custom logic or configuration
777// into the SDK's request lifecycle. Such as custom headers, or retry logic.
778//
779//
780//    // Example sending a request using the DeleteVocabularyRequest method.
781//    req, resp := client.DeleteVocabularyRequest(params)
782//
783//    err := req.Send()
784//    if err == nil { // resp is now filled
785//        fmt.Println(resp)
786//    }
787//
788// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary
789func (c *TranscribeService) DeleteVocabularyRequest(input *DeleteVocabularyInput) (req *request.Request, output *DeleteVocabularyOutput) {
790	op := &request.Operation{
791		Name:       opDeleteVocabulary,
792		HTTPMethod: "POST",
793		HTTPPath:   "/",
794	}
795
796	if input == nil {
797		input = &DeleteVocabularyInput{}
798	}
799
800	output = &DeleteVocabularyOutput{}
801	req = c.newRequest(op, input, output)
802	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
803	return
804}
805
806// DeleteVocabulary API operation for Amazon Transcribe Service.
807//
808// Deletes a vocabulary from Amazon Transcribe.
809//
810// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
811// with awserr.Error's Code and Message methods to get detailed information about
812// the error.
813//
814// See the AWS API reference guide for Amazon Transcribe Service's
815// API operation DeleteVocabulary for usage and error information.
816//
817// Returned Error Types:
818//   * NotFoundException
819//   We can't find the requested resource. Check the name and try your request
820//   again.
821//
822//   * LimitExceededException
823//   Either you have sent too many requests or your input file is too long. Wait
824//   before you resend your request, or use a smaller file and resend the request.
825//
826//   * BadRequestException
827//   Your request didn't pass one or more validation tests. For example, if the
828//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
829//   state (for example, it's "in progress"). See the exception Message field
830//   for more information.
831//
832//   * InternalFailureException
833//   There was an internal error. Check the error message and try your request
834//   again.
835//
836// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary
837func (c *TranscribeService) DeleteVocabulary(input *DeleteVocabularyInput) (*DeleteVocabularyOutput, error) {
838	req, out := c.DeleteVocabularyRequest(input)
839	return out, req.Send()
840}
841
842// DeleteVocabularyWithContext is the same as DeleteVocabulary with the addition of
843// the ability to pass a context and additional request options.
844//
845// See DeleteVocabulary for details on how to use this API operation.
846//
847// The context must be non-nil and will be used for request cancellation. If
848// the context is nil a panic will occur. In the future the SDK may create
849// sub-contexts for http.Requests. See https://golang.org/pkg/context/
850// for more information on using Contexts.
851func (c *TranscribeService) DeleteVocabularyWithContext(ctx aws.Context, input *DeleteVocabularyInput, opts ...request.Option) (*DeleteVocabularyOutput, error) {
852	req, out := c.DeleteVocabularyRequest(input)
853	req.SetContext(ctx)
854	req.ApplyOptions(opts...)
855	return out, req.Send()
856}
857
858const opDeleteVocabularyFilter = "DeleteVocabularyFilter"
859
860// DeleteVocabularyFilterRequest generates a "aws/request.Request" representing the
861// client's request for the DeleteVocabularyFilter operation. The "output" return
862// value will be populated with the request's response once the request completes
863// successfully.
864//
865// Use "Send" method on the returned Request to send the API call to the service.
866// the "output" return value is not valid until after Send returns without error.
867//
868// See DeleteVocabularyFilter for more information on using the DeleteVocabularyFilter
869// API call, and error handling.
870//
871// This method is useful when you want to inject custom logic or configuration
872// into the SDK's request lifecycle. Such as custom headers, or retry logic.
873//
874//
875//    // Example sending a request using the DeleteVocabularyFilterRequest method.
876//    req, resp := client.DeleteVocabularyFilterRequest(params)
877//
878//    err := req.Send()
879//    if err == nil { // resp is now filled
880//        fmt.Println(resp)
881//    }
882//
883// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter
884func (c *TranscribeService) DeleteVocabularyFilterRequest(input *DeleteVocabularyFilterInput) (req *request.Request, output *DeleteVocabularyFilterOutput) {
885	op := &request.Operation{
886		Name:       opDeleteVocabularyFilter,
887		HTTPMethod: "POST",
888		HTTPPath:   "/",
889	}
890
891	if input == nil {
892		input = &DeleteVocabularyFilterInput{}
893	}
894
895	output = &DeleteVocabularyFilterOutput{}
896	req = c.newRequest(op, input, output)
897	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
898	return
899}
900
901// DeleteVocabularyFilter API operation for Amazon Transcribe Service.
902//
903// Removes a vocabulary filter.
904//
905// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
906// with awserr.Error's Code and Message methods to get detailed information about
907// the error.
908//
909// See the AWS API reference guide for Amazon Transcribe Service's
910// API operation DeleteVocabularyFilter for usage and error information.
911//
912// Returned Error Types:
913//   * NotFoundException
914//   We can't find the requested resource. Check the name and try your request
915//   again.
916//
917//   * LimitExceededException
918//   Either you have sent too many requests or your input file is too long. Wait
919//   before you resend your request, or use a smaller file and resend the request.
920//
921//   * BadRequestException
922//   Your request didn't pass one or more validation tests. For example, if the
923//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
924//   state (for example, it's "in progress"). See the exception Message field
925//   for more information.
926//
927//   * InternalFailureException
928//   There was an internal error. Check the error message and try your request
929//   again.
930//
931// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter
932func (c *TranscribeService) DeleteVocabularyFilter(input *DeleteVocabularyFilterInput) (*DeleteVocabularyFilterOutput, error) {
933	req, out := c.DeleteVocabularyFilterRequest(input)
934	return out, req.Send()
935}
936
937// DeleteVocabularyFilterWithContext is the same as DeleteVocabularyFilter with the addition of
938// the ability to pass a context and additional request options.
939//
940// See DeleteVocabularyFilter for details on how to use this API operation.
941//
942// The context must be non-nil and will be used for request cancellation. If
943// the context is nil a panic will occur. In the future the SDK may create
944// sub-contexts for http.Requests. See https://golang.org/pkg/context/
945// for more information on using Contexts.
946func (c *TranscribeService) DeleteVocabularyFilterWithContext(ctx aws.Context, input *DeleteVocabularyFilterInput, opts ...request.Option) (*DeleteVocabularyFilterOutput, error) {
947	req, out := c.DeleteVocabularyFilterRequest(input)
948	req.SetContext(ctx)
949	req.ApplyOptions(opts...)
950	return out, req.Send()
951}
952
953const opDescribeLanguageModel = "DescribeLanguageModel"
954
955// DescribeLanguageModelRequest generates a "aws/request.Request" representing the
956// client's request for the DescribeLanguageModel operation. The "output" return
957// value will be populated with the request's response once the request completes
958// successfully.
959//
960// Use "Send" method on the returned Request to send the API call to the service.
961// the "output" return value is not valid until after Send returns without error.
962//
963// See DescribeLanguageModel for more information on using the DescribeLanguageModel
964// API call, and error handling.
965//
966// This method is useful when you want to inject custom logic or configuration
967// into the SDK's request lifecycle. Such as custom headers, or retry logic.
968//
969//
970//    // Example sending a request using the DescribeLanguageModelRequest method.
971//    req, resp := client.DescribeLanguageModelRequest(params)
972//
973//    err := req.Send()
974//    if err == nil { // resp is now filled
975//        fmt.Println(resp)
976//    }
977//
978// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel
979func (c *TranscribeService) DescribeLanguageModelRequest(input *DescribeLanguageModelInput) (req *request.Request, output *DescribeLanguageModelOutput) {
980	op := &request.Operation{
981		Name:       opDescribeLanguageModel,
982		HTTPMethod: "POST",
983		HTTPPath:   "/",
984	}
985
986	if input == nil {
987		input = &DescribeLanguageModelInput{}
988	}
989
990	output = &DescribeLanguageModelOutput{}
991	req = c.newRequest(op, input, output)
992	return
993}
994
995// DescribeLanguageModel API operation for Amazon Transcribe Service.
996//
997// Gets information about a single custom language model. Use this information
998// to see details about the language model in your AWS account. You can also
999// see whether the base language model used to create your custom language model
1000// has been updated. If Amazon Transcribe has updated the base model, you can
1001// create a new custom language model using the updated base model. If the language
1002// model wasn't created, you can use this operation to understand why Amazon
1003// Transcribe couldn't create it.
1004//
1005// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1006// with awserr.Error's Code and Message methods to get detailed information about
1007// the error.
1008//
1009// See the AWS API reference guide for Amazon Transcribe Service's
1010// API operation DescribeLanguageModel for usage and error information.
1011//
1012// Returned Error Types:
1013//   * BadRequestException
1014//   Your request didn't pass one or more validation tests. For example, if the
1015//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1016//   state (for example, it's "in progress"). See the exception Message field
1017//   for more information.
1018//
1019//   * LimitExceededException
1020//   Either you have sent too many requests or your input file is too long. Wait
1021//   before you resend your request, or use a smaller file and resend the request.
1022//
1023//   * InternalFailureException
1024//   There was an internal error. Check the error message and try your request
1025//   again.
1026//
1027//   * NotFoundException
1028//   We can't find the requested resource. Check the name and try your request
1029//   again.
1030//
1031// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel
1032func (c *TranscribeService) DescribeLanguageModel(input *DescribeLanguageModelInput) (*DescribeLanguageModelOutput, error) {
1033	req, out := c.DescribeLanguageModelRequest(input)
1034	return out, req.Send()
1035}
1036
1037// DescribeLanguageModelWithContext is the same as DescribeLanguageModel with the addition of
1038// the ability to pass a context and additional request options.
1039//
1040// See DescribeLanguageModel for details on how to use this API operation.
1041//
1042// The context must be non-nil and will be used for request cancellation. If
1043// the context is nil a panic will occur. In the future the SDK may create
1044// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1045// for more information on using Contexts.
1046func (c *TranscribeService) DescribeLanguageModelWithContext(ctx aws.Context, input *DescribeLanguageModelInput, opts ...request.Option) (*DescribeLanguageModelOutput, error) {
1047	req, out := c.DescribeLanguageModelRequest(input)
1048	req.SetContext(ctx)
1049	req.ApplyOptions(opts...)
1050	return out, req.Send()
1051}
1052
1053const opGetMedicalTranscriptionJob = "GetMedicalTranscriptionJob"
1054
1055// GetMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the
1056// client's request for the GetMedicalTranscriptionJob operation. The "output" return
1057// value will be populated with the request's response once the request completes
1058// successfully.
1059//
1060// Use "Send" method on the returned Request to send the API call to the service.
1061// the "output" return value is not valid until after Send returns without error.
1062//
1063// See GetMedicalTranscriptionJob for more information on using the GetMedicalTranscriptionJob
1064// API call, and error handling.
1065//
1066// This method is useful when you want to inject custom logic or configuration
1067// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1068//
1069//
1070//    // Example sending a request using the GetMedicalTranscriptionJobRequest method.
1071//    req, resp := client.GetMedicalTranscriptionJobRequest(params)
1072//
1073//    err := req.Send()
1074//    if err == nil { // resp is now filled
1075//        fmt.Println(resp)
1076//    }
1077//
1078// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob
1079func (c *TranscribeService) GetMedicalTranscriptionJobRequest(input *GetMedicalTranscriptionJobInput) (req *request.Request, output *GetMedicalTranscriptionJobOutput) {
1080	op := &request.Operation{
1081		Name:       opGetMedicalTranscriptionJob,
1082		HTTPMethod: "POST",
1083		HTTPPath:   "/",
1084	}
1085
1086	if input == nil {
1087		input = &GetMedicalTranscriptionJobInput{}
1088	}
1089
1090	output = &GetMedicalTranscriptionJobOutput{}
1091	req = c.newRequest(op, input, output)
1092	return
1093}
1094
1095// GetMedicalTranscriptionJob API operation for Amazon Transcribe Service.
1096//
1097// Returns information about a transcription job from Amazon Transcribe Medical.
1098// To see the status of the job, check the TranscriptionJobStatus field. If
1099// the status is COMPLETED, the job is finished. You find the results of the
1100// completed job in the TranscriptFileUri field.
1101//
1102// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1103// with awserr.Error's Code and Message methods to get detailed information about
1104// the error.
1105//
1106// See the AWS API reference guide for Amazon Transcribe Service's
1107// API operation GetMedicalTranscriptionJob for usage and error information.
1108//
1109// Returned Error Types:
1110//   * BadRequestException
1111//   Your request didn't pass one or more validation tests. For example, if the
1112//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1113//   state (for example, it's "in progress"). See the exception Message field
1114//   for more information.
1115//
1116//   * LimitExceededException
1117//   Either you have sent too many requests or your input file is too long. Wait
1118//   before you resend your request, or use a smaller file and resend the request.
1119//
1120//   * InternalFailureException
1121//   There was an internal error. Check the error message and try your request
1122//   again.
1123//
1124//   * NotFoundException
1125//   We can't find the requested resource. Check the name and try your request
1126//   again.
1127//
1128// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob
1129func (c *TranscribeService) GetMedicalTranscriptionJob(input *GetMedicalTranscriptionJobInput) (*GetMedicalTranscriptionJobOutput, error) {
1130	req, out := c.GetMedicalTranscriptionJobRequest(input)
1131	return out, req.Send()
1132}
1133
1134// GetMedicalTranscriptionJobWithContext is the same as GetMedicalTranscriptionJob with the addition of
1135// the ability to pass a context and additional request options.
1136//
1137// See GetMedicalTranscriptionJob for details on how to use this API operation.
1138//
1139// The context must be non-nil and will be used for request cancellation. If
1140// the context is nil a panic will occur. In the future the SDK may create
1141// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1142// for more information on using Contexts.
1143func (c *TranscribeService) GetMedicalTranscriptionJobWithContext(ctx aws.Context, input *GetMedicalTranscriptionJobInput, opts ...request.Option) (*GetMedicalTranscriptionJobOutput, error) {
1144	req, out := c.GetMedicalTranscriptionJobRequest(input)
1145	req.SetContext(ctx)
1146	req.ApplyOptions(opts...)
1147	return out, req.Send()
1148}
1149
1150const opGetMedicalVocabulary = "GetMedicalVocabulary"
1151
1152// GetMedicalVocabularyRequest generates a "aws/request.Request" representing the
1153// client's request for the GetMedicalVocabulary operation. The "output" return
1154// value will be populated with the request's response once the request completes
1155// successfully.
1156//
1157// Use "Send" method on the returned Request to send the API call to the service.
1158// the "output" return value is not valid until after Send returns without error.
1159//
1160// See GetMedicalVocabulary for more information on using the GetMedicalVocabulary
1161// API call, and error handling.
1162//
1163// This method is useful when you want to inject custom logic or configuration
1164// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1165//
1166//
1167//    // Example sending a request using the GetMedicalVocabularyRequest method.
1168//    req, resp := client.GetMedicalVocabularyRequest(params)
1169//
1170//    err := req.Send()
1171//    if err == nil { // resp is now filled
1172//        fmt.Println(resp)
1173//    }
1174//
1175// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary
1176func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabularyInput) (req *request.Request, output *GetMedicalVocabularyOutput) {
1177	op := &request.Operation{
1178		Name:       opGetMedicalVocabulary,
1179		HTTPMethod: "POST",
1180		HTTPPath:   "/",
1181	}
1182
1183	if input == nil {
1184		input = &GetMedicalVocabularyInput{}
1185	}
1186
1187	output = &GetMedicalVocabularyOutput{}
1188	req = c.newRequest(op, input, output)
1189	return
1190}
1191
1192// GetMedicalVocabulary API operation for Amazon Transcribe Service.
1193//
1194// Retrieves information about a medical vocabulary.
1195//
1196// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1197// with awserr.Error's Code and Message methods to get detailed information about
1198// the error.
1199//
1200// See the AWS API reference guide for Amazon Transcribe Service's
1201// API operation GetMedicalVocabulary for usage and error information.
1202//
1203// Returned Error Types:
1204//   * NotFoundException
1205//   We can't find the requested resource. Check the name and try your request
1206//   again.
1207//
1208//   * LimitExceededException
1209//   Either you have sent too many requests or your input file is too long. Wait
1210//   before you resend your request, or use a smaller file and resend the request.
1211//
1212//   * InternalFailureException
1213//   There was an internal error. Check the error message and try your request
1214//   again.
1215//
1216//   * BadRequestException
1217//   Your request didn't pass one or more validation tests. For example, if the
1218//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1219//   state (for example, it's "in progress"). See the exception Message field
1220//   for more information.
1221//
1222// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary
1223func (c *TranscribeService) GetMedicalVocabulary(input *GetMedicalVocabularyInput) (*GetMedicalVocabularyOutput, error) {
1224	req, out := c.GetMedicalVocabularyRequest(input)
1225	return out, req.Send()
1226}
1227
1228// GetMedicalVocabularyWithContext is the same as GetMedicalVocabulary with the addition of
1229// the ability to pass a context and additional request options.
1230//
1231// See GetMedicalVocabulary for details on how to use this API operation.
1232//
1233// The context must be non-nil and will be used for request cancellation. If
1234// the context is nil a panic will occur. In the future the SDK may create
1235// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1236// for more information on using Contexts.
1237func (c *TranscribeService) GetMedicalVocabularyWithContext(ctx aws.Context, input *GetMedicalVocabularyInput, opts ...request.Option) (*GetMedicalVocabularyOutput, error) {
1238	req, out := c.GetMedicalVocabularyRequest(input)
1239	req.SetContext(ctx)
1240	req.ApplyOptions(opts...)
1241	return out, req.Send()
1242}
1243
1244const opGetTranscriptionJob = "GetTranscriptionJob"
1245
1246// GetTranscriptionJobRequest generates a "aws/request.Request" representing the
1247// client's request for the GetTranscriptionJob operation. The "output" return
1248// value will be populated with the request's response once the request completes
1249// successfully.
1250//
1251// Use "Send" method on the returned Request to send the API call to the service.
1252// the "output" return value is not valid until after Send returns without error.
1253//
1254// See GetTranscriptionJob for more information on using the GetTranscriptionJob
1255// API call, and error handling.
1256//
1257// This method is useful when you want to inject custom logic or configuration
1258// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1259//
1260//
1261//    // Example sending a request using the GetTranscriptionJobRequest method.
1262//    req, resp := client.GetTranscriptionJobRequest(params)
1263//
1264//    err := req.Send()
1265//    if err == nil { // resp is now filled
1266//        fmt.Println(resp)
1267//    }
1268//
1269// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob
1270func (c *TranscribeService) GetTranscriptionJobRequest(input *GetTranscriptionJobInput) (req *request.Request, output *GetTranscriptionJobOutput) {
1271	op := &request.Operation{
1272		Name:       opGetTranscriptionJob,
1273		HTTPMethod: "POST",
1274		HTTPPath:   "/",
1275	}
1276
1277	if input == nil {
1278		input = &GetTranscriptionJobInput{}
1279	}
1280
1281	output = &GetTranscriptionJobOutput{}
1282	req = c.newRequest(op, input, output)
1283	return
1284}
1285
1286// GetTranscriptionJob API operation for Amazon Transcribe Service.
1287//
1288// Returns information about a transcription job. To see the status of the job,
1289// check the TranscriptionJobStatus field. If the status is COMPLETED, the job
1290// is finished and you can find the results at the location specified in the
1291// TranscriptFileUri field. If you enable content redaction, the redacted transcript
1292// appears in RedactedTranscriptFileUri.
1293//
1294// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1295// with awserr.Error's Code and Message methods to get detailed information about
1296// the error.
1297//
1298// See the AWS API reference guide for Amazon Transcribe Service's
1299// API operation GetTranscriptionJob for usage and error information.
1300//
1301// Returned Error Types:
1302//   * BadRequestException
1303//   Your request didn't pass one or more validation tests. For example, if the
1304//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1305//   state (for example, it's "in progress"). See the exception Message field
1306//   for more information.
1307//
1308//   * LimitExceededException
1309//   Either you have sent too many requests or your input file is too long. Wait
1310//   before you resend your request, or use a smaller file and resend the request.
1311//
1312//   * InternalFailureException
1313//   There was an internal error. Check the error message and try your request
1314//   again.
1315//
1316//   * NotFoundException
1317//   We can't find the requested resource. Check the name and try your request
1318//   again.
1319//
1320// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob
1321func (c *TranscribeService) GetTranscriptionJob(input *GetTranscriptionJobInput) (*GetTranscriptionJobOutput, error) {
1322	req, out := c.GetTranscriptionJobRequest(input)
1323	return out, req.Send()
1324}
1325
1326// GetTranscriptionJobWithContext is the same as GetTranscriptionJob with the addition of
1327// the ability to pass a context and additional request options.
1328//
1329// See GetTranscriptionJob for details on how to use this API operation.
1330//
1331// The context must be non-nil and will be used for request cancellation. If
1332// the context is nil a panic will occur. In the future the SDK may create
1333// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1334// for more information on using Contexts.
1335func (c *TranscribeService) GetTranscriptionJobWithContext(ctx aws.Context, input *GetTranscriptionJobInput, opts ...request.Option) (*GetTranscriptionJobOutput, error) {
1336	req, out := c.GetTranscriptionJobRequest(input)
1337	req.SetContext(ctx)
1338	req.ApplyOptions(opts...)
1339	return out, req.Send()
1340}
1341
1342const opGetVocabulary = "GetVocabulary"
1343
1344// GetVocabularyRequest generates a "aws/request.Request" representing the
1345// client's request for the GetVocabulary operation. The "output" return
1346// value will be populated with the request's response once the request completes
1347// successfully.
1348//
1349// Use "Send" method on the returned Request to send the API call to the service.
1350// the "output" return value is not valid until after Send returns without error.
1351//
1352// See GetVocabulary for more information on using the GetVocabulary
1353// API call, and error handling.
1354//
1355// This method is useful when you want to inject custom logic or configuration
1356// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1357//
1358//
1359//    // Example sending a request using the GetVocabularyRequest method.
1360//    req, resp := client.GetVocabularyRequest(params)
1361//
1362//    err := req.Send()
1363//    if err == nil { // resp is now filled
1364//        fmt.Println(resp)
1365//    }
1366//
1367// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary
1368func (c *TranscribeService) GetVocabularyRequest(input *GetVocabularyInput) (req *request.Request, output *GetVocabularyOutput) {
1369	op := &request.Operation{
1370		Name:       opGetVocabulary,
1371		HTTPMethod: "POST",
1372		HTTPPath:   "/",
1373	}
1374
1375	if input == nil {
1376		input = &GetVocabularyInput{}
1377	}
1378
1379	output = &GetVocabularyOutput{}
1380	req = c.newRequest(op, input, output)
1381	return
1382}
1383
1384// GetVocabulary API operation for Amazon Transcribe Service.
1385//
1386// Gets information about a vocabulary.
1387//
1388// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1389// with awserr.Error's Code and Message methods to get detailed information about
1390// the error.
1391//
1392// See the AWS API reference guide for Amazon Transcribe Service's
1393// API operation GetVocabulary for usage and error information.
1394//
1395// Returned Error Types:
1396//   * NotFoundException
1397//   We can't find the requested resource. Check the name and try your request
1398//   again.
1399//
1400//   * LimitExceededException
1401//   Either you have sent too many requests or your input file is too long. Wait
1402//   before you resend your request, or use a smaller file and resend the request.
1403//
1404//   * InternalFailureException
1405//   There was an internal error. Check the error message and try your request
1406//   again.
1407//
1408//   * BadRequestException
1409//   Your request didn't pass one or more validation tests. For example, if the
1410//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1411//   state (for example, it's "in progress"). See the exception Message field
1412//   for more information.
1413//
1414// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary
1415func (c *TranscribeService) GetVocabulary(input *GetVocabularyInput) (*GetVocabularyOutput, error) {
1416	req, out := c.GetVocabularyRequest(input)
1417	return out, req.Send()
1418}
1419
1420// GetVocabularyWithContext is the same as GetVocabulary with the addition of
1421// the ability to pass a context and additional request options.
1422//
1423// See GetVocabulary for details on how to use this API operation.
1424//
1425// The context must be non-nil and will be used for request cancellation. If
1426// the context is nil a panic will occur. In the future the SDK may create
1427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1428// for more information on using Contexts.
1429func (c *TranscribeService) GetVocabularyWithContext(ctx aws.Context, input *GetVocabularyInput, opts ...request.Option) (*GetVocabularyOutput, error) {
1430	req, out := c.GetVocabularyRequest(input)
1431	req.SetContext(ctx)
1432	req.ApplyOptions(opts...)
1433	return out, req.Send()
1434}
1435
1436const opGetVocabularyFilter = "GetVocabularyFilter"
1437
1438// GetVocabularyFilterRequest generates a "aws/request.Request" representing the
1439// client's request for the GetVocabularyFilter operation. The "output" return
1440// value will be populated with the request's response once the request completes
1441// successfully.
1442//
1443// Use "Send" method on the returned Request to send the API call to the service.
1444// the "output" return value is not valid until after Send returns without error.
1445//
1446// See GetVocabularyFilter for more information on using the GetVocabularyFilter
1447// API call, and error handling.
1448//
1449// This method is useful when you want to inject custom logic or configuration
1450// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1451//
1452//
1453//    // Example sending a request using the GetVocabularyFilterRequest method.
1454//    req, resp := client.GetVocabularyFilterRequest(params)
1455//
1456//    err := req.Send()
1457//    if err == nil { // resp is now filled
1458//        fmt.Println(resp)
1459//    }
1460//
1461// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter
1462func (c *TranscribeService) GetVocabularyFilterRequest(input *GetVocabularyFilterInput) (req *request.Request, output *GetVocabularyFilterOutput) {
1463	op := &request.Operation{
1464		Name:       opGetVocabularyFilter,
1465		HTTPMethod: "POST",
1466		HTTPPath:   "/",
1467	}
1468
1469	if input == nil {
1470		input = &GetVocabularyFilterInput{}
1471	}
1472
1473	output = &GetVocabularyFilterOutput{}
1474	req = c.newRequest(op, input, output)
1475	return
1476}
1477
1478// GetVocabularyFilter API operation for Amazon Transcribe Service.
1479//
1480// Returns information about a vocabulary filter.
1481//
1482// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1483// with awserr.Error's Code and Message methods to get detailed information about
1484// the error.
1485//
1486// See the AWS API reference guide for Amazon Transcribe Service's
1487// API operation GetVocabularyFilter for usage and error information.
1488//
1489// Returned Error Types:
1490//   * NotFoundException
1491//   We can't find the requested resource. Check the name and try your request
1492//   again.
1493//
1494//   * LimitExceededException
1495//   Either you have sent too many requests or your input file is too long. Wait
1496//   before you resend your request, or use a smaller file and resend the request.
1497//
1498//   * InternalFailureException
1499//   There was an internal error. Check the error message and try your request
1500//   again.
1501//
1502//   * BadRequestException
1503//   Your request didn't pass one or more validation tests. For example, if the
1504//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1505//   state (for example, it's "in progress"). See the exception Message field
1506//   for more information.
1507//
1508// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter
1509func (c *TranscribeService) GetVocabularyFilter(input *GetVocabularyFilterInput) (*GetVocabularyFilterOutput, error) {
1510	req, out := c.GetVocabularyFilterRequest(input)
1511	return out, req.Send()
1512}
1513
1514// GetVocabularyFilterWithContext is the same as GetVocabularyFilter with the addition of
1515// the ability to pass a context and additional request options.
1516//
1517// See GetVocabularyFilter for details on how to use this API operation.
1518//
1519// The context must be non-nil and will be used for request cancellation. If
1520// the context is nil a panic will occur. In the future the SDK may create
1521// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1522// for more information on using Contexts.
1523func (c *TranscribeService) GetVocabularyFilterWithContext(ctx aws.Context, input *GetVocabularyFilterInput, opts ...request.Option) (*GetVocabularyFilterOutput, error) {
1524	req, out := c.GetVocabularyFilterRequest(input)
1525	req.SetContext(ctx)
1526	req.ApplyOptions(opts...)
1527	return out, req.Send()
1528}
1529
1530const opListLanguageModels = "ListLanguageModels"
1531
1532// ListLanguageModelsRequest generates a "aws/request.Request" representing the
1533// client's request for the ListLanguageModels operation. The "output" return
1534// value will be populated with the request's response once the request completes
1535// successfully.
1536//
1537// Use "Send" method on the returned Request to send the API call to the service.
1538// the "output" return value is not valid until after Send returns without error.
1539//
1540// See ListLanguageModels for more information on using the ListLanguageModels
1541// API call, and error handling.
1542//
1543// This method is useful when you want to inject custom logic or configuration
1544// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1545//
1546//
1547//    // Example sending a request using the ListLanguageModelsRequest method.
1548//    req, resp := client.ListLanguageModelsRequest(params)
1549//
1550//    err := req.Send()
1551//    if err == nil { // resp is now filled
1552//        fmt.Println(resp)
1553//    }
1554//
1555// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels
1556func (c *TranscribeService) ListLanguageModelsRequest(input *ListLanguageModelsInput) (req *request.Request, output *ListLanguageModelsOutput) {
1557	op := &request.Operation{
1558		Name:       opListLanguageModels,
1559		HTTPMethod: "POST",
1560		HTTPPath:   "/",
1561		Paginator: &request.Paginator{
1562			InputTokens:     []string{"NextToken"},
1563			OutputTokens:    []string{"NextToken"},
1564			LimitToken:      "MaxResults",
1565			TruncationToken: "",
1566		},
1567	}
1568
1569	if input == nil {
1570		input = &ListLanguageModelsInput{}
1571	}
1572
1573	output = &ListLanguageModelsOutput{}
1574	req = c.newRequest(op, input, output)
1575	return
1576}
1577
1578// ListLanguageModels API operation for Amazon Transcribe Service.
1579//
1580// Provides more information about the custom language models you've created.
1581// You can use the information in this list to find a specific custom language
1582// model. You can then use the operation to get more information about it.
1583//
1584// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1585// with awserr.Error's Code and Message methods to get detailed information about
1586// the error.
1587//
1588// See the AWS API reference guide for Amazon Transcribe Service's
1589// API operation ListLanguageModels for usage and error information.
1590//
1591// Returned Error Types:
1592//   * BadRequestException
1593//   Your request didn't pass one or more validation tests. For example, if the
1594//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1595//   state (for example, it's "in progress"). See the exception Message field
1596//   for more information.
1597//
1598//   * LimitExceededException
1599//   Either you have sent too many requests or your input file is too long. Wait
1600//   before you resend your request, or use a smaller file and resend the request.
1601//
1602//   * InternalFailureException
1603//   There was an internal error. Check the error message and try your request
1604//   again.
1605//
1606// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels
1607func (c *TranscribeService) ListLanguageModels(input *ListLanguageModelsInput) (*ListLanguageModelsOutput, error) {
1608	req, out := c.ListLanguageModelsRequest(input)
1609	return out, req.Send()
1610}
1611
1612// ListLanguageModelsWithContext is the same as ListLanguageModels with the addition of
1613// the ability to pass a context and additional request options.
1614//
1615// See ListLanguageModels for details on how to use this API operation.
1616//
1617// The context must be non-nil and will be used for request cancellation. If
1618// the context is nil a panic will occur. In the future the SDK may create
1619// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1620// for more information on using Contexts.
1621func (c *TranscribeService) ListLanguageModelsWithContext(ctx aws.Context, input *ListLanguageModelsInput, opts ...request.Option) (*ListLanguageModelsOutput, error) {
1622	req, out := c.ListLanguageModelsRequest(input)
1623	req.SetContext(ctx)
1624	req.ApplyOptions(opts...)
1625	return out, req.Send()
1626}
1627
1628// ListLanguageModelsPages iterates over the pages of a ListLanguageModels operation,
1629// calling the "fn" function with the response data for each page. To stop
1630// iterating, return false from the fn function.
1631//
1632// See ListLanguageModels method for more information on how to use this operation.
1633//
1634// Note: This operation can generate multiple requests to a service.
1635//
1636//    // Example iterating over at most 3 pages of a ListLanguageModels operation.
1637//    pageNum := 0
1638//    err := client.ListLanguageModelsPages(params,
1639//        func(page *transcribeservice.ListLanguageModelsOutput, lastPage bool) bool {
1640//            pageNum++
1641//            fmt.Println(page)
1642//            return pageNum <= 3
1643//        })
1644//
1645func (c *TranscribeService) ListLanguageModelsPages(input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool) error {
1646	return c.ListLanguageModelsPagesWithContext(aws.BackgroundContext(), input, fn)
1647}
1648
1649// ListLanguageModelsPagesWithContext same as ListLanguageModelsPages except
1650// it takes a Context and allows setting request options on the pages.
1651//
1652// The context must be non-nil and will be used for request cancellation. If
1653// the context is nil a panic will occur. In the future the SDK may create
1654// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1655// for more information on using Contexts.
1656func (c *TranscribeService) ListLanguageModelsPagesWithContext(ctx aws.Context, input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool, opts ...request.Option) error {
1657	p := request.Pagination{
1658		NewRequest: func() (*request.Request, error) {
1659			var inCpy *ListLanguageModelsInput
1660			if input != nil {
1661				tmp := *input
1662				inCpy = &tmp
1663			}
1664			req, _ := c.ListLanguageModelsRequest(inCpy)
1665			req.SetContext(ctx)
1666			req.ApplyOptions(opts...)
1667			return req, nil
1668		},
1669	}
1670
1671	for p.Next() {
1672		if !fn(p.Page().(*ListLanguageModelsOutput), !p.HasNextPage()) {
1673			break
1674		}
1675	}
1676
1677	return p.Err()
1678}
1679
1680const opListMedicalTranscriptionJobs = "ListMedicalTranscriptionJobs"
1681
1682// ListMedicalTranscriptionJobsRequest generates a "aws/request.Request" representing the
1683// client's request for the ListMedicalTranscriptionJobs operation. The "output" return
1684// value will be populated with the request's response once the request completes
1685// successfully.
1686//
1687// Use "Send" method on the returned Request to send the API call to the service.
1688// the "output" return value is not valid until after Send returns without error.
1689//
1690// See ListMedicalTranscriptionJobs for more information on using the ListMedicalTranscriptionJobs
1691// API call, and error handling.
1692//
1693// This method is useful when you want to inject custom logic or configuration
1694// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1695//
1696//
1697//    // Example sending a request using the ListMedicalTranscriptionJobsRequest method.
1698//    req, resp := client.ListMedicalTranscriptionJobsRequest(params)
1699//
1700//    err := req.Send()
1701//    if err == nil { // resp is now filled
1702//        fmt.Println(resp)
1703//    }
1704//
1705// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs
1706func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedicalTranscriptionJobsInput) (req *request.Request, output *ListMedicalTranscriptionJobsOutput) {
1707	op := &request.Operation{
1708		Name:       opListMedicalTranscriptionJobs,
1709		HTTPMethod: "POST",
1710		HTTPPath:   "/",
1711		Paginator: &request.Paginator{
1712			InputTokens:     []string{"NextToken"},
1713			OutputTokens:    []string{"NextToken"},
1714			LimitToken:      "MaxResults",
1715			TruncationToken: "",
1716		},
1717	}
1718
1719	if input == nil {
1720		input = &ListMedicalTranscriptionJobsInput{}
1721	}
1722
1723	output = &ListMedicalTranscriptionJobsOutput{}
1724	req = c.newRequest(op, input, output)
1725	return
1726}
1727
1728// ListMedicalTranscriptionJobs API operation for Amazon Transcribe Service.
1729//
1730// Lists medical transcription jobs with a specified status or substring that
1731// matches their names.
1732//
1733// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1734// with awserr.Error's Code and Message methods to get detailed information about
1735// the error.
1736//
1737// See the AWS API reference guide for Amazon Transcribe Service's
1738// API operation ListMedicalTranscriptionJobs for usage and error information.
1739//
1740// Returned Error Types:
1741//   * BadRequestException
1742//   Your request didn't pass one or more validation tests. For example, if the
1743//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1744//   state (for example, it's "in progress"). See the exception Message field
1745//   for more information.
1746//
1747//   * LimitExceededException
1748//   Either you have sent too many requests or your input file is too long. Wait
1749//   before you resend your request, or use a smaller file and resend the request.
1750//
1751//   * InternalFailureException
1752//   There was an internal error. Check the error message and try your request
1753//   again.
1754//
1755// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs
1756func (c *TranscribeService) ListMedicalTranscriptionJobs(input *ListMedicalTranscriptionJobsInput) (*ListMedicalTranscriptionJobsOutput, error) {
1757	req, out := c.ListMedicalTranscriptionJobsRequest(input)
1758	return out, req.Send()
1759}
1760
1761// ListMedicalTranscriptionJobsWithContext is the same as ListMedicalTranscriptionJobs with the addition of
1762// the ability to pass a context and additional request options.
1763//
1764// See ListMedicalTranscriptionJobs for details on how to use this API operation.
1765//
1766// The context must be non-nil and will be used for request cancellation. If
1767// the context is nil a panic will occur. In the future the SDK may create
1768// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1769// for more information on using Contexts.
1770func (c *TranscribeService) ListMedicalTranscriptionJobsWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, opts ...request.Option) (*ListMedicalTranscriptionJobsOutput, error) {
1771	req, out := c.ListMedicalTranscriptionJobsRequest(input)
1772	req.SetContext(ctx)
1773	req.ApplyOptions(opts...)
1774	return out, req.Send()
1775}
1776
1777// ListMedicalTranscriptionJobsPages iterates over the pages of a ListMedicalTranscriptionJobs operation,
1778// calling the "fn" function with the response data for each page. To stop
1779// iterating, return false from the fn function.
1780//
1781// See ListMedicalTranscriptionJobs method for more information on how to use this operation.
1782//
1783// Note: This operation can generate multiple requests to a service.
1784//
1785//    // Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation.
1786//    pageNum := 0
1787//    err := client.ListMedicalTranscriptionJobsPages(params,
1788//        func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool {
1789//            pageNum++
1790//            fmt.Println(page)
1791//            return pageNum <= 3
1792//        })
1793//
1794func (c *TranscribeService) ListMedicalTranscriptionJobsPages(input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool) error {
1795	return c.ListMedicalTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn)
1796}
1797
1798// ListMedicalTranscriptionJobsPagesWithContext same as ListMedicalTranscriptionJobsPages except
1799// it takes a Context and allows setting request options on the pages.
1800//
1801// The context must be non-nil and will be used for request cancellation. If
1802// the context is nil a panic will occur. In the future the SDK may create
1803// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1804// for more information on using Contexts.
1805func (c *TranscribeService) ListMedicalTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool, opts ...request.Option) error {
1806	p := request.Pagination{
1807		NewRequest: func() (*request.Request, error) {
1808			var inCpy *ListMedicalTranscriptionJobsInput
1809			if input != nil {
1810				tmp := *input
1811				inCpy = &tmp
1812			}
1813			req, _ := c.ListMedicalTranscriptionJobsRequest(inCpy)
1814			req.SetContext(ctx)
1815			req.ApplyOptions(opts...)
1816			return req, nil
1817		},
1818	}
1819
1820	for p.Next() {
1821		if !fn(p.Page().(*ListMedicalTranscriptionJobsOutput), !p.HasNextPage()) {
1822			break
1823		}
1824	}
1825
1826	return p.Err()
1827}
1828
1829const opListMedicalVocabularies = "ListMedicalVocabularies"
1830
1831// ListMedicalVocabulariesRequest generates a "aws/request.Request" representing the
1832// client's request for the ListMedicalVocabularies operation. The "output" return
1833// value will be populated with the request's response once the request completes
1834// successfully.
1835//
1836// Use "Send" method on the returned Request to send the API call to the service.
1837// the "output" return value is not valid until after Send returns without error.
1838//
1839// See ListMedicalVocabularies for more information on using the ListMedicalVocabularies
1840// API call, and error handling.
1841//
1842// This method is useful when you want to inject custom logic or configuration
1843// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1844//
1845//
1846//    // Example sending a request using the ListMedicalVocabulariesRequest method.
1847//    req, resp := client.ListMedicalVocabulariesRequest(params)
1848//
1849//    err := req.Send()
1850//    if err == nil { // resp is now filled
1851//        fmt.Println(resp)
1852//    }
1853//
1854// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies
1855func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVocabulariesInput) (req *request.Request, output *ListMedicalVocabulariesOutput) {
1856	op := &request.Operation{
1857		Name:       opListMedicalVocabularies,
1858		HTTPMethod: "POST",
1859		HTTPPath:   "/",
1860		Paginator: &request.Paginator{
1861			InputTokens:     []string{"NextToken"},
1862			OutputTokens:    []string{"NextToken"},
1863			LimitToken:      "MaxResults",
1864			TruncationToken: "",
1865		},
1866	}
1867
1868	if input == nil {
1869		input = &ListMedicalVocabulariesInput{}
1870	}
1871
1872	output = &ListMedicalVocabulariesOutput{}
1873	req = c.newRequest(op, input, output)
1874	return
1875}
1876
1877// ListMedicalVocabularies API operation for Amazon Transcribe Service.
1878//
1879// Returns a list of vocabularies that match the specified criteria. If you
1880// don't enter a value in any of the request parameters, returns the entire
1881// list of vocabularies.
1882//
1883// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1884// with awserr.Error's Code and Message methods to get detailed information about
1885// the error.
1886//
1887// See the AWS API reference guide for Amazon Transcribe Service's
1888// API operation ListMedicalVocabularies for usage and error information.
1889//
1890// Returned Error Types:
1891//   * BadRequestException
1892//   Your request didn't pass one or more validation tests. For example, if the
1893//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
1894//   state (for example, it's "in progress"). See the exception Message field
1895//   for more information.
1896//
1897//   * LimitExceededException
1898//   Either you have sent too many requests or your input file is too long. Wait
1899//   before you resend your request, or use a smaller file and resend the request.
1900//
1901//   * InternalFailureException
1902//   There was an internal error. Check the error message and try your request
1903//   again.
1904//
1905// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies
1906func (c *TranscribeService) ListMedicalVocabularies(input *ListMedicalVocabulariesInput) (*ListMedicalVocabulariesOutput, error) {
1907	req, out := c.ListMedicalVocabulariesRequest(input)
1908	return out, req.Send()
1909}
1910
1911// ListMedicalVocabulariesWithContext is the same as ListMedicalVocabularies with the addition of
1912// the ability to pass a context and additional request options.
1913//
1914// See ListMedicalVocabularies for details on how to use this API operation.
1915//
1916// The context must be non-nil and will be used for request cancellation. If
1917// the context is nil a panic will occur. In the future the SDK may create
1918// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1919// for more information on using Contexts.
1920func (c *TranscribeService) ListMedicalVocabulariesWithContext(ctx aws.Context, input *ListMedicalVocabulariesInput, opts ...request.Option) (*ListMedicalVocabulariesOutput, error) {
1921	req, out := c.ListMedicalVocabulariesRequest(input)
1922	req.SetContext(ctx)
1923	req.ApplyOptions(opts...)
1924	return out, req.Send()
1925}
1926
1927// ListMedicalVocabulariesPages iterates over the pages of a ListMedicalVocabularies operation,
1928// calling the "fn" function with the response data for each page. To stop
1929// iterating, return false from the fn function.
1930//
1931// See ListMedicalVocabularies method for more information on how to use this operation.
1932//
1933// Note: This operation can generate multiple requests to a service.
1934//
1935//    // Example iterating over at most 3 pages of a ListMedicalVocabularies operation.
1936//    pageNum := 0
1937//    err := client.ListMedicalVocabulariesPages(params,
1938//        func(page *transcribeservice.ListMedicalVocabulariesOutput, lastPage bool) bool {
1939//            pageNum++
1940//            fmt.Println(page)
1941//            return pageNum <= 3
1942//        })
1943//
1944func (c *TranscribeService) ListMedicalVocabulariesPages(input *ListMedicalVocabulariesInput, fn func(*ListMedicalVocabulariesOutput, bool) bool) error {
1945	return c.ListMedicalVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn)
1946}
1947
1948// ListMedicalVocabulariesPagesWithContext same as ListMedicalVocabulariesPages except
1949// it takes a Context and allows setting request options on the pages.
1950//
1951// The context must be non-nil and will be used for request cancellation. If
1952// the context is nil a panic will occur. In the future the SDK may create
1953// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1954// for more information on using Contexts.
1955func (c *TranscribeService) ListMedicalVocabulariesPagesWithContext(ctx aws.Context, input *ListMedicalVocabulariesInput, fn func(*ListMedicalVocabulariesOutput, bool) bool, opts ...request.Option) error {
1956	p := request.Pagination{
1957		NewRequest: func() (*request.Request, error) {
1958			var inCpy *ListMedicalVocabulariesInput
1959			if input != nil {
1960				tmp := *input
1961				inCpy = &tmp
1962			}
1963			req, _ := c.ListMedicalVocabulariesRequest(inCpy)
1964			req.SetContext(ctx)
1965			req.ApplyOptions(opts...)
1966			return req, nil
1967		},
1968	}
1969
1970	for p.Next() {
1971		if !fn(p.Page().(*ListMedicalVocabulariesOutput), !p.HasNextPage()) {
1972			break
1973		}
1974	}
1975
1976	return p.Err()
1977}
1978
1979const opListTranscriptionJobs = "ListTranscriptionJobs"
1980
1981// ListTranscriptionJobsRequest generates a "aws/request.Request" representing the
1982// client's request for the ListTranscriptionJobs operation. The "output" return
1983// value will be populated with the request's response once the request completes
1984// successfully.
1985//
1986// Use "Send" method on the returned Request to send the API call to the service.
1987// the "output" return value is not valid until after Send returns without error.
1988//
1989// See ListTranscriptionJobs for more information on using the ListTranscriptionJobs
1990// API call, and error handling.
1991//
1992// This method is useful when you want to inject custom logic or configuration
1993// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1994//
1995//
1996//    // Example sending a request using the ListTranscriptionJobsRequest method.
1997//    req, resp := client.ListTranscriptionJobsRequest(params)
1998//
1999//    err := req.Send()
2000//    if err == nil { // resp is now filled
2001//        fmt.Println(resp)
2002//    }
2003//
2004// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs
2005func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptionJobsInput) (req *request.Request, output *ListTranscriptionJobsOutput) {
2006	op := &request.Operation{
2007		Name:       opListTranscriptionJobs,
2008		HTTPMethod: "POST",
2009		HTTPPath:   "/",
2010		Paginator: &request.Paginator{
2011			InputTokens:     []string{"NextToken"},
2012			OutputTokens:    []string{"NextToken"},
2013			LimitToken:      "MaxResults",
2014			TruncationToken: "",
2015		},
2016	}
2017
2018	if input == nil {
2019		input = &ListTranscriptionJobsInput{}
2020	}
2021
2022	output = &ListTranscriptionJobsOutput{}
2023	req = c.newRequest(op, input, output)
2024	return
2025}
2026
2027// ListTranscriptionJobs API operation for Amazon Transcribe Service.
2028//
2029// Lists transcription jobs with the specified status.
2030//
2031// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2032// with awserr.Error's Code and Message methods to get detailed information about
2033// the error.
2034//
2035// See the AWS API reference guide for Amazon Transcribe Service's
2036// API operation ListTranscriptionJobs for usage and error information.
2037//
2038// Returned Error Types:
2039//   * BadRequestException
2040//   Your request didn't pass one or more validation tests. For example, if the
2041//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2042//   state (for example, it's "in progress"). See the exception Message field
2043//   for more information.
2044//
2045//   * LimitExceededException
2046//   Either you have sent too many requests or your input file is too long. Wait
2047//   before you resend your request, or use a smaller file and resend the request.
2048//
2049//   * InternalFailureException
2050//   There was an internal error. Check the error message and try your request
2051//   again.
2052//
2053// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs
2054func (c *TranscribeService) ListTranscriptionJobs(input *ListTranscriptionJobsInput) (*ListTranscriptionJobsOutput, error) {
2055	req, out := c.ListTranscriptionJobsRequest(input)
2056	return out, req.Send()
2057}
2058
2059// ListTranscriptionJobsWithContext is the same as ListTranscriptionJobs with the addition of
2060// the ability to pass a context and additional request options.
2061//
2062// See ListTranscriptionJobs for details on how to use this API operation.
2063//
2064// The context must be non-nil and will be used for request cancellation. If
2065// the context is nil a panic will occur. In the future the SDK may create
2066// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2067// for more information on using Contexts.
2068func (c *TranscribeService) ListTranscriptionJobsWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, opts ...request.Option) (*ListTranscriptionJobsOutput, error) {
2069	req, out := c.ListTranscriptionJobsRequest(input)
2070	req.SetContext(ctx)
2071	req.ApplyOptions(opts...)
2072	return out, req.Send()
2073}
2074
2075// ListTranscriptionJobsPages iterates over the pages of a ListTranscriptionJobs operation,
2076// calling the "fn" function with the response data for each page. To stop
2077// iterating, return false from the fn function.
2078//
2079// See ListTranscriptionJobs method for more information on how to use this operation.
2080//
2081// Note: This operation can generate multiple requests to a service.
2082//
2083//    // Example iterating over at most 3 pages of a ListTranscriptionJobs operation.
2084//    pageNum := 0
2085//    err := client.ListTranscriptionJobsPages(params,
2086//        func(page *transcribeservice.ListTranscriptionJobsOutput, lastPage bool) bool {
2087//            pageNum++
2088//            fmt.Println(page)
2089//            return pageNum <= 3
2090//        })
2091//
2092func (c *TranscribeService) ListTranscriptionJobsPages(input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool) error {
2093	return c.ListTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn)
2094}
2095
2096// ListTranscriptionJobsPagesWithContext same as ListTranscriptionJobsPages except
2097// it takes a Context and allows setting request options on the pages.
2098//
2099// The context must be non-nil and will be used for request cancellation. If
2100// the context is nil a panic will occur. In the future the SDK may create
2101// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2102// for more information on using Contexts.
2103func (c *TranscribeService) ListTranscriptionJobsPagesWithContext(ctx aws.Context, input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool, opts ...request.Option) error {
2104	p := request.Pagination{
2105		NewRequest: func() (*request.Request, error) {
2106			var inCpy *ListTranscriptionJobsInput
2107			if input != nil {
2108				tmp := *input
2109				inCpy = &tmp
2110			}
2111			req, _ := c.ListTranscriptionJobsRequest(inCpy)
2112			req.SetContext(ctx)
2113			req.ApplyOptions(opts...)
2114			return req, nil
2115		},
2116	}
2117
2118	for p.Next() {
2119		if !fn(p.Page().(*ListTranscriptionJobsOutput), !p.HasNextPage()) {
2120			break
2121		}
2122	}
2123
2124	return p.Err()
2125}
2126
2127const opListVocabularies = "ListVocabularies"
2128
2129// ListVocabulariesRequest generates a "aws/request.Request" representing the
2130// client's request for the ListVocabularies operation. The "output" return
2131// value will be populated with the request's response once the request completes
2132// successfully.
2133//
2134// Use "Send" method on the returned Request to send the API call to the service.
2135// the "output" return value is not valid until after Send returns without error.
2136//
2137// See ListVocabularies for more information on using the ListVocabularies
2138// API call, and error handling.
2139//
2140// This method is useful when you want to inject custom logic or configuration
2141// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2142//
2143//
2144//    // Example sending a request using the ListVocabulariesRequest method.
2145//    req, resp := client.ListVocabulariesRequest(params)
2146//
2147//    err := req.Send()
2148//    if err == nil { // resp is now filled
2149//        fmt.Println(resp)
2150//    }
2151//
2152// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies
2153func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput) (req *request.Request, output *ListVocabulariesOutput) {
2154	op := &request.Operation{
2155		Name:       opListVocabularies,
2156		HTTPMethod: "POST",
2157		HTTPPath:   "/",
2158		Paginator: &request.Paginator{
2159			InputTokens:     []string{"NextToken"},
2160			OutputTokens:    []string{"NextToken"},
2161			LimitToken:      "MaxResults",
2162			TruncationToken: "",
2163		},
2164	}
2165
2166	if input == nil {
2167		input = &ListVocabulariesInput{}
2168	}
2169
2170	output = &ListVocabulariesOutput{}
2171	req = c.newRequest(op, input, output)
2172	return
2173}
2174
2175// ListVocabularies API operation for Amazon Transcribe Service.
2176//
2177// Returns a list of vocabularies that match the specified criteria. If no criteria
2178// are specified, returns the entire list of vocabularies.
2179//
2180// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2181// with awserr.Error's Code and Message methods to get detailed information about
2182// the error.
2183//
2184// See the AWS API reference guide for Amazon Transcribe Service's
2185// API operation ListVocabularies for usage and error information.
2186//
2187// Returned Error Types:
2188//   * BadRequestException
2189//   Your request didn't pass one or more validation tests. For example, if the
2190//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2191//   state (for example, it's "in progress"). See the exception Message field
2192//   for more information.
2193//
2194//   * LimitExceededException
2195//   Either you have sent too many requests or your input file is too long. Wait
2196//   before you resend your request, or use a smaller file and resend the request.
2197//
2198//   * InternalFailureException
2199//   There was an internal error. Check the error message and try your request
2200//   again.
2201//
2202// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies
2203func (c *TranscribeService) ListVocabularies(input *ListVocabulariesInput) (*ListVocabulariesOutput, error) {
2204	req, out := c.ListVocabulariesRequest(input)
2205	return out, req.Send()
2206}
2207
2208// ListVocabulariesWithContext is the same as ListVocabularies with the addition of
2209// the ability to pass a context and additional request options.
2210//
2211// See ListVocabularies for details on how to use this API operation.
2212//
2213// The context must be non-nil and will be used for request cancellation. If
2214// the context is nil a panic will occur. In the future the SDK may create
2215// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2216// for more information on using Contexts.
2217func (c *TranscribeService) ListVocabulariesWithContext(ctx aws.Context, input *ListVocabulariesInput, opts ...request.Option) (*ListVocabulariesOutput, error) {
2218	req, out := c.ListVocabulariesRequest(input)
2219	req.SetContext(ctx)
2220	req.ApplyOptions(opts...)
2221	return out, req.Send()
2222}
2223
2224// ListVocabulariesPages iterates over the pages of a ListVocabularies operation,
2225// calling the "fn" function with the response data for each page. To stop
2226// iterating, return false from the fn function.
2227//
2228// See ListVocabularies method for more information on how to use this operation.
2229//
2230// Note: This operation can generate multiple requests to a service.
2231//
2232//    // Example iterating over at most 3 pages of a ListVocabularies operation.
2233//    pageNum := 0
2234//    err := client.ListVocabulariesPages(params,
2235//        func(page *transcribeservice.ListVocabulariesOutput, lastPage bool) bool {
2236//            pageNum++
2237//            fmt.Println(page)
2238//            return pageNum <= 3
2239//        })
2240//
2241func (c *TranscribeService) ListVocabulariesPages(input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool) error {
2242	return c.ListVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn)
2243}
2244
2245// ListVocabulariesPagesWithContext same as ListVocabulariesPages except
2246// it takes a Context and allows setting request options on the pages.
2247//
2248// The context must be non-nil and will be used for request cancellation. If
2249// the context is nil a panic will occur. In the future the SDK may create
2250// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2251// for more information on using Contexts.
2252func (c *TranscribeService) ListVocabulariesPagesWithContext(ctx aws.Context, input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool, opts ...request.Option) error {
2253	p := request.Pagination{
2254		NewRequest: func() (*request.Request, error) {
2255			var inCpy *ListVocabulariesInput
2256			if input != nil {
2257				tmp := *input
2258				inCpy = &tmp
2259			}
2260			req, _ := c.ListVocabulariesRequest(inCpy)
2261			req.SetContext(ctx)
2262			req.ApplyOptions(opts...)
2263			return req, nil
2264		},
2265	}
2266
2267	for p.Next() {
2268		if !fn(p.Page().(*ListVocabulariesOutput), !p.HasNextPage()) {
2269			break
2270		}
2271	}
2272
2273	return p.Err()
2274}
2275
2276const opListVocabularyFilters = "ListVocabularyFilters"
2277
2278// ListVocabularyFiltersRequest generates a "aws/request.Request" representing the
2279// client's request for the ListVocabularyFilters operation. The "output" return
2280// value will be populated with the request's response once the request completes
2281// successfully.
2282//
2283// Use "Send" method on the returned Request to send the API call to the service.
2284// the "output" return value is not valid until after Send returns without error.
2285//
2286// See ListVocabularyFilters for more information on using the ListVocabularyFilters
2287// API call, and error handling.
2288//
2289// This method is useful when you want to inject custom logic or configuration
2290// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2291//
2292//
2293//    // Example sending a request using the ListVocabularyFiltersRequest method.
2294//    req, resp := client.ListVocabularyFiltersRequest(params)
2295//
2296//    err := req.Send()
2297//    if err == nil { // resp is now filled
2298//        fmt.Println(resp)
2299//    }
2300//
2301// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters
2302func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFiltersInput) (req *request.Request, output *ListVocabularyFiltersOutput) {
2303	op := &request.Operation{
2304		Name:       opListVocabularyFilters,
2305		HTTPMethod: "POST",
2306		HTTPPath:   "/",
2307		Paginator: &request.Paginator{
2308			InputTokens:     []string{"NextToken"},
2309			OutputTokens:    []string{"NextToken"},
2310			LimitToken:      "MaxResults",
2311			TruncationToken: "",
2312		},
2313	}
2314
2315	if input == nil {
2316		input = &ListVocabularyFiltersInput{}
2317	}
2318
2319	output = &ListVocabularyFiltersOutput{}
2320	req = c.newRequest(op, input, output)
2321	return
2322}
2323
2324// ListVocabularyFilters API operation for Amazon Transcribe Service.
2325//
2326// Gets information about vocabulary filters.
2327//
2328// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2329// with awserr.Error's Code and Message methods to get detailed information about
2330// the error.
2331//
2332// See the AWS API reference guide for Amazon Transcribe Service's
2333// API operation ListVocabularyFilters for usage and error information.
2334//
2335// Returned Error Types:
2336//   * BadRequestException
2337//   Your request didn't pass one or more validation tests. For example, if the
2338//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2339//   state (for example, it's "in progress"). See the exception Message field
2340//   for more information.
2341//
2342//   * LimitExceededException
2343//   Either you have sent too many requests or your input file is too long. Wait
2344//   before you resend your request, or use a smaller file and resend the request.
2345//
2346//   * InternalFailureException
2347//   There was an internal error. Check the error message and try your request
2348//   again.
2349//
2350// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters
2351func (c *TranscribeService) ListVocabularyFilters(input *ListVocabularyFiltersInput) (*ListVocabularyFiltersOutput, error) {
2352	req, out := c.ListVocabularyFiltersRequest(input)
2353	return out, req.Send()
2354}
2355
2356// ListVocabularyFiltersWithContext is the same as ListVocabularyFilters with the addition of
2357// the ability to pass a context and additional request options.
2358//
2359// See ListVocabularyFilters for details on how to use this API operation.
2360//
2361// The context must be non-nil and will be used for request cancellation. If
2362// the context is nil a panic will occur. In the future the SDK may create
2363// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2364// for more information on using Contexts.
2365func (c *TranscribeService) ListVocabularyFiltersWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, opts ...request.Option) (*ListVocabularyFiltersOutput, error) {
2366	req, out := c.ListVocabularyFiltersRequest(input)
2367	req.SetContext(ctx)
2368	req.ApplyOptions(opts...)
2369	return out, req.Send()
2370}
2371
2372// ListVocabularyFiltersPages iterates over the pages of a ListVocabularyFilters operation,
2373// calling the "fn" function with the response data for each page. To stop
2374// iterating, return false from the fn function.
2375//
2376// See ListVocabularyFilters method for more information on how to use this operation.
2377//
2378// Note: This operation can generate multiple requests to a service.
2379//
2380//    // Example iterating over at most 3 pages of a ListVocabularyFilters operation.
2381//    pageNum := 0
2382//    err := client.ListVocabularyFiltersPages(params,
2383//        func(page *transcribeservice.ListVocabularyFiltersOutput, lastPage bool) bool {
2384//            pageNum++
2385//            fmt.Println(page)
2386//            return pageNum <= 3
2387//        })
2388//
2389func (c *TranscribeService) ListVocabularyFiltersPages(input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool) error {
2390	return c.ListVocabularyFiltersPagesWithContext(aws.BackgroundContext(), input, fn)
2391}
2392
2393// ListVocabularyFiltersPagesWithContext same as ListVocabularyFiltersPages except
2394// it takes a Context and allows setting request options on the pages.
2395//
2396// The context must be non-nil and will be used for request cancellation. If
2397// the context is nil a panic will occur. In the future the SDK may create
2398// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2399// for more information on using Contexts.
2400func (c *TranscribeService) ListVocabularyFiltersPagesWithContext(ctx aws.Context, input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool, opts ...request.Option) error {
2401	p := request.Pagination{
2402		NewRequest: func() (*request.Request, error) {
2403			var inCpy *ListVocabularyFiltersInput
2404			if input != nil {
2405				tmp := *input
2406				inCpy = &tmp
2407			}
2408			req, _ := c.ListVocabularyFiltersRequest(inCpy)
2409			req.SetContext(ctx)
2410			req.ApplyOptions(opts...)
2411			return req, nil
2412		},
2413	}
2414
2415	for p.Next() {
2416		if !fn(p.Page().(*ListVocabularyFiltersOutput), !p.HasNextPage()) {
2417			break
2418		}
2419	}
2420
2421	return p.Err()
2422}
2423
2424const opStartMedicalTranscriptionJob = "StartMedicalTranscriptionJob"
2425
2426// StartMedicalTranscriptionJobRequest generates a "aws/request.Request" representing the
2427// client's request for the StartMedicalTranscriptionJob operation. The "output" return
2428// value will be populated with the request's response once the request completes
2429// successfully.
2430//
2431// Use "Send" method on the returned Request to send the API call to the service.
2432// the "output" return value is not valid until after Send returns without error.
2433//
2434// See StartMedicalTranscriptionJob for more information on using the StartMedicalTranscriptionJob
2435// API call, and error handling.
2436//
2437// This method is useful when you want to inject custom logic or configuration
2438// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2439//
2440//
2441//    // Example sending a request using the StartMedicalTranscriptionJobRequest method.
2442//    req, resp := client.StartMedicalTranscriptionJobRequest(params)
2443//
2444//    err := req.Send()
2445//    if err == nil { // resp is now filled
2446//        fmt.Println(resp)
2447//    }
2448//
2449// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob
2450func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedicalTranscriptionJobInput) (req *request.Request, output *StartMedicalTranscriptionJobOutput) {
2451	op := &request.Operation{
2452		Name:       opStartMedicalTranscriptionJob,
2453		HTTPMethod: "POST",
2454		HTTPPath:   "/",
2455	}
2456
2457	if input == nil {
2458		input = &StartMedicalTranscriptionJobInput{}
2459	}
2460
2461	output = &StartMedicalTranscriptionJobOutput{}
2462	req = c.newRequest(op, input, output)
2463	return
2464}
2465
2466// StartMedicalTranscriptionJob API operation for Amazon Transcribe Service.
2467//
2468// Starts a batch job to transcribe medical speech to text.
2469//
2470// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2471// with awserr.Error's Code and Message methods to get detailed information about
2472// the error.
2473//
2474// See the AWS API reference guide for Amazon Transcribe Service's
2475// API operation StartMedicalTranscriptionJob for usage and error information.
2476//
2477// Returned Error Types:
2478//   * BadRequestException
2479//   Your request didn't pass one or more validation tests. For example, if the
2480//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2481//   state (for example, it's "in progress"). See the exception Message field
2482//   for more information.
2483//
2484//   * LimitExceededException
2485//   Either you have sent too many requests or your input file is too long. Wait
2486//   before you resend your request, or use a smaller file and resend the request.
2487//
2488//   * InternalFailureException
2489//   There was an internal error. Check the error message and try your request
2490//   again.
2491//
2492//   * ConflictException
2493//   There is already a resource with that name.
2494//
2495// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob
2496func (c *TranscribeService) StartMedicalTranscriptionJob(input *StartMedicalTranscriptionJobInput) (*StartMedicalTranscriptionJobOutput, error) {
2497	req, out := c.StartMedicalTranscriptionJobRequest(input)
2498	return out, req.Send()
2499}
2500
2501// StartMedicalTranscriptionJobWithContext is the same as StartMedicalTranscriptionJob with the addition of
2502// the ability to pass a context and additional request options.
2503//
2504// See StartMedicalTranscriptionJob for details on how to use this API operation.
2505//
2506// The context must be non-nil and will be used for request cancellation. If
2507// the context is nil a panic will occur. In the future the SDK may create
2508// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2509// for more information on using Contexts.
2510func (c *TranscribeService) StartMedicalTranscriptionJobWithContext(ctx aws.Context, input *StartMedicalTranscriptionJobInput, opts ...request.Option) (*StartMedicalTranscriptionJobOutput, error) {
2511	req, out := c.StartMedicalTranscriptionJobRequest(input)
2512	req.SetContext(ctx)
2513	req.ApplyOptions(opts...)
2514	return out, req.Send()
2515}
2516
2517const opStartTranscriptionJob = "StartTranscriptionJob"
2518
2519// StartTranscriptionJobRequest generates a "aws/request.Request" representing the
2520// client's request for the StartTranscriptionJob operation. The "output" return
2521// value will be populated with the request's response once the request completes
2522// successfully.
2523//
2524// Use "Send" method on the returned Request to send the API call to the service.
2525// the "output" return value is not valid until after Send returns without error.
2526//
2527// See StartTranscriptionJob for more information on using the StartTranscriptionJob
2528// API call, and error handling.
2529//
2530// This method is useful when you want to inject custom logic or configuration
2531// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2532//
2533//
2534//    // Example sending a request using the StartTranscriptionJobRequest method.
2535//    req, resp := client.StartTranscriptionJobRequest(params)
2536//
2537//    err := req.Send()
2538//    if err == nil { // resp is now filled
2539//        fmt.Println(resp)
2540//    }
2541//
2542// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob
2543func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscriptionJobInput) (req *request.Request, output *StartTranscriptionJobOutput) {
2544	op := &request.Operation{
2545		Name:       opStartTranscriptionJob,
2546		HTTPMethod: "POST",
2547		HTTPPath:   "/",
2548	}
2549
2550	if input == nil {
2551		input = &StartTranscriptionJobInput{}
2552	}
2553
2554	output = &StartTranscriptionJobOutput{}
2555	req = c.newRequest(op, input, output)
2556	return
2557}
2558
2559// StartTranscriptionJob API operation for Amazon Transcribe Service.
2560//
2561// Starts an asynchronous job to transcribe speech to text.
2562//
2563// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2564// with awserr.Error's Code and Message methods to get detailed information about
2565// the error.
2566//
2567// See the AWS API reference guide for Amazon Transcribe Service's
2568// API operation StartTranscriptionJob for usage and error information.
2569//
2570// Returned Error Types:
2571//   * BadRequestException
2572//   Your request didn't pass one or more validation tests. For example, if the
2573//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2574//   state (for example, it's "in progress"). See the exception Message field
2575//   for more information.
2576//
2577//   * LimitExceededException
2578//   Either you have sent too many requests or your input file is too long. Wait
2579//   before you resend your request, or use a smaller file and resend the request.
2580//
2581//   * InternalFailureException
2582//   There was an internal error. Check the error message and try your request
2583//   again.
2584//
2585//   * ConflictException
2586//   There is already a resource with that name.
2587//
2588// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob
2589func (c *TranscribeService) StartTranscriptionJob(input *StartTranscriptionJobInput) (*StartTranscriptionJobOutput, error) {
2590	req, out := c.StartTranscriptionJobRequest(input)
2591	return out, req.Send()
2592}
2593
2594// StartTranscriptionJobWithContext is the same as StartTranscriptionJob with the addition of
2595// the ability to pass a context and additional request options.
2596//
2597// See StartTranscriptionJob for details on how to use this API operation.
2598//
2599// The context must be non-nil and will be used for request cancellation. If
2600// the context is nil a panic will occur. In the future the SDK may create
2601// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2602// for more information on using Contexts.
2603func (c *TranscribeService) StartTranscriptionJobWithContext(ctx aws.Context, input *StartTranscriptionJobInput, opts ...request.Option) (*StartTranscriptionJobOutput, error) {
2604	req, out := c.StartTranscriptionJobRequest(input)
2605	req.SetContext(ctx)
2606	req.ApplyOptions(opts...)
2607	return out, req.Send()
2608}
2609
2610const opUpdateMedicalVocabulary = "UpdateMedicalVocabulary"
2611
2612// UpdateMedicalVocabularyRequest generates a "aws/request.Request" representing the
2613// client's request for the UpdateMedicalVocabulary operation. The "output" return
2614// value will be populated with the request's response once the request completes
2615// successfully.
2616//
2617// Use "Send" method on the returned Request to send the API call to the service.
2618// the "output" return value is not valid until after Send returns without error.
2619//
2620// See UpdateMedicalVocabulary for more information on using the UpdateMedicalVocabulary
2621// API call, and error handling.
2622//
2623// This method is useful when you want to inject custom logic or configuration
2624// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2625//
2626//
2627//    // Example sending a request using the UpdateMedicalVocabularyRequest method.
2628//    req, resp := client.UpdateMedicalVocabularyRequest(params)
2629//
2630//    err := req.Send()
2631//    if err == nil { // resp is now filled
2632//        fmt.Println(resp)
2633//    }
2634//
2635// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary
2636func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalVocabularyInput) (req *request.Request, output *UpdateMedicalVocabularyOutput) {
2637	op := &request.Operation{
2638		Name:       opUpdateMedicalVocabulary,
2639		HTTPMethod: "POST",
2640		HTTPPath:   "/",
2641	}
2642
2643	if input == nil {
2644		input = &UpdateMedicalVocabularyInput{}
2645	}
2646
2647	output = &UpdateMedicalVocabularyOutput{}
2648	req = c.newRequest(op, input, output)
2649	return
2650}
2651
2652// UpdateMedicalVocabulary API operation for Amazon Transcribe Service.
2653//
2654// Updates a vocabulary with new values that you provide in a different text
2655// file from the one you used to create the vocabulary. The UpdateMedicalVocabulary
2656// operation overwrites all of the existing information with the values that
2657// you provide in the request.
2658//
2659// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2660// with awserr.Error's Code and Message methods to get detailed information about
2661// the error.
2662//
2663// See the AWS API reference guide for Amazon Transcribe Service's
2664// API operation UpdateMedicalVocabulary for usage and error information.
2665//
2666// Returned Error Types:
2667//   * BadRequestException
2668//   Your request didn't pass one or more validation tests. For example, if the
2669//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2670//   state (for example, it's "in progress"). See the exception Message field
2671//   for more information.
2672//
2673//   * LimitExceededException
2674//   Either you have sent too many requests or your input file is too long. Wait
2675//   before you resend your request, or use a smaller file and resend the request.
2676//
2677//   * InternalFailureException
2678//   There was an internal error. Check the error message and try your request
2679//   again.
2680//
2681//   * NotFoundException
2682//   We can't find the requested resource. Check the name and try your request
2683//   again.
2684//
2685//   * ConflictException
2686//   There is already a resource with that name.
2687//
2688// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary
2689func (c *TranscribeService) UpdateMedicalVocabulary(input *UpdateMedicalVocabularyInput) (*UpdateMedicalVocabularyOutput, error) {
2690	req, out := c.UpdateMedicalVocabularyRequest(input)
2691	return out, req.Send()
2692}
2693
2694// UpdateMedicalVocabularyWithContext is the same as UpdateMedicalVocabulary with the addition of
2695// the ability to pass a context and additional request options.
2696//
2697// See UpdateMedicalVocabulary for details on how to use this API operation.
2698//
2699// The context must be non-nil and will be used for request cancellation. If
2700// the context is nil a panic will occur. In the future the SDK may create
2701// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2702// for more information on using Contexts.
2703func (c *TranscribeService) UpdateMedicalVocabularyWithContext(ctx aws.Context, input *UpdateMedicalVocabularyInput, opts ...request.Option) (*UpdateMedicalVocabularyOutput, error) {
2704	req, out := c.UpdateMedicalVocabularyRequest(input)
2705	req.SetContext(ctx)
2706	req.ApplyOptions(opts...)
2707	return out, req.Send()
2708}
2709
2710const opUpdateVocabulary = "UpdateVocabulary"
2711
2712// UpdateVocabularyRequest generates a "aws/request.Request" representing the
2713// client's request for the UpdateVocabulary operation. The "output" return
2714// value will be populated with the request's response once the request completes
2715// successfully.
2716//
2717// Use "Send" method on the returned Request to send the API call to the service.
2718// the "output" return value is not valid until after Send returns without error.
2719//
2720// See UpdateVocabulary for more information on using the UpdateVocabulary
2721// API call, and error handling.
2722//
2723// This method is useful when you want to inject custom logic or configuration
2724// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2725//
2726//
2727//    // Example sending a request using the UpdateVocabularyRequest method.
2728//    req, resp := client.UpdateVocabularyRequest(params)
2729//
2730//    err := req.Send()
2731//    if err == nil { // resp is now filled
2732//        fmt.Println(resp)
2733//    }
2734//
2735// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary
2736func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput) (req *request.Request, output *UpdateVocabularyOutput) {
2737	op := &request.Operation{
2738		Name:       opUpdateVocabulary,
2739		HTTPMethod: "POST",
2740		HTTPPath:   "/",
2741	}
2742
2743	if input == nil {
2744		input = &UpdateVocabularyInput{}
2745	}
2746
2747	output = &UpdateVocabularyOutput{}
2748	req = c.newRequest(op, input, output)
2749	return
2750}
2751
2752// UpdateVocabulary API operation for Amazon Transcribe Service.
2753//
2754// Updates an existing vocabulary with new values. The UpdateVocabulary operation
2755// overwrites all of the existing information with the values that you provide
2756// in the request.
2757//
2758// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2759// with awserr.Error's Code and Message methods to get detailed information about
2760// the error.
2761//
2762// See the AWS API reference guide for Amazon Transcribe Service's
2763// API operation UpdateVocabulary for usage and error information.
2764//
2765// Returned Error Types:
2766//   * BadRequestException
2767//   Your request didn't pass one or more validation tests. For example, if the
2768//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2769//   state (for example, it's "in progress"). See the exception Message field
2770//   for more information.
2771//
2772//   * LimitExceededException
2773//   Either you have sent too many requests or your input file is too long. Wait
2774//   before you resend your request, or use a smaller file and resend the request.
2775//
2776//   * InternalFailureException
2777//   There was an internal error. Check the error message and try your request
2778//   again.
2779//
2780//   * NotFoundException
2781//   We can't find the requested resource. Check the name and try your request
2782//   again.
2783//
2784//   * ConflictException
2785//   There is already a resource with that name.
2786//
2787// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary
2788func (c *TranscribeService) UpdateVocabulary(input *UpdateVocabularyInput) (*UpdateVocabularyOutput, error) {
2789	req, out := c.UpdateVocabularyRequest(input)
2790	return out, req.Send()
2791}
2792
2793// UpdateVocabularyWithContext is the same as UpdateVocabulary with the addition of
2794// the ability to pass a context and additional request options.
2795//
2796// See UpdateVocabulary for details on how to use this API operation.
2797//
2798// The context must be non-nil and will be used for request cancellation. If
2799// the context is nil a panic will occur. In the future the SDK may create
2800// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2801// for more information on using Contexts.
2802func (c *TranscribeService) UpdateVocabularyWithContext(ctx aws.Context, input *UpdateVocabularyInput, opts ...request.Option) (*UpdateVocabularyOutput, error) {
2803	req, out := c.UpdateVocabularyRequest(input)
2804	req.SetContext(ctx)
2805	req.ApplyOptions(opts...)
2806	return out, req.Send()
2807}
2808
2809const opUpdateVocabularyFilter = "UpdateVocabularyFilter"
2810
2811// UpdateVocabularyFilterRequest generates a "aws/request.Request" representing the
2812// client's request for the UpdateVocabularyFilter operation. The "output" return
2813// value will be populated with the request's response once the request completes
2814// successfully.
2815//
2816// Use "Send" method on the returned Request to send the API call to the service.
2817// the "output" return value is not valid until after Send returns without error.
2818//
2819// See UpdateVocabularyFilter for more information on using the UpdateVocabularyFilter
2820// API call, and error handling.
2821//
2822// This method is useful when you want to inject custom logic or configuration
2823// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2824//
2825//
2826//    // Example sending a request using the UpdateVocabularyFilterRequest method.
2827//    req, resp := client.UpdateVocabularyFilterRequest(params)
2828//
2829//    err := req.Send()
2830//    if err == nil { // resp is now filled
2831//        fmt.Println(resp)
2832//    }
2833//
2834// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter
2835func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabularyFilterInput) (req *request.Request, output *UpdateVocabularyFilterOutput) {
2836	op := &request.Operation{
2837		Name:       opUpdateVocabularyFilter,
2838		HTTPMethod: "POST",
2839		HTTPPath:   "/",
2840	}
2841
2842	if input == nil {
2843		input = &UpdateVocabularyFilterInput{}
2844	}
2845
2846	output = &UpdateVocabularyFilterOutput{}
2847	req = c.newRequest(op, input, output)
2848	return
2849}
2850
2851// UpdateVocabularyFilter API operation for Amazon Transcribe Service.
2852//
2853// Updates a vocabulary filter with a new list of filtered words.
2854//
2855// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2856// with awserr.Error's Code and Message methods to get detailed information about
2857// the error.
2858//
2859// See the AWS API reference guide for Amazon Transcribe Service's
2860// API operation UpdateVocabularyFilter for usage and error information.
2861//
2862// Returned Error Types:
2863//   * BadRequestException
2864//   Your request didn't pass one or more validation tests. For example, if the
2865//   entity that you're trying to delete doesn't exist or if it is in a non-terminal
2866//   state (for example, it's "in progress"). See the exception Message field
2867//   for more information.
2868//
2869//   * LimitExceededException
2870//   Either you have sent too many requests or your input file is too long. Wait
2871//   before you resend your request, or use a smaller file and resend the request.
2872//
2873//   * InternalFailureException
2874//   There was an internal error. Check the error message and try your request
2875//   again.
2876//
2877//   * NotFoundException
2878//   We can't find the requested resource. Check the name and try your request
2879//   again.
2880//
2881// See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter
2882func (c *TranscribeService) UpdateVocabularyFilter(input *UpdateVocabularyFilterInput) (*UpdateVocabularyFilterOutput, error) {
2883	req, out := c.UpdateVocabularyFilterRequest(input)
2884	return out, req.Send()
2885}
2886
2887// UpdateVocabularyFilterWithContext is the same as UpdateVocabularyFilter with the addition of
2888// the ability to pass a context and additional request options.
2889//
2890// See UpdateVocabularyFilter for details on how to use this API operation.
2891//
2892// The context must be non-nil and will be used for request cancellation. If
2893// the context is nil a panic will occur. In the future the SDK may create
2894// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2895// for more information on using Contexts.
2896func (c *TranscribeService) UpdateVocabularyFilterWithContext(ctx aws.Context, input *UpdateVocabularyFilterInput, opts ...request.Option) (*UpdateVocabularyFilterOutput, error) {
2897	req, out := c.UpdateVocabularyFilterRequest(input)
2898	req.SetContext(ctx)
2899	req.ApplyOptions(opts...)
2900	return out, req.Send()
2901}
2902
2903// Your request didn't pass one or more validation tests. For example, if the
2904// entity that you're trying to delete doesn't exist or if it is in a non-terminal
2905// state (for example, it's "in progress"). See the exception Message field
2906// for more information.
2907type BadRequestException struct {
2908	_            struct{}                  `type:"structure"`
2909	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2910
2911	Message_ *string `locationName:"Message" type:"string"`
2912}
2913
2914// String returns the string representation
2915func (s BadRequestException) String() string {
2916	return awsutil.Prettify(s)
2917}
2918
2919// GoString returns the string representation
2920func (s BadRequestException) GoString() string {
2921	return s.String()
2922}
2923
2924func newErrorBadRequestException(v protocol.ResponseMetadata) error {
2925	return &BadRequestException{
2926		RespMetadata: v,
2927	}
2928}
2929
2930// Code returns the exception type name.
2931func (s *BadRequestException) Code() string {
2932	return "BadRequestException"
2933}
2934
2935// Message returns the exception's message.
2936func (s *BadRequestException) Message() string {
2937	if s.Message_ != nil {
2938		return *s.Message_
2939	}
2940	return ""
2941}
2942
2943// OrigErr always returns nil, satisfies awserr.Error interface.
2944func (s *BadRequestException) OrigErr() error {
2945	return nil
2946}
2947
2948func (s *BadRequestException) Error() string {
2949	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
2950}
2951
2952// Status code returns the HTTP status code for the request's response error.
2953func (s *BadRequestException) StatusCode() int {
2954	return s.RespMetadata.StatusCode
2955}
2956
2957// RequestID returns the service's response RequestID for request.
2958func (s *BadRequestException) RequestID() string {
2959	return s.RespMetadata.RequestID
2960}
2961
2962// There is already a resource with that name.
2963type ConflictException struct {
2964	_            struct{}                  `type:"structure"`
2965	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2966
2967	Message_ *string `locationName:"Message" type:"string"`
2968}
2969
2970// String returns the string representation
2971func (s ConflictException) String() string {
2972	return awsutil.Prettify(s)
2973}
2974
2975// GoString returns the string representation
2976func (s ConflictException) GoString() string {
2977	return s.String()
2978}
2979
2980func newErrorConflictException(v protocol.ResponseMetadata) error {
2981	return &ConflictException{
2982		RespMetadata: v,
2983	}
2984}
2985
2986// Code returns the exception type name.
2987func (s *ConflictException) Code() string {
2988	return "ConflictException"
2989}
2990
2991// Message returns the exception's message.
2992func (s *ConflictException) Message() string {
2993	if s.Message_ != nil {
2994		return *s.Message_
2995	}
2996	return ""
2997}
2998
2999// OrigErr always returns nil, satisfies awserr.Error interface.
3000func (s *ConflictException) OrigErr() error {
3001	return nil
3002}
3003
3004func (s *ConflictException) Error() string {
3005	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
3006}
3007
3008// Status code returns the HTTP status code for the request's response error.
3009func (s *ConflictException) StatusCode() int {
3010	return s.RespMetadata.StatusCode
3011}
3012
3013// RequestID returns the service's response RequestID for request.
3014func (s *ConflictException) RequestID() string {
3015	return s.RespMetadata.RequestID
3016}
3017
3018// Settings for content redaction within a transcription job.
3019type ContentRedaction struct {
3020	_ struct{} `type:"structure"`
3021
3022	// The output transcript file stored in either the default S3 bucket or in a
3023	// bucket you specify.
3024	//
3025	// When you choose redacted Amazon Transcribe outputs only the redacted transcript.
3026	//
3027	// When you choose redacted_and_unredacted Amazon Transcribe outputs both the
3028	// redacted and unredacted transcripts.
3029	//
3030	// RedactionOutput is a required field
3031	RedactionOutput *string `type:"string" required:"true" enum:"RedactionOutput"`
3032
3033	// Request parameter that defines the entities to be redacted. The only accepted
3034	// value is PII.
3035	//
3036	// RedactionType is a required field
3037	RedactionType *string `type:"string" required:"true" enum:"RedactionType"`
3038}
3039
3040// String returns the string representation
3041func (s ContentRedaction) String() string {
3042	return awsutil.Prettify(s)
3043}
3044
3045// GoString returns the string representation
3046func (s ContentRedaction) GoString() string {
3047	return s.String()
3048}
3049
3050// Validate inspects the fields of the type to determine if they are valid.
3051func (s *ContentRedaction) Validate() error {
3052	invalidParams := request.ErrInvalidParams{Context: "ContentRedaction"}
3053	if s.RedactionOutput == nil {
3054		invalidParams.Add(request.NewErrParamRequired("RedactionOutput"))
3055	}
3056	if s.RedactionType == nil {
3057		invalidParams.Add(request.NewErrParamRequired("RedactionType"))
3058	}
3059
3060	if invalidParams.Len() > 0 {
3061		return invalidParams
3062	}
3063	return nil
3064}
3065
3066// SetRedactionOutput sets the RedactionOutput field's value.
3067func (s *ContentRedaction) SetRedactionOutput(v string) *ContentRedaction {
3068	s.RedactionOutput = &v
3069	return s
3070}
3071
3072// SetRedactionType sets the RedactionType field's value.
3073func (s *ContentRedaction) SetRedactionType(v string) *ContentRedaction {
3074	s.RedactionType = &v
3075	return s
3076}
3077
3078type CreateLanguageModelInput struct {
3079	_ struct{} `type:"structure"`
3080
3081	// The Amazon Transcribe standard language model, or base model used to create
3082	// your custom language model.
3083	//
3084	// If you want to use your custom language model to transcribe audio with a
3085	// sample rate of 16 kHz or greater, choose Wideband.
3086	//
3087	// If you want to use your custom language model to transcribe audio with a
3088	// sample rate that is less than 16 kHz, choose Narrowband.
3089	//
3090	// BaseModelName is a required field
3091	BaseModelName *string `type:"string" required:"true" enum:"BaseModelName"`
3092
3093	// Contains the data access role and the Amazon S3 prefixes to read the required
3094	// input files to create a custom language model.
3095	//
3096	// InputDataConfig is a required field
3097	InputDataConfig *InputDataConfig `type:"structure" required:"true"`
3098
3099	// The language of the input text you're using to train your custom language
3100	// model.
3101	//
3102	// LanguageCode is a required field
3103	LanguageCode *string `type:"string" required:"true" enum:"CLMLanguageCode"`
3104
3105	// The name you choose for your custom language model when you create it.
3106	//
3107	// ModelName is a required field
3108	ModelName *string `min:"1" type:"string" required:"true"`
3109}
3110
3111// String returns the string representation
3112func (s CreateLanguageModelInput) String() string {
3113	return awsutil.Prettify(s)
3114}
3115
3116// GoString returns the string representation
3117func (s CreateLanguageModelInput) GoString() string {
3118	return s.String()
3119}
3120
3121// Validate inspects the fields of the type to determine if they are valid.
3122func (s *CreateLanguageModelInput) Validate() error {
3123	invalidParams := request.ErrInvalidParams{Context: "CreateLanguageModelInput"}
3124	if s.BaseModelName == nil {
3125		invalidParams.Add(request.NewErrParamRequired("BaseModelName"))
3126	}
3127	if s.InputDataConfig == nil {
3128		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
3129	}
3130	if s.LanguageCode == nil {
3131		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
3132	}
3133	if s.ModelName == nil {
3134		invalidParams.Add(request.NewErrParamRequired("ModelName"))
3135	}
3136	if s.ModelName != nil && len(*s.ModelName) < 1 {
3137		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
3138	}
3139	if s.InputDataConfig != nil {
3140		if err := s.InputDataConfig.Validate(); err != nil {
3141			invalidParams.AddNested("InputDataConfig", err.(request.ErrInvalidParams))
3142		}
3143	}
3144
3145	if invalidParams.Len() > 0 {
3146		return invalidParams
3147	}
3148	return nil
3149}
3150
3151// SetBaseModelName sets the BaseModelName field's value.
3152func (s *CreateLanguageModelInput) SetBaseModelName(v string) *CreateLanguageModelInput {
3153	s.BaseModelName = &v
3154	return s
3155}
3156
3157// SetInputDataConfig sets the InputDataConfig field's value.
3158func (s *CreateLanguageModelInput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelInput {
3159	s.InputDataConfig = v
3160	return s
3161}
3162
3163// SetLanguageCode sets the LanguageCode field's value.
3164func (s *CreateLanguageModelInput) SetLanguageCode(v string) *CreateLanguageModelInput {
3165	s.LanguageCode = &v
3166	return s
3167}
3168
3169// SetModelName sets the ModelName field's value.
3170func (s *CreateLanguageModelInput) SetModelName(v string) *CreateLanguageModelInput {
3171	s.ModelName = &v
3172	return s
3173}
3174
3175type CreateLanguageModelOutput struct {
3176	_ struct{} `type:"structure"`
3177
3178	// The Amazon Transcribe standard language model, or base model you've used
3179	// to create a custom language model.
3180	BaseModelName *string `type:"string" enum:"BaseModelName"`
3181
3182	// The data access role and Amazon S3 prefixes you've chosen to create your
3183	// custom language model.
3184	InputDataConfig *InputDataConfig `type:"structure"`
3185
3186	// The language code of the text you've used to create a custom language model.
3187	LanguageCode *string `type:"string" enum:"CLMLanguageCode"`
3188
3189	// The name you've chosen for your custom language model.
3190	ModelName *string `min:"1" type:"string"`
3191
3192	// The status of the custom language model. When the status is COMPLETED the
3193	// model is ready to use.
3194	ModelStatus *string `type:"string" enum:"ModelStatus"`
3195}
3196
3197// String returns the string representation
3198func (s CreateLanguageModelOutput) String() string {
3199	return awsutil.Prettify(s)
3200}
3201
3202// GoString returns the string representation
3203func (s CreateLanguageModelOutput) GoString() string {
3204	return s.String()
3205}
3206
3207// SetBaseModelName sets the BaseModelName field's value.
3208func (s *CreateLanguageModelOutput) SetBaseModelName(v string) *CreateLanguageModelOutput {
3209	s.BaseModelName = &v
3210	return s
3211}
3212
3213// SetInputDataConfig sets the InputDataConfig field's value.
3214func (s *CreateLanguageModelOutput) SetInputDataConfig(v *InputDataConfig) *CreateLanguageModelOutput {
3215	s.InputDataConfig = v
3216	return s
3217}
3218
3219// SetLanguageCode sets the LanguageCode field's value.
3220func (s *CreateLanguageModelOutput) SetLanguageCode(v string) *CreateLanguageModelOutput {
3221	s.LanguageCode = &v
3222	return s
3223}
3224
3225// SetModelName sets the ModelName field's value.
3226func (s *CreateLanguageModelOutput) SetModelName(v string) *CreateLanguageModelOutput {
3227	s.ModelName = &v
3228	return s
3229}
3230
3231// SetModelStatus sets the ModelStatus field's value.
3232func (s *CreateLanguageModelOutput) SetModelStatus(v string) *CreateLanguageModelOutput {
3233	s.ModelStatus = &v
3234	return s
3235}
3236
3237type CreateMedicalVocabularyInput struct {
3238	_ struct{} `type:"structure"`
3239
3240	// The language code for the language used for the entries in your custom vocabulary.
3241	// The language code of your custom vocabulary must match the language code
3242	// of your transcription job. US English (en-US) is the only language code available
3243	// for Amazon Transcribe Medical.
3244	//
3245	// LanguageCode is a required field
3246	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
3247
3248	// The location in Amazon S3 of the text file you use to define your custom
3249	// vocabulary. The URI must be in the same AWS Region as the resource that you're
3250	// calling. Enter information about your VocabularyFileUri in the following
3251	// format:
3252	//
3253	// https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
3254	//
3255	// The following is an example URI for a vocabulary file that is stored in Amazon
3256	// S3:
3257	//
3258	// https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
3259	//
3260	// For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
3261	// in the Amazon S3 Developer Guide.
3262	//
3263	// For more information about custom vocabularies, see Medical Custom Vocabularies
3264	// (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med).
3265	//
3266	// VocabularyFileUri is a required field
3267	VocabularyFileUri *string `min:"1" type:"string" required:"true"`
3268
3269	// The name of the custom vocabulary. This case-sensitive name must be unique
3270	// within an AWS account. If you try to create a vocabulary with the same name
3271	// as a previous vocabulary, you get a ConflictException error.
3272	//
3273	// VocabularyName is a required field
3274	VocabularyName *string `min:"1" type:"string" required:"true"`
3275}
3276
3277// String returns the string representation
3278func (s CreateMedicalVocabularyInput) String() string {
3279	return awsutil.Prettify(s)
3280}
3281
3282// GoString returns the string representation
3283func (s CreateMedicalVocabularyInput) GoString() string {
3284	return s.String()
3285}
3286
3287// Validate inspects the fields of the type to determine if they are valid.
3288func (s *CreateMedicalVocabularyInput) Validate() error {
3289	invalidParams := request.ErrInvalidParams{Context: "CreateMedicalVocabularyInput"}
3290	if s.LanguageCode == nil {
3291		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
3292	}
3293	if s.VocabularyFileUri == nil {
3294		invalidParams.Add(request.NewErrParamRequired("VocabularyFileUri"))
3295	}
3296	if s.VocabularyFileUri != nil && len(*s.VocabularyFileUri) < 1 {
3297		invalidParams.Add(request.NewErrParamMinLen("VocabularyFileUri", 1))
3298	}
3299	if s.VocabularyName == nil {
3300		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
3301	}
3302	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
3303		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
3304	}
3305
3306	if invalidParams.Len() > 0 {
3307		return invalidParams
3308	}
3309	return nil
3310}
3311
3312// SetLanguageCode sets the LanguageCode field's value.
3313func (s *CreateMedicalVocabularyInput) SetLanguageCode(v string) *CreateMedicalVocabularyInput {
3314	s.LanguageCode = &v
3315	return s
3316}
3317
3318// SetVocabularyFileUri sets the VocabularyFileUri field's value.
3319func (s *CreateMedicalVocabularyInput) SetVocabularyFileUri(v string) *CreateMedicalVocabularyInput {
3320	s.VocabularyFileUri = &v
3321	return s
3322}
3323
3324// SetVocabularyName sets the VocabularyName field's value.
3325func (s *CreateMedicalVocabularyInput) SetVocabularyName(v string) *CreateMedicalVocabularyInput {
3326	s.VocabularyName = &v
3327	return s
3328}
3329
3330type CreateMedicalVocabularyOutput struct {
3331	_ struct{} `type:"structure"`
3332
3333	// If the VocabularyState field is FAILED, this field contains information about
3334	// why the job failed.
3335	FailureReason *string `type:"string"`
3336
3337	// The language code for the entries in your custom vocabulary. US English (en-US)
3338	// is the only valid language code for Amazon Transcribe Medical.
3339	LanguageCode *string `type:"string" enum:"LanguageCode"`
3340
3341	// The date and time that you created the vocabulary.
3342	LastModifiedTime *time.Time `type:"timestamp"`
3343
3344	// The name of the vocabulary. The name must be unique within an AWS account
3345	// and is case sensitive.
3346	VocabularyName *string `min:"1" type:"string"`
3347
3348	// The processing state of your custom vocabulary in Amazon Transcribe Medical.
3349	// If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob
3350	// request.
3351	VocabularyState *string `type:"string" enum:"VocabularyState"`
3352}
3353
3354// String returns the string representation
3355func (s CreateMedicalVocabularyOutput) String() string {
3356	return awsutil.Prettify(s)
3357}
3358
3359// GoString returns the string representation
3360func (s CreateMedicalVocabularyOutput) GoString() string {
3361	return s.String()
3362}
3363
3364// SetFailureReason sets the FailureReason field's value.
3365func (s *CreateMedicalVocabularyOutput) SetFailureReason(v string) *CreateMedicalVocabularyOutput {
3366	s.FailureReason = &v
3367	return s
3368}
3369
3370// SetLanguageCode sets the LanguageCode field's value.
3371func (s *CreateMedicalVocabularyOutput) SetLanguageCode(v string) *CreateMedicalVocabularyOutput {
3372	s.LanguageCode = &v
3373	return s
3374}
3375
3376// SetLastModifiedTime sets the LastModifiedTime field's value.
3377func (s *CreateMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *CreateMedicalVocabularyOutput {
3378	s.LastModifiedTime = &v
3379	return s
3380}
3381
3382// SetVocabularyName sets the VocabularyName field's value.
3383func (s *CreateMedicalVocabularyOutput) SetVocabularyName(v string) *CreateMedicalVocabularyOutput {
3384	s.VocabularyName = &v
3385	return s
3386}
3387
3388// SetVocabularyState sets the VocabularyState field's value.
3389func (s *CreateMedicalVocabularyOutput) SetVocabularyState(v string) *CreateMedicalVocabularyOutput {
3390	s.VocabularyState = &v
3391	return s
3392}
3393
3394type CreateVocabularyFilterInput struct {
3395	_ struct{} `type:"structure"`
3396
3397	// The language code of the words in the vocabulary filter. All words in the
3398	// filter must be in the same language. The vocabulary filter can only be used
3399	// with transcription jobs in the specified language.
3400	//
3401	// LanguageCode is a required field
3402	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
3403
3404	// The Amazon S3 location of a text file used as input to create the vocabulary
3405	// filter. Only use characters from the character set defined for custom vocabularies.
3406	// For a list of character sets, see Character Sets for Custom Vocabularies
3407	// (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
3408	//
3409	// The specified file must be less than 50 KB of UTF-8 characters.
3410	//
3411	// If you provide the location of a list of words in the VocabularyFilterFileUri
3412	// parameter, you can't use the Words parameter.
3413	VocabularyFilterFileUri *string `min:"1" type:"string"`
3414
3415	// The vocabulary filter name. The name must be unique within the account that
3416	// contains it. If you try to create a vocabulary filter with the same name
3417	// as another vocabulary filter, you get a ConflictException error.
3418	//
3419	// VocabularyFilterName is a required field
3420	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
3421
3422	// The words to use in the vocabulary filter. Only use characters from the character
3423	// set defined for custom vocabularies. For a list of character sets, see Character
3424	// Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
3425	//
3426	// If you provide a list of words in the Words parameter, you can't use the
3427	// VocabularyFilterFileUri parameter.
3428	Words []*string `min:"1" type:"list"`
3429}
3430
3431// String returns the string representation
3432func (s CreateVocabularyFilterInput) String() string {
3433	return awsutil.Prettify(s)
3434}
3435
3436// GoString returns the string representation
3437func (s CreateVocabularyFilterInput) GoString() string {
3438	return s.String()
3439}
3440
3441// Validate inspects the fields of the type to determine if they are valid.
3442func (s *CreateVocabularyFilterInput) Validate() error {
3443	invalidParams := request.ErrInvalidParams{Context: "CreateVocabularyFilterInput"}
3444	if s.LanguageCode == nil {
3445		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
3446	}
3447	if s.VocabularyFilterFileUri != nil && len(*s.VocabularyFilterFileUri) < 1 {
3448		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterFileUri", 1))
3449	}
3450	if s.VocabularyFilterName == nil {
3451		invalidParams.Add(request.NewErrParamRequired("VocabularyFilterName"))
3452	}
3453	if s.VocabularyFilterName != nil && len(*s.VocabularyFilterName) < 1 {
3454		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterName", 1))
3455	}
3456	if s.Words != nil && len(s.Words) < 1 {
3457		invalidParams.Add(request.NewErrParamMinLen("Words", 1))
3458	}
3459
3460	if invalidParams.Len() > 0 {
3461		return invalidParams
3462	}
3463	return nil
3464}
3465
3466// SetLanguageCode sets the LanguageCode field's value.
3467func (s *CreateVocabularyFilterInput) SetLanguageCode(v string) *CreateVocabularyFilterInput {
3468	s.LanguageCode = &v
3469	return s
3470}
3471
3472// SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.
3473func (s *CreateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *CreateVocabularyFilterInput {
3474	s.VocabularyFilterFileUri = &v
3475	return s
3476}
3477
3478// SetVocabularyFilterName sets the VocabularyFilterName field's value.
3479func (s *CreateVocabularyFilterInput) SetVocabularyFilterName(v string) *CreateVocabularyFilterInput {
3480	s.VocabularyFilterName = &v
3481	return s
3482}
3483
3484// SetWords sets the Words field's value.
3485func (s *CreateVocabularyFilterInput) SetWords(v []*string) *CreateVocabularyFilterInput {
3486	s.Words = v
3487	return s
3488}
3489
3490type CreateVocabularyFilterOutput struct {
3491	_ struct{} `type:"structure"`
3492
3493	// The language code of the words in the collection.
3494	LanguageCode *string `type:"string" enum:"LanguageCode"`
3495
3496	// The date and time that the vocabulary filter was modified.
3497	LastModifiedTime *time.Time `type:"timestamp"`
3498
3499	// The name of the vocabulary filter.
3500	VocabularyFilterName *string `min:"1" type:"string"`
3501}
3502
3503// String returns the string representation
3504func (s CreateVocabularyFilterOutput) String() string {
3505	return awsutil.Prettify(s)
3506}
3507
3508// GoString returns the string representation
3509func (s CreateVocabularyFilterOutput) GoString() string {
3510	return s.String()
3511}
3512
3513// SetLanguageCode sets the LanguageCode field's value.
3514func (s *CreateVocabularyFilterOutput) SetLanguageCode(v string) *CreateVocabularyFilterOutput {
3515	s.LanguageCode = &v
3516	return s
3517}
3518
3519// SetLastModifiedTime sets the LastModifiedTime field's value.
3520func (s *CreateVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *CreateVocabularyFilterOutput {
3521	s.LastModifiedTime = &v
3522	return s
3523}
3524
3525// SetVocabularyFilterName sets the VocabularyFilterName field's value.
3526func (s *CreateVocabularyFilterOutput) SetVocabularyFilterName(v string) *CreateVocabularyFilterOutput {
3527	s.VocabularyFilterName = &v
3528	return s
3529}
3530
3531type CreateVocabularyInput struct {
3532	_ struct{} `type:"structure"`
3533
3534	// The language code of the vocabulary entries. For a list of languages and
3535	// their corresponding language codes, see what-is-transcribe.
3536	//
3537	// LanguageCode is a required field
3538	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
3539
3540	// An array of strings that contains the vocabulary entries.
3541	Phrases []*string `type:"list"`
3542
3543	// The S3 location of the text file that contains the definition of the custom
3544	// vocabulary. The URI must be in the same region as the API endpoint that you
3545	// are calling. The general form is
3546	//
3547	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
3548	// in the Amazon S3 Developer Guide.
3549	//
3550	// For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary).
3551	VocabularyFileUri *string `min:"1" type:"string"`
3552
3553	// The name of the vocabulary. The name must be unique within an AWS account.
3554	// The name is case sensitive. If you try to create a vocabulary with the same
3555	// name as a previous vocabulary you will receive a ConflictException error.
3556	//
3557	// VocabularyName is a required field
3558	VocabularyName *string `min:"1" type:"string" required:"true"`
3559}
3560
3561// String returns the string representation
3562func (s CreateVocabularyInput) String() string {
3563	return awsutil.Prettify(s)
3564}
3565
3566// GoString returns the string representation
3567func (s CreateVocabularyInput) GoString() string {
3568	return s.String()
3569}
3570
3571// Validate inspects the fields of the type to determine if they are valid.
3572func (s *CreateVocabularyInput) Validate() error {
3573	invalidParams := request.ErrInvalidParams{Context: "CreateVocabularyInput"}
3574	if s.LanguageCode == nil {
3575		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
3576	}
3577	if s.VocabularyFileUri != nil && len(*s.VocabularyFileUri) < 1 {
3578		invalidParams.Add(request.NewErrParamMinLen("VocabularyFileUri", 1))
3579	}
3580	if s.VocabularyName == nil {
3581		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
3582	}
3583	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
3584		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
3585	}
3586
3587	if invalidParams.Len() > 0 {
3588		return invalidParams
3589	}
3590	return nil
3591}
3592
3593// SetLanguageCode sets the LanguageCode field's value.
3594func (s *CreateVocabularyInput) SetLanguageCode(v string) *CreateVocabularyInput {
3595	s.LanguageCode = &v
3596	return s
3597}
3598
3599// SetPhrases sets the Phrases field's value.
3600func (s *CreateVocabularyInput) SetPhrases(v []*string) *CreateVocabularyInput {
3601	s.Phrases = v
3602	return s
3603}
3604
3605// SetVocabularyFileUri sets the VocabularyFileUri field's value.
3606func (s *CreateVocabularyInput) SetVocabularyFileUri(v string) *CreateVocabularyInput {
3607	s.VocabularyFileUri = &v
3608	return s
3609}
3610
3611// SetVocabularyName sets the VocabularyName field's value.
3612func (s *CreateVocabularyInput) SetVocabularyName(v string) *CreateVocabularyInput {
3613	s.VocabularyName = &v
3614	return s
3615}
3616
3617type CreateVocabularyOutput struct {
3618	_ struct{} `type:"structure"`
3619
3620	// If the VocabularyState field is FAILED, this field contains information about
3621	// why the job failed.
3622	FailureReason *string `type:"string"`
3623
3624	// The language code of the vocabulary entries.
3625	LanguageCode *string `type:"string" enum:"LanguageCode"`
3626
3627	// The date and time that the vocabulary was created.
3628	LastModifiedTime *time.Time `type:"timestamp"`
3629
3630	// The name of the vocabulary.
3631	VocabularyName *string `min:"1" type:"string"`
3632
3633	// The processing state of the vocabulary. When the VocabularyState field contains
3634	// READY the vocabulary is ready to be used in a StartTranscriptionJob request.
3635	VocabularyState *string `type:"string" enum:"VocabularyState"`
3636}
3637
3638// String returns the string representation
3639func (s CreateVocabularyOutput) String() string {
3640	return awsutil.Prettify(s)
3641}
3642
3643// GoString returns the string representation
3644func (s CreateVocabularyOutput) GoString() string {
3645	return s.String()
3646}
3647
3648// SetFailureReason sets the FailureReason field's value.
3649func (s *CreateVocabularyOutput) SetFailureReason(v string) *CreateVocabularyOutput {
3650	s.FailureReason = &v
3651	return s
3652}
3653
3654// SetLanguageCode sets the LanguageCode field's value.
3655func (s *CreateVocabularyOutput) SetLanguageCode(v string) *CreateVocabularyOutput {
3656	s.LanguageCode = &v
3657	return s
3658}
3659
3660// SetLastModifiedTime sets the LastModifiedTime field's value.
3661func (s *CreateVocabularyOutput) SetLastModifiedTime(v time.Time) *CreateVocabularyOutput {
3662	s.LastModifiedTime = &v
3663	return s
3664}
3665
3666// SetVocabularyName sets the VocabularyName field's value.
3667func (s *CreateVocabularyOutput) SetVocabularyName(v string) *CreateVocabularyOutput {
3668	s.VocabularyName = &v
3669	return s
3670}
3671
3672// SetVocabularyState sets the VocabularyState field's value.
3673func (s *CreateVocabularyOutput) SetVocabularyState(v string) *CreateVocabularyOutput {
3674	s.VocabularyState = &v
3675	return s
3676}
3677
3678type DeleteLanguageModelInput struct {
3679	_ struct{} `type:"structure"`
3680
3681	// The name of the model you're choosing to delete.
3682	//
3683	// ModelName is a required field
3684	ModelName *string `min:"1" type:"string" required:"true"`
3685}
3686
3687// String returns the string representation
3688func (s DeleteLanguageModelInput) String() string {
3689	return awsutil.Prettify(s)
3690}
3691
3692// GoString returns the string representation
3693func (s DeleteLanguageModelInput) GoString() string {
3694	return s.String()
3695}
3696
3697// Validate inspects the fields of the type to determine if they are valid.
3698func (s *DeleteLanguageModelInput) Validate() error {
3699	invalidParams := request.ErrInvalidParams{Context: "DeleteLanguageModelInput"}
3700	if s.ModelName == nil {
3701		invalidParams.Add(request.NewErrParamRequired("ModelName"))
3702	}
3703	if s.ModelName != nil && len(*s.ModelName) < 1 {
3704		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
3705	}
3706
3707	if invalidParams.Len() > 0 {
3708		return invalidParams
3709	}
3710	return nil
3711}
3712
3713// SetModelName sets the ModelName field's value.
3714func (s *DeleteLanguageModelInput) SetModelName(v string) *DeleteLanguageModelInput {
3715	s.ModelName = &v
3716	return s
3717}
3718
3719type DeleteLanguageModelOutput struct {
3720	_ struct{} `type:"structure"`
3721}
3722
3723// String returns the string representation
3724func (s DeleteLanguageModelOutput) String() string {
3725	return awsutil.Prettify(s)
3726}
3727
3728// GoString returns the string representation
3729func (s DeleteLanguageModelOutput) GoString() string {
3730	return s.String()
3731}
3732
3733type DeleteMedicalTranscriptionJobInput struct {
3734	_ struct{} `type:"structure"`
3735
3736	// The name you provide to the DeleteMedicalTranscriptionJob object to delete
3737	// a transcription job.
3738	//
3739	// MedicalTranscriptionJobName is a required field
3740	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`
3741}
3742
3743// String returns the string representation
3744func (s DeleteMedicalTranscriptionJobInput) String() string {
3745	return awsutil.Prettify(s)
3746}
3747
3748// GoString returns the string representation
3749func (s DeleteMedicalTranscriptionJobInput) GoString() string {
3750	return s.String()
3751}
3752
3753// Validate inspects the fields of the type to determine if they are valid.
3754func (s *DeleteMedicalTranscriptionJobInput) Validate() error {
3755	invalidParams := request.ErrInvalidParams{Context: "DeleteMedicalTranscriptionJobInput"}
3756	if s.MedicalTranscriptionJobName == nil {
3757		invalidParams.Add(request.NewErrParamRequired("MedicalTranscriptionJobName"))
3758	}
3759	if s.MedicalTranscriptionJobName != nil && len(*s.MedicalTranscriptionJobName) < 1 {
3760		invalidParams.Add(request.NewErrParamMinLen("MedicalTranscriptionJobName", 1))
3761	}
3762
3763	if invalidParams.Len() > 0 {
3764		return invalidParams
3765	}
3766	return nil
3767}
3768
3769// SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
3770func (s *DeleteMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *DeleteMedicalTranscriptionJobInput {
3771	s.MedicalTranscriptionJobName = &v
3772	return s
3773}
3774
3775type DeleteMedicalTranscriptionJobOutput struct {
3776	_ struct{} `type:"structure"`
3777}
3778
3779// String returns the string representation
3780func (s DeleteMedicalTranscriptionJobOutput) String() string {
3781	return awsutil.Prettify(s)
3782}
3783
3784// GoString returns the string representation
3785func (s DeleteMedicalTranscriptionJobOutput) GoString() string {
3786	return s.String()
3787}
3788
3789type DeleteMedicalVocabularyInput struct {
3790	_ struct{} `type:"structure"`
3791
3792	// The name of the vocabulary that you want to delete.
3793	//
3794	// VocabularyName is a required field
3795	VocabularyName *string `min:"1" type:"string" required:"true"`
3796}
3797
3798// String returns the string representation
3799func (s DeleteMedicalVocabularyInput) String() string {
3800	return awsutil.Prettify(s)
3801}
3802
3803// GoString returns the string representation
3804func (s DeleteMedicalVocabularyInput) GoString() string {
3805	return s.String()
3806}
3807
3808// Validate inspects the fields of the type to determine if they are valid.
3809func (s *DeleteMedicalVocabularyInput) Validate() error {
3810	invalidParams := request.ErrInvalidParams{Context: "DeleteMedicalVocabularyInput"}
3811	if s.VocabularyName == nil {
3812		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
3813	}
3814	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
3815		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
3816	}
3817
3818	if invalidParams.Len() > 0 {
3819		return invalidParams
3820	}
3821	return nil
3822}
3823
3824// SetVocabularyName sets the VocabularyName field's value.
3825func (s *DeleteMedicalVocabularyInput) SetVocabularyName(v string) *DeleteMedicalVocabularyInput {
3826	s.VocabularyName = &v
3827	return s
3828}
3829
3830type DeleteMedicalVocabularyOutput struct {
3831	_ struct{} `type:"structure"`
3832}
3833
3834// String returns the string representation
3835func (s DeleteMedicalVocabularyOutput) String() string {
3836	return awsutil.Prettify(s)
3837}
3838
3839// GoString returns the string representation
3840func (s DeleteMedicalVocabularyOutput) GoString() string {
3841	return s.String()
3842}
3843
3844type DeleteTranscriptionJobInput struct {
3845	_ struct{} `type:"structure"`
3846
3847	// The name of the transcription job to be deleted.
3848	//
3849	// TranscriptionJobName is a required field
3850	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
3851}
3852
3853// String returns the string representation
3854func (s DeleteTranscriptionJobInput) String() string {
3855	return awsutil.Prettify(s)
3856}
3857
3858// GoString returns the string representation
3859func (s DeleteTranscriptionJobInput) GoString() string {
3860	return s.String()
3861}
3862
3863// Validate inspects the fields of the type to determine if they are valid.
3864func (s *DeleteTranscriptionJobInput) Validate() error {
3865	invalidParams := request.ErrInvalidParams{Context: "DeleteTranscriptionJobInput"}
3866	if s.TranscriptionJobName == nil {
3867		invalidParams.Add(request.NewErrParamRequired("TranscriptionJobName"))
3868	}
3869	if s.TranscriptionJobName != nil && len(*s.TranscriptionJobName) < 1 {
3870		invalidParams.Add(request.NewErrParamMinLen("TranscriptionJobName", 1))
3871	}
3872
3873	if invalidParams.Len() > 0 {
3874		return invalidParams
3875	}
3876	return nil
3877}
3878
3879// SetTranscriptionJobName sets the TranscriptionJobName field's value.
3880func (s *DeleteTranscriptionJobInput) SetTranscriptionJobName(v string) *DeleteTranscriptionJobInput {
3881	s.TranscriptionJobName = &v
3882	return s
3883}
3884
3885type DeleteTranscriptionJobOutput struct {
3886	_ struct{} `type:"structure"`
3887}
3888
3889// String returns the string representation
3890func (s DeleteTranscriptionJobOutput) String() string {
3891	return awsutil.Prettify(s)
3892}
3893
3894// GoString returns the string representation
3895func (s DeleteTranscriptionJobOutput) GoString() string {
3896	return s.String()
3897}
3898
3899type DeleteVocabularyFilterInput struct {
3900	_ struct{} `type:"structure"`
3901
3902	// The name of the vocabulary filter to remove.
3903	//
3904	// VocabularyFilterName is a required field
3905	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
3906}
3907
3908// String returns the string representation
3909func (s DeleteVocabularyFilterInput) String() string {
3910	return awsutil.Prettify(s)
3911}
3912
3913// GoString returns the string representation
3914func (s DeleteVocabularyFilterInput) GoString() string {
3915	return s.String()
3916}
3917
3918// Validate inspects the fields of the type to determine if they are valid.
3919func (s *DeleteVocabularyFilterInput) Validate() error {
3920	invalidParams := request.ErrInvalidParams{Context: "DeleteVocabularyFilterInput"}
3921	if s.VocabularyFilterName == nil {
3922		invalidParams.Add(request.NewErrParamRequired("VocabularyFilterName"))
3923	}
3924	if s.VocabularyFilterName != nil && len(*s.VocabularyFilterName) < 1 {
3925		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterName", 1))
3926	}
3927
3928	if invalidParams.Len() > 0 {
3929		return invalidParams
3930	}
3931	return nil
3932}
3933
3934// SetVocabularyFilterName sets the VocabularyFilterName field's value.
3935func (s *DeleteVocabularyFilterInput) SetVocabularyFilterName(v string) *DeleteVocabularyFilterInput {
3936	s.VocabularyFilterName = &v
3937	return s
3938}
3939
3940type DeleteVocabularyFilterOutput struct {
3941	_ struct{} `type:"structure"`
3942}
3943
3944// String returns the string representation
3945func (s DeleteVocabularyFilterOutput) String() string {
3946	return awsutil.Prettify(s)
3947}
3948
3949// GoString returns the string representation
3950func (s DeleteVocabularyFilterOutput) GoString() string {
3951	return s.String()
3952}
3953
3954type DeleteVocabularyInput struct {
3955	_ struct{} `type:"structure"`
3956
3957	// The name of the vocabulary to delete.
3958	//
3959	// VocabularyName is a required field
3960	VocabularyName *string `min:"1" type:"string" required:"true"`
3961}
3962
3963// String returns the string representation
3964func (s DeleteVocabularyInput) String() string {
3965	return awsutil.Prettify(s)
3966}
3967
3968// GoString returns the string representation
3969func (s DeleteVocabularyInput) GoString() string {
3970	return s.String()
3971}
3972
3973// Validate inspects the fields of the type to determine if they are valid.
3974func (s *DeleteVocabularyInput) Validate() error {
3975	invalidParams := request.ErrInvalidParams{Context: "DeleteVocabularyInput"}
3976	if s.VocabularyName == nil {
3977		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
3978	}
3979	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
3980		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
3981	}
3982
3983	if invalidParams.Len() > 0 {
3984		return invalidParams
3985	}
3986	return nil
3987}
3988
3989// SetVocabularyName sets the VocabularyName field's value.
3990func (s *DeleteVocabularyInput) SetVocabularyName(v string) *DeleteVocabularyInput {
3991	s.VocabularyName = &v
3992	return s
3993}
3994
3995type DeleteVocabularyOutput struct {
3996	_ struct{} `type:"structure"`
3997}
3998
3999// String returns the string representation
4000func (s DeleteVocabularyOutput) String() string {
4001	return awsutil.Prettify(s)
4002}
4003
4004// GoString returns the string representation
4005func (s DeleteVocabularyOutput) GoString() string {
4006	return s.String()
4007}
4008
4009type DescribeLanguageModelInput struct {
4010	_ struct{} `type:"structure"`
4011
4012	// The name of the custom language model you submit to get more information.
4013	//
4014	// ModelName is a required field
4015	ModelName *string `min:"1" type:"string" required:"true"`
4016}
4017
4018// String returns the string representation
4019func (s DescribeLanguageModelInput) String() string {
4020	return awsutil.Prettify(s)
4021}
4022
4023// GoString returns the string representation
4024func (s DescribeLanguageModelInput) GoString() string {
4025	return s.String()
4026}
4027
4028// Validate inspects the fields of the type to determine if they are valid.
4029func (s *DescribeLanguageModelInput) Validate() error {
4030	invalidParams := request.ErrInvalidParams{Context: "DescribeLanguageModelInput"}
4031	if s.ModelName == nil {
4032		invalidParams.Add(request.NewErrParamRequired("ModelName"))
4033	}
4034	if s.ModelName != nil && len(*s.ModelName) < 1 {
4035		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
4036	}
4037
4038	if invalidParams.Len() > 0 {
4039		return invalidParams
4040	}
4041	return nil
4042}
4043
4044// SetModelName sets the ModelName field's value.
4045func (s *DescribeLanguageModelInput) SetModelName(v string) *DescribeLanguageModelInput {
4046	s.ModelName = &v
4047	return s
4048}
4049
4050type DescribeLanguageModelOutput struct {
4051	_ struct{} `type:"structure"`
4052
4053	// The name of the custom language model you requested more information about.
4054	LanguageModel *LanguageModel `type:"structure"`
4055}
4056
4057// String returns the string representation
4058func (s DescribeLanguageModelOutput) String() string {
4059	return awsutil.Prettify(s)
4060}
4061
4062// GoString returns the string representation
4063func (s DescribeLanguageModelOutput) GoString() string {
4064	return s.String()
4065}
4066
4067// SetLanguageModel sets the LanguageModel field's value.
4068func (s *DescribeLanguageModelOutput) SetLanguageModel(v *LanguageModel) *DescribeLanguageModelOutput {
4069	s.LanguageModel = v
4070	return s
4071}
4072
4073type GetMedicalTranscriptionJobInput struct {
4074	_ struct{} `type:"structure"`
4075
4076	// The name of the medical transcription job.
4077	//
4078	// MedicalTranscriptionJobName is a required field
4079	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`
4080}
4081
4082// String returns the string representation
4083func (s GetMedicalTranscriptionJobInput) String() string {
4084	return awsutil.Prettify(s)
4085}
4086
4087// GoString returns the string representation
4088func (s GetMedicalTranscriptionJobInput) GoString() string {
4089	return s.String()
4090}
4091
4092// Validate inspects the fields of the type to determine if they are valid.
4093func (s *GetMedicalTranscriptionJobInput) Validate() error {
4094	invalidParams := request.ErrInvalidParams{Context: "GetMedicalTranscriptionJobInput"}
4095	if s.MedicalTranscriptionJobName == nil {
4096		invalidParams.Add(request.NewErrParamRequired("MedicalTranscriptionJobName"))
4097	}
4098	if s.MedicalTranscriptionJobName != nil && len(*s.MedicalTranscriptionJobName) < 1 {
4099		invalidParams.Add(request.NewErrParamMinLen("MedicalTranscriptionJobName", 1))
4100	}
4101
4102	if invalidParams.Len() > 0 {
4103		return invalidParams
4104	}
4105	return nil
4106}
4107
4108// SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
4109func (s *GetMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *GetMedicalTranscriptionJobInput {
4110	s.MedicalTranscriptionJobName = &v
4111	return s
4112}
4113
4114type GetMedicalTranscriptionJobOutput struct {
4115	_ struct{} `type:"structure"`
4116
4117	// An object that contains the results of the medical transcription job.
4118	MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"`
4119}
4120
4121// String returns the string representation
4122func (s GetMedicalTranscriptionJobOutput) String() string {
4123	return awsutil.Prettify(s)
4124}
4125
4126// GoString returns the string representation
4127func (s GetMedicalTranscriptionJobOutput) GoString() string {
4128	return s.String()
4129}
4130
4131// SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.
4132func (s *GetMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob(v *MedicalTranscriptionJob) *GetMedicalTranscriptionJobOutput {
4133	s.MedicalTranscriptionJob = v
4134	return s
4135}
4136
4137type GetMedicalVocabularyInput struct {
4138	_ struct{} `type:"structure"`
4139
4140	// The name of the vocabulary that you want information about. The value is
4141	// case sensitive.
4142	//
4143	// VocabularyName is a required field
4144	VocabularyName *string `min:"1" type:"string" required:"true"`
4145}
4146
4147// String returns the string representation
4148func (s GetMedicalVocabularyInput) String() string {
4149	return awsutil.Prettify(s)
4150}
4151
4152// GoString returns the string representation
4153func (s GetMedicalVocabularyInput) GoString() string {
4154	return s.String()
4155}
4156
4157// Validate inspects the fields of the type to determine if they are valid.
4158func (s *GetMedicalVocabularyInput) Validate() error {
4159	invalidParams := request.ErrInvalidParams{Context: "GetMedicalVocabularyInput"}
4160	if s.VocabularyName == nil {
4161		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
4162	}
4163	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
4164		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
4165	}
4166
4167	if invalidParams.Len() > 0 {
4168		return invalidParams
4169	}
4170	return nil
4171}
4172
4173// SetVocabularyName sets the VocabularyName field's value.
4174func (s *GetMedicalVocabularyInput) SetVocabularyName(v string) *GetMedicalVocabularyInput {
4175	s.VocabularyName = &v
4176	return s
4177}
4178
4179type GetMedicalVocabularyOutput struct {
4180	_ struct{} `type:"structure"`
4181
4182	// The location in Amazon S3 where the vocabulary is stored. Use this URI to
4183	// get the contents of the vocabulary. You can download your vocabulary from
4184	// the URI for a limited time.
4185	DownloadUri *string `min:"1" type:"string"`
4186
4187	// If the VocabularyState is FAILED, this field contains information about why
4188	// the job failed.
4189	FailureReason *string `type:"string"`
4190
4191	// The valid language code for your vocabulary entries.
4192	LanguageCode *string `type:"string" enum:"LanguageCode"`
4193
4194	// The date and time that the vocabulary was last modified with a text file
4195	// different from the one that was previously used.
4196	LastModifiedTime *time.Time `type:"timestamp"`
4197
4198	// The name of the vocabulary returned by Amazon Transcribe Medical.
4199	VocabularyName *string `min:"1" type:"string"`
4200
4201	// The processing state of the vocabulary. If the VocabularyState is READY then
4202	// you can use it in the StartMedicalTranscriptionJob operation.
4203	VocabularyState *string `type:"string" enum:"VocabularyState"`
4204}
4205
4206// String returns the string representation
4207func (s GetMedicalVocabularyOutput) String() string {
4208	return awsutil.Prettify(s)
4209}
4210
4211// GoString returns the string representation
4212func (s GetMedicalVocabularyOutput) GoString() string {
4213	return s.String()
4214}
4215
4216// SetDownloadUri sets the DownloadUri field's value.
4217func (s *GetMedicalVocabularyOutput) SetDownloadUri(v string) *GetMedicalVocabularyOutput {
4218	s.DownloadUri = &v
4219	return s
4220}
4221
4222// SetFailureReason sets the FailureReason field's value.
4223func (s *GetMedicalVocabularyOutput) SetFailureReason(v string) *GetMedicalVocabularyOutput {
4224	s.FailureReason = &v
4225	return s
4226}
4227
4228// SetLanguageCode sets the LanguageCode field's value.
4229func (s *GetMedicalVocabularyOutput) SetLanguageCode(v string) *GetMedicalVocabularyOutput {
4230	s.LanguageCode = &v
4231	return s
4232}
4233
4234// SetLastModifiedTime sets the LastModifiedTime field's value.
4235func (s *GetMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *GetMedicalVocabularyOutput {
4236	s.LastModifiedTime = &v
4237	return s
4238}
4239
4240// SetVocabularyName sets the VocabularyName field's value.
4241func (s *GetMedicalVocabularyOutput) SetVocabularyName(v string) *GetMedicalVocabularyOutput {
4242	s.VocabularyName = &v
4243	return s
4244}
4245
4246// SetVocabularyState sets the VocabularyState field's value.
4247func (s *GetMedicalVocabularyOutput) SetVocabularyState(v string) *GetMedicalVocabularyOutput {
4248	s.VocabularyState = &v
4249	return s
4250}
4251
4252type GetTranscriptionJobInput struct {
4253	_ struct{} `type:"structure"`
4254
4255	// The name of the job.
4256	//
4257	// TranscriptionJobName is a required field
4258	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
4259}
4260
4261// String returns the string representation
4262func (s GetTranscriptionJobInput) String() string {
4263	return awsutil.Prettify(s)
4264}
4265
4266// GoString returns the string representation
4267func (s GetTranscriptionJobInput) GoString() string {
4268	return s.String()
4269}
4270
4271// Validate inspects the fields of the type to determine if they are valid.
4272func (s *GetTranscriptionJobInput) Validate() error {
4273	invalidParams := request.ErrInvalidParams{Context: "GetTranscriptionJobInput"}
4274	if s.TranscriptionJobName == nil {
4275		invalidParams.Add(request.NewErrParamRequired("TranscriptionJobName"))
4276	}
4277	if s.TranscriptionJobName != nil && len(*s.TranscriptionJobName) < 1 {
4278		invalidParams.Add(request.NewErrParamMinLen("TranscriptionJobName", 1))
4279	}
4280
4281	if invalidParams.Len() > 0 {
4282		return invalidParams
4283	}
4284	return nil
4285}
4286
4287// SetTranscriptionJobName sets the TranscriptionJobName field's value.
4288func (s *GetTranscriptionJobInput) SetTranscriptionJobName(v string) *GetTranscriptionJobInput {
4289	s.TranscriptionJobName = &v
4290	return s
4291}
4292
4293type GetTranscriptionJobOutput struct {
4294	_ struct{} `type:"structure"`
4295
4296	// An object that contains the results of the transcription job.
4297	TranscriptionJob *TranscriptionJob `type:"structure"`
4298}
4299
4300// String returns the string representation
4301func (s GetTranscriptionJobOutput) String() string {
4302	return awsutil.Prettify(s)
4303}
4304
4305// GoString returns the string representation
4306func (s GetTranscriptionJobOutput) GoString() string {
4307	return s.String()
4308}
4309
4310// SetTranscriptionJob sets the TranscriptionJob field's value.
4311func (s *GetTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *GetTranscriptionJobOutput {
4312	s.TranscriptionJob = v
4313	return s
4314}
4315
4316type GetVocabularyFilterInput struct {
4317	_ struct{} `type:"structure"`
4318
4319	// The name of the vocabulary filter for which to return information.
4320	//
4321	// VocabularyFilterName is a required field
4322	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
4323}
4324
4325// String returns the string representation
4326func (s GetVocabularyFilterInput) String() string {
4327	return awsutil.Prettify(s)
4328}
4329
4330// GoString returns the string representation
4331func (s GetVocabularyFilterInput) GoString() string {
4332	return s.String()
4333}
4334
4335// Validate inspects the fields of the type to determine if they are valid.
4336func (s *GetVocabularyFilterInput) Validate() error {
4337	invalidParams := request.ErrInvalidParams{Context: "GetVocabularyFilterInput"}
4338	if s.VocabularyFilterName == nil {
4339		invalidParams.Add(request.NewErrParamRequired("VocabularyFilterName"))
4340	}
4341	if s.VocabularyFilterName != nil && len(*s.VocabularyFilterName) < 1 {
4342		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterName", 1))
4343	}
4344
4345	if invalidParams.Len() > 0 {
4346		return invalidParams
4347	}
4348	return nil
4349}
4350
4351// SetVocabularyFilterName sets the VocabularyFilterName field's value.
4352func (s *GetVocabularyFilterInput) SetVocabularyFilterName(v string) *GetVocabularyFilterInput {
4353	s.VocabularyFilterName = &v
4354	return s
4355}
4356
4357type GetVocabularyFilterOutput struct {
4358	_ struct{} `type:"structure"`
4359
4360	// The URI of the list of words in the vocabulary filter. You can use this URI
4361	// to get the list of words.
4362	DownloadUri *string `min:"1" type:"string"`
4363
4364	// The language code of the words in the vocabulary filter.
4365	LanguageCode *string `type:"string" enum:"LanguageCode"`
4366
4367	// The date and time that the contents of the vocabulary filter were updated.
4368	LastModifiedTime *time.Time `type:"timestamp"`
4369
4370	// The name of the vocabulary filter.
4371	VocabularyFilterName *string `min:"1" type:"string"`
4372}
4373
4374// String returns the string representation
4375func (s GetVocabularyFilterOutput) String() string {
4376	return awsutil.Prettify(s)
4377}
4378
4379// GoString returns the string representation
4380func (s GetVocabularyFilterOutput) GoString() string {
4381	return s.String()
4382}
4383
4384// SetDownloadUri sets the DownloadUri field's value.
4385func (s *GetVocabularyFilterOutput) SetDownloadUri(v string) *GetVocabularyFilterOutput {
4386	s.DownloadUri = &v
4387	return s
4388}
4389
4390// SetLanguageCode sets the LanguageCode field's value.
4391func (s *GetVocabularyFilterOutput) SetLanguageCode(v string) *GetVocabularyFilterOutput {
4392	s.LanguageCode = &v
4393	return s
4394}
4395
4396// SetLastModifiedTime sets the LastModifiedTime field's value.
4397func (s *GetVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *GetVocabularyFilterOutput {
4398	s.LastModifiedTime = &v
4399	return s
4400}
4401
4402// SetVocabularyFilterName sets the VocabularyFilterName field's value.
4403func (s *GetVocabularyFilterOutput) SetVocabularyFilterName(v string) *GetVocabularyFilterOutput {
4404	s.VocabularyFilterName = &v
4405	return s
4406}
4407
4408type GetVocabularyInput struct {
4409	_ struct{} `type:"structure"`
4410
4411	// The name of the vocabulary to return information about. The name is case
4412	// sensitive.
4413	//
4414	// VocabularyName is a required field
4415	VocabularyName *string `min:"1" type:"string" required:"true"`
4416}
4417
4418// String returns the string representation
4419func (s GetVocabularyInput) String() string {
4420	return awsutil.Prettify(s)
4421}
4422
4423// GoString returns the string representation
4424func (s GetVocabularyInput) GoString() string {
4425	return s.String()
4426}
4427
4428// Validate inspects the fields of the type to determine if they are valid.
4429func (s *GetVocabularyInput) Validate() error {
4430	invalidParams := request.ErrInvalidParams{Context: "GetVocabularyInput"}
4431	if s.VocabularyName == nil {
4432		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
4433	}
4434	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
4435		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
4436	}
4437
4438	if invalidParams.Len() > 0 {
4439		return invalidParams
4440	}
4441	return nil
4442}
4443
4444// SetVocabularyName sets the VocabularyName field's value.
4445func (s *GetVocabularyInput) SetVocabularyName(v string) *GetVocabularyInput {
4446	s.VocabularyName = &v
4447	return s
4448}
4449
4450type GetVocabularyOutput struct {
4451	_ struct{} `type:"structure"`
4452
4453	// The S3 location where the vocabulary is stored. Use this URI to get the contents
4454	// of the vocabulary. The URI is available for a limited time.
4455	DownloadUri *string `min:"1" type:"string"`
4456
4457	// If the VocabularyState field is FAILED, this field contains information about
4458	// why the job failed.
4459	FailureReason *string `type:"string"`
4460
4461	// The language code of the vocabulary entries.
4462	LanguageCode *string `type:"string" enum:"LanguageCode"`
4463
4464	// The date and time that the vocabulary was last modified.
4465	LastModifiedTime *time.Time `type:"timestamp"`
4466
4467	// The name of the vocabulary to return.
4468	VocabularyName *string `min:"1" type:"string"`
4469
4470	// The processing state of the vocabulary.
4471	VocabularyState *string `type:"string" enum:"VocabularyState"`
4472}
4473
4474// String returns the string representation
4475func (s GetVocabularyOutput) String() string {
4476	return awsutil.Prettify(s)
4477}
4478
4479// GoString returns the string representation
4480func (s GetVocabularyOutput) GoString() string {
4481	return s.String()
4482}
4483
4484// SetDownloadUri sets the DownloadUri field's value.
4485func (s *GetVocabularyOutput) SetDownloadUri(v string) *GetVocabularyOutput {
4486	s.DownloadUri = &v
4487	return s
4488}
4489
4490// SetFailureReason sets the FailureReason field's value.
4491func (s *GetVocabularyOutput) SetFailureReason(v string) *GetVocabularyOutput {
4492	s.FailureReason = &v
4493	return s
4494}
4495
4496// SetLanguageCode sets the LanguageCode field's value.
4497func (s *GetVocabularyOutput) SetLanguageCode(v string) *GetVocabularyOutput {
4498	s.LanguageCode = &v
4499	return s
4500}
4501
4502// SetLastModifiedTime sets the LastModifiedTime field's value.
4503func (s *GetVocabularyOutput) SetLastModifiedTime(v time.Time) *GetVocabularyOutput {
4504	s.LastModifiedTime = &v
4505	return s
4506}
4507
4508// SetVocabularyName sets the VocabularyName field's value.
4509func (s *GetVocabularyOutput) SetVocabularyName(v string) *GetVocabularyOutput {
4510	s.VocabularyName = &v
4511	return s
4512}
4513
4514// SetVocabularyState sets the VocabularyState field's value.
4515func (s *GetVocabularyOutput) SetVocabularyState(v string) *GetVocabularyOutput {
4516	s.VocabularyState = &v
4517	return s
4518}
4519
4520// The object that contains the Amazon S3 object location and access role required
4521// to train and tune your custom language model.
4522type InputDataConfig struct {
4523	_ struct{} `type:"structure"`
4524
4525	// The Amazon Resource Name (ARN) that uniquely identifies the permissions you've
4526	// given Amazon Transcribe to access your Amazon S3 buckets containing your
4527	// media files or text data.
4528	//
4529	// DataAccessRoleArn is a required field
4530	DataAccessRoleArn *string `min:"20" type:"string" required:"true"`
4531
4532	// The Amazon S3 prefix you specify to access the plain text files that you
4533	// use to train your custom language model.
4534	//
4535	// S3Uri is a required field
4536	S3Uri *string `min:"1" type:"string" required:"true"`
4537
4538	// The Amazon S3 prefix you specify to access the plain text files that you
4539	// use to tune your custom language model.
4540	TuningDataS3Uri *string `min:"1" type:"string"`
4541}
4542
4543// String returns the string representation
4544func (s InputDataConfig) String() string {
4545	return awsutil.Prettify(s)
4546}
4547
4548// GoString returns the string representation
4549func (s InputDataConfig) GoString() string {
4550	return s.String()
4551}
4552
4553// Validate inspects the fields of the type to determine if they are valid.
4554func (s *InputDataConfig) Validate() error {
4555	invalidParams := request.ErrInvalidParams{Context: "InputDataConfig"}
4556	if s.DataAccessRoleArn == nil {
4557		invalidParams.Add(request.NewErrParamRequired("DataAccessRoleArn"))
4558	}
4559	if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 {
4560		invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20))
4561	}
4562	if s.S3Uri == nil {
4563		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
4564	}
4565	if s.S3Uri != nil && len(*s.S3Uri) < 1 {
4566		invalidParams.Add(request.NewErrParamMinLen("S3Uri", 1))
4567	}
4568	if s.TuningDataS3Uri != nil && len(*s.TuningDataS3Uri) < 1 {
4569		invalidParams.Add(request.NewErrParamMinLen("TuningDataS3Uri", 1))
4570	}
4571
4572	if invalidParams.Len() > 0 {
4573		return invalidParams
4574	}
4575	return nil
4576}
4577
4578// SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
4579func (s *InputDataConfig) SetDataAccessRoleArn(v string) *InputDataConfig {
4580	s.DataAccessRoleArn = &v
4581	return s
4582}
4583
4584// SetS3Uri sets the S3Uri field's value.
4585func (s *InputDataConfig) SetS3Uri(v string) *InputDataConfig {
4586	s.S3Uri = &v
4587	return s
4588}
4589
4590// SetTuningDataS3Uri sets the TuningDataS3Uri field's value.
4591func (s *InputDataConfig) SetTuningDataS3Uri(v string) *InputDataConfig {
4592	s.TuningDataS3Uri = &v
4593	return s
4594}
4595
4596// There was an internal error. Check the error message and try your request
4597// again.
4598type InternalFailureException struct {
4599	_            struct{}                  `type:"structure"`
4600	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
4601
4602	Message_ *string `locationName:"Message" type:"string"`
4603}
4604
4605// String returns the string representation
4606func (s InternalFailureException) String() string {
4607	return awsutil.Prettify(s)
4608}
4609
4610// GoString returns the string representation
4611func (s InternalFailureException) GoString() string {
4612	return s.String()
4613}
4614
4615func newErrorInternalFailureException(v protocol.ResponseMetadata) error {
4616	return &InternalFailureException{
4617		RespMetadata: v,
4618	}
4619}
4620
4621// Code returns the exception type name.
4622func (s *InternalFailureException) Code() string {
4623	return "InternalFailureException"
4624}
4625
4626// Message returns the exception's message.
4627func (s *InternalFailureException) Message() string {
4628	if s.Message_ != nil {
4629		return *s.Message_
4630	}
4631	return ""
4632}
4633
4634// OrigErr always returns nil, satisfies awserr.Error interface.
4635func (s *InternalFailureException) OrigErr() error {
4636	return nil
4637}
4638
4639func (s *InternalFailureException) Error() string {
4640	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
4641}
4642
4643// Status code returns the HTTP status code for the request's response error.
4644func (s *InternalFailureException) StatusCode() int {
4645	return s.RespMetadata.StatusCode
4646}
4647
4648// RequestID returns the service's response RequestID for request.
4649func (s *InternalFailureException) RequestID() string {
4650	return s.RespMetadata.RequestID
4651}
4652
4653// Provides information about when a transcription job should be executed.
4654type JobExecutionSettings struct {
4655	_ struct{} `type:"structure"`
4656
4657	// Indicates whether a job should be queued by Amazon Transcribe when the concurrent
4658	// execution limit is exceeded. When the AllowDeferredExecution field is true,
4659	// jobs are queued and executed when the number of executing jobs falls below
4660	// the concurrent execution limit. If the field is false, Amazon Transcribe
4661	// returns a LimitExceededException exception.
4662	//
4663	// If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn
4664	// field.
4665	AllowDeferredExecution *bool `type:"boolean"`
4666
4667	// The Amazon Resource Name (ARN) of a role that has access to the S3 bucket
4668	// that contains the input files. Amazon Transcribe assumes this role to read
4669	// queued media files. If you have specified an output S3 bucket for the transcription
4670	// results, this role should have access to the output bucket as well.
4671	//
4672	// If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn
4673	// field.
4674	DataAccessRoleArn *string `min:"20" type:"string"`
4675}
4676
4677// String returns the string representation
4678func (s JobExecutionSettings) String() string {
4679	return awsutil.Prettify(s)
4680}
4681
4682// GoString returns the string representation
4683func (s JobExecutionSettings) GoString() string {
4684	return s.String()
4685}
4686
4687// Validate inspects the fields of the type to determine if they are valid.
4688func (s *JobExecutionSettings) Validate() error {
4689	invalidParams := request.ErrInvalidParams{Context: "JobExecutionSettings"}
4690	if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 {
4691		invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20))
4692	}
4693
4694	if invalidParams.Len() > 0 {
4695		return invalidParams
4696	}
4697	return nil
4698}
4699
4700// SetAllowDeferredExecution sets the AllowDeferredExecution field's value.
4701func (s *JobExecutionSettings) SetAllowDeferredExecution(v bool) *JobExecutionSettings {
4702	s.AllowDeferredExecution = &v
4703	return s
4704}
4705
4706// SetDataAccessRoleArn sets the DataAccessRoleArn field's value.
4707func (s *JobExecutionSettings) SetDataAccessRoleArn(v string) *JobExecutionSettings {
4708	s.DataAccessRoleArn = &v
4709	return s
4710}
4711
4712// The structure used to describe a custom language model.
4713type LanguageModel struct {
4714	_ struct{} `type:"structure"`
4715
4716	// The Amazon Transcribe standard language model, or base model used to create
4717	// the custom language model.
4718	BaseModelName *string `type:"string" enum:"BaseModelName"`
4719
4720	// The time the custom language model was created.
4721	CreateTime *time.Time `type:"timestamp"`
4722
4723	// The reason why the custom language model couldn't be created.
4724	FailureReason *string `type:"string"`
4725
4726	// The data access role and Amazon S3 prefixes for the input files used to train
4727	// the custom language model.
4728	InputDataConfig *InputDataConfig `type:"structure"`
4729
4730	// The language code you used to create your custom language model.
4731	LanguageCode *string `type:"string" enum:"CLMLanguageCode"`
4732
4733	// The most recent time the custom language model was modified.
4734	LastModifiedTime *time.Time `type:"timestamp"`
4735
4736	// The name of the custom language model.
4737	ModelName *string `min:"1" type:"string"`
4738
4739	// The creation status of a custom language model. When the status is COMPLETED
4740	// the model is ready for use.
4741	ModelStatus *string `type:"string" enum:"ModelStatus"`
4742
4743	// Whether the base model used for the custom language model is up to date.
4744	// If this field is true then you are running the most up-to-date version of
4745	// the base model in your custom language model.
4746	UpgradeAvailability *bool `type:"boolean"`
4747}
4748
4749// String returns the string representation
4750func (s LanguageModel) String() string {
4751	return awsutil.Prettify(s)
4752}
4753
4754// GoString returns the string representation
4755func (s LanguageModel) GoString() string {
4756	return s.String()
4757}
4758
4759// SetBaseModelName sets the BaseModelName field's value.
4760func (s *LanguageModel) SetBaseModelName(v string) *LanguageModel {
4761	s.BaseModelName = &v
4762	return s
4763}
4764
4765// SetCreateTime sets the CreateTime field's value.
4766func (s *LanguageModel) SetCreateTime(v time.Time) *LanguageModel {
4767	s.CreateTime = &v
4768	return s
4769}
4770
4771// SetFailureReason sets the FailureReason field's value.
4772func (s *LanguageModel) SetFailureReason(v string) *LanguageModel {
4773	s.FailureReason = &v
4774	return s
4775}
4776
4777// SetInputDataConfig sets the InputDataConfig field's value.
4778func (s *LanguageModel) SetInputDataConfig(v *InputDataConfig) *LanguageModel {
4779	s.InputDataConfig = v
4780	return s
4781}
4782
4783// SetLanguageCode sets the LanguageCode field's value.
4784func (s *LanguageModel) SetLanguageCode(v string) *LanguageModel {
4785	s.LanguageCode = &v
4786	return s
4787}
4788
4789// SetLastModifiedTime sets the LastModifiedTime field's value.
4790func (s *LanguageModel) SetLastModifiedTime(v time.Time) *LanguageModel {
4791	s.LastModifiedTime = &v
4792	return s
4793}
4794
4795// SetModelName sets the ModelName field's value.
4796func (s *LanguageModel) SetModelName(v string) *LanguageModel {
4797	s.ModelName = &v
4798	return s
4799}
4800
4801// SetModelStatus sets the ModelStatus field's value.
4802func (s *LanguageModel) SetModelStatus(v string) *LanguageModel {
4803	s.ModelStatus = &v
4804	return s
4805}
4806
4807// SetUpgradeAvailability sets the UpgradeAvailability field's value.
4808func (s *LanguageModel) SetUpgradeAvailability(v bool) *LanguageModel {
4809	s.UpgradeAvailability = &v
4810	return s
4811}
4812
4813// Either you have sent too many requests or your input file is too long. Wait
4814// before you resend your request, or use a smaller file and resend the request.
4815type LimitExceededException struct {
4816	_            struct{}                  `type:"structure"`
4817	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
4818
4819	Message_ *string `locationName:"Message" type:"string"`
4820}
4821
4822// String returns the string representation
4823func (s LimitExceededException) String() string {
4824	return awsutil.Prettify(s)
4825}
4826
4827// GoString returns the string representation
4828func (s LimitExceededException) GoString() string {
4829	return s.String()
4830}
4831
4832func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
4833	return &LimitExceededException{
4834		RespMetadata: v,
4835	}
4836}
4837
4838// Code returns the exception type name.
4839func (s *LimitExceededException) Code() string {
4840	return "LimitExceededException"
4841}
4842
4843// Message returns the exception's message.
4844func (s *LimitExceededException) Message() string {
4845	if s.Message_ != nil {
4846		return *s.Message_
4847	}
4848	return ""
4849}
4850
4851// OrigErr always returns nil, satisfies awserr.Error interface.
4852func (s *LimitExceededException) OrigErr() error {
4853	return nil
4854}
4855
4856func (s *LimitExceededException) Error() string {
4857	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
4858}
4859
4860// Status code returns the HTTP status code for the request's response error.
4861func (s *LimitExceededException) StatusCode() int {
4862	return s.RespMetadata.StatusCode
4863}
4864
4865// RequestID returns the service's response RequestID for request.
4866func (s *LimitExceededException) RequestID() string {
4867	return s.RespMetadata.RequestID
4868}
4869
4870type ListLanguageModelsInput struct {
4871	_ struct{} `type:"structure"`
4872
4873	// The maximum number of language models to return in the response. If there
4874	// are fewer results in the list, the response contains only the actual results.
4875	MaxResults *int64 `min:"1" type:"integer"`
4876
4877	// When specified, the custom language model names returned contain the substring
4878	// you've specified.
4879	NameContains *string `min:"1" type:"string"`
4880
4881	// When included, fetches the next set of jobs if the result of the previous
4882	// request was truncated.
4883	NextToken *string `type:"string"`
4884
4885	// When specified, returns only custom language models with the specified status.
4886	// Language models are ordered by creation date, with the newest models first.
4887	// If you don't specify a status, Amazon Transcribe returns all custom language
4888	// models ordered by date.
4889	StatusEquals *string `type:"string" enum:"ModelStatus"`
4890}
4891
4892// String returns the string representation
4893func (s ListLanguageModelsInput) String() string {
4894	return awsutil.Prettify(s)
4895}
4896
4897// GoString returns the string representation
4898func (s ListLanguageModelsInput) GoString() string {
4899	return s.String()
4900}
4901
4902// Validate inspects the fields of the type to determine if they are valid.
4903func (s *ListLanguageModelsInput) Validate() error {
4904	invalidParams := request.ErrInvalidParams{Context: "ListLanguageModelsInput"}
4905	if s.MaxResults != nil && *s.MaxResults < 1 {
4906		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
4907	}
4908	if s.NameContains != nil && len(*s.NameContains) < 1 {
4909		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
4910	}
4911
4912	if invalidParams.Len() > 0 {
4913		return invalidParams
4914	}
4915	return nil
4916}
4917
4918// SetMaxResults sets the MaxResults field's value.
4919func (s *ListLanguageModelsInput) SetMaxResults(v int64) *ListLanguageModelsInput {
4920	s.MaxResults = &v
4921	return s
4922}
4923
4924// SetNameContains sets the NameContains field's value.
4925func (s *ListLanguageModelsInput) SetNameContains(v string) *ListLanguageModelsInput {
4926	s.NameContains = &v
4927	return s
4928}
4929
4930// SetNextToken sets the NextToken field's value.
4931func (s *ListLanguageModelsInput) SetNextToken(v string) *ListLanguageModelsInput {
4932	s.NextToken = &v
4933	return s
4934}
4935
4936// SetStatusEquals sets the StatusEquals field's value.
4937func (s *ListLanguageModelsInput) SetStatusEquals(v string) *ListLanguageModelsInput {
4938	s.StatusEquals = &v
4939	return s
4940}
4941
4942type ListLanguageModelsOutput struct {
4943	_ struct{} `type:"structure"`
4944
4945	// A list of objects containing information about custom language models.
4946	Models []*LanguageModel `type:"list"`
4947
4948	// The operation returns a page of jobs at a time. The maximum size of the list
4949	// is set by the MaxResults parameter. If there are more language models in
4950	// the list than the page size, Amazon Transcribe returns the NextPage token.
4951	// Include the token in the next request to the operation to return the next
4952	// page of language models.
4953	NextToken *string `type:"string"`
4954}
4955
4956// String returns the string representation
4957func (s ListLanguageModelsOutput) String() string {
4958	return awsutil.Prettify(s)
4959}
4960
4961// GoString returns the string representation
4962func (s ListLanguageModelsOutput) GoString() string {
4963	return s.String()
4964}
4965
4966// SetModels sets the Models field's value.
4967func (s *ListLanguageModelsOutput) SetModels(v []*LanguageModel) *ListLanguageModelsOutput {
4968	s.Models = v
4969	return s
4970}
4971
4972// SetNextToken sets the NextToken field's value.
4973func (s *ListLanguageModelsOutput) SetNextToken(v string) *ListLanguageModelsOutput {
4974	s.NextToken = &v
4975	return s
4976}
4977
4978type ListMedicalTranscriptionJobsInput struct {
4979	_ struct{} `type:"structure"`
4980
4981	// When specified, the jobs returned in the list are limited to jobs whose name
4982	// contains the specified string.
4983	JobNameContains *string `min:"1" type:"string"`
4984
4985	// The maximum number of medical transcription jobs to return in the response.
4986	// IF there are fewer results in the list, this response contains only the actual
4987	// results.
4988	MaxResults *int64 `min:"1" type:"integer"`
4989
4990	// If you a receive a truncated result in the previous request of ListMedicalTranscriptionJobs,
4991	// include NextToken to fetch the next set of jobs.
4992	NextToken *string `type:"string"`
4993
4994	// When specified, returns only medical transcription jobs with the specified
4995	// status. Jobs are ordered by creation date, with the newest jobs returned
4996	// first. If you don't specify a status, Amazon Transcribe Medical returns all
4997	// transcription jobs ordered by creation date.
4998	Status *string `type:"string" enum:"TranscriptionJobStatus"`
4999}
5000
5001// String returns the string representation
5002func (s ListMedicalTranscriptionJobsInput) String() string {
5003	return awsutil.Prettify(s)
5004}
5005
5006// GoString returns the string representation
5007func (s ListMedicalTranscriptionJobsInput) GoString() string {
5008	return s.String()
5009}
5010
5011// Validate inspects the fields of the type to determine if they are valid.
5012func (s *ListMedicalTranscriptionJobsInput) Validate() error {
5013	invalidParams := request.ErrInvalidParams{Context: "ListMedicalTranscriptionJobsInput"}
5014	if s.JobNameContains != nil && len(*s.JobNameContains) < 1 {
5015		invalidParams.Add(request.NewErrParamMinLen("JobNameContains", 1))
5016	}
5017	if s.MaxResults != nil && *s.MaxResults < 1 {
5018		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5019	}
5020
5021	if invalidParams.Len() > 0 {
5022		return invalidParams
5023	}
5024	return nil
5025}
5026
5027// SetJobNameContains sets the JobNameContains field's value.
5028func (s *ListMedicalTranscriptionJobsInput) SetJobNameContains(v string) *ListMedicalTranscriptionJobsInput {
5029	s.JobNameContains = &v
5030	return s
5031}
5032
5033// SetMaxResults sets the MaxResults field's value.
5034func (s *ListMedicalTranscriptionJobsInput) SetMaxResults(v int64) *ListMedicalTranscriptionJobsInput {
5035	s.MaxResults = &v
5036	return s
5037}
5038
5039// SetNextToken sets the NextToken field's value.
5040func (s *ListMedicalTranscriptionJobsInput) SetNextToken(v string) *ListMedicalTranscriptionJobsInput {
5041	s.NextToken = &v
5042	return s
5043}
5044
5045// SetStatus sets the Status field's value.
5046func (s *ListMedicalTranscriptionJobsInput) SetStatus(v string) *ListMedicalTranscriptionJobsInput {
5047	s.Status = &v
5048	return s
5049}
5050
5051type ListMedicalTranscriptionJobsOutput struct {
5052	_ struct{} `type:"structure"`
5053
5054	// A list of objects containing summary information for a transcription job.
5055	MedicalTranscriptionJobSummaries []*MedicalTranscriptionJobSummary `type:"list"`
5056
5057	// The ListMedicalTranscriptionJobs operation returns a page of jobs at a time.
5058	// The maximum size of the page is set by the MaxResults parameter. If the number
5059	// of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns
5060	// the NextPage token. Include the token in the next request to the ListMedicalTranscriptionJobs
5061	// operation to return in the next page of jobs.
5062	NextToken *string `type:"string"`
5063
5064	// The requested status of the medical transcription jobs returned.
5065	Status *string `type:"string" enum:"TranscriptionJobStatus"`
5066}
5067
5068// String returns the string representation
5069func (s ListMedicalTranscriptionJobsOutput) String() string {
5070	return awsutil.Prettify(s)
5071}
5072
5073// GoString returns the string representation
5074func (s ListMedicalTranscriptionJobsOutput) GoString() string {
5075	return s.String()
5076}
5077
5078// SetMedicalTranscriptionJobSummaries sets the MedicalTranscriptionJobSummaries field's value.
5079func (s *ListMedicalTranscriptionJobsOutput) SetMedicalTranscriptionJobSummaries(v []*MedicalTranscriptionJobSummary) *ListMedicalTranscriptionJobsOutput {
5080	s.MedicalTranscriptionJobSummaries = v
5081	return s
5082}
5083
5084// SetNextToken sets the NextToken field's value.
5085func (s *ListMedicalTranscriptionJobsOutput) SetNextToken(v string) *ListMedicalTranscriptionJobsOutput {
5086	s.NextToken = &v
5087	return s
5088}
5089
5090// SetStatus sets the Status field's value.
5091func (s *ListMedicalTranscriptionJobsOutput) SetStatus(v string) *ListMedicalTranscriptionJobsOutput {
5092	s.Status = &v
5093	return s
5094}
5095
5096type ListMedicalVocabulariesInput struct {
5097	_ struct{} `type:"structure"`
5098
5099	// The maximum number of vocabularies to return in the response.
5100	MaxResults *int64 `min:"1" type:"integer"`
5101
5102	// Returns vocabularies whose names contain the specified string. The search
5103	// is not case sensitive. ListMedicalVocabularies returns both "vocabularyname"
5104	// and "VocabularyName".
5105	NameContains *string `min:"1" type:"string"`
5106
5107	// If the result of your previous request to ListMedicalVocabularies was truncated,
5108	// include the NextToken to fetch the next set of vocabularies.
5109	NextToken *string `type:"string"`
5110
5111	// When specified, returns only vocabularies with the VocabularyState equal
5112	// to the specified vocabulary state. Use this field to see which vocabularies
5113	// are ready for your medical transcription jobs.
5114	StateEquals *string `type:"string" enum:"VocabularyState"`
5115}
5116
5117// String returns the string representation
5118func (s ListMedicalVocabulariesInput) String() string {
5119	return awsutil.Prettify(s)
5120}
5121
5122// GoString returns the string representation
5123func (s ListMedicalVocabulariesInput) GoString() string {
5124	return s.String()
5125}
5126
5127// Validate inspects the fields of the type to determine if they are valid.
5128func (s *ListMedicalVocabulariesInput) Validate() error {
5129	invalidParams := request.ErrInvalidParams{Context: "ListMedicalVocabulariesInput"}
5130	if s.MaxResults != nil && *s.MaxResults < 1 {
5131		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5132	}
5133	if s.NameContains != nil && len(*s.NameContains) < 1 {
5134		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
5135	}
5136
5137	if invalidParams.Len() > 0 {
5138		return invalidParams
5139	}
5140	return nil
5141}
5142
5143// SetMaxResults sets the MaxResults field's value.
5144func (s *ListMedicalVocabulariesInput) SetMaxResults(v int64) *ListMedicalVocabulariesInput {
5145	s.MaxResults = &v
5146	return s
5147}
5148
5149// SetNameContains sets the NameContains field's value.
5150func (s *ListMedicalVocabulariesInput) SetNameContains(v string) *ListMedicalVocabulariesInput {
5151	s.NameContains = &v
5152	return s
5153}
5154
5155// SetNextToken sets the NextToken field's value.
5156func (s *ListMedicalVocabulariesInput) SetNextToken(v string) *ListMedicalVocabulariesInput {
5157	s.NextToken = &v
5158	return s
5159}
5160
5161// SetStateEquals sets the StateEquals field's value.
5162func (s *ListMedicalVocabulariesInput) SetStateEquals(v string) *ListMedicalVocabulariesInput {
5163	s.StateEquals = &v
5164	return s
5165}
5166
5167type ListMedicalVocabulariesOutput struct {
5168	_ struct{} `type:"structure"`
5169
5170	// The ListMedicalVocabularies operation returns a page of vocabularies at a
5171	// time. You set the maximum number of vocabularies to return on a page with
5172	// the MaxResults parameter. If there are more jobs in the list will fit on
5173	// a page, Amazon Transcribe Medical returns the NextPage token. To return the
5174	// next page of vocabularies, include the token in the next request to the ListMedicalVocabularies
5175	// operation .
5176	NextToken *string `type:"string"`
5177
5178	// The requested vocabulary state.
5179	Status *string `type:"string" enum:"VocabularyState"`
5180
5181	// A list of objects that describe the vocabularies that match your search criteria.
5182	Vocabularies []*VocabularyInfo `type:"list"`
5183}
5184
5185// String returns the string representation
5186func (s ListMedicalVocabulariesOutput) String() string {
5187	return awsutil.Prettify(s)
5188}
5189
5190// GoString returns the string representation
5191func (s ListMedicalVocabulariesOutput) GoString() string {
5192	return s.String()
5193}
5194
5195// SetNextToken sets the NextToken field's value.
5196func (s *ListMedicalVocabulariesOutput) SetNextToken(v string) *ListMedicalVocabulariesOutput {
5197	s.NextToken = &v
5198	return s
5199}
5200
5201// SetStatus sets the Status field's value.
5202func (s *ListMedicalVocabulariesOutput) SetStatus(v string) *ListMedicalVocabulariesOutput {
5203	s.Status = &v
5204	return s
5205}
5206
5207// SetVocabularies sets the Vocabularies field's value.
5208func (s *ListMedicalVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListMedicalVocabulariesOutput {
5209	s.Vocabularies = v
5210	return s
5211}
5212
5213type ListTranscriptionJobsInput struct {
5214	_ struct{} `type:"structure"`
5215
5216	// When specified, the jobs returned in the list are limited to jobs whose name
5217	// contains the specified string.
5218	JobNameContains *string `min:"1" type:"string"`
5219
5220	// The maximum number of jobs to return in the response. If there are fewer
5221	// results in the list, this response contains only the actual results.
5222	MaxResults *int64 `min:"1" type:"integer"`
5223
5224	// If the result of the previous request to ListTranscriptionJobs was truncated,
5225	// include the NextToken to fetch the next set of jobs.
5226	NextToken *string `type:"string"`
5227
5228	// When specified, returns only transcription jobs with the specified status.
5229	// Jobs are ordered by creation date, with the newest jobs returned first. If
5230	// you don’t specify a status, Amazon Transcribe returns all transcription
5231	// jobs ordered by creation date.
5232	Status *string `type:"string" enum:"TranscriptionJobStatus"`
5233}
5234
5235// String returns the string representation
5236func (s ListTranscriptionJobsInput) String() string {
5237	return awsutil.Prettify(s)
5238}
5239
5240// GoString returns the string representation
5241func (s ListTranscriptionJobsInput) GoString() string {
5242	return s.String()
5243}
5244
5245// Validate inspects the fields of the type to determine if they are valid.
5246func (s *ListTranscriptionJobsInput) Validate() error {
5247	invalidParams := request.ErrInvalidParams{Context: "ListTranscriptionJobsInput"}
5248	if s.JobNameContains != nil && len(*s.JobNameContains) < 1 {
5249		invalidParams.Add(request.NewErrParamMinLen("JobNameContains", 1))
5250	}
5251	if s.MaxResults != nil && *s.MaxResults < 1 {
5252		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5253	}
5254
5255	if invalidParams.Len() > 0 {
5256		return invalidParams
5257	}
5258	return nil
5259}
5260
5261// SetJobNameContains sets the JobNameContains field's value.
5262func (s *ListTranscriptionJobsInput) SetJobNameContains(v string) *ListTranscriptionJobsInput {
5263	s.JobNameContains = &v
5264	return s
5265}
5266
5267// SetMaxResults sets the MaxResults field's value.
5268func (s *ListTranscriptionJobsInput) SetMaxResults(v int64) *ListTranscriptionJobsInput {
5269	s.MaxResults = &v
5270	return s
5271}
5272
5273// SetNextToken sets the NextToken field's value.
5274func (s *ListTranscriptionJobsInput) SetNextToken(v string) *ListTranscriptionJobsInput {
5275	s.NextToken = &v
5276	return s
5277}
5278
5279// SetStatus sets the Status field's value.
5280func (s *ListTranscriptionJobsInput) SetStatus(v string) *ListTranscriptionJobsInput {
5281	s.Status = &v
5282	return s
5283}
5284
5285type ListTranscriptionJobsOutput struct {
5286	_ struct{} `type:"structure"`
5287
5288	// The ListTranscriptionJobs operation returns a page of jobs at a time. The
5289	// maximum size of the page is set by the MaxResults parameter. If there are
5290	// more jobs in the list than the page size, Amazon Transcribe returns the NextPage
5291	// token. Include the token in the next request to the ListTranscriptionJobs
5292	// operation to return in the next page of jobs.
5293	NextToken *string `type:"string"`
5294
5295	// The requested status of the jobs returned.
5296	Status *string `type:"string" enum:"TranscriptionJobStatus"`
5297
5298	// A list of objects containing summary information for a transcription job.
5299	TranscriptionJobSummaries []*TranscriptionJobSummary `type:"list"`
5300}
5301
5302// String returns the string representation
5303func (s ListTranscriptionJobsOutput) String() string {
5304	return awsutil.Prettify(s)
5305}
5306
5307// GoString returns the string representation
5308func (s ListTranscriptionJobsOutput) GoString() string {
5309	return s.String()
5310}
5311
5312// SetNextToken sets the NextToken field's value.
5313func (s *ListTranscriptionJobsOutput) SetNextToken(v string) *ListTranscriptionJobsOutput {
5314	s.NextToken = &v
5315	return s
5316}
5317
5318// SetStatus sets the Status field's value.
5319func (s *ListTranscriptionJobsOutput) SetStatus(v string) *ListTranscriptionJobsOutput {
5320	s.Status = &v
5321	return s
5322}
5323
5324// SetTranscriptionJobSummaries sets the TranscriptionJobSummaries field's value.
5325func (s *ListTranscriptionJobsOutput) SetTranscriptionJobSummaries(v []*TranscriptionJobSummary) *ListTranscriptionJobsOutput {
5326	s.TranscriptionJobSummaries = v
5327	return s
5328}
5329
5330type ListVocabulariesInput struct {
5331	_ struct{} `type:"structure"`
5332
5333	// The maximum number of vocabularies to return in the response. If there are
5334	// fewer results in the list, this response contains only the actual results.
5335	MaxResults *int64 `min:"1" type:"integer"`
5336
5337	// When specified, the vocabularies returned in the list are limited to vocabularies
5338	// whose name contains the specified string. The search is not case sensitive,
5339	// ListVocabularies returns both "vocabularyname" and "VocabularyName" in the
5340	// response list.
5341	NameContains *string `min:"1" type:"string"`
5342
5343	// If the result of the previous request to ListVocabularies was truncated,
5344	// include the NextToken to fetch the next set of jobs.
5345	NextToken *string `type:"string"`
5346
5347	// When specified, only returns vocabularies with the VocabularyState field
5348	// equal to the specified state.
5349	StateEquals *string `type:"string" enum:"VocabularyState"`
5350}
5351
5352// String returns the string representation
5353func (s ListVocabulariesInput) String() string {
5354	return awsutil.Prettify(s)
5355}
5356
5357// GoString returns the string representation
5358func (s ListVocabulariesInput) GoString() string {
5359	return s.String()
5360}
5361
5362// Validate inspects the fields of the type to determine if they are valid.
5363func (s *ListVocabulariesInput) Validate() error {
5364	invalidParams := request.ErrInvalidParams{Context: "ListVocabulariesInput"}
5365	if s.MaxResults != nil && *s.MaxResults < 1 {
5366		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5367	}
5368	if s.NameContains != nil && len(*s.NameContains) < 1 {
5369		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
5370	}
5371
5372	if invalidParams.Len() > 0 {
5373		return invalidParams
5374	}
5375	return nil
5376}
5377
5378// SetMaxResults sets the MaxResults field's value.
5379func (s *ListVocabulariesInput) SetMaxResults(v int64) *ListVocabulariesInput {
5380	s.MaxResults = &v
5381	return s
5382}
5383
5384// SetNameContains sets the NameContains field's value.
5385func (s *ListVocabulariesInput) SetNameContains(v string) *ListVocabulariesInput {
5386	s.NameContains = &v
5387	return s
5388}
5389
5390// SetNextToken sets the NextToken field's value.
5391func (s *ListVocabulariesInput) SetNextToken(v string) *ListVocabulariesInput {
5392	s.NextToken = &v
5393	return s
5394}
5395
5396// SetStateEquals sets the StateEquals field's value.
5397func (s *ListVocabulariesInput) SetStateEquals(v string) *ListVocabulariesInput {
5398	s.StateEquals = &v
5399	return s
5400}
5401
5402type ListVocabulariesOutput struct {
5403	_ struct{} `type:"structure"`
5404
5405	// The ListVocabularies operation returns a page of vocabularies at a time.
5406	// The maximum size of the page is set in the MaxResults parameter. If there
5407	// are more jobs in the list than will fit on the page, Amazon Transcribe returns
5408	// the NextPage token. To return in the next page of jobs, include the token
5409	// in the next request to the ListVocabularies operation.
5410	NextToken *string `type:"string"`
5411
5412	// The requested vocabulary state.
5413	Status *string `type:"string" enum:"VocabularyState"`
5414
5415	// A list of objects that describe the vocabularies that match the search criteria
5416	// in the request.
5417	Vocabularies []*VocabularyInfo `type:"list"`
5418}
5419
5420// String returns the string representation
5421func (s ListVocabulariesOutput) String() string {
5422	return awsutil.Prettify(s)
5423}
5424
5425// GoString returns the string representation
5426func (s ListVocabulariesOutput) GoString() string {
5427	return s.String()
5428}
5429
5430// SetNextToken sets the NextToken field's value.
5431func (s *ListVocabulariesOutput) SetNextToken(v string) *ListVocabulariesOutput {
5432	s.NextToken = &v
5433	return s
5434}
5435
5436// SetStatus sets the Status field's value.
5437func (s *ListVocabulariesOutput) SetStatus(v string) *ListVocabulariesOutput {
5438	s.Status = &v
5439	return s
5440}
5441
5442// SetVocabularies sets the Vocabularies field's value.
5443func (s *ListVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListVocabulariesOutput {
5444	s.Vocabularies = v
5445	return s
5446}
5447
5448type ListVocabularyFiltersInput struct {
5449	_ struct{} `type:"structure"`
5450
5451	// The maximum number of filters to return in the response. If there are fewer
5452	// results in the list, this response contains only the actual results.
5453	MaxResults *int64 `min:"1" type:"integer"`
5454
5455	// Filters the response so that it only contains vocabulary filters whose name
5456	// contains the specified string.
5457	NameContains *string `min:"1" type:"string"`
5458
5459	// If the result of the previous request to ListVocabularyFilters was truncated,
5460	// include the NextToken to fetch the next set of collections.
5461	NextToken *string `type:"string"`
5462}
5463
5464// String returns the string representation
5465func (s ListVocabularyFiltersInput) String() string {
5466	return awsutil.Prettify(s)
5467}
5468
5469// GoString returns the string representation
5470func (s ListVocabularyFiltersInput) GoString() string {
5471	return s.String()
5472}
5473
5474// Validate inspects the fields of the type to determine if they are valid.
5475func (s *ListVocabularyFiltersInput) Validate() error {
5476	invalidParams := request.ErrInvalidParams{Context: "ListVocabularyFiltersInput"}
5477	if s.MaxResults != nil && *s.MaxResults < 1 {
5478		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5479	}
5480	if s.NameContains != nil && len(*s.NameContains) < 1 {
5481		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
5482	}
5483
5484	if invalidParams.Len() > 0 {
5485		return invalidParams
5486	}
5487	return nil
5488}
5489
5490// SetMaxResults sets the MaxResults field's value.
5491func (s *ListVocabularyFiltersInput) SetMaxResults(v int64) *ListVocabularyFiltersInput {
5492	s.MaxResults = &v
5493	return s
5494}
5495
5496// SetNameContains sets the NameContains field's value.
5497func (s *ListVocabularyFiltersInput) SetNameContains(v string) *ListVocabularyFiltersInput {
5498	s.NameContains = &v
5499	return s
5500}
5501
5502// SetNextToken sets the NextToken field's value.
5503func (s *ListVocabularyFiltersInput) SetNextToken(v string) *ListVocabularyFiltersInput {
5504	s.NextToken = &v
5505	return s
5506}
5507
5508type ListVocabularyFiltersOutput struct {
5509	_ struct{} `type:"structure"`
5510
5511	// The ListVocabularyFilters operation returns a page of collections at a time.
5512	// The maximum size of the page is set by the MaxResults parameter. If there
5513	// are more jobs in the list than the page size, Amazon Transcribe returns the
5514	// NextPage token. Include the token in the next request to the ListVocabularyFilters
5515	// operation to return in the next page of jobs.
5516	NextToken *string `type:"string"`
5517
5518	// The list of vocabulary filters. It contains at most MaxResults number of
5519	// filters. If there are more filters, call the ListVocabularyFilters operation
5520	// again with the NextToken parameter in the request set to the value of the
5521	// NextToken field in the response.
5522	VocabularyFilters []*VocabularyFilterInfo `type:"list"`
5523}
5524
5525// String returns the string representation
5526func (s ListVocabularyFiltersOutput) String() string {
5527	return awsutil.Prettify(s)
5528}
5529
5530// GoString returns the string representation
5531func (s ListVocabularyFiltersOutput) GoString() string {
5532	return s.String()
5533}
5534
5535// SetNextToken sets the NextToken field's value.
5536func (s *ListVocabularyFiltersOutput) SetNextToken(v string) *ListVocabularyFiltersOutput {
5537	s.NextToken = &v
5538	return s
5539}
5540
5541// SetVocabularyFilters sets the VocabularyFilters field's value.
5542func (s *ListVocabularyFiltersOutput) SetVocabularyFilters(v []*VocabularyFilterInfo) *ListVocabularyFiltersOutput {
5543	s.VocabularyFilters = v
5544	return s
5545}
5546
5547// Describes the input media file in a transcription request.
5548type Media struct {
5549	_ struct{} `type:"structure"`
5550
5551	// The S3 object location of the input media file. The URI must be in the same
5552	// region as the API endpoint that you are calling. The general form is:
5553	//
5554	// For example:
5555	//
5556	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
5557	// in the Amazon S3 Developer Guide.
5558	MediaFileUri *string `min:"1" type:"string"`
5559}
5560
5561// String returns the string representation
5562func (s Media) String() string {
5563	return awsutil.Prettify(s)
5564}
5565
5566// GoString returns the string representation
5567func (s Media) GoString() string {
5568	return s.String()
5569}
5570
5571// Validate inspects the fields of the type to determine if they are valid.
5572func (s *Media) Validate() error {
5573	invalidParams := request.ErrInvalidParams{Context: "Media"}
5574	if s.MediaFileUri != nil && len(*s.MediaFileUri) < 1 {
5575		invalidParams.Add(request.NewErrParamMinLen("MediaFileUri", 1))
5576	}
5577
5578	if invalidParams.Len() > 0 {
5579		return invalidParams
5580	}
5581	return nil
5582}
5583
5584// SetMediaFileUri sets the MediaFileUri field's value.
5585func (s *Media) SetMediaFileUri(v string) *Media {
5586	s.MediaFileUri = &v
5587	return s
5588}
5589
5590// Identifies the location of a medical transcript.
5591type MedicalTranscript struct {
5592	_ struct{} `type:"structure"`
5593
5594	// The S3 object location of the medical transcript.
5595	//
5596	// Use this URI to access the medical transcript. This URI points to the S3
5597	// bucket you created to store the medical transcript.
5598	TranscriptFileUri *string `min:"1" type:"string"`
5599}
5600
5601// String returns the string representation
5602func (s MedicalTranscript) String() string {
5603	return awsutil.Prettify(s)
5604}
5605
5606// GoString returns the string representation
5607func (s MedicalTranscript) GoString() string {
5608	return s.String()
5609}
5610
5611// SetTranscriptFileUri sets the TranscriptFileUri field's value.
5612func (s *MedicalTranscript) SetTranscriptFileUri(v string) *MedicalTranscript {
5613	s.TranscriptFileUri = &v
5614	return s
5615}
5616
5617// The data structure that contains the information for a medical transcription
5618// job.
5619type MedicalTranscriptionJob struct {
5620	_ struct{} `type:"structure"`
5621
5622	// A timestamp that shows when the job was completed.
5623	CompletionTime *time.Time `type:"timestamp"`
5624
5625	// Shows the type of content that you've configured Amazon Transcribe Medical
5626	// to identify in a transcription job. If the value is PHI, you've configured
5627	// the job to identify personal health information (PHI) in the transcription
5628	// output.
5629	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`
5630
5631	// A timestamp that shows when the job was created.
5632	CreationTime *time.Time `type:"timestamp"`
5633
5634	// If the TranscriptionJobStatus field is FAILED, this field contains information
5635	// about why the job failed.
5636	//
5637	// The FailureReason field contains one of the following values:
5638	//
5639	//    * Unsupported media format- The media format specified in the MediaFormat
5640	//    field of the request isn't valid. See the description of the MediaFormat
5641	//    field for a list of valid values.
5642	//
5643	//    * The media format provided does not match the detected media format-
5644	//    The media format of the audio file doesn't match the format specified
5645	//    in the MediaFormat field in the request. Check the media format of your
5646	//    media file and make sure the two values match.
5647	//
5648	//    * Invalid sample rate for audio file- The sample rate specified in the
5649	//    MediaSampleRateHertz of the request isn't valid. The sample rate must
5650	//    be between 8000 and 48000 Hertz.
5651	//
5652	//    * The sample rate provided does not match the detected sample rate- The
5653	//    sample rate in the audio file doesn't match the sample rate specified
5654	//    in the MediaSampleRateHertz field in the request. Check the sample rate
5655	//    of your media file and make sure that the two values match.
5656	//
5657	//    * Invalid file size: file size too large- The size of your audio file
5658	//    is larger than what Amazon Transcribe Medical can process. For more information,
5659	//    see Guidelines and Quotas (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits)
5660	//    in the Amazon Transcribe Medical Guide
5661	//
5662	//    * Invalid number of channels: number of channels too large- Your audio
5663	//    contains more channels than Amazon Transcribe Medical is configured to
5664	//    process. To request additional channels, see Amazon Transcribe Medical
5665	//    Endpoints and Quotas (https://docs.aws.amazon.com/general/latest/gr/transcribe-medical.html)
5666	//    in the Amazon Web Services General Reference
5667	FailureReason *string `type:"string"`
5668
5669	// The language code for the language spoken in the source audio file. US English
5670	// (en-US) is the only supported language for medical transcriptions. Any other
5671	// value you enter for language code results in a BadRequestException error.
5672	LanguageCode *string `type:"string" enum:"LanguageCode"`
5673
5674	// Describes the input media file in a transcription request.
5675	Media *Media `type:"structure"`
5676
5677	// The format of the input media file.
5678	MediaFormat *string `type:"string" enum:"MediaFormat"`
5679
5680	// The sample rate, in Hertz, of the source audio containing medical information.
5681	//
5682	// If you don't specify the sample rate, Amazon Transcribe Medical determines
5683	// it for you. If you choose to specify the sample rate, it must match the rate
5684	// detected by Amazon Transcribe Medical. In most cases, you should leave the
5685	// MediaSampleHertz blank and let Amazon Transcribe Medical determine the sample
5686	// rate.
5687	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`
5688
5689	// The name for a given medical transcription job.
5690	MedicalTranscriptionJobName *string `min:"1" type:"string"`
5691
5692	// Object that contains object.
5693	Settings *MedicalTranscriptionSetting `type:"structure"`
5694
5695	// The medical specialty of any clinicians providing a dictation or having a
5696	// conversation. PRIMARYCARE is the only available setting for this object.
5697	// This specialty enables you to generate transcriptions for the following medical
5698	// fields:
5699	//
5700	//    * Family Medicine
5701	Specialty *string `type:"string" enum:"Specialty"`
5702
5703	// A timestamp that shows when the job started processing.
5704	StartTime *time.Time `type:"timestamp"`
5705
5706	// An object that contains the MedicalTranscript. The MedicalTranscript contains
5707	// the TranscriptFileUri.
5708	Transcript *MedicalTranscript `type:"structure"`
5709
5710	// The completion status of a medical transcription job.
5711	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
5712
5713	// The type of speech in the transcription job. CONVERSATION is generally used
5714	// for patient-physician dialogues. DICTATION is the setting for physicians
5715	// speaking their notes after seeing a patient. For more information, see how-it-works-med
5716	Type *string `type:"string" enum:"Type"`
5717}
5718
5719// String returns the string representation
5720func (s MedicalTranscriptionJob) String() string {
5721	return awsutil.Prettify(s)
5722}
5723
5724// GoString returns the string representation
5725func (s MedicalTranscriptionJob) GoString() string {
5726	return s.String()
5727}
5728
5729// SetCompletionTime sets the CompletionTime field's value.
5730func (s *MedicalTranscriptionJob) SetCompletionTime(v time.Time) *MedicalTranscriptionJob {
5731	s.CompletionTime = &v
5732	return s
5733}
5734
5735// SetContentIdentificationType sets the ContentIdentificationType field's value.
5736func (s *MedicalTranscriptionJob) SetContentIdentificationType(v string) *MedicalTranscriptionJob {
5737	s.ContentIdentificationType = &v
5738	return s
5739}
5740
5741// SetCreationTime sets the CreationTime field's value.
5742func (s *MedicalTranscriptionJob) SetCreationTime(v time.Time) *MedicalTranscriptionJob {
5743	s.CreationTime = &v
5744	return s
5745}
5746
5747// SetFailureReason sets the FailureReason field's value.
5748func (s *MedicalTranscriptionJob) SetFailureReason(v string) *MedicalTranscriptionJob {
5749	s.FailureReason = &v
5750	return s
5751}
5752
5753// SetLanguageCode sets the LanguageCode field's value.
5754func (s *MedicalTranscriptionJob) SetLanguageCode(v string) *MedicalTranscriptionJob {
5755	s.LanguageCode = &v
5756	return s
5757}
5758
5759// SetMedia sets the Media field's value.
5760func (s *MedicalTranscriptionJob) SetMedia(v *Media) *MedicalTranscriptionJob {
5761	s.Media = v
5762	return s
5763}
5764
5765// SetMediaFormat sets the MediaFormat field's value.
5766func (s *MedicalTranscriptionJob) SetMediaFormat(v string) *MedicalTranscriptionJob {
5767	s.MediaFormat = &v
5768	return s
5769}
5770
5771// SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
5772func (s *MedicalTranscriptionJob) SetMediaSampleRateHertz(v int64) *MedicalTranscriptionJob {
5773	s.MediaSampleRateHertz = &v
5774	return s
5775}
5776
5777// SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
5778func (s *MedicalTranscriptionJob) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJob {
5779	s.MedicalTranscriptionJobName = &v
5780	return s
5781}
5782
5783// SetSettings sets the Settings field's value.
5784func (s *MedicalTranscriptionJob) SetSettings(v *MedicalTranscriptionSetting) *MedicalTranscriptionJob {
5785	s.Settings = v
5786	return s
5787}
5788
5789// SetSpecialty sets the Specialty field's value.
5790func (s *MedicalTranscriptionJob) SetSpecialty(v string) *MedicalTranscriptionJob {
5791	s.Specialty = &v
5792	return s
5793}
5794
5795// SetStartTime sets the StartTime field's value.
5796func (s *MedicalTranscriptionJob) SetStartTime(v time.Time) *MedicalTranscriptionJob {
5797	s.StartTime = &v
5798	return s
5799}
5800
5801// SetTranscript sets the Transcript field's value.
5802func (s *MedicalTranscriptionJob) SetTranscript(v *MedicalTranscript) *MedicalTranscriptionJob {
5803	s.Transcript = v
5804	return s
5805}
5806
5807// SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
5808func (s *MedicalTranscriptionJob) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJob {
5809	s.TranscriptionJobStatus = &v
5810	return s
5811}
5812
5813// SetType sets the Type field's value.
5814func (s *MedicalTranscriptionJob) SetType(v string) *MedicalTranscriptionJob {
5815	s.Type = &v
5816	return s
5817}
5818
5819// Provides summary information about a transcription job.
5820type MedicalTranscriptionJobSummary struct {
5821	_ struct{} `type:"structure"`
5822
5823	// A timestamp that shows when the job was completed.
5824	CompletionTime *time.Time `type:"timestamp"`
5825
5826	// Shows the type of information you've configured Amazon Transcribe Medical
5827	// to identify in a transcription job. If the value is PHI, you've configured
5828	// the transcription job to identify personal health information (PHI).
5829	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`
5830
5831	// A timestamp that shows when the medical transcription job was created.
5832	CreationTime *time.Time `type:"timestamp"`
5833
5834	// If the TranscriptionJobStatus field is FAILED, a description of the error.
5835	FailureReason *string `type:"string"`
5836
5837	// The language of the transcript in the source audio file.
5838	LanguageCode *string `type:"string" enum:"LanguageCode"`
5839
5840	// The name of a medical transcription job.
5841	MedicalTranscriptionJobName *string `min:"1" type:"string"`
5842
5843	// Indicates the location of the transcription job's output.
5844	//
5845	// The CUSTOMER_BUCKET is the S3 location provided in the OutputBucketName field
5846	// when the
5847	OutputLocationType *string `type:"string" enum:"OutputLocationType"`
5848
5849	// The medical specialty of the transcription job. Primary care is the only
5850	// valid value.
5851	Specialty *string `type:"string" enum:"Specialty"`
5852
5853	// A timestamp that shows when the job began processing.
5854	StartTime *time.Time `type:"timestamp"`
5855
5856	// The status of the medical transcription job.
5857	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
5858
5859	// The speech of the clinician in the input audio.
5860	Type *string `type:"string" enum:"Type"`
5861}
5862
5863// String returns the string representation
5864func (s MedicalTranscriptionJobSummary) String() string {
5865	return awsutil.Prettify(s)
5866}
5867
5868// GoString returns the string representation
5869func (s MedicalTranscriptionJobSummary) GoString() string {
5870	return s.String()
5871}
5872
5873// SetCompletionTime sets the CompletionTime field's value.
5874func (s *MedicalTranscriptionJobSummary) SetCompletionTime(v time.Time) *MedicalTranscriptionJobSummary {
5875	s.CompletionTime = &v
5876	return s
5877}
5878
5879// SetContentIdentificationType sets the ContentIdentificationType field's value.
5880func (s *MedicalTranscriptionJobSummary) SetContentIdentificationType(v string) *MedicalTranscriptionJobSummary {
5881	s.ContentIdentificationType = &v
5882	return s
5883}
5884
5885// SetCreationTime sets the CreationTime field's value.
5886func (s *MedicalTranscriptionJobSummary) SetCreationTime(v time.Time) *MedicalTranscriptionJobSummary {
5887	s.CreationTime = &v
5888	return s
5889}
5890
5891// SetFailureReason sets the FailureReason field's value.
5892func (s *MedicalTranscriptionJobSummary) SetFailureReason(v string) *MedicalTranscriptionJobSummary {
5893	s.FailureReason = &v
5894	return s
5895}
5896
5897// SetLanguageCode sets the LanguageCode field's value.
5898func (s *MedicalTranscriptionJobSummary) SetLanguageCode(v string) *MedicalTranscriptionJobSummary {
5899	s.LanguageCode = &v
5900	return s
5901}
5902
5903// SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
5904func (s *MedicalTranscriptionJobSummary) SetMedicalTranscriptionJobName(v string) *MedicalTranscriptionJobSummary {
5905	s.MedicalTranscriptionJobName = &v
5906	return s
5907}
5908
5909// SetOutputLocationType sets the OutputLocationType field's value.
5910func (s *MedicalTranscriptionJobSummary) SetOutputLocationType(v string) *MedicalTranscriptionJobSummary {
5911	s.OutputLocationType = &v
5912	return s
5913}
5914
5915// SetSpecialty sets the Specialty field's value.
5916func (s *MedicalTranscriptionJobSummary) SetSpecialty(v string) *MedicalTranscriptionJobSummary {
5917	s.Specialty = &v
5918	return s
5919}
5920
5921// SetStartTime sets the StartTime field's value.
5922func (s *MedicalTranscriptionJobSummary) SetStartTime(v time.Time) *MedicalTranscriptionJobSummary {
5923	s.StartTime = &v
5924	return s
5925}
5926
5927// SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
5928func (s *MedicalTranscriptionJobSummary) SetTranscriptionJobStatus(v string) *MedicalTranscriptionJobSummary {
5929	s.TranscriptionJobStatus = &v
5930	return s
5931}
5932
5933// SetType sets the Type field's value.
5934func (s *MedicalTranscriptionJobSummary) SetType(v string) *MedicalTranscriptionJobSummary {
5935	s.Type = &v
5936	return s
5937}
5938
5939// Optional settings for the StartMedicalTranscriptionJob operation.
5940type MedicalTranscriptionSetting struct {
5941	_ struct{} `type:"structure"`
5942
5943	// Instructs Amazon Transcribe Medical to process each audio channel separately
5944	// and then merge the transcription output of each channel into a single transcription.
5945	//
5946	// Amazon Transcribe Medical also produces a transcription of each item detected
5947	// on an audio channel, including the start time and end time of the item and
5948	// alternative transcriptions of item. The alternative transcriptions also come
5949	// with confidence scores provided by Amazon Transcribe Medical.
5950	//
5951	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
5952	// request. If you set both, your request returns a BadRequestException
5953	ChannelIdentification *bool `type:"boolean"`
5954
5955	// The maximum number of alternatives that you tell the service to return. If
5956	// you specify the MaxAlternatives field, you must set the ShowAlternatives
5957	// field to true.
5958	MaxAlternatives *int64 `min:"2" type:"integer"`
5959
5960	// The maximum number of speakers to identify in the input audio. If there are
5961	// more speakers in the audio than this number, multiple speakers are identified
5962	// as a single speaker. If you specify the MaxSpeakerLabels field, you must
5963	// set the ShowSpeakerLabels field to true.
5964	MaxSpeakerLabels *int64 `min:"2" type:"integer"`
5965
5966	// Determines whether alternative transcripts are generated along with the transcript
5967	// that has the highest confidence. If you set ShowAlternatives field to true,
5968	// you must also set the maximum number of alternatives to return in the MaxAlternatives
5969	// field.
5970	ShowAlternatives *bool `type:"boolean"`
5971
5972	// Determines whether the transcription job uses speaker recognition to identify
5973	// different speakers in the input audio. Speaker recognition labels individual
5974	// speakers in the audio file. If you set the ShowSpeakerLabels field to true,
5975	// you must also set the maximum number of speaker labels in the MaxSpeakerLabels
5976	// field.
5977	//
5978	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
5979	// request. If you set both, your request returns a BadRequestException.
5980	ShowSpeakerLabels *bool `type:"boolean"`
5981
5982	// The name of the vocabulary to use when processing a medical transcription
5983	// job.
5984	VocabularyName *string `min:"1" type:"string"`
5985}
5986
5987// String returns the string representation
5988func (s MedicalTranscriptionSetting) String() string {
5989	return awsutil.Prettify(s)
5990}
5991
5992// GoString returns the string representation
5993func (s MedicalTranscriptionSetting) GoString() string {
5994	return s.String()
5995}
5996
5997// Validate inspects the fields of the type to determine if they are valid.
5998func (s *MedicalTranscriptionSetting) Validate() error {
5999	invalidParams := request.ErrInvalidParams{Context: "MedicalTranscriptionSetting"}
6000	if s.MaxAlternatives != nil && *s.MaxAlternatives < 2 {
6001		invalidParams.Add(request.NewErrParamMinValue("MaxAlternatives", 2))
6002	}
6003	if s.MaxSpeakerLabels != nil && *s.MaxSpeakerLabels < 2 {
6004		invalidParams.Add(request.NewErrParamMinValue("MaxSpeakerLabels", 2))
6005	}
6006	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
6007		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
6008	}
6009
6010	if invalidParams.Len() > 0 {
6011		return invalidParams
6012	}
6013	return nil
6014}
6015
6016// SetChannelIdentification sets the ChannelIdentification field's value.
6017func (s *MedicalTranscriptionSetting) SetChannelIdentification(v bool) *MedicalTranscriptionSetting {
6018	s.ChannelIdentification = &v
6019	return s
6020}
6021
6022// SetMaxAlternatives sets the MaxAlternatives field's value.
6023func (s *MedicalTranscriptionSetting) SetMaxAlternatives(v int64) *MedicalTranscriptionSetting {
6024	s.MaxAlternatives = &v
6025	return s
6026}
6027
6028// SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.
6029func (s *MedicalTranscriptionSetting) SetMaxSpeakerLabels(v int64) *MedicalTranscriptionSetting {
6030	s.MaxSpeakerLabels = &v
6031	return s
6032}
6033
6034// SetShowAlternatives sets the ShowAlternatives field's value.
6035func (s *MedicalTranscriptionSetting) SetShowAlternatives(v bool) *MedicalTranscriptionSetting {
6036	s.ShowAlternatives = &v
6037	return s
6038}
6039
6040// SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.
6041func (s *MedicalTranscriptionSetting) SetShowSpeakerLabels(v bool) *MedicalTranscriptionSetting {
6042	s.ShowSpeakerLabels = &v
6043	return s
6044}
6045
6046// SetVocabularyName sets the VocabularyName field's value.
6047func (s *MedicalTranscriptionSetting) SetVocabularyName(v string) *MedicalTranscriptionSetting {
6048	s.VocabularyName = &v
6049	return s
6050}
6051
6052// The object used to call your custom language model to your transcription
6053// job.
6054type ModelSettings struct {
6055	_ struct{} `type:"structure"`
6056
6057	// The name of your custom language model.
6058	LanguageModelName *string `min:"1" type:"string"`
6059}
6060
6061// String returns the string representation
6062func (s ModelSettings) String() string {
6063	return awsutil.Prettify(s)
6064}
6065
6066// GoString returns the string representation
6067func (s ModelSettings) GoString() string {
6068	return s.String()
6069}
6070
6071// Validate inspects the fields of the type to determine if they are valid.
6072func (s *ModelSettings) Validate() error {
6073	invalidParams := request.ErrInvalidParams{Context: "ModelSettings"}
6074	if s.LanguageModelName != nil && len(*s.LanguageModelName) < 1 {
6075		invalidParams.Add(request.NewErrParamMinLen("LanguageModelName", 1))
6076	}
6077
6078	if invalidParams.Len() > 0 {
6079		return invalidParams
6080	}
6081	return nil
6082}
6083
6084// SetLanguageModelName sets the LanguageModelName field's value.
6085func (s *ModelSettings) SetLanguageModelName(v string) *ModelSettings {
6086	s.LanguageModelName = &v
6087	return s
6088}
6089
6090// We can't find the requested resource. Check the name and try your request
6091// again.
6092type NotFoundException struct {
6093	_            struct{}                  `type:"structure"`
6094	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
6095
6096	Message_ *string `locationName:"Message" type:"string"`
6097}
6098
6099// String returns the string representation
6100func (s NotFoundException) String() string {
6101	return awsutil.Prettify(s)
6102}
6103
6104// GoString returns the string representation
6105func (s NotFoundException) GoString() string {
6106	return s.String()
6107}
6108
6109func newErrorNotFoundException(v protocol.ResponseMetadata) error {
6110	return &NotFoundException{
6111		RespMetadata: v,
6112	}
6113}
6114
6115// Code returns the exception type name.
6116func (s *NotFoundException) Code() string {
6117	return "NotFoundException"
6118}
6119
6120// Message returns the exception's message.
6121func (s *NotFoundException) Message() string {
6122	if s.Message_ != nil {
6123		return *s.Message_
6124	}
6125	return ""
6126}
6127
6128// OrigErr always returns nil, satisfies awserr.Error interface.
6129func (s *NotFoundException) OrigErr() error {
6130	return nil
6131}
6132
6133func (s *NotFoundException) Error() string {
6134	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
6135}
6136
6137// Status code returns the HTTP status code for the request's response error.
6138func (s *NotFoundException) StatusCode() int {
6139	return s.RespMetadata.StatusCode
6140}
6141
6142// RequestID returns the service's response RequestID for request.
6143func (s *NotFoundException) RequestID() string {
6144	return s.RespMetadata.RequestID
6145}
6146
6147// Provides optional settings for the StartTranscriptionJob operation.
6148type Settings struct {
6149	_ struct{} `type:"structure"`
6150
6151	// Instructs Amazon Transcribe to process each audio channel separately and
6152	// then merge the transcription output of each channel into a single transcription.
6153	//
6154	// Amazon Transcribe also produces a transcription of each item detected on
6155	// an audio channel, including the start time and end time of the item and alternative
6156	// transcriptions of the item including the confidence that Amazon Transcribe
6157	// has in the transcription.
6158	//
6159	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
6160	// request. If you set both, your request returns a BadRequestException.
6161	ChannelIdentification *bool `type:"boolean"`
6162
6163	// The number of alternative transcriptions that the service should return.
6164	// If you specify the MaxAlternatives field, you must set the ShowAlternatives
6165	// field to true.
6166	MaxAlternatives *int64 `min:"2" type:"integer"`
6167
6168	// The maximum number of speakers to identify in the input audio. If there are
6169	// more speakers in the audio than this number, multiple speakers are identified
6170	// as a single speaker. If you specify the MaxSpeakerLabels field, you must
6171	// set the ShowSpeakerLabels field to true.
6172	MaxSpeakerLabels *int64 `min:"2" type:"integer"`
6173
6174	// Determines whether the transcription contains alternative transcriptions.
6175	// If you set the ShowAlternatives field to true, you must also set the maximum
6176	// number of alternatives to return in the MaxAlternatives field.
6177	ShowAlternatives *bool `type:"boolean"`
6178
6179	// Determines whether the transcription job uses speaker recognition to identify
6180	// different speakers in the input audio. Speaker recognition labels individual
6181	// speakers in the audio file. If you set the ShowSpeakerLabels field to true,
6182	// you must also set the maximum number of speaker labels MaxSpeakerLabels field.
6183	//
6184	// You can't set both ShowSpeakerLabels and ChannelIdentification in the same
6185	// request. If you set both, your request returns a BadRequestException.
6186	ShowSpeakerLabels *bool `type:"boolean"`
6187
6188	// Set to mask to remove filtered text from the transcript and replace it with
6189	// three asterisks ("***") as placeholder text. Set to remove to remove filtered
6190	// text from the transcript without using placeholder text. Set to tag to mark
6191	// the word in the transcription output that matches the vocabulary filter.
6192	// When you set the filter method to tag, the words matching your vocabulary
6193	// filter are not masked or removed.
6194	VocabularyFilterMethod *string `type:"string" enum:"VocabularyFilterMethod"`
6195
6196	// The name of the vocabulary filter to use when transcribing the audio. The
6197	// filter that you specify must have the same language code as the transcription
6198	// job.
6199	VocabularyFilterName *string `min:"1" type:"string"`
6200
6201	// The name of a vocabulary to use when processing the transcription job.
6202	VocabularyName *string `min:"1" type:"string"`
6203}
6204
6205// String returns the string representation
6206func (s Settings) String() string {
6207	return awsutil.Prettify(s)
6208}
6209
6210// GoString returns the string representation
6211func (s Settings) GoString() string {
6212	return s.String()
6213}
6214
6215// Validate inspects the fields of the type to determine if they are valid.
6216func (s *Settings) Validate() error {
6217	invalidParams := request.ErrInvalidParams{Context: "Settings"}
6218	if s.MaxAlternatives != nil && *s.MaxAlternatives < 2 {
6219		invalidParams.Add(request.NewErrParamMinValue("MaxAlternatives", 2))
6220	}
6221	if s.MaxSpeakerLabels != nil && *s.MaxSpeakerLabels < 2 {
6222		invalidParams.Add(request.NewErrParamMinValue("MaxSpeakerLabels", 2))
6223	}
6224	if s.VocabularyFilterName != nil && len(*s.VocabularyFilterName) < 1 {
6225		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterName", 1))
6226	}
6227	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
6228		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
6229	}
6230
6231	if invalidParams.Len() > 0 {
6232		return invalidParams
6233	}
6234	return nil
6235}
6236
6237// SetChannelIdentification sets the ChannelIdentification field's value.
6238func (s *Settings) SetChannelIdentification(v bool) *Settings {
6239	s.ChannelIdentification = &v
6240	return s
6241}
6242
6243// SetMaxAlternatives sets the MaxAlternatives field's value.
6244func (s *Settings) SetMaxAlternatives(v int64) *Settings {
6245	s.MaxAlternatives = &v
6246	return s
6247}
6248
6249// SetMaxSpeakerLabels sets the MaxSpeakerLabels field's value.
6250func (s *Settings) SetMaxSpeakerLabels(v int64) *Settings {
6251	s.MaxSpeakerLabels = &v
6252	return s
6253}
6254
6255// SetShowAlternatives sets the ShowAlternatives field's value.
6256func (s *Settings) SetShowAlternatives(v bool) *Settings {
6257	s.ShowAlternatives = &v
6258	return s
6259}
6260
6261// SetShowSpeakerLabels sets the ShowSpeakerLabels field's value.
6262func (s *Settings) SetShowSpeakerLabels(v bool) *Settings {
6263	s.ShowSpeakerLabels = &v
6264	return s
6265}
6266
6267// SetVocabularyFilterMethod sets the VocabularyFilterMethod field's value.
6268func (s *Settings) SetVocabularyFilterMethod(v string) *Settings {
6269	s.VocabularyFilterMethod = &v
6270	return s
6271}
6272
6273// SetVocabularyFilterName sets the VocabularyFilterName field's value.
6274func (s *Settings) SetVocabularyFilterName(v string) *Settings {
6275	s.VocabularyFilterName = &v
6276	return s
6277}
6278
6279// SetVocabularyName sets the VocabularyName field's value.
6280func (s *Settings) SetVocabularyName(v string) *Settings {
6281	s.VocabularyName = &v
6282	return s
6283}
6284
6285type StartMedicalTranscriptionJobInput struct {
6286	_ struct{} `type:"structure"`
6287
6288	// You can configure Amazon Transcribe Medical to label content in the transcription
6289	// output. If you specify PHI, Amazon Transcribe Medical labels the personal
6290	// health information (PHI) that it identifies in the transcription output.
6291	ContentIdentificationType *string `type:"string" enum:"MedicalContentIdentificationType"`
6292
6293	// The language code for the language spoken in the input media file. US English
6294	// (en-US) is the valid value for medical transcription jobs. Any other value
6295	// you enter for language code results in a BadRequestException error.
6296	//
6297	// LanguageCode is a required field
6298	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
6299
6300	// Describes the input media file in a transcription request.
6301	//
6302	// Media is a required field
6303	Media *Media `type:"structure" required:"true"`
6304
6305	// The audio format of the input media file.
6306	MediaFormat *string `type:"string" enum:"MediaFormat"`
6307
6308	// The sample rate, in Hertz, of the audio track in the input media file.
6309	//
6310	// If you do not specify the media sample rate, Amazon Transcribe Medical determines
6311	// the sample rate. If you specify the sample rate, it must match the rate detected
6312	// by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleRateHertz
6313	// field blank and let Amazon Transcribe Medical determine the sample rate.
6314	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`
6315
6316	// The name of the medical transcription job. You can't use the strings "."
6317	// or ".." by themselves as the job name. The name must also be unique within
6318	// an AWS account. If you try to create a medical transcription job with the
6319	// same name as a previous medical transcription job, you get a ConflictException
6320	// error.
6321	//
6322	// MedicalTranscriptionJobName is a required field
6323	MedicalTranscriptionJobName *string `min:"1" type:"string" required:"true"`
6324
6325	// The Amazon S3 location where the transcription is stored.
6326	//
6327	// You must set OutputBucketName for Amazon Transcribe Medical to store the
6328	// transcription results. Your transcript appears in the S3 location you specify.
6329	// When you call the GetMedicalTranscriptionJob, the operation returns this
6330	// location in the TranscriptFileUri field. The S3 bucket must have permissions
6331	// that allow Amazon Transcribe Medical to put files in the bucket. For more
6332	// 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).
6333	//
6334	// You can specify an AWS Key Management Service (KMS) key to encrypt the output
6335	// of your transcription using the OutputEncryptionKMSKeyId parameter. If you
6336	// don't specify a KMS key, Amazon Transcribe Medical uses the default Amazon
6337	// S3 key for server-side encryption of transcripts that are placed in your
6338	// S3 bucket.
6339	//
6340	// OutputBucketName is a required field
6341	OutputBucketName *string `type:"string" required:"true"`
6342
6343	// The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key
6344	// used to encrypt the output of the transcription job. The user calling the
6345	// StartMedicalTranscriptionJob operation must have permission to use the specified
6346	// KMS key.
6347	//
6348	// You use either of the following to identify a KMS key in the current account:
6349	//
6350	//    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
6351	//
6352	//    * KMS Key Alias: "alias/ExampleAlias"
6353	//
6354	// You can use either of the following to identify a KMS key in the current
6355	// account or another account:
6356	//
6357	//    * Amazon Resource Name (ARN) of a KMS key in the current account or another
6358	//    account: "arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
6359	//
6360	//    * ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias"
6361	//
6362	// If you don't specify an encryption key, the output of the medical transcription
6363	// job is encrypted with the default Amazon S3 key (SSE-S3).
6364	//
6365	// If you specify a KMS key to encrypt your output, you must also specify an
6366	// output location in the OutputBucketName parameter.
6367	OutputEncryptionKMSKeyId *string `min:"1" type:"string"`
6368
6369	// You can specify a location in an Amazon S3 bucket to store the output of
6370	// your medical transcription job.
6371	//
6372	// If you don't specify an output key, Amazon Transcribe Medical stores the
6373	// output of your transcription job in the Amazon S3 bucket you specified. By
6374	// default, the object key is "your-transcription-job-name.json".
6375	//
6376	// You can use output keys to specify the Amazon S3 prefix and file name of
6377	// the transcription output. For example, specifying the Amazon S3 prefix, "folder1/folder2/",
6378	// as an output key would lead to the output being stored as "folder1/folder2/your-transcription-job-name.json".
6379	// If you specify "my-other-job-name.json" as the output key, the object key
6380	// is changed to "my-other-job-name.json". You can use an output key to change
6381	// both the prefix and the file name, for example "folder/my-other-job-name.json".
6382	//
6383	// If you specify an output key, you must also specify an S3 bucket in the OutputBucketName
6384	// parameter.
6385	OutputKey *string `min:"1" type:"string"`
6386
6387	// Optional settings for the medical transcription job.
6388	Settings *MedicalTranscriptionSetting `type:"structure"`
6389
6390	// The medical specialty of any clinician speaking in the input media.
6391	//
6392	// Specialty is a required field
6393	Specialty *string `type:"string" required:"true" enum:"Specialty"`
6394
6395	// The type of speech in the input audio. CONVERSATION refers to conversations
6396	// between two or more speakers, e.g., a conversations between doctors and patients.
6397	// DICTATION refers to single-speaker dictated speech, e.g., for clinical notes.
6398	//
6399	// Type is a required field
6400	Type *string `type:"string" required:"true" enum:"Type"`
6401}
6402
6403// String returns the string representation
6404func (s StartMedicalTranscriptionJobInput) String() string {
6405	return awsutil.Prettify(s)
6406}
6407
6408// GoString returns the string representation
6409func (s StartMedicalTranscriptionJobInput) GoString() string {
6410	return s.String()
6411}
6412
6413// Validate inspects the fields of the type to determine if they are valid.
6414func (s *StartMedicalTranscriptionJobInput) Validate() error {
6415	invalidParams := request.ErrInvalidParams{Context: "StartMedicalTranscriptionJobInput"}
6416	if s.LanguageCode == nil {
6417		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
6418	}
6419	if s.Media == nil {
6420		invalidParams.Add(request.NewErrParamRequired("Media"))
6421	}
6422	if s.MediaSampleRateHertz != nil && *s.MediaSampleRateHertz < 8000 {
6423		invalidParams.Add(request.NewErrParamMinValue("MediaSampleRateHertz", 8000))
6424	}
6425	if s.MedicalTranscriptionJobName == nil {
6426		invalidParams.Add(request.NewErrParamRequired("MedicalTranscriptionJobName"))
6427	}
6428	if s.MedicalTranscriptionJobName != nil && len(*s.MedicalTranscriptionJobName) < 1 {
6429		invalidParams.Add(request.NewErrParamMinLen("MedicalTranscriptionJobName", 1))
6430	}
6431	if s.OutputBucketName == nil {
6432		invalidParams.Add(request.NewErrParamRequired("OutputBucketName"))
6433	}
6434	if s.OutputEncryptionKMSKeyId != nil && len(*s.OutputEncryptionKMSKeyId) < 1 {
6435		invalidParams.Add(request.NewErrParamMinLen("OutputEncryptionKMSKeyId", 1))
6436	}
6437	if s.OutputKey != nil && len(*s.OutputKey) < 1 {
6438		invalidParams.Add(request.NewErrParamMinLen("OutputKey", 1))
6439	}
6440	if s.Specialty == nil {
6441		invalidParams.Add(request.NewErrParamRequired("Specialty"))
6442	}
6443	if s.Type == nil {
6444		invalidParams.Add(request.NewErrParamRequired("Type"))
6445	}
6446	if s.Media != nil {
6447		if err := s.Media.Validate(); err != nil {
6448			invalidParams.AddNested("Media", err.(request.ErrInvalidParams))
6449		}
6450	}
6451	if s.Settings != nil {
6452		if err := s.Settings.Validate(); err != nil {
6453			invalidParams.AddNested("Settings", err.(request.ErrInvalidParams))
6454		}
6455	}
6456
6457	if invalidParams.Len() > 0 {
6458		return invalidParams
6459	}
6460	return nil
6461}
6462
6463// SetContentIdentificationType sets the ContentIdentificationType field's value.
6464func (s *StartMedicalTranscriptionJobInput) SetContentIdentificationType(v string) *StartMedicalTranscriptionJobInput {
6465	s.ContentIdentificationType = &v
6466	return s
6467}
6468
6469// SetLanguageCode sets the LanguageCode field's value.
6470func (s *StartMedicalTranscriptionJobInput) SetLanguageCode(v string) *StartMedicalTranscriptionJobInput {
6471	s.LanguageCode = &v
6472	return s
6473}
6474
6475// SetMedia sets the Media field's value.
6476func (s *StartMedicalTranscriptionJobInput) SetMedia(v *Media) *StartMedicalTranscriptionJobInput {
6477	s.Media = v
6478	return s
6479}
6480
6481// SetMediaFormat sets the MediaFormat field's value.
6482func (s *StartMedicalTranscriptionJobInput) SetMediaFormat(v string) *StartMedicalTranscriptionJobInput {
6483	s.MediaFormat = &v
6484	return s
6485}
6486
6487// SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
6488func (s *StartMedicalTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartMedicalTranscriptionJobInput {
6489	s.MediaSampleRateHertz = &v
6490	return s
6491}
6492
6493// SetMedicalTranscriptionJobName sets the MedicalTranscriptionJobName field's value.
6494func (s *StartMedicalTranscriptionJobInput) SetMedicalTranscriptionJobName(v string) *StartMedicalTranscriptionJobInput {
6495	s.MedicalTranscriptionJobName = &v
6496	return s
6497}
6498
6499// SetOutputBucketName sets the OutputBucketName field's value.
6500func (s *StartMedicalTranscriptionJobInput) SetOutputBucketName(v string) *StartMedicalTranscriptionJobInput {
6501	s.OutputBucketName = &v
6502	return s
6503}
6504
6505// SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.
6506func (s *StartMedicalTranscriptionJobInput) SetOutputEncryptionKMSKeyId(v string) *StartMedicalTranscriptionJobInput {
6507	s.OutputEncryptionKMSKeyId = &v
6508	return s
6509}
6510
6511// SetOutputKey sets the OutputKey field's value.
6512func (s *StartMedicalTranscriptionJobInput) SetOutputKey(v string) *StartMedicalTranscriptionJobInput {
6513	s.OutputKey = &v
6514	return s
6515}
6516
6517// SetSettings sets the Settings field's value.
6518func (s *StartMedicalTranscriptionJobInput) SetSettings(v *MedicalTranscriptionSetting) *StartMedicalTranscriptionJobInput {
6519	s.Settings = v
6520	return s
6521}
6522
6523// SetSpecialty sets the Specialty field's value.
6524func (s *StartMedicalTranscriptionJobInput) SetSpecialty(v string) *StartMedicalTranscriptionJobInput {
6525	s.Specialty = &v
6526	return s
6527}
6528
6529// SetType sets the Type field's value.
6530func (s *StartMedicalTranscriptionJobInput) SetType(v string) *StartMedicalTranscriptionJobInput {
6531	s.Type = &v
6532	return s
6533}
6534
6535type StartMedicalTranscriptionJobOutput struct {
6536	_ struct{} `type:"structure"`
6537
6538	// A batch job submitted to transcribe medical speech to text.
6539	MedicalTranscriptionJob *MedicalTranscriptionJob `type:"structure"`
6540}
6541
6542// String returns the string representation
6543func (s StartMedicalTranscriptionJobOutput) String() string {
6544	return awsutil.Prettify(s)
6545}
6546
6547// GoString returns the string representation
6548func (s StartMedicalTranscriptionJobOutput) GoString() string {
6549	return s.String()
6550}
6551
6552// SetMedicalTranscriptionJob sets the MedicalTranscriptionJob field's value.
6553func (s *StartMedicalTranscriptionJobOutput) SetMedicalTranscriptionJob(v *MedicalTranscriptionJob) *StartMedicalTranscriptionJobOutput {
6554	s.MedicalTranscriptionJob = v
6555	return s
6556}
6557
6558type StartTranscriptionJobInput struct {
6559	_ struct{} `type:"structure"`
6560
6561	// An object that contains the request parameters for content redaction.
6562	ContentRedaction *ContentRedaction `type:"structure"`
6563
6564	// Set this field to true to enable automatic language identification. Automatic
6565	// language identification is disabled by default. You receive a BadRequestException
6566	// error if you enter a value for a LanguageCode.
6567	IdentifyLanguage *bool `type:"boolean"`
6568
6569	// Provides information about how a transcription job is executed. Use this
6570	// field to indicate that the job can be queued for deferred execution if the
6571	// concurrency limit is reached and there are no slots available to immediately
6572	// run the job.
6573	JobExecutionSettings *JobExecutionSettings `type:"structure"`
6574
6575	// The language code for the language used in the input media file.
6576	//
6577	// To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video
6578	// file must be encoded at a sample rate of 16000 Hz or higher.
6579	LanguageCode *string `type:"string" enum:"LanguageCode"`
6580
6581	// An object containing a list of languages that might be present in your collection
6582	// of audio files. Automatic language identification chooses a language that
6583	// best matches the source audio from that list.
6584	LanguageOptions []*string `min:"2" type:"list"`
6585
6586	// An object that describes the input media for a transcription job.
6587	//
6588	// Media is a required field
6589	Media *Media `type:"structure" required:"true"`
6590
6591	// The format of the input media file.
6592	MediaFormat *string `type:"string" enum:"MediaFormat"`
6593
6594	// The sample rate, in Hertz, of the audio track in the input media file.
6595	//
6596	// If you do not specify the media sample rate, Amazon Transcribe determines
6597	// the sample rate. If you specify the sample rate, it must match the sample
6598	// rate detected by Amazon Transcribe. In most cases, you should leave the MediaSampleRateHertz
6599	// field blank and let Amazon Transcribe determine the sample rate.
6600	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`
6601
6602	// Choose the custom language model you use for your transcription job in this
6603	// parameter.
6604	ModelSettings *ModelSettings `type:"structure"`
6605
6606	// The location where the transcription is stored.
6607	//
6608	// If you set the OutputBucketName, Amazon Transcribe puts the transcript in
6609	// the specified S3 bucket. When you call the GetTranscriptionJob operation,
6610	// the operation returns this location in the TranscriptFileUri field. If you
6611	// enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.
6612	// If you enable content redaction and choose to output an unredacted transcript,
6613	// that transcript's location still appears in the TranscriptFileUri. The S3
6614	// bucket must have permissions that allow Amazon Transcribe to put files in
6615	// the bucket. For more information, see Permissions Required for IAM User Roles
6616	// (https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user).
6617	//
6618	// You can specify an AWS Key Management Service (KMS) key to encrypt the output
6619	// of your transcription using the OutputEncryptionKMSKeyId parameter. If you
6620	// don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key
6621	// for server-side encryption of transcripts that are placed in your S3 bucket.
6622	//
6623	// If you don't set the OutputBucketName, Amazon Transcribe generates a pre-signed
6624	// URL, a shareable URL that provides secure access to your transcription, and
6625	// returns it in the TranscriptFileUri field. Use this URL to download the transcription.
6626	OutputBucketName *string `type:"string"`
6627
6628	// The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key
6629	// used to encrypt the output of the transcription job. The user calling the
6630	// StartTranscriptionJob operation must have permission to use the specified
6631	// KMS key.
6632	//
6633	// You can use either of the following to identify a KMS key in the current
6634	// account:
6635	//
6636	//    * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
6637	//
6638	//    * KMS Key Alias: "alias/ExampleAlias"
6639	//
6640	// You can use either of the following to identify a KMS key in the current
6641	// account or another account:
6642	//
6643	//    * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:region:account
6644	//    ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
6645	//
6646	//    * ARN of a KMS Key Alias: "arn:aws:kms:region:account ID:alias/ExampleAlias"
6647	//
6648	// If you don't specify an encryption key, the output of the transcription job
6649	// is encrypted with the default Amazon S3 key (SSE-S3).
6650	//
6651	// If you specify a KMS key to encrypt your output, you must also specify an
6652	// output location in the OutputBucketName parameter.
6653	OutputEncryptionKMSKeyId *string `min:"1" type:"string"`
6654
6655	// You can specify a location in an Amazon S3 bucket to store the output of
6656	// your transcription job.
6657	//
6658	// If you don't specify an output key, Amazon Transcribe stores the output of
6659	// your transcription job in the Amazon S3 bucket you specified. By default,
6660	// the object key is "your-transcription-job-name.json".
6661	//
6662	// You can use output keys to specify the Amazon S3 prefix and file name of
6663	// the transcription output. For example, specifying the Amazon S3 prefix, "folder1/folder2/",
6664	// as an output key would lead to the output being stored as "folder1/folder2/your-transcription-job-name.json".
6665	// If you specify "my-other-job-name.json" as the output key, the object key
6666	// is changed to "my-other-job-name.json". You can use an output key to change
6667	// both the prefix and the file name, for example "folder/my-other-job-name.json".
6668	//
6669	// If you specify an output key, you must also specify an S3 bucket in the OutputBucketName
6670	// parameter.
6671	OutputKey *string `min:"1" type:"string"`
6672
6673	// A Settings object that provides optional settings for a transcription job.
6674	Settings *Settings `type:"structure"`
6675
6676	// The name of the job. You can't use the strings "." or ".." by themselves
6677	// as the job name. The name must also be unique within an AWS account. If you
6678	// try to create a transcription job with the same name as a previous transcription
6679	// job, you get a ConflictException error.
6680	//
6681	// TranscriptionJobName is a required field
6682	TranscriptionJobName *string `min:"1" type:"string" required:"true"`
6683}
6684
6685// String returns the string representation
6686func (s StartTranscriptionJobInput) String() string {
6687	return awsutil.Prettify(s)
6688}
6689
6690// GoString returns the string representation
6691func (s StartTranscriptionJobInput) GoString() string {
6692	return s.String()
6693}
6694
6695// Validate inspects the fields of the type to determine if they are valid.
6696func (s *StartTranscriptionJobInput) Validate() error {
6697	invalidParams := request.ErrInvalidParams{Context: "StartTranscriptionJobInput"}
6698	if s.LanguageOptions != nil && len(s.LanguageOptions) < 2 {
6699		invalidParams.Add(request.NewErrParamMinLen("LanguageOptions", 2))
6700	}
6701	if s.Media == nil {
6702		invalidParams.Add(request.NewErrParamRequired("Media"))
6703	}
6704	if s.MediaSampleRateHertz != nil && *s.MediaSampleRateHertz < 8000 {
6705		invalidParams.Add(request.NewErrParamMinValue("MediaSampleRateHertz", 8000))
6706	}
6707	if s.OutputEncryptionKMSKeyId != nil && len(*s.OutputEncryptionKMSKeyId) < 1 {
6708		invalidParams.Add(request.NewErrParamMinLen("OutputEncryptionKMSKeyId", 1))
6709	}
6710	if s.OutputKey != nil && len(*s.OutputKey) < 1 {
6711		invalidParams.Add(request.NewErrParamMinLen("OutputKey", 1))
6712	}
6713	if s.TranscriptionJobName == nil {
6714		invalidParams.Add(request.NewErrParamRequired("TranscriptionJobName"))
6715	}
6716	if s.TranscriptionJobName != nil && len(*s.TranscriptionJobName) < 1 {
6717		invalidParams.Add(request.NewErrParamMinLen("TranscriptionJobName", 1))
6718	}
6719	if s.ContentRedaction != nil {
6720		if err := s.ContentRedaction.Validate(); err != nil {
6721			invalidParams.AddNested("ContentRedaction", err.(request.ErrInvalidParams))
6722		}
6723	}
6724	if s.JobExecutionSettings != nil {
6725		if err := s.JobExecutionSettings.Validate(); err != nil {
6726			invalidParams.AddNested("JobExecutionSettings", err.(request.ErrInvalidParams))
6727		}
6728	}
6729	if s.Media != nil {
6730		if err := s.Media.Validate(); err != nil {
6731			invalidParams.AddNested("Media", err.(request.ErrInvalidParams))
6732		}
6733	}
6734	if s.ModelSettings != nil {
6735		if err := s.ModelSettings.Validate(); err != nil {
6736			invalidParams.AddNested("ModelSettings", err.(request.ErrInvalidParams))
6737		}
6738	}
6739	if s.Settings != nil {
6740		if err := s.Settings.Validate(); err != nil {
6741			invalidParams.AddNested("Settings", err.(request.ErrInvalidParams))
6742		}
6743	}
6744
6745	if invalidParams.Len() > 0 {
6746		return invalidParams
6747	}
6748	return nil
6749}
6750
6751// SetContentRedaction sets the ContentRedaction field's value.
6752func (s *StartTranscriptionJobInput) SetContentRedaction(v *ContentRedaction) *StartTranscriptionJobInput {
6753	s.ContentRedaction = v
6754	return s
6755}
6756
6757// SetIdentifyLanguage sets the IdentifyLanguage field's value.
6758func (s *StartTranscriptionJobInput) SetIdentifyLanguage(v bool) *StartTranscriptionJobInput {
6759	s.IdentifyLanguage = &v
6760	return s
6761}
6762
6763// SetJobExecutionSettings sets the JobExecutionSettings field's value.
6764func (s *StartTranscriptionJobInput) SetJobExecutionSettings(v *JobExecutionSettings) *StartTranscriptionJobInput {
6765	s.JobExecutionSettings = v
6766	return s
6767}
6768
6769// SetLanguageCode sets the LanguageCode field's value.
6770func (s *StartTranscriptionJobInput) SetLanguageCode(v string) *StartTranscriptionJobInput {
6771	s.LanguageCode = &v
6772	return s
6773}
6774
6775// SetLanguageOptions sets the LanguageOptions field's value.
6776func (s *StartTranscriptionJobInput) SetLanguageOptions(v []*string) *StartTranscriptionJobInput {
6777	s.LanguageOptions = v
6778	return s
6779}
6780
6781// SetMedia sets the Media field's value.
6782func (s *StartTranscriptionJobInput) SetMedia(v *Media) *StartTranscriptionJobInput {
6783	s.Media = v
6784	return s
6785}
6786
6787// SetMediaFormat sets the MediaFormat field's value.
6788func (s *StartTranscriptionJobInput) SetMediaFormat(v string) *StartTranscriptionJobInput {
6789	s.MediaFormat = &v
6790	return s
6791}
6792
6793// SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
6794func (s *StartTranscriptionJobInput) SetMediaSampleRateHertz(v int64) *StartTranscriptionJobInput {
6795	s.MediaSampleRateHertz = &v
6796	return s
6797}
6798
6799// SetModelSettings sets the ModelSettings field's value.
6800func (s *StartTranscriptionJobInput) SetModelSettings(v *ModelSettings) *StartTranscriptionJobInput {
6801	s.ModelSettings = v
6802	return s
6803}
6804
6805// SetOutputBucketName sets the OutputBucketName field's value.
6806func (s *StartTranscriptionJobInput) SetOutputBucketName(v string) *StartTranscriptionJobInput {
6807	s.OutputBucketName = &v
6808	return s
6809}
6810
6811// SetOutputEncryptionKMSKeyId sets the OutputEncryptionKMSKeyId field's value.
6812func (s *StartTranscriptionJobInput) SetOutputEncryptionKMSKeyId(v string) *StartTranscriptionJobInput {
6813	s.OutputEncryptionKMSKeyId = &v
6814	return s
6815}
6816
6817// SetOutputKey sets the OutputKey field's value.
6818func (s *StartTranscriptionJobInput) SetOutputKey(v string) *StartTranscriptionJobInput {
6819	s.OutputKey = &v
6820	return s
6821}
6822
6823// SetSettings sets the Settings field's value.
6824func (s *StartTranscriptionJobInput) SetSettings(v *Settings) *StartTranscriptionJobInput {
6825	s.Settings = v
6826	return s
6827}
6828
6829// SetTranscriptionJobName sets the TranscriptionJobName field's value.
6830func (s *StartTranscriptionJobInput) SetTranscriptionJobName(v string) *StartTranscriptionJobInput {
6831	s.TranscriptionJobName = &v
6832	return s
6833}
6834
6835type StartTranscriptionJobOutput struct {
6836	_ struct{} `type:"structure"`
6837
6838	// An object containing details of the asynchronous transcription job.
6839	TranscriptionJob *TranscriptionJob `type:"structure"`
6840}
6841
6842// String returns the string representation
6843func (s StartTranscriptionJobOutput) String() string {
6844	return awsutil.Prettify(s)
6845}
6846
6847// GoString returns the string representation
6848func (s StartTranscriptionJobOutput) GoString() string {
6849	return s.String()
6850}
6851
6852// SetTranscriptionJob sets the TranscriptionJob field's value.
6853func (s *StartTranscriptionJobOutput) SetTranscriptionJob(v *TranscriptionJob) *StartTranscriptionJobOutput {
6854	s.TranscriptionJob = v
6855	return s
6856}
6857
6858// Identifies the location of a transcription.
6859type Transcript struct {
6860	_ struct{} `type:"structure"`
6861
6862	// The S3 object location of the redacted transcript.
6863	//
6864	// Use this URI to access the redacted transcript. If you specified an S3 bucket
6865	// in the OutputBucketName field when you created the job, this is the URI of
6866	// that bucket. If you chose to store the transcript in Amazon Transcribe, this
6867	// is a shareable URL that provides secure access to that location.
6868	RedactedTranscriptFileUri *string `min:"1" type:"string"`
6869
6870	// The S3 object location of the transcript.
6871	//
6872	// Use this URI to access the transcript. If you specified an S3 bucket in the
6873	// OutputBucketName field when you created the job, this is the URI of that
6874	// bucket. If you chose to store the transcript in Amazon Transcribe, this is
6875	// a shareable URL that provides secure access to that location.
6876	TranscriptFileUri *string `min:"1" type:"string"`
6877}
6878
6879// String returns the string representation
6880func (s Transcript) String() string {
6881	return awsutil.Prettify(s)
6882}
6883
6884// GoString returns the string representation
6885func (s Transcript) GoString() string {
6886	return s.String()
6887}
6888
6889// SetRedactedTranscriptFileUri sets the RedactedTranscriptFileUri field's value.
6890func (s *Transcript) SetRedactedTranscriptFileUri(v string) *Transcript {
6891	s.RedactedTranscriptFileUri = &v
6892	return s
6893}
6894
6895// SetTranscriptFileUri sets the TranscriptFileUri field's value.
6896func (s *Transcript) SetTranscriptFileUri(v string) *Transcript {
6897	s.TranscriptFileUri = &v
6898	return s
6899}
6900
6901// Describes an asynchronous transcription job that was created with the StartTranscriptionJob
6902// operation.
6903type TranscriptionJob struct {
6904	_ struct{} `type:"structure"`
6905
6906	// A timestamp that shows when the job was completed.
6907	CompletionTime *time.Time `type:"timestamp"`
6908
6909	// An object that describes content redaction settings for the transcription
6910	// job.
6911	ContentRedaction *ContentRedaction `type:"structure"`
6912
6913	// A timestamp that shows when the job was created.
6914	CreationTime *time.Time `type:"timestamp"`
6915
6916	// If the TranscriptionJobStatus field is FAILED, this field contains information
6917	// about why the job failed.
6918	//
6919	// The FailureReason field can contain one of the following values:
6920	//
6921	//    * Unsupported media format - The media format specified in the MediaFormat
6922	//    field of the request isn't valid. See the description of the MediaFormat
6923	//    field for a list of valid values.
6924	//
6925	//    * The media format provided does not match the detected media format -
6926	//    The media format of the audio file doesn't match the format specified
6927	//    in the MediaFormat field in the request. Check the media format of your
6928	//    media file and make sure that the two values match.
6929	//
6930	//    * Invalid sample rate for audio file - The sample rate specified in the
6931	//    MediaSampleRateHertz of the request isn't valid. The sample rate must
6932	//    be between 8000 and 48000 Hertz.
6933	//
6934	//    * The sample rate provided does not match the detected sample rate - The
6935	//    sample rate in the audio file doesn't match the sample rate specified
6936	//    in the MediaSampleRateHertz field in the request. Check the sample rate
6937	//    of your media file and make sure that the two values match.
6938	//
6939	//    * Invalid file size: file size too large - The size of your audio file
6940	//    is larger than Amazon Transcribe can process. For more information, see
6941	//    Limits (https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits)
6942	//    in the Amazon Transcribe Developer Guide.
6943	//
6944	//    * Invalid number of channels: number of channels too large - Your audio
6945	//    contains more channels than Amazon Transcribe is configured to process.
6946	//    To request additional channels, see Amazon Transcribe Limits (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits-amazon-transcribe)
6947	//    in the Amazon Web Services General Reference.
6948	FailureReason *string `type:"string"`
6949
6950	// A value between zero and one that Amazon Transcribe assigned to the language
6951	// that it identified in the source audio. Larger values indicate that Amazon
6952	// Transcribe has higher confidence in the language it identified.
6953	IdentifiedLanguageScore *float64 `type:"float"`
6954
6955	// A value that shows if automatic language identification was enabled for a
6956	// transcription job.
6957	IdentifyLanguage *bool `type:"boolean"`
6958
6959	// Provides information about how a transcription job is executed.
6960	JobExecutionSettings *JobExecutionSettings `type:"structure"`
6961
6962	// The language code for the input speech.
6963	LanguageCode *string `type:"string" enum:"LanguageCode"`
6964
6965	// An object that shows the optional array of languages inputted for transcription
6966	// jobs with automatic language identification enabled.
6967	LanguageOptions []*string `min:"2" type:"list"`
6968
6969	// An object that describes the input media for the transcription job.
6970	Media *Media `type:"structure"`
6971
6972	// The format of the input media file.
6973	MediaFormat *string `type:"string" enum:"MediaFormat"`
6974
6975	// The sample rate, in Hertz, of the audio track in the input media file.
6976	MediaSampleRateHertz *int64 `min:"8000" type:"integer"`
6977
6978	// An object containing the details of your custom language model.
6979	ModelSettings *ModelSettings `type:"structure"`
6980
6981	// Optional settings for the transcription job. Use these settings to turn on
6982	// speaker recognition, to set the maximum number of speakers that should be
6983	// identified and to specify a custom vocabulary to use when processing the
6984	// transcription job.
6985	Settings *Settings `type:"structure"`
6986
6987	// A timestamp that shows with the job was started processing.
6988	StartTime *time.Time `type:"timestamp"`
6989
6990	// An object that describes the output of the transcription job.
6991	Transcript *Transcript `type:"structure"`
6992
6993	// The name of the transcription job.
6994	TranscriptionJobName *string `min:"1" type:"string"`
6995
6996	// The status of the transcription job.
6997	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
6998}
6999
7000// String returns the string representation
7001func (s TranscriptionJob) String() string {
7002	return awsutil.Prettify(s)
7003}
7004
7005// GoString returns the string representation
7006func (s TranscriptionJob) GoString() string {
7007	return s.String()
7008}
7009
7010// SetCompletionTime sets the CompletionTime field's value.
7011func (s *TranscriptionJob) SetCompletionTime(v time.Time) *TranscriptionJob {
7012	s.CompletionTime = &v
7013	return s
7014}
7015
7016// SetContentRedaction sets the ContentRedaction field's value.
7017func (s *TranscriptionJob) SetContentRedaction(v *ContentRedaction) *TranscriptionJob {
7018	s.ContentRedaction = v
7019	return s
7020}
7021
7022// SetCreationTime sets the CreationTime field's value.
7023func (s *TranscriptionJob) SetCreationTime(v time.Time) *TranscriptionJob {
7024	s.CreationTime = &v
7025	return s
7026}
7027
7028// SetFailureReason sets the FailureReason field's value.
7029func (s *TranscriptionJob) SetFailureReason(v string) *TranscriptionJob {
7030	s.FailureReason = &v
7031	return s
7032}
7033
7034// SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.
7035func (s *TranscriptionJob) SetIdentifiedLanguageScore(v float64) *TranscriptionJob {
7036	s.IdentifiedLanguageScore = &v
7037	return s
7038}
7039
7040// SetIdentifyLanguage sets the IdentifyLanguage field's value.
7041func (s *TranscriptionJob) SetIdentifyLanguage(v bool) *TranscriptionJob {
7042	s.IdentifyLanguage = &v
7043	return s
7044}
7045
7046// SetJobExecutionSettings sets the JobExecutionSettings field's value.
7047func (s *TranscriptionJob) SetJobExecutionSettings(v *JobExecutionSettings) *TranscriptionJob {
7048	s.JobExecutionSettings = v
7049	return s
7050}
7051
7052// SetLanguageCode sets the LanguageCode field's value.
7053func (s *TranscriptionJob) SetLanguageCode(v string) *TranscriptionJob {
7054	s.LanguageCode = &v
7055	return s
7056}
7057
7058// SetLanguageOptions sets the LanguageOptions field's value.
7059func (s *TranscriptionJob) SetLanguageOptions(v []*string) *TranscriptionJob {
7060	s.LanguageOptions = v
7061	return s
7062}
7063
7064// SetMedia sets the Media field's value.
7065func (s *TranscriptionJob) SetMedia(v *Media) *TranscriptionJob {
7066	s.Media = v
7067	return s
7068}
7069
7070// SetMediaFormat sets the MediaFormat field's value.
7071func (s *TranscriptionJob) SetMediaFormat(v string) *TranscriptionJob {
7072	s.MediaFormat = &v
7073	return s
7074}
7075
7076// SetMediaSampleRateHertz sets the MediaSampleRateHertz field's value.
7077func (s *TranscriptionJob) SetMediaSampleRateHertz(v int64) *TranscriptionJob {
7078	s.MediaSampleRateHertz = &v
7079	return s
7080}
7081
7082// SetModelSettings sets the ModelSettings field's value.
7083func (s *TranscriptionJob) SetModelSettings(v *ModelSettings) *TranscriptionJob {
7084	s.ModelSettings = v
7085	return s
7086}
7087
7088// SetSettings sets the Settings field's value.
7089func (s *TranscriptionJob) SetSettings(v *Settings) *TranscriptionJob {
7090	s.Settings = v
7091	return s
7092}
7093
7094// SetStartTime sets the StartTime field's value.
7095func (s *TranscriptionJob) SetStartTime(v time.Time) *TranscriptionJob {
7096	s.StartTime = &v
7097	return s
7098}
7099
7100// SetTranscript sets the Transcript field's value.
7101func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob {
7102	s.Transcript = v
7103	return s
7104}
7105
7106// SetTranscriptionJobName sets the TranscriptionJobName field's value.
7107func (s *TranscriptionJob) SetTranscriptionJobName(v string) *TranscriptionJob {
7108	s.TranscriptionJobName = &v
7109	return s
7110}
7111
7112// SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
7113func (s *TranscriptionJob) SetTranscriptionJobStatus(v string) *TranscriptionJob {
7114	s.TranscriptionJobStatus = &v
7115	return s
7116}
7117
7118// Provides a summary of information about a transcription job.
7119type TranscriptionJobSummary struct {
7120	_ struct{} `type:"structure"`
7121
7122	// A timestamp that shows when the job was completed.
7123	CompletionTime *time.Time `type:"timestamp"`
7124
7125	// The content redaction settings of the transcription job.
7126	ContentRedaction *ContentRedaction `type:"structure"`
7127
7128	// A timestamp that shows when the job was created.
7129	CreationTime *time.Time `type:"timestamp"`
7130
7131	// If the TranscriptionJobStatus field is FAILED, a description of the error.
7132	FailureReason *string `type:"string"`
7133
7134	// A value between zero and one that Amazon Transcribe assigned to the language
7135	// it identified in the source audio. A higher score indicates that Amazon Transcribe
7136	// is more confident in the language it identified.
7137	IdentifiedLanguageScore *float64 `type:"float"`
7138
7139	// Whether automatic language identification was enabled for a transcription
7140	// job.
7141	IdentifyLanguage *bool `type:"boolean"`
7142
7143	// The language code for the input speech.
7144	LanguageCode *string `type:"string" enum:"LanguageCode"`
7145
7146	// The object used to call your custom language model to your transcription
7147	// job.
7148	ModelSettings *ModelSettings `type:"structure"`
7149
7150	// Indicates the location of the output of the transcription job.
7151	//
7152	// If the value is CUSTOMER_BUCKET then the location is the S3 bucket specified
7153	// in the outputBucketName field when the transcription job was started with
7154	// the StartTranscriptionJob operation.
7155	//
7156	// If the value is SERVICE_BUCKET then the output is stored by Amazon Transcribe
7157	// and can be retrieved using the URI in the GetTranscriptionJob response's
7158	// TranscriptFileUri field.
7159	OutputLocationType *string `type:"string" enum:"OutputLocationType"`
7160
7161	// A timestamp that shows when the job started processing.
7162	StartTime *time.Time `type:"timestamp"`
7163
7164	// The name of the transcription job.
7165	TranscriptionJobName *string `min:"1" type:"string"`
7166
7167	// The status of the transcription job. When the status is COMPLETED, use the
7168	// GetTranscriptionJob operation to get the results of the transcription.
7169	TranscriptionJobStatus *string `type:"string" enum:"TranscriptionJobStatus"`
7170}
7171
7172// String returns the string representation
7173func (s TranscriptionJobSummary) String() string {
7174	return awsutil.Prettify(s)
7175}
7176
7177// GoString returns the string representation
7178func (s TranscriptionJobSummary) GoString() string {
7179	return s.String()
7180}
7181
7182// SetCompletionTime sets the CompletionTime field's value.
7183func (s *TranscriptionJobSummary) SetCompletionTime(v time.Time) *TranscriptionJobSummary {
7184	s.CompletionTime = &v
7185	return s
7186}
7187
7188// SetContentRedaction sets the ContentRedaction field's value.
7189func (s *TranscriptionJobSummary) SetContentRedaction(v *ContentRedaction) *TranscriptionJobSummary {
7190	s.ContentRedaction = v
7191	return s
7192}
7193
7194// SetCreationTime sets the CreationTime field's value.
7195func (s *TranscriptionJobSummary) SetCreationTime(v time.Time) *TranscriptionJobSummary {
7196	s.CreationTime = &v
7197	return s
7198}
7199
7200// SetFailureReason sets the FailureReason field's value.
7201func (s *TranscriptionJobSummary) SetFailureReason(v string) *TranscriptionJobSummary {
7202	s.FailureReason = &v
7203	return s
7204}
7205
7206// SetIdentifiedLanguageScore sets the IdentifiedLanguageScore field's value.
7207func (s *TranscriptionJobSummary) SetIdentifiedLanguageScore(v float64) *TranscriptionJobSummary {
7208	s.IdentifiedLanguageScore = &v
7209	return s
7210}
7211
7212// SetIdentifyLanguage sets the IdentifyLanguage field's value.
7213func (s *TranscriptionJobSummary) SetIdentifyLanguage(v bool) *TranscriptionJobSummary {
7214	s.IdentifyLanguage = &v
7215	return s
7216}
7217
7218// SetLanguageCode sets the LanguageCode field's value.
7219func (s *TranscriptionJobSummary) SetLanguageCode(v string) *TranscriptionJobSummary {
7220	s.LanguageCode = &v
7221	return s
7222}
7223
7224// SetModelSettings sets the ModelSettings field's value.
7225func (s *TranscriptionJobSummary) SetModelSettings(v *ModelSettings) *TranscriptionJobSummary {
7226	s.ModelSettings = v
7227	return s
7228}
7229
7230// SetOutputLocationType sets the OutputLocationType field's value.
7231func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary {
7232	s.OutputLocationType = &v
7233	return s
7234}
7235
7236// SetStartTime sets the StartTime field's value.
7237func (s *TranscriptionJobSummary) SetStartTime(v time.Time) *TranscriptionJobSummary {
7238	s.StartTime = &v
7239	return s
7240}
7241
7242// SetTranscriptionJobName sets the TranscriptionJobName field's value.
7243func (s *TranscriptionJobSummary) SetTranscriptionJobName(v string) *TranscriptionJobSummary {
7244	s.TranscriptionJobName = &v
7245	return s
7246}
7247
7248// SetTranscriptionJobStatus sets the TranscriptionJobStatus field's value.
7249func (s *TranscriptionJobSummary) SetTranscriptionJobStatus(v string) *TranscriptionJobSummary {
7250	s.TranscriptionJobStatus = &v
7251	return s
7252}
7253
7254type UpdateMedicalVocabularyInput struct {
7255	_ struct{} `type:"structure"`
7256
7257	// The language code of the language used for the entries in the updated vocabulary.
7258	// US English (en-US) is the only valid language code in Amazon Transcribe Medical.
7259	//
7260	// LanguageCode is a required field
7261	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
7262
7263	// The location in Amazon S3 of the text file that contains the you use for
7264	// your custom vocabulary. The URI must be in the same AWS Region as the resource
7265	// that you are calling. The following is the format for a URI:
7266	//
7267	// https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
7268	//
7269	// For example:
7270	//
7271	// https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
7272	//
7273	// For more information about Amazon S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
7274	// in the Amazon S3 Developer Guide.
7275	//
7276	// For more information about custom vocabularies in Amazon Transcribe Medical,
7277	// see Medical Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
7278	VocabularyFileUri *string `min:"1" type:"string"`
7279
7280	// The name of the vocabulary to update. The name is case sensitive. If you
7281	// try to update a vocabulary with the same name as a vocabulary you've already
7282	// made, you get a ConflictException error.
7283	//
7284	// VocabularyName is a required field
7285	VocabularyName *string `min:"1" type:"string" required:"true"`
7286}
7287
7288// String returns the string representation
7289func (s UpdateMedicalVocabularyInput) String() string {
7290	return awsutil.Prettify(s)
7291}
7292
7293// GoString returns the string representation
7294func (s UpdateMedicalVocabularyInput) GoString() string {
7295	return s.String()
7296}
7297
7298// Validate inspects the fields of the type to determine if they are valid.
7299func (s *UpdateMedicalVocabularyInput) Validate() error {
7300	invalidParams := request.ErrInvalidParams{Context: "UpdateMedicalVocabularyInput"}
7301	if s.LanguageCode == nil {
7302		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
7303	}
7304	if s.VocabularyFileUri != nil && len(*s.VocabularyFileUri) < 1 {
7305		invalidParams.Add(request.NewErrParamMinLen("VocabularyFileUri", 1))
7306	}
7307	if s.VocabularyName == nil {
7308		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
7309	}
7310	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
7311		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
7312	}
7313
7314	if invalidParams.Len() > 0 {
7315		return invalidParams
7316	}
7317	return nil
7318}
7319
7320// SetLanguageCode sets the LanguageCode field's value.
7321func (s *UpdateMedicalVocabularyInput) SetLanguageCode(v string) *UpdateMedicalVocabularyInput {
7322	s.LanguageCode = &v
7323	return s
7324}
7325
7326// SetVocabularyFileUri sets the VocabularyFileUri field's value.
7327func (s *UpdateMedicalVocabularyInput) SetVocabularyFileUri(v string) *UpdateMedicalVocabularyInput {
7328	s.VocabularyFileUri = &v
7329	return s
7330}
7331
7332// SetVocabularyName sets the VocabularyName field's value.
7333func (s *UpdateMedicalVocabularyInput) SetVocabularyName(v string) *UpdateMedicalVocabularyInput {
7334	s.VocabularyName = &v
7335	return s
7336}
7337
7338type UpdateMedicalVocabularyOutput struct {
7339	_ struct{} `type:"structure"`
7340
7341	// The language code for the language of the text file used to update the custom
7342	// vocabulary. US English (en-US) is the only language supported in Amazon Transcribe
7343	// Medical.
7344	LanguageCode *string `type:"string" enum:"LanguageCode"`
7345
7346	// The date and time that the vocabulary was updated.
7347	LastModifiedTime *time.Time `type:"timestamp"`
7348
7349	// The name of the updated vocabulary.
7350	VocabularyName *string `min:"1" type:"string"`
7351
7352	// The processing state of the update to the vocabulary. When the VocabularyState
7353	// field is READY, the vocabulary is ready to be used in a StartMedicalTranscriptionJob
7354	// request.
7355	VocabularyState *string `type:"string" enum:"VocabularyState"`
7356}
7357
7358// String returns the string representation
7359func (s UpdateMedicalVocabularyOutput) String() string {
7360	return awsutil.Prettify(s)
7361}
7362
7363// GoString returns the string representation
7364func (s UpdateMedicalVocabularyOutput) GoString() string {
7365	return s.String()
7366}
7367
7368// SetLanguageCode sets the LanguageCode field's value.
7369func (s *UpdateMedicalVocabularyOutput) SetLanguageCode(v string) *UpdateMedicalVocabularyOutput {
7370	s.LanguageCode = &v
7371	return s
7372}
7373
7374// SetLastModifiedTime sets the LastModifiedTime field's value.
7375func (s *UpdateMedicalVocabularyOutput) SetLastModifiedTime(v time.Time) *UpdateMedicalVocabularyOutput {
7376	s.LastModifiedTime = &v
7377	return s
7378}
7379
7380// SetVocabularyName sets the VocabularyName field's value.
7381func (s *UpdateMedicalVocabularyOutput) SetVocabularyName(v string) *UpdateMedicalVocabularyOutput {
7382	s.VocabularyName = &v
7383	return s
7384}
7385
7386// SetVocabularyState sets the VocabularyState field's value.
7387func (s *UpdateMedicalVocabularyOutput) SetVocabularyState(v string) *UpdateMedicalVocabularyOutput {
7388	s.VocabularyState = &v
7389	return s
7390}
7391
7392type UpdateVocabularyFilterInput struct {
7393	_ struct{} `type:"structure"`
7394
7395	// The Amazon S3 location of a text file used as input to create the vocabulary
7396	// filter. Only use characters from the character set defined for custom vocabularies.
7397	// For a list of character sets, see Character Sets for Custom Vocabularies
7398	// (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
7399	//
7400	// The specified file must be less than 50 KB of UTF-8 characters.
7401	//
7402	// If you provide the location of a list of words in the VocabularyFilterFileUri
7403	// parameter, you can't use the Words parameter.
7404	VocabularyFilterFileUri *string `min:"1" type:"string"`
7405
7406	// The name of the vocabulary filter to update. If you try to update a vocabulary
7407	// filter with the same name as another vocabulary filter, you get a ConflictException
7408	// error.
7409	//
7410	// VocabularyFilterName is a required field
7411	VocabularyFilterName *string `min:"1" type:"string" required:"true"`
7412
7413	// The words to use in the vocabulary filter. Only use characters from the character
7414	// set defined for custom vocabularies. For a list of character sets, see Character
7415	// Sets for Custom Vocabularies (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
7416	//
7417	// If you provide a list of words in the Words parameter, you can't use the
7418	// VocabularyFilterFileUri parameter.
7419	Words []*string `min:"1" type:"list"`
7420}
7421
7422// String returns the string representation
7423func (s UpdateVocabularyFilterInput) String() string {
7424	return awsutil.Prettify(s)
7425}
7426
7427// GoString returns the string representation
7428func (s UpdateVocabularyFilterInput) GoString() string {
7429	return s.String()
7430}
7431
7432// Validate inspects the fields of the type to determine if they are valid.
7433func (s *UpdateVocabularyFilterInput) Validate() error {
7434	invalidParams := request.ErrInvalidParams{Context: "UpdateVocabularyFilterInput"}
7435	if s.VocabularyFilterFileUri != nil && len(*s.VocabularyFilterFileUri) < 1 {
7436		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterFileUri", 1))
7437	}
7438	if s.VocabularyFilterName == nil {
7439		invalidParams.Add(request.NewErrParamRequired("VocabularyFilterName"))
7440	}
7441	if s.VocabularyFilterName != nil && len(*s.VocabularyFilterName) < 1 {
7442		invalidParams.Add(request.NewErrParamMinLen("VocabularyFilterName", 1))
7443	}
7444	if s.Words != nil && len(s.Words) < 1 {
7445		invalidParams.Add(request.NewErrParamMinLen("Words", 1))
7446	}
7447
7448	if invalidParams.Len() > 0 {
7449		return invalidParams
7450	}
7451	return nil
7452}
7453
7454// SetVocabularyFilterFileUri sets the VocabularyFilterFileUri field's value.
7455func (s *UpdateVocabularyFilterInput) SetVocabularyFilterFileUri(v string) *UpdateVocabularyFilterInput {
7456	s.VocabularyFilterFileUri = &v
7457	return s
7458}
7459
7460// SetVocabularyFilterName sets the VocabularyFilterName field's value.
7461func (s *UpdateVocabularyFilterInput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterInput {
7462	s.VocabularyFilterName = &v
7463	return s
7464}
7465
7466// SetWords sets the Words field's value.
7467func (s *UpdateVocabularyFilterInput) SetWords(v []*string) *UpdateVocabularyFilterInput {
7468	s.Words = v
7469	return s
7470}
7471
7472type UpdateVocabularyFilterOutput struct {
7473	_ struct{} `type:"structure"`
7474
7475	// The language code of the words in the vocabulary filter.
7476	LanguageCode *string `type:"string" enum:"LanguageCode"`
7477
7478	// The date and time that the vocabulary filter was updated.
7479	LastModifiedTime *time.Time `type:"timestamp"`
7480
7481	// The name of the updated vocabulary filter.
7482	VocabularyFilterName *string `min:"1" type:"string"`
7483}
7484
7485// String returns the string representation
7486func (s UpdateVocabularyFilterOutput) String() string {
7487	return awsutil.Prettify(s)
7488}
7489
7490// GoString returns the string representation
7491func (s UpdateVocabularyFilterOutput) GoString() string {
7492	return s.String()
7493}
7494
7495// SetLanguageCode sets the LanguageCode field's value.
7496func (s *UpdateVocabularyFilterOutput) SetLanguageCode(v string) *UpdateVocabularyFilterOutput {
7497	s.LanguageCode = &v
7498	return s
7499}
7500
7501// SetLastModifiedTime sets the LastModifiedTime field's value.
7502func (s *UpdateVocabularyFilterOutput) SetLastModifiedTime(v time.Time) *UpdateVocabularyFilterOutput {
7503	s.LastModifiedTime = &v
7504	return s
7505}
7506
7507// SetVocabularyFilterName sets the VocabularyFilterName field's value.
7508func (s *UpdateVocabularyFilterOutput) SetVocabularyFilterName(v string) *UpdateVocabularyFilterOutput {
7509	s.VocabularyFilterName = &v
7510	return s
7511}
7512
7513type UpdateVocabularyInput struct {
7514	_ struct{} `type:"structure"`
7515
7516	// The language code of the vocabulary entries. For a list of languages and
7517	// their corresponding language codes, see what-is-transcribe.
7518	//
7519	// LanguageCode is a required field
7520	LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"`
7521
7522	// An array of strings containing the vocabulary entries.
7523	Phrases []*string `type:"list"`
7524
7525	// The S3 location of the text file that contains the definition of the custom
7526	// vocabulary. The URI must be in the same region as the API endpoint that you
7527	// are calling. The general form is
7528	//
7529	// For example:
7530	//
7531	// For more information about S3 object names, see Object Keys (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
7532	// in the Amazon S3 Developer Guide.
7533	//
7534	// For more information about custom vocabularies, see Custom Vocabularies (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
7535	VocabularyFileUri *string `min:"1" type:"string"`
7536
7537	// The name of the vocabulary to update. The name is case sensitive. If you
7538	// try to update a vocabulary with the same name as a previous vocabulary you
7539	// will receive a ConflictException error.
7540	//
7541	// VocabularyName is a required field
7542	VocabularyName *string `min:"1" type:"string" required:"true"`
7543}
7544
7545// String returns the string representation
7546func (s UpdateVocabularyInput) String() string {
7547	return awsutil.Prettify(s)
7548}
7549
7550// GoString returns the string representation
7551func (s UpdateVocabularyInput) GoString() string {
7552	return s.String()
7553}
7554
7555// Validate inspects the fields of the type to determine if they are valid.
7556func (s *UpdateVocabularyInput) Validate() error {
7557	invalidParams := request.ErrInvalidParams{Context: "UpdateVocabularyInput"}
7558	if s.LanguageCode == nil {
7559		invalidParams.Add(request.NewErrParamRequired("LanguageCode"))
7560	}
7561	if s.VocabularyFileUri != nil && len(*s.VocabularyFileUri) < 1 {
7562		invalidParams.Add(request.NewErrParamMinLen("VocabularyFileUri", 1))
7563	}
7564	if s.VocabularyName == nil {
7565		invalidParams.Add(request.NewErrParamRequired("VocabularyName"))
7566	}
7567	if s.VocabularyName != nil && len(*s.VocabularyName) < 1 {
7568		invalidParams.Add(request.NewErrParamMinLen("VocabularyName", 1))
7569	}
7570
7571	if invalidParams.Len() > 0 {
7572		return invalidParams
7573	}
7574	return nil
7575}
7576
7577// SetLanguageCode sets the LanguageCode field's value.
7578func (s *UpdateVocabularyInput) SetLanguageCode(v string) *UpdateVocabularyInput {
7579	s.LanguageCode = &v
7580	return s
7581}
7582
7583// SetPhrases sets the Phrases field's value.
7584func (s *UpdateVocabularyInput) SetPhrases(v []*string) *UpdateVocabularyInput {
7585	s.Phrases = v
7586	return s
7587}
7588
7589// SetVocabularyFileUri sets the VocabularyFileUri field's value.
7590func (s *UpdateVocabularyInput) SetVocabularyFileUri(v string) *UpdateVocabularyInput {
7591	s.VocabularyFileUri = &v
7592	return s
7593}
7594
7595// SetVocabularyName sets the VocabularyName field's value.
7596func (s *UpdateVocabularyInput) SetVocabularyName(v string) *UpdateVocabularyInput {
7597	s.VocabularyName = &v
7598	return s
7599}
7600
7601type UpdateVocabularyOutput struct {
7602	_ struct{} `type:"structure"`
7603
7604	// The language code of the vocabulary entries.
7605	LanguageCode *string `type:"string" enum:"LanguageCode"`
7606
7607	// The date and time that the vocabulary was updated.
7608	LastModifiedTime *time.Time `type:"timestamp"`
7609
7610	// The name of the vocabulary that was updated.
7611	VocabularyName *string `min:"1" type:"string"`
7612
7613	// The processing state of the vocabulary. When the VocabularyState field contains
7614	// READY the vocabulary is ready to be used in a StartTranscriptionJob request.
7615	VocabularyState *string `type:"string" enum:"VocabularyState"`
7616}
7617
7618// String returns the string representation
7619func (s UpdateVocabularyOutput) String() string {
7620	return awsutil.Prettify(s)
7621}
7622
7623// GoString returns the string representation
7624func (s UpdateVocabularyOutput) GoString() string {
7625	return s.String()
7626}
7627
7628// SetLanguageCode sets the LanguageCode field's value.
7629func (s *UpdateVocabularyOutput) SetLanguageCode(v string) *UpdateVocabularyOutput {
7630	s.LanguageCode = &v
7631	return s
7632}
7633
7634// SetLastModifiedTime sets the LastModifiedTime field's value.
7635func (s *UpdateVocabularyOutput) SetLastModifiedTime(v time.Time) *UpdateVocabularyOutput {
7636	s.LastModifiedTime = &v
7637	return s
7638}
7639
7640// SetVocabularyName sets the VocabularyName field's value.
7641func (s *UpdateVocabularyOutput) SetVocabularyName(v string) *UpdateVocabularyOutput {
7642	s.VocabularyName = &v
7643	return s
7644}
7645
7646// SetVocabularyState sets the VocabularyState field's value.
7647func (s *UpdateVocabularyOutput) SetVocabularyState(v string) *UpdateVocabularyOutput {
7648	s.VocabularyState = &v
7649	return s
7650}
7651
7652// Provides information about a vocabulary filter.
7653type VocabularyFilterInfo struct {
7654	_ struct{} `type:"structure"`
7655
7656	// The language code of the words in the vocabulary filter.
7657	LanguageCode *string `type:"string" enum:"LanguageCode"`
7658
7659	// The date and time that the vocabulary was last updated.
7660	LastModifiedTime *time.Time `type:"timestamp"`
7661
7662	// The name of the vocabulary filter. The name must be unique in the account
7663	// that holds the filter.
7664	VocabularyFilterName *string `min:"1" type:"string"`
7665}
7666
7667// String returns the string representation
7668func (s VocabularyFilterInfo) String() string {
7669	return awsutil.Prettify(s)
7670}
7671
7672// GoString returns the string representation
7673func (s VocabularyFilterInfo) GoString() string {
7674	return s.String()
7675}
7676
7677// SetLanguageCode sets the LanguageCode field's value.
7678func (s *VocabularyFilterInfo) SetLanguageCode(v string) *VocabularyFilterInfo {
7679	s.LanguageCode = &v
7680	return s
7681}
7682
7683// SetLastModifiedTime sets the LastModifiedTime field's value.
7684func (s *VocabularyFilterInfo) SetLastModifiedTime(v time.Time) *VocabularyFilterInfo {
7685	s.LastModifiedTime = &v
7686	return s
7687}
7688
7689// SetVocabularyFilterName sets the VocabularyFilterName field's value.
7690func (s *VocabularyFilterInfo) SetVocabularyFilterName(v string) *VocabularyFilterInfo {
7691	s.VocabularyFilterName = &v
7692	return s
7693}
7694
7695// Provides information about a custom vocabulary.
7696type VocabularyInfo struct {
7697	_ struct{} `type:"structure"`
7698
7699	// The language code of the vocabulary entries.
7700	LanguageCode *string `type:"string" enum:"LanguageCode"`
7701
7702	// The date and time that the vocabulary was last modified.
7703	LastModifiedTime *time.Time `type:"timestamp"`
7704
7705	// The name of the vocabulary.
7706	VocabularyName *string `min:"1" type:"string"`
7707
7708	// The processing state of the vocabulary. If the state is READY you can use
7709	// the vocabulary in a StartTranscriptionJob request.
7710	VocabularyState *string `type:"string" enum:"VocabularyState"`
7711}
7712
7713// String returns the string representation
7714func (s VocabularyInfo) String() string {
7715	return awsutil.Prettify(s)
7716}
7717
7718// GoString returns the string representation
7719func (s VocabularyInfo) GoString() string {
7720	return s.String()
7721}
7722
7723// SetLanguageCode sets the LanguageCode field's value.
7724func (s *VocabularyInfo) SetLanguageCode(v string) *VocabularyInfo {
7725	s.LanguageCode = &v
7726	return s
7727}
7728
7729// SetLastModifiedTime sets the LastModifiedTime field's value.
7730func (s *VocabularyInfo) SetLastModifiedTime(v time.Time) *VocabularyInfo {
7731	s.LastModifiedTime = &v
7732	return s
7733}
7734
7735// SetVocabularyName sets the VocabularyName field's value.
7736func (s *VocabularyInfo) SetVocabularyName(v string) *VocabularyInfo {
7737	s.VocabularyName = &v
7738	return s
7739}
7740
7741// SetVocabularyState sets the VocabularyState field's value.
7742func (s *VocabularyInfo) SetVocabularyState(v string) *VocabularyInfo {
7743	s.VocabularyState = &v
7744	return s
7745}
7746
7747const (
7748	// BaseModelNameNarrowBand is a BaseModelName enum value
7749	BaseModelNameNarrowBand = "NarrowBand"
7750
7751	// BaseModelNameWideBand is a BaseModelName enum value
7752	BaseModelNameWideBand = "WideBand"
7753)
7754
7755// BaseModelName_Values returns all elements of the BaseModelName enum
7756func BaseModelName_Values() []string {
7757	return []string{
7758		BaseModelNameNarrowBand,
7759		BaseModelNameWideBand,
7760	}
7761}
7762
7763const (
7764	// CLMLanguageCodeEnUs is a CLMLanguageCode enum value
7765	CLMLanguageCodeEnUs = "en-US"
7766
7767	// CLMLanguageCodeHiIn is a CLMLanguageCode enum value
7768	CLMLanguageCodeHiIn = "hi-IN"
7769
7770	// CLMLanguageCodeEsUs is a CLMLanguageCode enum value
7771	CLMLanguageCodeEsUs = "es-US"
7772
7773	// CLMLanguageCodeEnGb is a CLMLanguageCode enum value
7774	CLMLanguageCodeEnGb = "en-GB"
7775
7776	// CLMLanguageCodeEnAu is a CLMLanguageCode enum value
7777	CLMLanguageCodeEnAu = "en-AU"
7778)
7779
7780// CLMLanguageCode_Values returns all elements of the CLMLanguageCode enum
7781func CLMLanguageCode_Values() []string {
7782	return []string{
7783		CLMLanguageCodeEnUs,
7784		CLMLanguageCodeHiIn,
7785		CLMLanguageCodeEsUs,
7786		CLMLanguageCodeEnGb,
7787		CLMLanguageCodeEnAu,
7788	}
7789}
7790
7791const (
7792	// LanguageCodeAfZa is a LanguageCode enum value
7793	LanguageCodeAfZa = "af-ZA"
7794
7795	// LanguageCodeArAe is a LanguageCode enum value
7796	LanguageCodeArAe = "ar-AE"
7797
7798	// LanguageCodeArSa is a LanguageCode enum value
7799	LanguageCodeArSa = "ar-SA"
7800
7801	// LanguageCodeCyGb is a LanguageCode enum value
7802	LanguageCodeCyGb = "cy-GB"
7803
7804	// LanguageCodeDaDk is a LanguageCode enum value
7805	LanguageCodeDaDk = "da-DK"
7806
7807	// LanguageCodeDeCh is a LanguageCode enum value
7808	LanguageCodeDeCh = "de-CH"
7809
7810	// LanguageCodeDeDe is a LanguageCode enum value
7811	LanguageCodeDeDe = "de-DE"
7812
7813	// LanguageCodeEnAb is a LanguageCode enum value
7814	LanguageCodeEnAb = "en-AB"
7815
7816	// LanguageCodeEnAu is a LanguageCode enum value
7817	LanguageCodeEnAu = "en-AU"
7818
7819	// LanguageCodeEnGb is a LanguageCode enum value
7820	LanguageCodeEnGb = "en-GB"
7821
7822	// LanguageCodeEnIe is a LanguageCode enum value
7823	LanguageCodeEnIe = "en-IE"
7824
7825	// LanguageCodeEnIn is a LanguageCode enum value
7826	LanguageCodeEnIn = "en-IN"
7827
7828	// LanguageCodeEnUs is a LanguageCode enum value
7829	LanguageCodeEnUs = "en-US"
7830
7831	// LanguageCodeEnWl is a LanguageCode enum value
7832	LanguageCodeEnWl = "en-WL"
7833
7834	// LanguageCodeEsEs is a LanguageCode enum value
7835	LanguageCodeEsEs = "es-ES"
7836
7837	// LanguageCodeEsUs is a LanguageCode enum value
7838	LanguageCodeEsUs = "es-US"
7839
7840	// LanguageCodeFaIr is a LanguageCode enum value
7841	LanguageCodeFaIr = "fa-IR"
7842
7843	// LanguageCodeFrCa is a LanguageCode enum value
7844	LanguageCodeFrCa = "fr-CA"
7845
7846	// LanguageCodeFrFr is a LanguageCode enum value
7847	LanguageCodeFrFr = "fr-FR"
7848
7849	// LanguageCodeGaIe is a LanguageCode enum value
7850	LanguageCodeGaIe = "ga-IE"
7851
7852	// LanguageCodeGdGb is a LanguageCode enum value
7853	LanguageCodeGdGb = "gd-GB"
7854
7855	// LanguageCodeHeIl is a LanguageCode enum value
7856	LanguageCodeHeIl = "he-IL"
7857
7858	// LanguageCodeHiIn is a LanguageCode enum value
7859	LanguageCodeHiIn = "hi-IN"
7860
7861	// LanguageCodeIdId is a LanguageCode enum value
7862	LanguageCodeIdId = "id-ID"
7863
7864	// LanguageCodeItIt is a LanguageCode enum value
7865	LanguageCodeItIt = "it-IT"
7866
7867	// LanguageCodeJaJp is a LanguageCode enum value
7868	LanguageCodeJaJp = "ja-JP"
7869
7870	// LanguageCodeKoKr is a LanguageCode enum value
7871	LanguageCodeKoKr = "ko-KR"
7872
7873	// LanguageCodeMsMy is a LanguageCode enum value
7874	LanguageCodeMsMy = "ms-MY"
7875
7876	// LanguageCodeNlNl is a LanguageCode enum value
7877	LanguageCodeNlNl = "nl-NL"
7878
7879	// LanguageCodePtBr is a LanguageCode enum value
7880	LanguageCodePtBr = "pt-BR"
7881
7882	// LanguageCodePtPt is a LanguageCode enum value
7883	LanguageCodePtPt = "pt-PT"
7884
7885	// LanguageCodeRuRu is a LanguageCode enum value
7886	LanguageCodeRuRu = "ru-RU"
7887
7888	// LanguageCodeTaIn is a LanguageCode enum value
7889	LanguageCodeTaIn = "ta-IN"
7890
7891	// LanguageCodeTeIn is a LanguageCode enum value
7892	LanguageCodeTeIn = "te-IN"
7893
7894	// LanguageCodeTrTr is a LanguageCode enum value
7895	LanguageCodeTrTr = "tr-TR"
7896
7897	// LanguageCodeZhCn is a LanguageCode enum value
7898	LanguageCodeZhCn = "zh-CN"
7899)
7900
7901// LanguageCode_Values returns all elements of the LanguageCode enum
7902func LanguageCode_Values() []string {
7903	return []string{
7904		LanguageCodeAfZa,
7905		LanguageCodeArAe,
7906		LanguageCodeArSa,
7907		LanguageCodeCyGb,
7908		LanguageCodeDaDk,
7909		LanguageCodeDeCh,
7910		LanguageCodeDeDe,
7911		LanguageCodeEnAb,
7912		LanguageCodeEnAu,
7913		LanguageCodeEnGb,
7914		LanguageCodeEnIe,
7915		LanguageCodeEnIn,
7916		LanguageCodeEnUs,
7917		LanguageCodeEnWl,
7918		LanguageCodeEsEs,
7919		LanguageCodeEsUs,
7920		LanguageCodeFaIr,
7921		LanguageCodeFrCa,
7922		LanguageCodeFrFr,
7923		LanguageCodeGaIe,
7924		LanguageCodeGdGb,
7925		LanguageCodeHeIl,
7926		LanguageCodeHiIn,
7927		LanguageCodeIdId,
7928		LanguageCodeItIt,
7929		LanguageCodeJaJp,
7930		LanguageCodeKoKr,
7931		LanguageCodeMsMy,
7932		LanguageCodeNlNl,
7933		LanguageCodePtBr,
7934		LanguageCodePtPt,
7935		LanguageCodeRuRu,
7936		LanguageCodeTaIn,
7937		LanguageCodeTeIn,
7938		LanguageCodeTrTr,
7939		LanguageCodeZhCn,
7940	}
7941}
7942
7943const (
7944	// MediaFormatMp3 is a MediaFormat enum value
7945	MediaFormatMp3 = "mp3"
7946
7947	// MediaFormatMp4 is a MediaFormat enum value
7948	MediaFormatMp4 = "mp4"
7949
7950	// MediaFormatWav is a MediaFormat enum value
7951	MediaFormatWav = "wav"
7952
7953	// MediaFormatFlac is a MediaFormat enum value
7954	MediaFormatFlac = "flac"
7955
7956	// MediaFormatOgg is a MediaFormat enum value
7957	MediaFormatOgg = "ogg"
7958
7959	// MediaFormatAmr is a MediaFormat enum value
7960	MediaFormatAmr = "amr"
7961
7962	// MediaFormatWebm is a MediaFormat enum value
7963	MediaFormatWebm = "webm"
7964)
7965
7966// MediaFormat_Values returns all elements of the MediaFormat enum
7967func MediaFormat_Values() []string {
7968	return []string{
7969		MediaFormatMp3,
7970		MediaFormatMp4,
7971		MediaFormatWav,
7972		MediaFormatFlac,
7973		MediaFormatOgg,
7974		MediaFormatAmr,
7975		MediaFormatWebm,
7976	}
7977}
7978
7979const (
7980	// MedicalContentIdentificationTypePhi is a MedicalContentIdentificationType enum value
7981	MedicalContentIdentificationTypePhi = "PHI"
7982)
7983
7984// MedicalContentIdentificationType_Values returns all elements of the MedicalContentIdentificationType enum
7985func MedicalContentIdentificationType_Values() []string {
7986	return []string{
7987		MedicalContentIdentificationTypePhi,
7988	}
7989}
7990
7991const (
7992	// ModelStatusInProgress is a ModelStatus enum value
7993	ModelStatusInProgress = "IN_PROGRESS"
7994
7995	// ModelStatusFailed is a ModelStatus enum value
7996	ModelStatusFailed = "FAILED"
7997
7998	// ModelStatusCompleted is a ModelStatus enum value
7999	ModelStatusCompleted = "COMPLETED"
8000)
8001
8002// ModelStatus_Values returns all elements of the ModelStatus enum
8003func ModelStatus_Values() []string {
8004	return []string{
8005		ModelStatusInProgress,
8006		ModelStatusFailed,
8007		ModelStatusCompleted,
8008	}
8009}
8010
8011const (
8012	// OutputLocationTypeCustomerBucket is a OutputLocationType enum value
8013	OutputLocationTypeCustomerBucket = "CUSTOMER_BUCKET"
8014
8015	// OutputLocationTypeServiceBucket is a OutputLocationType enum value
8016	OutputLocationTypeServiceBucket = "SERVICE_BUCKET"
8017)
8018
8019// OutputLocationType_Values returns all elements of the OutputLocationType enum
8020func OutputLocationType_Values() []string {
8021	return []string{
8022		OutputLocationTypeCustomerBucket,
8023		OutputLocationTypeServiceBucket,
8024	}
8025}
8026
8027const (
8028	// RedactionOutputRedacted is a RedactionOutput enum value
8029	RedactionOutputRedacted = "redacted"
8030
8031	// RedactionOutputRedactedAndUnredacted is a RedactionOutput enum value
8032	RedactionOutputRedactedAndUnredacted = "redacted_and_unredacted"
8033)
8034
8035// RedactionOutput_Values returns all elements of the RedactionOutput enum
8036func RedactionOutput_Values() []string {
8037	return []string{
8038		RedactionOutputRedacted,
8039		RedactionOutputRedactedAndUnredacted,
8040	}
8041}
8042
8043const (
8044	// RedactionTypePii is a RedactionType enum value
8045	RedactionTypePii = "PII"
8046)
8047
8048// RedactionType_Values returns all elements of the RedactionType enum
8049func RedactionType_Values() []string {
8050	return []string{
8051		RedactionTypePii,
8052	}
8053}
8054
8055const (
8056	// SpecialtyPrimarycare is a Specialty enum value
8057	SpecialtyPrimarycare = "PRIMARYCARE"
8058)
8059
8060// Specialty_Values returns all elements of the Specialty enum
8061func Specialty_Values() []string {
8062	return []string{
8063		SpecialtyPrimarycare,
8064	}
8065}
8066
8067const (
8068	// TranscriptionJobStatusQueued is a TranscriptionJobStatus enum value
8069	TranscriptionJobStatusQueued = "QUEUED"
8070
8071	// TranscriptionJobStatusInProgress is a TranscriptionJobStatus enum value
8072	TranscriptionJobStatusInProgress = "IN_PROGRESS"
8073
8074	// TranscriptionJobStatusFailed is a TranscriptionJobStatus enum value
8075	TranscriptionJobStatusFailed = "FAILED"
8076
8077	// TranscriptionJobStatusCompleted is a TranscriptionJobStatus enum value
8078	TranscriptionJobStatusCompleted = "COMPLETED"
8079)
8080
8081// TranscriptionJobStatus_Values returns all elements of the TranscriptionJobStatus enum
8082func TranscriptionJobStatus_Values() []string {
8083	return []string{
8084		TranscriptionJobStatusQueued,
8085		TranscriptionJobStatusInProgress,
8086		TranscriptionJobStatusFailed,
8087		TranscriptionJobStatusCompleted,
8088	}
8089}
8090
8091const (
8092	// TypeConversation is a Type enum value
8093	TypeConversation = "CONVERSATION"
8094
8095	// TypeDictation is a Type enum value
8096	TypeDictation = "DICTATION"
8097)
8098
8099// Type_Values returns all elements of the Type enum
8100func Type_Values() []string {
8101	return []string{
8102		TypeConversation,
8103		TypeDictation,
8104	}
8105}
8106
8107const (
8108	// VocabularyFilterMethodRemove is a VocabularyFilterMethod enum value
8109	VocabularyFilterMethodRemove = "remove"
8110
8111	// VocabularyFilterMethodMask is a VocabularyFilterMethod enum value
8112	VocabularyFilterMethodMask = "mask"
8113
8114	// VocabularyFilterMethodTag is a VocabularyFilterMethod enum value
8115	VocabularyFilterMethodTag = "tag"
8116)
8117
8118// VocabularyFilterMethod_Values returns all elements of the VocabularyFilterMethod enum
8119func VocabularyFilterMethod_Values() []string {
8120	return []string{
8121		VocabularyFilterMethodRemove,
8122		VocabularyFilterMethodMask,
8123		VocabularyFilterMethodTag,
8124	}
8125}
8126
8127const (
8128	// VocabularyStatePending is a VocabularyState enum value
8129	VocabularyStatePending = "PENDING"
8130
8131	// VocabularyStateReady is a VocabularyState enum value
8132	VocabularyStateReady = "READY"
8133
8134	// VocabularyStateFailed is a VocabularyState enum value
8135	VocabularyStateFailed = "FAILED"
8136)
8137
8138// VocabularyState_Values returns all elements of the VocabularyState enum
8139func VocabularyState_Values() []string {
8140	return []string{
8141		VocabularyStatePending,
8142		VocabularyStateReady,
8143		VocabularyStateFailed,
8144	}
8145}
8146