aws-sdk-transcribeservice 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1257127bd227e7cb30db6c6ac1c0200a3e34274b
4
- data.tar.gz: 4dedea408c5db92bb412e9b98c599bcf1e2c5b30
3
+ metadata.gz: 6345664e4d3a5081b6a62031dc669cc26b548436
4
+ data.tar.gz: accbd7abac93f5afe32669ad09bbe8208185c1e6
5
5
  SHA512:
6
- metadata.gz: 72df577ba242d5ef058fd94f66a2605bbbf6f7233407a2c29e01c7f4aae67963e5843c24263ab61ecf9346efd30a745f7369df8064880962e93273c383f5aa9e
7
- data.tar.gz: 84c11aeaa5a5aef0567e72c13a706d3a7caa6ac1c4ff0ede263e3d51fd2809d99504b2a961f425678f2813bdf95053b7bccfe73d696aa2d2dcb55965b5effda0
6
+ metadata.gz: 76b0c4cb93e626c52aff68ee23f2312ef41b1a01c35fdff2bc9fc596215fc4dd64017e72c6b6fee189d4d47fffe0d2fe80e44334ebb7df58307c9509c6b05ae5
7
+ data.tar.gz: 1740702d3da0facd15c83c956599a986eccbebf4ebd0ba2bdd2182a38d26507ef8ed12d3ba3d0b720a43152363ec01cdc4ca39f72e9be5ea31a2129151ab637e
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
42
42
  # @service
43
43
  module Aws::TranscribeService
44
44
 
45
- GEM_VERSION = '1.10.0'
45
+ GEM_VERSION = '1.11.0'
46
46
 
47
47
  end
@@ -15,6 +15,7 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
15
15
  require 'aws-sdk-core/plugins/retry_errors.rb'
16
16
  require 'aws-sdk-core/plugins/global_configuration.rb'
17
17
  require 'aws-sdk-core/plugins/regional_endpoint.rb'
18
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
18
19
  require 'aws-sdk-core/plugins/response_paging.rb'
19
20
  require 'aws-sdk-core/plugins/stub_responses.rb'
20
21
  require 'aws-sdk-core/plugins/idempotency_token.rb'
@@ -45,6 +46,7 @@ module Aws::TranscribeService
45
46
  add_plugin(Aws::Plugins::RetryErrors)
46
47
  add_plugin(Aws::Plugins::GlobalConfiguration)
47
48
  add_plugin(Aws::Plugins::RegionalEndpoint)
49
+ add_plugin(Aws::Plugins::EndpointDiscovery)
48
50
  add_plugin(Aws::Plugins::ResponsePaging)
49
51
  add_plugin(Aws::Plugins::StubResponses)
50
52
  add_plugin(Aws::Plugins::IdempotencyToken)
@@ -98,6 +100,10 @@ module Aws::TranscribeService
98
100
  #
99
101
  # @option options [String] :access_key_id
100
102
  #
103
+ # @option options [Boolean] :active_endpoint_cache (false)
104
+ # When set to `true`, a thread polling for endpoints will be running in
105
+ # the background every 60 secs (default). Defaults to `false`.
106
+ #
101
107
  # @option options [Boolean] :client_side_monitoring (false)
102
108
  # When `true`, client-side metrics will be collected for all API requests from
103
109
  # this client.
@@ -123,6 +129,21 @@ module Aws::TranscribeService
123
129
  # option. You should only configure an `:endpoint` when connecting
124
130
  # to test endpoints. This should be avalid HTTP(S) URI.
125
131
  #
132
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
133
+ # Used for the maximum size limit of the LRU cache storing endpoints data
134
+ # for endpoint discovery enabled operations. Defaults to 1000.
135
+ #
136
+ # @option options [Integer] :endpoint_cache_max_threads (10)
137
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
138
+ #
139
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
140
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
141
+ # Use this option to config the time interval in seconds for making
142
+ # requests fetching endpoints information. Defaults to 60 sec.
143
+ #
144
+ # @option options [Boolean] :endpoint_discovery (false)
145
+ # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
146
+ #
126
147
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
127
148
  # The log formatter.
128
149
  #
@@ -216,14 +237,14 @@ module Aws::TranscribeService
216
237
  #
217
238
  # resp = client.create_vocabulary({
218
239
  # vocabulary_name: "VocabularyName", # required
219
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
240
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
220
241
  # phrases: ["Phrase"], # required
221
242
  # })
222
243
  #
223
244
  # @example Response structure
224
245
  #
225
246
  # resp.vocabulary_name #=> String
226
- # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
247
+ # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
227
248
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
228
249
  # resp.last_modified_time #=> Time
229
250
  # resp.failure_reason #=> String
@@ -237,7 +258,7 @@ module Aws::TranscribeService
237
258
  req.send_request(options)
238
259
  end
239
260
 
240
- # Deletes a previously submitted transcription job as well as any other
261
+ # Deletes a previously submitted transcription job along with any other
241
262
  # generated results such as the transcription, models, and so on.
242
263
  #
243
264
  # @option params [required, String] :transcription_job_name
@@ -304,7 +325,7 @@ module Aws::TranscribeService
304
325
  #
305
326
  # resp.transcription_job.transcription_job_name #=> String
306
327
  # resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
307
- # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
328
+ # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
308
329
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
309
330
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
310
331
  # resp.transcription_job.media.media_file_uri #=> String
@@ -353,7 +374,7 @@ module Aws::TranscribeService
353
374
  # @example Response structure
354
375
  #
355
376
  # resp.vocabulary_name #=> String
356
- # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
377
+ # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
357
378
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
358
379
  # resp.last_modified_time #=> Time
359
380
  # resp.failure_reason #=> String
@@ -410,7 +431,7 @@ module Aws::TranscribeService
410
431
  # resp.transcription_job_summaries[0].transcription_job_name #=> String
411
432
  # resp.transcription_job_summaries[0].creation_time #=> Time
412
433
  # resp.transcription_job_summaries[0].completion_time #=> Time
413
- # resp.transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
434
+ # 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"
414
435
  # resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
415
436
  # resp.transcription_job_summaries[0].failure_reason #=> String
416
437
  # resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
@@ -467,7 +488,7 @@ module Aws::TranscribeService
467
488
  # resp.next_token #=> String
468
489
  # resp.vocabularies #=> Array
469
490
  # resp.vocabularies[0].vocabulary_name #=> String
470
- # resp.vocabularies[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
491
+ # resp.vocabularies[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
471
492
  # resp.vocabularies[0].last_modified_time #=> Time
472
493
  # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
473
494
  #
@@ -485,8 +506,9 @@ module Aws::TranscribeService
485
506
  # available to whitelisted customers.
486
507
  #
487
508
  # @option params [required, String] :transcription_job_name
488
- # The name of the job. You can't use the strings "." or ".." in the
489
- # job name. The name must be unique within an AWS account.
509
+ # The name of the job. Note that you can't use the strings "." or
510
+ # ".." by themselves as the job name. The name must also be unique
511
+ # within an AWS account.
490
512
  #
491
513
  # @option params [required, String] :language_code
492
514
  # The language code for the language used in the input media file.
@@ -531,7 +553,7 @@ module Aws::TranscribeService
531
553
  #
532
554
  # resp = client.start_transcription_job({
533
555
  # transcription_job_name: "TranscriptionJobName", # required
534
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
556
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
535
557
  # media_sample_rate_hertz: 1,
536
558
  # media_format: "mp3", # required, accepts mp3, mp4, wav, flac
537
559
  # media: { # required
@@ -550,7 +572,7 @@ module Aws::TranscribeService
550
572
  #
551
573
  # resp.transcription_job.transcription_job_name #=> String
552
574
  # resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
553
- # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
575
+ # resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
554
576
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
555
577
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
556
578
  # resp.transcription_job.media.media_file_uri #=> String
@@ -599,14 +621,14 @@ module Aws::TranscribeService
599
621
  #
600
622
  # resp = client.update_vocabulary({
601
623
  # vocabulary_name: "VocabularyName", # required
602
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
624
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
603
625
  # phrases: ["Phrase"], # required
604
626
  # })
605
627
  #
606
628
  # @example Response structure
607
629
  #
608
630
  # resp.vocabulary_name #=> String
609
- # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-UK"
631
+ # resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
610
632
  # resp.last_modified_time #=> Time
611
633
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
612
634
  #
@@ -632,7 +654,7 @@ module Aws::TranscribeService
632
654
  params: params,
633
655
  config: config)
634
656
  context[:gem_name] = 'aws-sdk-transcribeservice'
635
- context[:gem_version] = '1.10.0'
657
+ context[:gem_version] = '1.11.0'
636
658
  Seahorse::Client::Request.new(handlers, context)
637
659
  end
638
660
 
@@ -13,7 +13,7 @@ module Aws::TranscribeService
13
13
  #
14
14
  # {
15
15
  # vocabulary_name: "VocabularyName", # required
16
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
16
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
17
17
  # phrases: ["Phrase"], # required
18
18
  # }
19
19
  #
@@ -440,7 +440,7 @@ module Aws::TranscribeService
440
440
  #
441
441
  # {
442
442
  # transcription_job_name: "TranscriptionJobName", # required
443
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
443
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
444
444
  # media_sample_rate_hertz: 1,
445
445
  # media_format: "mp3", # required, accepts mp3, mp4, wav, flac
446
446
  # media: { # required
@@ -456,8 +456,9 @@ module Aws::TranscribeService
456
456
  # }
457
457
  #
458
458
  # @!attribute [rw] transcription_job_name
459
- # The name of the job. You can't use the strings "." or ".." in
460
- # the job name. The name must be unique within an AWS account.
459
+ # The name of the job. Note that you can't use the strings "." or
460
+ # ".." by themselves as the job name. The name must also be unique
461
+ # within an AWS account.
461
462
  # @return [String]
462
463
  #
463
464
  # @!attribute [rw] language_code
@@ -679,7 +680,7 @@ module Aws::TranscribeService
679
680
  #
680
681
  # {
681
682
  # vocabulary_name: "VocabularyName", # required
682
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-UK
683
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
683
684
  # phrases: ["Phrase"], # required
684
685
  # }
685
686
  #
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.10.0
4
+ version: 1.11.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: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core