aws-sdk-transcribeservice 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 689c95662c7de48fd738135f02b7c738af0e6f36
4
- data.tar.gz: 8a02aaa9c610f77d5f72bc2683eee58413108a7c
3
+ metadata.gz: '09714dd52658c4b3fbee40b18fd1fe0686fc81a9'
4
+ data.tar.gz: e321ac45021a0353bf811f47424c54ebae8e8c10
5
5
  SHA512:
6
- metadata.gz: 200d08ba241d4b43f1b09062a2c05f3360bfcf5b4fd2ca25c26fe6ce21c2e9d35712441bdc18524eb7c6cccdd0c1e63c5065b8aea5e6ac3fa4c321fd25b74527
7
- data.tar.gz: a03e9dfeaed3654a0f21f5a2a5342f41330ae61281933ef2291349e7316e23888d29e01ec963fec45003aab38c13ceea5f5d5e3f0931d7cc4832f8e2f5bde7f8
6
+ metadata.gz: 58a08be8d8cb397e5b4aac50a480835d42c2c558b36420b5db2f784d8d1f788baec5f03a34f0909d822f99f8f40cabbc7c39af7f321e5b2e6b4870c7c115f955
7
+ data.tar.gz: 8821c51f28999a530fa8c7c5d560d25264d59bda9faee032aa3671a680c0920f657a7afe83b161c88af79d536a97ecef8fb9f46571a9fc1a366c3e4fcfd70abb
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
42
42
  # @service
43
43
  module Aws::TranscribeService
44
44
 
45
- GEM_VERSION = '1.33.0'
45
+ GEM_VERSION = '1.34.0'
46
46
 
47
47
  end
@@ -401,12 +401,13 @@ module Aws::TranscribeService
401
401
  # @example Response structure
402
402
  #
403
403
  # resp.transcription_job.transcription_job_name #=> String
404
- # resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
404
+ # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
405
405
  # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
406
406
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
407
407
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
408
408
  # resp.transcription_job.media.media_file_uri #=> String
409
409
  # resp.transcription_job.transcript.transcript_file_uri #=> String
410
+ # resp.transcription_job.start_time #=> Time
410
411
  # resp.transcription_job.creation_time #=> Time
411
412
  # resp.transcription_job.completion_time #=> Time
412
413
  # resp.transcription_job.failure_reason #=> String
@@ -416,6 +417,8 @@ module Aws::TranscribeService
416
417
  # resp.transcription_job.settings.channel_identification #=> Boolean
417
418
  # resp.transcription_job.settings.show_alternatives #=> Boolean
418
419
  # resp.transcription_job.settings.max_alternatives #=> Integer
420
+ # resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
421
+ # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
419
422
  #
420
423
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
421
424
  #
@@ -495,7 +498,7 @@ module Aws::TranscribeService
495
498
  # @example Request syntax with placeholder values
496
499
  #
497
500
  # resp = client.list_transcription_jobs({
498
- # status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, COMPLETED
501
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, FAILED, COMPLETED
499
502
  # job_name_contains: "TranscriptionJobName",
500
503
  # next_token: "NextToken",
501
504
  # max_results: 1,
@@ -503,14 +506,15 @@ module Aws::TranscribeService
503
506
  #
504
507
  # @example Response structure
505
508
  #
506
- # resp.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
509
+ # resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
507
510
  # resp.next_token #=> String
508
511
  # resp.transcription_job_summaries #=> Array
509
512
  # resp.transcription_job_summaries[0].transcription_job_name #=> String
510
513
  # resp.transcription_job_summaries[0].creation_time #=> Time
514
+ # resp.transcription_job_summaries[0].start_time #=> Time
511
515
  # resp.transcription_job_summaries[0].completion_time #=> Time
512
516
  # resp.transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
513
- # resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
517
+ # resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
514
518
  # resp.transcription_job_summaries[0].failure_reason #=> String
515
519
  # resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
516
520
  #
@@ -562,7 +566,7 @@ module Aws::TranscribeService
562
566
  #
563
567
  # @example Response structure
564
568
  #
565
- # resp.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
569
+ # resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
566
570
  # resp.next_token #=> String
567
571
  # resp.vocabularies #=> Array
568
572
  # resp.vocabularies[0].vocabulary_name #=> String
@@ -663,6 +667,12 @@ module Aws::TranscribeService
663
667
  # A `Settings` object that provides optional settings for a
664
668
  # transcription job.
665
669
  #
670
+ # @option params [Types::JobExecutionSettings] :job_execution_settings
671
+ # Provides information about how a transcription job is executed. Use
672
+ # this field to indicate that the job can be queued for deferred
673
+ # execution if the concurrency limit is reached and there are no slots
674
+ # available to immediately run the job.
675
+ #
666
676
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
667
677
  #
668
678
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -687,17 +697,22 @@ module Aws::TranscribeService
687
697
  # show_alternatives: false,
688
698
  # max_alternatives: 1,
689
699
  # },
700
+ # job_execution_settings: {
701
+ # allow_deferred_execution: false,
702
+ # data_access_role_arn: "DataAccessRoleArn",
703
+ # },
690
704
  # })
691
705
  #
692
706
  # @example Response structure
693
707
  #
694
708
  # resp.transcription_job.transcription_job_name #=> String
695
- # resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
709
+ # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
696
710
  # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
697
711
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
698
712
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
699
713
  # resp.transcription_job.media.media_file_uri #=> String
700
714
  # resp.transcription_job.transcript.transcript_file_uri #=> String
715
+ # resp.transcription_job.start_time #=> Time
701
716
  # resp.transcription_job.creation_time #=> Time
702
717
  # resp.transcription_job.completion_time #=> Time
703
718
  # resp.transcription_job.failure_reason #=> String
@@ -707,6 +722,8 @@ module Aws::TranscribeService
707
722
  # resp.transcription_job.settings.channel_identification #=> Boolean
708
723
  # resp.transcription_job.settings.show_alternatives #=> Boolean
709
724
  # resp.transcription_job.settings.max_alternatives #=> Integer
725
+ # resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
726
+ # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
710
727
  #
711
728
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
712
729
  #
@@ -799,7 +816,7 @@ module Aws::TranscribeService
799
816
  params: params,
800
817
  config: config)
801
818
  context[:gem_name] = 'aws-sdk-transcribeservice'
802
- context[:gem_version] = '1.33.0'
819
+ context[:gem_version] = '1.34.0'
803
820
  Seahorse::Client::Request.new(handlers, context)
804
821
  end
805
822
 
@@ -16,6 +16,7 @@ module Aws::TranscribeService
16
16
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
17
17
  CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
18
18
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
19
+ DataAccessRoleArn = Shapes::StringShape.new(name: 'DataAccessRoleArn')
19
20
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
20
21
  DeleteTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteTranscriptionJobRequest')
21
22
  DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
@@ -25,6 +26,7 @@ module Aws::TranscribeService
25
26
  GetVocabularyRequest = Shapes::StructureShape.new(name: 'GetVocabularyRequest')
26
27
  GetVocabularyResponse = Shapes::StructureShape.new(name: 'GetVocabularyResponse')
27
28
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
29
+ JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
28
30
  KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
29
31
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
30
32
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -107,6 +109,10 @@ module Aws::TranscribeService
107
109
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
108
110
  InternalFailureException.struct_class = Types::InternalFailureException
109
111
 
112
+ JobExecutionSettings.add_member(:allow_deferred_execution, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowDeferredExecution"))
113
+ JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
114
+ JobExecutionSettings.struct_class = Types::JobExecutionSettings
115
+
110
116
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
111
117
  LimitExceededException.struct_class = Types::LimitExceededException
112
118
 
@@ -156,6 +162,7 @@ module Aws::TranscribeService
156
162
  StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
157
163
  StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
158
164
  StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
165
+ StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
159
166
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
160
167
 
161
168
  StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
@@ -171,16 +178,19 @@ module Aws::TranscribeService
171
178
  TranscriptionJob.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
172
179
  TranscriptionJob.add_member(:media, Shapes::ShapeRef.new(shape: Media, location_name: "Media"))
173
180
  TranscriptionJob.add_member(:transcript, Shapes::ShapeRef.new(shape: Transcript, location_name: "Transcript"))
181
+ TranscriptionJob.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
174
182
  TranscriptionJob.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTime"))
175
183
  TranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
176
184
  TranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
177
185
  TranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
186
+ TranscriptionJob.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
178
187
  TranscriptionJob.struct_class = Types::TranscriptionJob
179
188
 
180
189
  TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
181
190
 
182
191
  TranscriptionJobSummary.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "TranscriptionJobName"))
183
192
  TranscriptionJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTime"))
193
+ TranscriptionJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
184
194
  TranscriptionJobSummary.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
185
195
  TranscriptionJobSummary.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
186
196
  TranscriptionJobSummary.add_member(:transcription_job_status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "TranscriptionJobStatus"))
@@ -268,6 +268,48 @@ module Aws::TranscribeService
268
268
  include Aws::Structure
269
269
  end
270
270
 
271
+ # Provides information about when a transcription job should be
272
+ # executed.
273
+ #
274
+ # @note When making an API call, you may pass JobExecutionSettings
275
+ # data as a hash:
276
+ #
277
+ # {
278
+ # allow_deferred_execution: false,
279
+ # data_access_role_arn: "DataAccessRoleArn",
280
+ # }
281
+ #
282
+ # @!attribute [rw] allow_deferred_execution
283
+ # Indicates whether a job should be queued by Amazon Transcribe when
284
+ # the concurrent execution limit is exceeded. When the
285
+ # `AllowDeferredExecution` field is true, jobs are queued and will be
286
+ # executed when the number of executing jobs falls below the
287
+ # concurrent execution limit. If the field is false, Amazon Transcribe
288
+ # returns a `LimitExceededException` exception.
289
+ #
290
+ # If you specify the `AllowDeferredExecution` field, you must specify
291
+ # the `DataAccessRoleArn` field.
292
+ # @return [Boolean]
293
+ #
294
+ # @!attribute [rw] data_access_role_arn
295
+ # The Amazon Resource Name (ARN) of a role that has access to the S3
296
+ # bucket that contains the input files. Amazon Transcribe will assume
297
+ # this role to read queued media files. If you have specified an
298
+ # output S3 bucket for the transcription results, this role should
299
+ # have access to the output bucket as well.
300
+ #
301
+ # If you specify the `AllowDeferredExecution` field, you must specify
302
+ # the `DataAccessRoleArn` field.
303
+ # @return [String]
304
+ #
305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/JobExecutionSettings AWS API Documentation
306
+ #
307
+ class JobExecutionSettings < Struct.new(
308
+ :allow_deferred_execution,
309
+ :data_access_role_arn)
310
+ include Aws::Structure
311
+ end
312
+
271
313
  # Either you have sent too many requests or your input file is too long.
272
314
  # Wait before you resend your request, or use a smaller file and resend
273
315
  # the request.
@@ -286,7 +328,7 @@ module Aws::TranscribeService
286
328
  # data as a hash:
287
329
  #
288
330
  # {
289
- # status: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, COMPLETED
331
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, FAILED, COMPLETED
290
332
  # job_name_contains: "TranscriptionJobName",
291
333
  # next_token: "NextToken",
292
334
  # max_results: 1,
@@ -574,6 +616,10 @@ module Aws::TranscribeService
574
616
  # show_alternatives: false,
575
617
  # max_alternatives: 1,
576
618
  # },
619
+ # job_execution_settings: {
620
+ # allow_deferred_execution: false,
621
+ # data_access_role_arn: "DataAccessRoleArn",
622
+ # },
577
623
  # }
578
624
  #
579
625
  # @!attribute [rw] transcription_job_name
@@ -670,6 +716,13 @@ module Aws::TranscribeService
670
716
  # transcription job.
671
717
  # @return [Types::Settings]
672
718
  #
719
+ # @!attribute [rw] job_execution_settings
720
+ # Provides information about how a transcription job is executed. Use
721
+ # this field to indicate that the job can be queued for deferred
722
+ # execution if the concurrency limit is reached and there are no slots
723
+ # available to immediately run the job.
724
+ # @return [Types::JobExecutionSettings]
725
+ #
673
726
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
674
727
  #
675
728
  class StartTranscriptionJobRequest < Struct.new(
@@ -680,7 +733,8 @@ module Aws::TranscribeService
680
733
  :media,
681
734
  :output_bucket_name,
682
735
  :output_encryption_kms_key_id,
683
- :settings)
736
+ :settings,
737
+ :job_execution_settings)
684
738
  include Aws::Structure
685
739
  end
686
740
 
@@ -746,6 +800,10 @@ module Aws::TranscribeService
746
800
  # An object that describes the output of the transcription job.
747
801
  # @return [Types::Transcript]
748
802
  #
803
+ # @!attribute [rw] start_time
804
+ # A timestamp that shows with the job was started processing.
805
+ # @return [Time]
806
+ #
749
807
  # @!attribute [rw] creation_time
750
808
  # A timestamp that shows when the job was created.
751
809
  # @return [Time]
@@ -803,6 +861,10 @@ module Aws::TranscribeService
803
861
  # when processing the transcription job.
804
862
  # @return [Types::Settings]
805
863
  #
864
+ # @!attribute [rw] job_execution_settings
865
+ # Provides information about how a transcription job is executed.
866
+ # @return [Types::JobExecutionSettings]
867
+ #
806
868
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
807
869
  #
808
870
  class TranscriptionJob < Struct.new(
@@ -813,10 +875,12 @@ module Aws::TranscribeService
813
875
  :media_format,
814
876
  :media,
815
877
  :transcript,
878
+ :start_time,
816
879
  :creation_time,
817
880
  :completion_time,
818
881
  :failure_reason,
819
- :settings)
882
+ :settings,
883
+ :job_execution_settings)
820
884
  include Aws::Structure
821
885
  end
822
886
 
@@ -830,6 +894,10 @@ module Aws::TranscribeService
830
894
  # A timestamp that shows when the job was created.
831
895
  # @return [Time]
832
896
  #
897
+ # @!attribute [rw] start_time
898
+ # A timestamp that shows when the job started processing.
899
+ # @return [Time]
900
+ #
833
901
  # @!attribute [rw] completion_time
834
902
  # A timestamp that shows when the job was completed.
835
903
  # @return [Time]
@@ -866,6 +934,7 @@ module Aws::TranscribeService
866
934
  class TranscriptionJobSummary < Struct.new(
867
935
  :transcription_job_name,
868
936
  :creation_time,
937
+ :start_time,
869
938
  :completion_time,
870
939
  :language_code,
871
940
  :transcription_job_status,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribeservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-21 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core