aws-sdk-transcribeservice 1.57.0 → 1.61.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
  SHA256:
3
- metadata.gz: cca02108d48d4cbc083571b676b9ea206a984590f363005630f34b77be4e4880
4
- data.tar.gz: 12477ec0d487fee1341816e549e6dab5c428920f59d3400e6b3314ed6224fb65
3
+ metadata.gz: c8512acf17d22b0361f946bbf3c59cf568c27f1ca1e381989f36dedcc5dc4f85
4
+ data.tar.gz: e3a340324042c181f1f95877eb918003b6145b7bbe78c2c620afa62725a6aeea
5
5
  SHA512:
6
- metadata.gz: eb89b249a63c808658921ff2036e23a133f4edd91b931cec9395a6c941ba00b456baa45872fa0f99c325ca3305f0761c7a707dbe8db38e5a4b0c2b30fe6e1dab
7
- data.tar.gz: 2d6d7cbc26b61619b41d53c0fe53aa18c3a41ba7299f43f0ef127e4a993abf56765b129192f32666a5d226e8e283da605ffa0084a1c4d922f6fa1862aed306ca
6
+ metadata.gz: c09ca27bba88a7ff8101225d003e8ed145bb236af9e507c665984f678f232891ca2ecddb4e87e17b6f558d3e4f42be1ab27ac89b404a50f12e67a1cd395c0b65
7
+ data.tar.gz: 3a4535ef8941f1c7836a851c5c58dc1ed912029c466496e735f902153ca7ac83b0e29a9993e8591715b80a8bd013be666ce8ded140510692d61890c1332db8ba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.61.0 (2021-09-01)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.60.0 (2021-08-26)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for batch transcription in six new languages - Afrikaans, Danish, Mandarin Chinese (Taiwan), New Zealand English, South African English, and Thai.
13
+
14
+ 1.59.0 (2021-08-24)
15
+ ------------------
16
+
17
+ * Feature - This release adds support for feature tagging with Amazon Transcribe batch jobs.
18
+
19
+ 1.58.0 (2021-08-04)
20
+ ------------------
21
+
22
+ * Feature - This release adds support for call analytics (batch) within Amazon Transcribe.
23
+
4
24
  1.57.0 (2021-07-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.61.0
@@ -337,6 +337,167 @@ module Aws::TranscribeService
337
337
 
338
338
  # @!group API Operations
339
339
 
340
+ # Creates an analytics category. Amazon Transcribe applies the
341
+ # conditions specified by your analytics categories to your call
342
+ # analytics jobs. For each analytics category, you specify one or more
343
+ # rules. For example, you can specify a rule that the customer sentiment
344
+ # was neutral or negative within that category. If you start a call
345
+ # analytics job, Amazon Transcribe applies the category to the analytics
346
+ # job that you've specified.
347
+ #
348
+ # @option params [required, String] :category_name
349
+ # The name that you choose for your category when you create it.
350
+ #
351
+ # @option params [required, Array<Types::Rule>] :rules
352
+ # To create a category, you must specify between 1 and 20 rules. For
353
+ # each rule, you specify a filter to be applied to the attributes of the
354
+ # call. For example, you can specify a sentiment filter to detect if the
355
+ # customer's sentiment was negative or neutral.
356
+ #
357
+ # @return [Types::CreateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
358
+ #
359
+ # * {Types::CreateCallAnalyticsCategoryResponse#category_properties #category_properties} => Types::CategoryProperties
360
+ #
361
+ # @example Request syntax with placeholder values
362
+ #
363
+ # resp = client.create_call_analytics_category({
364
+ # category_name: "CategoryName", # required
365
+ # rules: [ # required
366
+ # {
367
+ # non_talk_time_filter: {
368
+ # threshold: 1,
369
+ # absolute_time_range: {
370
+ # start_time: 1,
371
+ # end_time: 1,
372
+ # first: 1,
373
+ # last: 1,
374
+ # },
375
+ # relative_time_range: {
376
+ # start_percentage: 1,
377
+ # end_percentage: 1,
378
+ # first: 1,
379
+ # last: 1,
380
+ # },
381
+ # negate: false,
382
+ # },
383
+ # interruption_filter: {
384
+ # threshold: 1,
385
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
386
+ # absolute_time_range: {
387
+ # start_time: 1,
388
+ # end_time: 1,
389
+ # first: 1,
390
+ # last: 1,
391
+ # },
392
+ # relative_time_range: {
393
+ # start_percentage: 1,
394
+ # end_percentage: 1,
395
+ # first: 1,
396
+ # last: 1,
397
+ # },
398
+ # negate: false,
399
+ # },
400
+ # transcript_filter: {
401
+ # transcript_filter_type: "EXACT", # required, accepts EXACT
402
+ # absolute_time_range: {
403
+ # start_time: 1,
404
+ # end_time: 1,
405
+ # first: 1,
406
+ # last: 1,
407
+ # },
408
+ # relative_time_range: {
409
+ # start_percentage: 1,
410
+ # end_percentage: 1,
411
+ # first: 1,
412
+ # last: 1,
413
+ # },
414
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
415
+ # negate: false,
416
+ # targets: ["NonEmptyString"], # required
417
+ # },
418
+ # sentiment_filter: {
419
+ # sentiments: ["POSITIVE"], # required, accepts POSITIVE, NEGATIVE, NEUTRAL, MIXED
420
+ # absolute_time_range: {
421
+ # start_time: 1,
422
+ # end_time: 1,
423
+ # first: 1,
424
+ # last: 1,
425
+ # },
426
+ # relative_time_range: {
427
+ # start_percentage: 1,
428
+ # end_percentage: 1,
429
+ # first: 1,
430
+ # last: 1,
431
+ # },
432
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
433
+ # negate: false,
434
+ # },
435
+ # },
436
+ # ],
437
+ # })
438
+ #
439
+ # @example Response structure
440
+ #
441
+ # resp.category_properties.category_name #=> String
442
+ # resp.category_properties.rules #=> Array
443
+ # resp.category_properties.rules[0].non_talk_time_filter.threshold #=> Integer
444
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
445
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
446
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
447
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
448
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
449
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
450
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
451
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
452
+ # resp.category_properties.rules[0].non_talk_time_filter.negate #=> Boolean
453
+ # resp.category_properties.rules[0].interruption_filter.threshold #=> Integer
454
+ # resp.category_properties.rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
455
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
456
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
457
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.first #=> Integer
458
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.last #=> Integer
459
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
460
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
461
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.first #=> Integer
462
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.last #=> Integer
463
+ # resp.category_properties.rules[0].interruption_filter.negate #=> Boolean
464
+ # resp.category_properties.rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
465
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
466
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
467
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.first #=> Integer
468
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.last #=> Integer
469
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
470
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
471
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.first #=> Integer
472
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.last #=> Integer
473
+ # resp.category_properties.rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
474
+ # resp.category_properties.rules[0].transcript_filter.negate #=> Boolean
475
+ # resp.category_properties.rules[0].transcript_filter.targets #=> Array
476
+ # resp.category_properties.rules[0].transcript_filter.targets[0] #=> String
477
+ # resp.category_properties.rules[0].sentiment_filter.sentiments #=> Array
478
+ # resp.category_properties.rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
479
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
480
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
481
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.first #=> Integer
482
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.last #=> Integer
483
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
484
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
485
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.first #=> Integer
486
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.last #=> Integer
487
+ # resp.category_properties.rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
488
+ # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
489
+ # resp.category_properties.create_time #=> Time
490
+ # resp.category_properties.last_update_time #=> Time
491
+ #
492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategory AWS API Documentation
493
+ #
494
+ # @overload create_call_analytics_category(params = {})
495
+ # @param [Hash] params ({})
496
+ def create_call_analytics_category(params = {}, options = {})
497
+ req = build_request(:create_call_analytics_category, params)
498
+ req.send_request(options)
499
+ end
500
+
340
501
  # Creates a new custom language model. Use Amazon S3 prefixes to provide
341
502
  # the location of your input files. The time it takes to create your
342
503
  # model depends on the size of your training data.
@@ -350,10 +511,10 @@ module Aws::TranscribeService
350
511
  # create your custom language model.
351
512
  #
352
513
  # If you want to use your custom language model to transcribe audio with
353
- # a sample rate of 16 kHz or greater, choose `Wideband`.
514
+ # a sample rate of 16,000 Hz or greater, choose `Wideband`.
354
515
  #
355
516
  # If you want to use your custom language model to transcribe audio with
356
- # a sample rate that is less than 16 kHz, choose `Narrowband`.
517
+ # a sample rate that is less than 16,000 Hz, choose `Narrowband`.
357
518
  #
358
519
  # @option params [required, String] :model_name
359
520
  # The name you choose for your custom language model when you create it.
@@ -362,6 +523,10 @@ module Aws::TranscribeService
362
523
  # Contains the data access role and the Amazon S3 prefixes to read the
363
524
  # required input files to create a custom language model.
364
525
  #
526
+ # @option params [Array<Types::Tag>] :tags
527
+ # Adds one or more tags, each in the form of a key:value pair, to a new
528
+ # language model at the time you create this new model.
529
+ #
365
530
  # @return [Types::CreateLanguageModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
366
531
  #
367
532
  # * {Types::CreateLanguageModelResponse#language_code #language_code} => String
@@ -381,6 +546,12 @@ module Aws::TranscribeService
381
546
  # tuning_data_s3_uri: "Uri",
382
547
  # data_access_role_arn: "DataAccessRoleArn", # required
383
548
  # },
549
+ # tags: [
550
+ # {
551
+ # key: "TagKey", # required
552
+ # value: "TagValue", # required
553
+ # },
554
+ # ],
384
555
  # })
385
556
  #
386
557
  # @example Response structure
@@ -402,14 +573,14 @@ module Aws::TranscribeService
402
573
  req.send_request(options)
403
574
  end
404
575
 
405
- # Creates a new custom vocabulary that you can use to change how Amazon
576
+ # Creates a new custom vocabulary that you can use to modify how Amazon
406
577
  # Transcribe Medical transcribes your audio file.
407
578
  #
408
579
  # @option params [required, String] :vocabulary_name
409
580
  # The name of the custom vocabulary. This case-sensitive name must be
410
- # unique within an AWS account. If you try to create a vocabulary with
411
- # the same name as a previous vocabulary, you get a `ConflictException`
412
- # error.
581
+ # unique within an Amazon Web Services account. If you try to create a
582
+ # vocabulary with the same name as a previous vocabulary, you get a
583
+ # `ConflictException` error.
413
584
  #
414
585
  # @option params [required, String] :language_code
415
586
  # The language code for the language used for the entries in your custom
@@ -419,9 +590,9 @@ module Aws::TranscribeService
419
590
  #
420
591
  # @option params [required, String] :vocabulary_file_uri
421
592
  # The location in Amazon S3 of the text file you use to define your
422
- # custom vocabulary. The URI must be in the same AWS Region as the
423
- # resource that you're calling. Enter information about your
424
- # `VocabularyFileUri` in the following format:
593
+ # custom vocabulary. The URI must be in the same Amazon Web Services
594
+ # Region as the resource that you're calling. Enter information about
595
+ # your `VocabularyFileUri` in the following format:
425
596
  #
426
597
  # `
427
598
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -440,8 +611,12 @@ module Aws::TranscribeService
440
611
  #
441
612
  #
442
613
  #
443
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
444
- # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
614
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
615
+ # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
616
+ #
617
+ # @option params [Array<Types::Tag>] :tags
618
+ # Adds one or more tags, each in the form of a key:value pair, to a new
619
+ # medical vocabulary at the time you create this new vocabulary.
445
620
  #
446
621
  # @return [Types::CreateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
447
622
  #
@@ -455,14 +630,20 @@ module Aws::TranscribeService
455
630
  #
456
631
  # resp = client.create_medical_vocabulary({
457
632
  # vocabulary_name: "VocabularyName", # required
458
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
633
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
459
634
  # vocabulary_file_uri: "Uri", # required
635
+ # tags: [
636
+ # {
637
+ # key: "TagKey", # required
638
+ # value: "TagValue", # required
639
+ # },
640
+ # ],
460
641
  # })
461
642
  #
462
643
  # @example Response structure
463
644
  #
464
645
  # resp.vocabulary_name #=> String
465
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
646
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
466
647
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
467
648
  # resp.last_modified_time #=> Time
468
649
  # resp.failure_reason #=> String
@@ -480,14 +661,14 @@ module Aws::TranscribeService
480
661
  # Amazon Transcribe handles transcription of an audio file.
481
662
  #
482
663
  # @option params [required, String] :vocabulary_name
483
- # The name of the vocabulary. The name must be unique within an AWS
484
- # account. The name is case sensitive. If you try to create a vocabulary
485
- # with the same name as a previous vocabulary you will receive a
486
- # `ConflictException` error.
664
+ # The name of the vocabulary. The name must be unique within an Amazon
665
+ # Web Services account. The name is case sensitive. If you try to create
666
+ # a vocabulary with the same name as a previous vocabulary you will
667
+ # receive a `ConflictException` error.
487
668
  #
488
669
  # @option params [required, String] :language_code
489
670
  # The language code of the vocabulary entries. For a list of languages
490
- # and their corresponding language codes, see what-is-transcribe.
671
+ # and their corresponding language codes, see transcribe-whatis.
491
672
  #
492
673
  # @option params [Array<String>] :phrases
493
674
  # An array of strings that contains the vocabulary entries.
@@ -495,18 +676,23 @@ module Aws::TranscribeService
495
676
  # @option params [String] :vocabulary_file_uri
496
677
  # The S3 location of the text file that contains the definition of the
497
678
  # custom vocabulary. The URI must be in the same region as the API
498
- # endpoint that you are calling. The general form is
679
+ # endpoint that you are calling. The general form is:
499
680
  #
500
681
  # For more information about S3 object names, see [Object Keys][1] in
501
682
  # the *Amazon S3 Developer Guide*.
502
683
  #
503
684
  # For more information about custom vocabularies, see [Custom
504
- # Vocabularies][2].
685
+ # vocabularies][2].
686
+ #
505
687
  #
506
688
  #
689
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
690
+ # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
507
691
  #
508
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
509
- # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
692
+ # @option params [Array<Types::Tag>] :tags
693
+ # Adds one or more tags, each in the form of a key:value pair, to a new
694
+ # Amazon Transcribe vocabulary at the time you create this new
695
+ # vocabulary.
510
696
  #
511
697
  # @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
512
698
  #
@@ -520,15 +706,21 @@ module Aws::TranscribeService
520
706
  #
521
707
  # resp = client.create_vocabulary({
522
708
  # vocabulary_name: "VocabularyName", # required
523
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
709
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
524
710
  # phrases: ["Phrase"],
525
711
  # vocabulary_file_uri: "Uri",
712
+ # tags: [
713
+ # {
714
+ # key: "TagKey", # required
715
+ # value: "TagValue", # required
716
+ # },
717
+ # ],
526
718
  # })
527
719
  #
528
720
  # @example Response structure
529
721
  #
530
722
  # resp.vocabulary_name #=> String
531
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
723
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
532
724
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
533
725
  # resp.last_modified_time #=> Time
534
726
  # resp.failure_reason #=> String
@@ -584,6 +776,11 @@ module Aws::TranscribeService
584
776
  #
585
777
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets
586
778
  #
779
+ # @option params [Array<Types::Tag>] :tags
780
+ # Adds one or more tags, each in the form of a key:value pair, to a new
781
+ # Amazon Transcribe vocabulary filter at the time you create this new
782
+ # vocabulary filter.
783
+ #
587
784
  # @return [Types::CreateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
588
785
  #
589
786
  # * {Types::CreateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
@@ -594,15 +791,21 @@ module Aws::TranscribeService
594
791
  #
595
792
  # resp = client.create_vocabulary_filter({
596
793
  # vocabulary_filter_name: "VocabularyFilterName", # required
597
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
794
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
598
795
  # words: ["Word"],
599
796
  # vocabulary_filter_file_uri: "Uri",
797
+ # tags: [
798
+ # {
799
+ # key: "TagKey", # required
800
+ # value: "TagValue", # required
801
+ # },
802
+ # ],
600
803
  # })
601
804
  #
602
805
  # @example Response structure
603
806
  #
604
807
  # resp.vocabulary_filter_name #=> String
605
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
808
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
606
809
  # resp.last_modified_time #=> Time
607
810
  #
608
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter AWS API Documentation
@@ -614,6 +817,51 @@ module Aws::TranscribeService
614
817
  req.send_request(options)
615
818
  end
616
819
 
820
+ # Deletes a call analytics category using its name.
821
+ #
822
+ # @option params [required, String] :category_name
823
+ # The name of the call analytics category that you're choosing to
824
+ # delete. The value is case sensitive.
825
+ #
826
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
827
+ #
828
+ # @example Request syntax with placeholder values
829
+ #
830
+ # resp = client.delete_call_analytics_category({
831
+ # category_name: "CategoryName", # required
832
+ # })
833
+ #
834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsCategory AWS API Documentation
835
+ #
836
+ # @overload delete_call_analytics_category(params = {})
837
+ # @param [Hash] params ({})
838
+ def delete_call_analytics_category(params = {}, options = {})
839
+ req = build_request(:delete_call_analytics_category, params)
840
+ req.send_request(options)
841
+ end
842
+
843
+ # Deletes a call analytics job using its name.
844
+ #
845
+ # @option params [required, String] :call_analytics_job_name
846
+ # The name of the call analytics job you want to delete.
847
+ #
848
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
849
+ #
850
+ # @example Request syntax with placeholder values
851
+ #
852
+ # resp = client.delete_call_analytics_job({
853
+ # call_analytics_job_name: "CallAnalyticsJobName", # required
854
+ # })
855
+ #
856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsJob AWS API Documentation
857
+ #
858
+ # @overload delete_call_analytics_job(params = {})
859
+ # @param [Hash] params ({})
860
+ def delete_call_analytics_job(params = {}, options = {})
861
+ req = build_request(:delete_call_analytics_job, params)
862
+ req.send_request(options)
863
+ end
864
+
617
865
  # Deletes a custom language model using its name.
618
866
  #
619
867
  # @option params [required, String] :model_name
@@ -750,9 +998,9 @@ module Aws::TranscribeService
750
998
  end
751
999
 
752
1000
  # Gets information about a single custom language model. Use this
753
- # information to see details about the language model in your AWS
754
- # account. You can also see whether the base language model used to
755
- # create your custom language model has been updated. If Amazon
1001
+ # information to see details about the language model in your Amazon Web
1002
+ # Services account. You can also see whether the base language model
1003
+ # used to create your custom language model has been updated. If Amazon
756
1004
  # Transcribe has updated the base model, you can create a new custom
757
1005
  # language model using the updated base model. If the language model
758
1006
  # wasn't created, you can use this operation to understand why Amazon
@@ -795,6 +1043,143 @@ module Aws::TranscribeService
795
1043
  req.send_request(options)
796
1044
  end
797
1045
 
1046
+ # Retrieves information about a call analytics category.
1047
+ #
1048
+ # @option params [required, String] :category_name
1049
+ # The name of the category you want information about. This value is
1050
+ # case sensitive.
1051
+ #
1052
+ # @return [Types::GetCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1053
+ #
1054
+ # * {Types::GetCallAnalyticsCategoryResponse#category_properties #category_properties} => Types::CategoryProperties
1055
+ #
1056
+ # @example Request syntax with placeholder values
1057
+ #
1058
+ # resp = client.get_call_analytics_category({
1059
+ # category_name: "CategoryName", # required
1060
+ # })
1061
+ #
1062
+ # @example Response structure
1063
+ #
1064
+ # resp.category_properties.category_name #=> String
1065
+ # resp.category_properties.rules #=> Array
1066
+ # resp.category_properties.rules[0].non_talk_time_filter.threshold #=> Integer
1067
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
1068
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
1069
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
1070
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
1071
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
1072
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
1073
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
1074
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
1075
+ # resp.category_properties.rules[0].non_talk_time_filter.negate #=> Boolean
1076
+ # resp.category_properties.rules[0].interruption_filter.threshold #=> Integer
1077
+ # resp.category_properties.rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1078
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
1079
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
1080
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.first #=> Integer
1081
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.last #=> Integer
1082
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
1083
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
1084
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.first #=> Integer
1085
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.last #=> Integer
1086
+ # resp.category_properties.rules[0].interruption_filter.negate #=> Boolean
1087
+ # resp.category_properties.rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
1088
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
1089
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
1090
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.first #=> Integer
1091
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.last #=> Integer
1092
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
1093
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
1094
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.first #=> Integer
1095
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.last #=> Integer
1096
+ # resp.category_properties.rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1097
+ # resp.category_properties.rules[0].transcript_filter.negate #=> Boolean
1098
+ # resp.category_properties.rules[0].transcript_filter.targets #=> Array
1099
+ # resp.category_properties.rules[0].transcript_filter.targets[0] #=> String
1100
+ # resp.category_properties.rules[0].sentiment_filter.sentiments #=> Array
1101
+ # resp.category_properties.rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
1102
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
1103
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
1104
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.first #=> Integer
1105
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.last #=> Integer
1106
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
1107
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
1108
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.first #=> Integer
1109
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.last #=> Integer
1110
+ # resp.category_properties.rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1111
+ # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
1112
+ # resp.category_properties.create_time #=> Time
1113
+ # resp.category_properties.last_update_time #=> Time
1114
+ #
1115
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategory AWS API Documentation
1116
+ #
1117
+ # @overload get_call_analytics_category(params = {})
1118
+ # @param [Hash] params ({})
1119
+ def get_call_analytics_category(params = {}, options = {})
1120
+ req = build_request(:get_call_analytics_category, params)
1121
+ req.send_request(options)
1122
+ end
1123
+
1124
+ # Returns information about a call analytics job. To see the status of
1125
+ # the job, check the `CallAnalyticsJobStatus` field. If the status is
1126
+ # `COMPLETED`, the job is finished and you can find the results at the
1127
+ # location specified in the `TranscriptFileUri` field. If you enable
1128
+ # personally identifiable information (PII) redaction, the redacted
1129
+ # transcript appears in the `RedactedTranscriptFileUri` field.
1130
+ #
1131
+ # @option params [required, String] :call_analytics_job_name
1132
+ # The name of the analytics job you want information about. This value
1133
+ # is case sensitive.
1134
+ #
1135
+ # @return [Types::GetCallAnalyticsJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1136
+ #
1137
+ # * {Types::GetCallAnalyticsJobResponse#call_analytics_job #call_analytics_job} => Types::CallAnalyticsJob
1138
+ #
1139
+ # @example Request syntax with placeholder values
1140
+ #
1141
+ # resp = client.get_call_analytics_job({
1142
+ # call_analytics_job_name: "CallAnalyticsJobName", # required
1143
+ # })
1144
+ #
1145
+ # @example Response structure
1146
+ #
1147
+ # resp.call_analytics_job.call_analytics_job_name #=> String
1148
+ # resp.call_analytics_job.call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1149
+ # resp.call_analytics_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1150
+ # resp.call_analytics_job.media_sample_rate_hertz #=> Integer
1151
+ # resp.call_analytics_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
1152
+ # resp.call_analytics_job.media.media_file_uri #=> String
1153
+ # resp.call_analytics_job.media.redacted_media_file_uri #=> String
1154
+ # resp.call_analytics_job.transcript.transcript_file_uri #=> String
1155
+ # resp.call_analytics_job.transcript.redacted_transcript_file_uri #=> String
1156
+ # resp.call_analytics_job.start_time #=> Time
1157
+ # resp.call_analytics_job.creation_time #=> Time
1158
+ # resp.call_analytics_job.completion_time #=> Time
1159
+ # resp.call_analytics_job.failure_reason #=> String
1160
+ # resp.call_analytics_job.data_access_role_arn #=> String
1161
+ # resp.call_analytics_job.identified_language_score #=> Float
1162
+ # resp.call_analytics_job.settings.vocabulary_name #=> String
1163
+ # resp.call_analytics_job.settings.vocabulary_filter_name #=> String
1164
+ # resp.call_analytics_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask", "tag"
1165
+ # resp.call_analytics_job.settings.language_model_name #=> String
1166
+ # resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
1167
+ # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1168
+ # resp.call_analytics_job.settings.language_options #=> Array
1169
+ # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1170
+ # resp.call_analytics_job.channel_definitions #=> Array
1171
+ # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1172
+ # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
1173
+ #
1174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJob AWS API Documentation
1175
+ #
1176
+ # @overload get_call_analytics_job(params = {})
1177
+ # @param [Hash] params ({})
1178
+ def get_call_analytics_job(params = {}, options = {})
1179
+ req = build_request(:get_call_analytics_job, params)
1180
+ req.send_request(options)
1181
+ end
1182
+
798
1183
  # Returns information about a transcription job from Amazon Transcribe
799
1184
  # Medical. To see the status of the job, check the
800
1185
  # `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
@@ -818,10 +1203,11 @@ module Aws::TranscribeService
818
1203
  #
819
1204
  # resp.medical_transcription_job.medical_transcription_job_name #=> String
820
1205
  # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
821
- # resp.medical_transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1206
+ # resp.medical_transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
822
1207
  # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
823
1208
  # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
824
1209
  # resp.medical_transcription_job.media.media_file_uri #=> String
1210
+ # resp.medical_transcription_job.media.redacted_media_file_uri #=> String
825
1211
  # resp.medical_transcription_job.transcript.transcript_file_uri #=> String
826
1212
  # resp.medical_transcription_job.start_time #=> Time
827
1213
  # resp.medical_transcription_job.creation_time #=> Time
@@ -836,6 +1222,9 @@ module Aws::TranscribeService
836
1222
  # resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
837
1223
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
838
1224
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
1225
+ # resp.medical_transcription_job.tags #=> Array
1226
+ # resp.medical_transcription_job.tags[0].key #=> String
1227
+ # resp.medical_transcription_job.tags[0].value #=> String
839
1228
  #
840
1229
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob AWS API Documentation
841
1230
  #
@@ -870,7 +1259,7 @@ module Aws::TranscribeService
870
1259
  # @example Response structure
871
1260
  #
872
1261
  # resp.vocabulary_name #=> String
873
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1262
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
874
1263
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
875
1264
  # resp.last_modified_time #=> Time
876
1265
  # resp.failure_reason #=> String
@@ -909,10 +1298,11 @@ module Aws::TranscribeService
909
1298
  #
910
1299
  # resp.transcription_job.transcription_job_name #=> String
911
1300
  # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
912
- # resp.transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1301
+ # resp.transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
913
1302
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
914
1303
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
915
1304
  # resp.transcription_job.media.media_file_uri #=> String
1305
+ # resp.transcription_job.media.redacted_media_file_uri #=> String
916
1306
  # resp.transcription_job.transcript.transcript_file_uri #=> String
917
1307
  # resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
918
1308
  # resp.transcription_job.start_time #=> Time
@@ -934,8 +1324,11 @@ module Aws::TranscribeService
934
1324
  # resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
935
1325
  # resp.transcription_job.identify_language #=> Boolean
936
1326
  # resp.transcription_job.language_options #=> Array
937
- # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1327
+ # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
938
1328
  # resp.transcription_job.identified_language_score #=> Float
1329
+ # resp.transcription_job.tags #=> Array
1330
+ # resp.transcription_job.tags[0].key #=> String
1331
+ # resp.transcription_job.tags[0].value #=> String
939
1332
  #
940
1333
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
941
1334
  #
@@ -970,7 +1363,7 @@ module Aws::TranscribeService
970
1363
  # @example Response structure
971
1364
  #
972
1365
  # resp.vocabulary_name #=> String
973
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1366
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
974
1367
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
975
1368
  # resp.last_modified_time #=> Time
976
1369
  # resp.failure_reason #=> String
@@ -1006,7 +1399,7 @@ module Aws::TranscribeService
1006
1399
  # @example Response structure
1007
1400
  #
1008
1401
  # resp.vocabulary_filter_name #=> String
1009
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1402
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1010
1403
  # resp.last_modified_time #=> Time
1011
1404
  # resp.download_uri #=> String
1012
1405
  #
@@ -1019,6 +1412,161 @@ module Aws::TranscribeService
1019
1412
  req.send_request(options)
1020
1413
  end
1021
1414
 
1415
+ # Provides more information about the call analytics categories that
1416
+ # you've created. You can use the information in this list to find a
1417
+ # specific category. You can then use the operation to get more
1418
+ # information about it.
1419
+ #
1420
+ # @option params [String] :next_token
1421
+ # When included, `NextToken`fetches the next set of categories if the
1422
+ # result of the previous request was truncated.
1423
+ #
1424
+ # @option params [Integer] :max_results
1425
+ # The maximum number of categories to return in each page of results. If
1426
+ # there are fewer results than the value you specify, only the actual
1427
+ # results are returned. If you do not specify a value, the default of 5
1428
+ # is used.
1429
+ #
1430
+ # @return [Types::ListCallAnalyticsCategoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1431
+ #
1432
+ # * {Types::ListCallAnalyticsCategoriesResponse#next_token #next_token} => String
1433
+ # * {Types::ListCallAnalyticsCategoriesResponse#categories #categories} => Array&lt;Types::CategoryProperties&gt;
1434
+ #
1435
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1436
+ #
1437
+ # @example Request syntax with placeholder values
1438
+ #
1439
+ # resp = client.list_call_analytics_categories({
1440
+ # next_token: "NextToken",
1441
+ # max_results: 1,
1442
+ # })
1443
+ #
1444
+ # @example Response structure
1445
+ #
1446
+ # resp.next_token #=> String
1447
+ # resp.categories #=> Array
1448
+ # resp.categories[0].category_name #=> String
1449
+ # resp.categories[0].rules #=> Array
1450
+ # resp.categories[0].rules[0].non_talk_time_filter.threshold #=> Integer
1451
+ # resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
1452
+ # resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
1453
+ # resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
1454
+ # resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
1455
+ # resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
1456
+ # resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
1457
+ # resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
1458
+ # resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
1459
+ # resp.categories[0].rules[0].non_talk_time_filter.negate #=> Boolean
1460
+ # resp.categories[0].rules[0].interruption_filter.threshold #=> Integer
1461
+ # resp.categories[0].rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1462
+ # resp.categories[0].rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
1463
+ # resp.categories[0].rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
1464
+ # resp.categories[0].rules[0].interruption_filter.absolute_time_range.first #=> Integer
1465
+ # resp.categories[0].rules[0].interruption_filter.absolute_time_range.last #=> Integer
1466
+ # resp.categories[0].rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
1467
+ # resp.categories[0].rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
1468
+ # resp.categories[0].rules[0].interruption_filter.relative_time_range.first #=> Integer
1469
+ # resp.categories[0].rules[0].interruption_filter.relative_time_range.last #=> Integer
1470
+ # resp.categories[0].rules[0].interruption_filter.negate #=> Boolean
1471
+ # resp.categories[0].rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
1472
+ # resp.categories[0].rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
1473
+ # resp.categories[0].rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
1474
+ # resp.categories[0].rules[0].transcript_filter.absolute_time_range.first #=> Integer
1475
+ # resp.categories[0].rules[0].transcript_filter.absolute_time_range.last #=> Integer
1476
+ # resp.categories[0].rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
1477
+ # resp.categories[0].rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
1478
+ # resp.categories[0].rules[0].transcript_filter.relative_time_range.first #=> Integer
1479
+ # resp.categories[0].rules[0].transcript_filter.relative_time_range.last #=> Integer
1480
+ # resp.categories[0].rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1481
+ # resp.categories[0].rules[0].transcript_filter.negate #=> Boolean
1482
+ # resp.categories[0].rules[0].transcript_filter.targets #=> Array
1483
+ # resp.categories[0].rules[0].transcript_filter.targets[0] #=> String
1484
+ # resp.categories[0].rules[0].sentiment_filter.sentiments #=> Array
1485
+ # resp.categories[0].rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
1486
+ # resp.categories[0].rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
1487
+ # resp.categories[0].rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
1488
+ # resp.categories[0].rules[0].sentiment_filter.absolute_time_range.first #=> Integer
1489
+ # resp.categories[0].rules[0].sentiment_filter.absolute_time_range.last #=> Integer
1490
+ # resp.categories[0].rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
1491
+ # resp.categories[0].rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
1492
+ # resp.categories[0].rules[0].sentiment_filter.relative_time_range.first #=> Integer
1493
+ # resp.categories[0].rules[0].sentiment_filter.relative_time_range.last #=> Integer
1494
+ # resp.categories[0].rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
1495
+ # resp.categories[0].rules[0].sentiment_filter.negate #=> Boolean
1496
+ # resp.categories[0].create_time #=> Time
1497
+ # resp.categories[0].last_update_time #=> Time
1498
+ #
1499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategories AWS API Documentation
1500
+ #
1501
+ # @overload list_call_analytics_categories(params = {})
1502
+ # @param [Hash] params ({})
1503
+ def list_call_analytics_categories(params = {}, options = {})
1504
+ req = build_request(:list_call_analytics_categories, params)
1505
+ req.send_request(options)
1506
+ end
1507
+
1508
+ # List call analytics jobs with a specified status or substring that
1509
+ # matches their names.
1510
+ #
1511
+ # @option params [String] :status
1512
+ # When specified, returns only call analytics jobs with the specified
1513
+ # status. Jobs are ordered by creation date, with the most recent jobs
1514
+ # returned first. If you don't specify a status, Amazon Transcribe
1515
+ # returns all analytics jobs ordered by creation date.
1516
+ #
1517
+ # @option params [String] :job_name_contains
1518
+ # When specified, the jobs returned in the list are limited to jobs
1519
+ # whose name contains the specified string.
1520
+ #
1521
+ # @option params [String] :next_token
1522
+ # If you receive a truncated result in the previous request of , include
1523
+ # `NextToken` to fetch the next set of jobs.
1524
+ #
1525
+ # @option params [Integer] :max_results
1526
+ # The maximum number of call analytics jobs to return in each page of
1527
+ # results. If there are fewer results than the value you specify, only
1528
+ # the actual results are returned. If you do not specify a value, the
1529
+ # default of 5 is used.
1530
+ #
1531
+ # @return [Types::ListCallAnalyticsJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1532
+ #
1533
+ # * {Types::ListCallAnalyticsJobsResponse#status #status} => String
1534
+ # * {Types::ListCallAnalyticsJobsResponse#next_token #next_token} => String
1535
+ # * {Types::ListCallAnalyticsJobsResponse#call_analytics_job_summaries #call_analytics_job_summaries} => Array&lt;Types::CallAnalyticsJobSummary&gt;
1536
+ #
1537
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1538
+ #
1539
+ # @example Request syntax with placeholder values
1540
+ #
1541
+ # resp = client.list_call_analytics_jobs({
1542
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, FAILED, COMPLETED
1543
+ # job_name_contains: "CallAnalyticsJobName",
1544
+ # next_token: "NextToken",
1545
+ # max_results: 1,
1546
+ # })
1547
+ #
1548
+ # @example Response structure
1549
+ #
1550
+ # resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1551
+ # resp.next_token #=> String
1552
+ # resp.call_analytics_job_summaries #=> Array
1553
+ # resp.call_analytics_job_summaries[0].call_analytics_job_name #=> String
1554
+ # resp.call_analytics_job_summaries[0].creation_time #=> Time
1555
+ # resp.call_analytics_job_summaries[0].start_time #=> Time
1556
+ # resp.call_analytics_job_summaries[0].completion_time #=> Time
1557
+ # resp.call_analytics_job_summaries[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1558
+ # resp.call_analytics_job_summaries[0].call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1559
+ # resp.call_analytics_job_summaries[0].failure_reason #=> String
1560
+ #
1561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsJobs AWS API Documentation
1562
+ #
1563
+ # @overload list_call_analytics_jobs(params = {})
1564
+ # @param [Hash] params ({})
1565
+ def list_call_analytics_jobs(params = {}, options = {})
1566
+ req = build_request(:list_call_analytics_jobs, params)
1567
+ req.send_request(options)
1568
+ end
1569
+
1022
1570
  # Provides more information about the custom language models you've
1023
1571
  # created. You can use the information in this list to find a specific
1024
1572
  # custom language model. You can then use the operation to get more
@@ -1039,9 +1587,10 @@ module Aws::TranscribeService
1039
1587
  # previous request was truncated.
1040
1588
  #
1041
1589
  # @option params [Integer] :max_results
1042
- # The maximum number of language models to return in the response. If
1043
- # there are fewer results in the list, the response contains only the
1044
- # actual results.
1590
+ # The maximum number of language models to return in each page of
1591
+ # results. If there are fewer results than the value you specify, only
1592
+ # the actual results are returned. If you do not specify a value, the
1593
+ # default of 5 is used.
1045
1594
  #
1046
1595
  # @return [Types::ListLanguageModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1047
1596
  #
@@ -1103,9 +1652,10 @@ module Aws::TranscribeService
1103
1652
  # set of jobs.
1104
1653
  #
1105
1654
  # @option params [Integer] :max_results
1106
- # The maximum number of medical transcription jobs to return in the
1107
- # response. IF there are fewer results in the list, this response
1108
- # contains only the actual results.
1655
+ # The maximum number of medical transcription jobs to return in each
1656
+ # page of results. If there are fewer results than the value you
1657
+ # specify, only the actual results are returned. If you do not specify a
1658
+ # value, the default of 5 is used.
1109
1659
  #
1110
1660
  # @return [Types::ListMedicalTranscriptionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1111
1661
  #
@@ -1133,7 +1683,7 @@ module Aws::TranscribeService
1133
1683
  # resp.medical_transcription_job_summaries[0].creation_time #=> Time
1134
1684
  # resp.medical_transcription_job_summaries[0].start_time #=> Time
1135
1685
  # resp.medical_transcription_job_summaries[0].completion_time #=> Time
1136
- # resp.medical_transcription_job_summaries[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1686
+ # resp.medical_transcription_job_summaries[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1137
1687
  # resp.medical_transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1138
1688
  # resp.medical_transcription_job_summaries[0].failure_reason #=> String
1139
1689
  # resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
@@ -1160,7 +1710,10 @@ module Aws::TranscribeService
1160
1710
  # vocabularies.
1161
1711
  #
1162
1712
  # @option params [Integer] :max_results
1163
- # The maximum number of vocabularies to return in the response.
1713
+ # The maximum number of vocabularies to return in each page of results.
1714
+ # If there are fewer results than the value you specify, only the actual
1715
+ # results are returned. If you do not specify a value, the default of 5
1716
+ # is used.
1164
1717
  #
1165
1718
  # @option params [String] :state_equals
1166
1719
  # When specified, returns only vocabularies with the `VocabularyState`
@@ -1195,7 +1748,7 @@ module Aws::TranscribeService
1195
1748
  # resp.next_token #=> String
1196
1749
  # resp.vocabularies #=> Array
1197
1750
  # resp.vocabularies[0].vocabulary_name #=> String
1198
- # resp.vocabularies[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1751
+ # resp.vocabularies[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1199
1752
  # resp.vocabularies[0].last_modified_time #=> Time
1200
1753
  # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1201
1754
  #
@@ -1208,6 +1761,39 @@ module Aws::TranscribeService
1208
1761
  req.send_request(options)
1209
1762
  end
1210
1763
 
1764
+ # Lists all tags associated with a given transcription job, vocabulary,
1765
+ # or resource.
1766
+ #
1767
+ # @option params [required, String] :resource_arn
1768
+ # Lists all tags associated with a given Amazon Resource Name (ARN).
1769
+ #
1770
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1771
+ #
1772
+ # * {Types::ListTagsForResourceResponse#resource_arn #resource_arn} => String
1773
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1774
+ #
1775
+ # @example Request syntax with placeholder values
1776
+ #
1777
+ # resp = client.list_tags_for_resource({
1778
+ # resource_arn: "TranscribeArn", # required
1779
+ # })
1780
+ #
1781
+ # @example Response structure
1782
+ #
1783
+ # resp.resource_arn #=> String
1784
+ # resp.tags #=> Array
1785
+ # resp.tags[0].key #=> String
1786
+ # resp.tags[0].value #=> String
1787
+ #
1788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResource AWS API Documentation
1789
+ #
1790
+ # @overload list_tags_for_resource(params = {})
1791
+ # @param [Hash] params ({})
1792
+ def list_tags_for_resource(params = {}, options = {})
1793
+ req = build_request(:list_tags_for_resource, params)
1794
+ req.send_request(options)
1795
+ end
1796
+
1211
1797
  # Lists transcription jobs with the specified status.
1212
1798
  #
1213
1799
  # @option params [String] :status
@@ -1221,13 +1807,13 @@ module Aws::TranscribeService
1221
1807
  # whose name contains the specified string.
1222
1808
  #
1223
1809
  # @option params [String] :next_token
1224
- # If the result of the previous request to `ListTranscriptionJobs` was
1810
+ # If the result of the previous request to `ListTranscriptionJobs` is
1225
1811
  # truncated, include the `NextToken` to fetch the next set of jobs.
1226
1812
  #
1227
1813
  # @option params [Integer] :max_results
1228
- # The maximum number of jobs to return in the response. If there are
1229
- # fewer results in the list, this response contains only the actual
1230
- # results.
1814
+ # The maximum number of jobs to return in each page of results. If there
1815
+ # are fewer results than the value you specify, only the actual results
1816
+ # are returned. If you do not specify a value, the default of 5 is used.
1231
1817
  #
1232
1818
  # @return [Types::ListTranscriptionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1233
1819
  #
@@ -1255,7 +1841,7 @@ module Aws::TranscribeService
1255
1841
  # resp.transcription_job_summaries[0].creation_time #=> Time
1256
1842
  # resp.transcription_job_summaries[0].start_time #=> Time
1257
1843
  # resp.transcription_job_summaries[0].completion_time #=> Time
1258
- # resp.transcription_job_summaries[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1844
+ # resp.transcription_job_summaries[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1259
1845
  # resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1260
1846
  # resp.transcription_job_summaries[0].failure_reason #=> String
1261
1847
  # resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
@@ -1282,9 +1868,10 @@ module Aws::TranscribeService
1282
1868
  # truncated, include the `NextToken` to fetch the next set of jobs.
1283
1869
  #
1284
1870
  # @option params [Integer] :max_results
1285
- # The maximum number of vocabularies to return in the response. If there
1286
- # are fewer results in the list, this response contains only the actual
1287
- # results.
1871
+ # The maximum number of vocabularies to return in each page of results.
1872
+ # If there are fewer results than the value you specify, only the actual
1873
+ # results are returned. If you do not specify a value, the default of 5
1874
+ # is used.
1288
1875
  #
1289
1876
  # @option params [String] :state_equals
1290
1877
  # When specified, only returns vocabularies with the `VocabularyState`
@@ -1319,7 +1906,7 @@ module Aws::TranscribeService
1319
1906
  # resp.next_token #=> String
1320
1907
  # resp.vocabularies #=> Array
1321
1908
  # resp.vocabularies[0].vocabulary_name #=> String
1322
- # resp.vocabularies[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1909
+ # resp.vocabularies[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1323
1910
  # resp.vocabularies[0].last_modified_time #=> Time
1324
1911
  # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1325
1912
  #
@@ -1340,9 +1927,10 @@ module Aws::TranscribeService
1340
1927
  # collections.
1341
1928
  #
1342
1929
  # @option params [Integer] :max_results
1343
- # The maximum number of filters to return in the response. If there are
1344
- # fewer results in the list, this response contains only the actual
1345
- # results.
1930
+ # The maximum number of filters to return in each page of results. If
1931
+ # there are fewer results than the value you specify, only the actual
1932
+ # results are returned. If you do not specify a value, the default of 5
1933
+ # is used.
1346
1934
  #
1347
1935
  # @option params [String] :name_contains
1348
1936
  # Filters the response so that it only contains vocabulary filters whose
@@ -1368,7 +1956,7 @@ module Aws::TranscribeService
1368
1956
  # resp.next_token #=> String
1369
1957
  # resp.vocabulary_filters #=> Array
1370
1958
  # resp.vocabulary_filters[0].vocabulary_filter_name #=> String
1371
- # resp.vocabulary_filters[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
1959
+ # resp.vocabulary_filters[0].language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1372
1960
  # resp.vocabulary_filters[0].last_modified_time #=> Time
1373
1961
  #
1374
1962
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters AWS API Documentation
@@ -1380,13 +1968,182 @@ module Aws::TranscribeService
1380
1968
  req.send_request(options)
1381
1969
  end
1382
1970
 
1971
+ # Starts an asynchronous analytics job that not only transcribes the
1972
+ # audio recording of a caller and agent, but also returns additional
1973
+ # insights. These insights include how quickly or loudly the caller or
1974
+ # agent was speaking. To retrieve additional insights with your
1975
+ # analytics jobs, create categories. A category is a way to classify
1976
+ # analytics jobs based on attributes, such as a customer's sentiment or
1977
+ # a particular phrase being used during the call. For more information,
1978
+ # see the operation.
1979
+ #
1980
+ # @option params [required, String] :call_analytics_job_name
1981
+ # The name of the call analytics job. You can't use the string "." or
1982
+ # ".." by themselves as the job name. The name must also be unique
1983
+ # within an Amazon Web Services account. If you try to create a call
1984
+ # analytics job with the same name as a previous call analytics job, you
1985
+ # get a `ConflictException` error.
1986
+ #
1987
+ # @option params [required, Types::Media] :media
1988
+ # Describes the input media file in a transcription request.
1989
+ #
1990
+ # @option params [String] :output_location
1991
+ # The Amazon S3 location where the output of the call analytics job is
1992
+ # stored. You can provide the following location types to store the
1993
+ # output of call analytics job:
1994
+ #
1995
+ # * s3://DOC-EXAMPLE-BUCKET1
1996
+ #
1997
+ # If you specify a bucket, Amazon Transcribe saves the output of the
1998
+ # analytics job as a JSON file at the root level of the bucket.
1999
+ #
2000
+ # * s3://DOC-EXAMPLE-BUCKET1/folder/
2001
+ #
2002
+ # f you specify a path, Amazon Transcribe saves the output of the
2003
+ # analytics job as
2004
+ # s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
2005
+ #
2006
+ # If you specify a folder, you must provide a trailing slash.
2007
+ #
2008
+ # * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
2009
+ #
2010
+ # If you provide a path that has the filename specified, Amazon
2011
+ # Transcribe saves the output of the analytics job as
2012
+ # s3://DOC-EXAMPLEBUCKET1/folder/filename.json
2013
+ #
2014
+ # You can specify an Amazon Web Services Key Management Service (KMS)
2015
+ # key to encrypt the output of our analytics job using the
2016
+ # `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
2017
+ # Amazon Transcribe uses the default Amazon S3 key for server-side
2018
+ # encryption of the analytics job output that is placed in your S3
2019
+ # bucket.
2020
+ #
2021
+ # @option params [String] :output_encryption_kms_key_id
2022
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Key
2023
+ # Management Service key used to encrypt the output of the call
2024
+ # analytics job. The user calling the operation must have permission to
2025
+ # use the specified KMS key.
2026
+ #
2027
+ # You use either of the following to identify an Amazon Web Services KMS
2028
+ # key in the current account:
2029
+ #
2030
+ # * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
2031
+ #
2032
+ # * KMS Key Alias: "alias/ExampleAlias"
2033
+ #
2034
+ # You can use either of the following to identify a KMS key in the
2035
+ # current account or another account:
2036
+ #
2037
+ # * Amazon Resource Name (ARN) of a KMS key in the current account or
2038
+ # another account: "arn:aws:kms:region:account
2039
+ # ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
2040
+ #
2041
+ # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2042
+ # ID:alias/ExampleAlias"
2043
+ #
2044
+ # If you don't specify an encryption key, the output of the call
2045
+ # analytics job is encrypted with the default Amazon S3 key (SSE-S3).
2046
+ #
2047
+ # If you specify a KMS key to encrypt your output, you must also specify
2048
+ # an output location in the `OutputLocation` parameter.
2049
+ #
2050
+ # @option params [required, String] :data_access_role_arn
2051
+ # The Amazon Resource Name (ARN) of a role that has access to the S3
2052
+ # bucket that contains your input files. Amazon Transcribe assumes this
2053
+ # role to read queued audio files. If you have specified an output S3
2054
+ # bucket for your transcription results, this role should have access to
2055
+ # the output bucket as well.
2056
+ #
2057
+ # @option params [Types::CallAnalyticsJobSettings] :settings
2058
+ # A `Settings` object that provides optional settings for a call
2059
+ # analytics job.
2060
+ #
2061
+ # @option params [Array<Types::ChannelDefinition>] :channel_definitions
2062
+ # When you start a call analytics job, you must pass an array that maps
2063
+ # the agent and the customer to specific audio channels. The values you
2064
+ # can assign to a channel are 0 and 1. The agent and the customer must
2065
+ # each have their own channel. You can't assign more than one channel
2066
+ # to an agent or customer.
2067
+ #
2068
+ # @return [Types::StartCallAnalyticsJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2069
+ #
2070
+ # * {Types::StartCallAnalyticsJobResponse#call_analytics_job #call_analytics_job} => Types::CallAnalyticsJob
2071
+ #
2072
+ # @example Request syntax with placeholder values
2073
+ #
2074
+ # resp = client.start_call_analytics_job({
2075
+ # call_analytics_job_name: "CallAnalyticsJobName", # required
2076
+ # media: { # required
2077
+ # media_file_uri: "Uri",
2078
+ # redacted_media_file_uri: "Uri",
2079
+ # },
2080
+ # output_location: "Uri",
2081
+ # output_encryption_kms_key_id: "KMSKeyId",
2082
+ # data_access_role_arn: "DataAccessRoleArn", # required
2083
+ # settings: {
2084
+ # vocabulary_name: "VocabularyName",
2085
+ # vocabulary_filter_name: "VocabularyFilterName",
2086
+ # vocabulary_filter_method: "remove", # accepts remove, mask, tag
2087
+ # language_model_name: "ModelName",
2088
+ # content_redaction: {
2089
+ # redaction_type: "PII", # required, accepts PII
2090
+ # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2091
+ # },
2092
+ # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
2093
+ # },
2094
+ # channel_definitions: [
2095
+ # {
2096
+ # channel_id: 1,
2097
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
2098
+ # },
2099
+ # ],
2100
+ # })
2101
+ #
2102
+ # @example Response structure
2103
+ #
2104
+ # resp.call_analytics_job.call_analytics_job_name #=> String
2105
+ # resp.call_analytics_job.call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
2106
+ # resp.call_analytics_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
2107
+ # resp.call_analytics_job.media_sample_rate_hertz #=> Integer
2108
+ # resp.call_analytics_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
2109
+ # resp.call_analytics_job.media.media_file_uri #=> String
2110
+ # resp.call_analytics_job.media.redacted_media_file_uri #=> String
2111
+ # resp.call_analytics_job.transcript.transcript_file_uri #=> String
2112
+ # resp.call_analytics_job.transcript.redacted_transcript_file_uri #=> String
2113
+ # resp.call_analytics_job.start_time #=> Time
2114
+ # resp.call_analytics_job.creation_time #=> Time
2115
+ # resp.call_analytics_job.completion_time #=> Time
2116
+ # resp.call_analytics_job.failure_reason #=> String
2117
+ # resp.call_analytics_job.data_access_role_arn #=> String
2118
+ # resp.call_analytics_job.identified_language_score #=> Float
2119
+ # resp.call_analytics_job.settings.vocabulary_name #=> String
2120
+ # resp.call_analytics_job.settings.vocabulary_filter_name #=> String
2121
+ # resp.call_analytics_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask", "tag"
2122
+ # resp.call_analytics_job.settings.language_model_name #=> String
2123
+ # resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
2124
+ # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2125
+ # resp.call_analytics_job.settings.language_options #=> Array
2126
+ # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
2127
+ # resp.call_analytics_job.channel_definitions #=> Array
2128
+ # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2129
+ # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
2130
+ #
2131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartCallAnalyticsJob AWS API Documentation
2132
+ #
2133
+ # @overload start_call_analytics_job(params = {})
2134
+ # @param [Hash] params ({})
2135
+ def start_call_analytics_job(params = {}, options = {})
2136
+ req = build_request(:start_call_analytics_job, params)
2137
+ req.send_request(options)
2138
+ end
2139
+
1383
2140
  # Starts a batch job to transcribe medical speech to text.
1384
2141
  #
1385
2142
  # @option params [required, String] :medical_transcription_job_name
1386
2143
  # The name of the medical transcription job. You can't use the strings
1387
2144
  # "`.`" or "`..`" by themselves as the job name. The name must also
1388
- # be unique within an AWS account. If you try to create a medical
1389
- # transcription job with the same name as a previous medical
2145
+ # be unique within an Amazon Web Services account. If you try to create
2146
+ # a medical transcription job with the same name as a previous medical
1390
2147
  # transcription job, you get a `ConflictException` error.
1391
2148
  #
1392
2149
  # @option params [required, String] :language_code
@@ -1421,11 +2178,12 @@ module Aws::TranscribeService
1421
2178
  # to put files in the bucket. For more information, see [Permissions
1422
2179
  # Required for IAM User Roles][1].
1423
2180
  #
1424
- # You can specify an AWS Key Management Service (KMS) key to encrypt the
1425
- # output of your transcription using the `OutputEncryptionKMSKeyId`
1426
- # parameter. If you don't specify a KMS key, Amazon Transcribe Medical
1427
- # uses the default Amazon S3 key for server-side encryption of
1428
- # transcripts that are placed in your S3 bucket.
2181
+ # You can specify an Amazon Web Services Key Management Service (KMS)
2182
+ # key to encrypt the output of your transcription using the
2183
+ # `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
2184
+ # Amazon Transcribe Medical uses the default Amazon S3 key for
2185
+ # server-side encryption of transcripts that are placed in your S3
2186
+ # bucket.
1429
2187
  #
1430
2188
  #
1431
2189
  #
@@ -1454,10 +2212,10 @@ module Aws::TranscribeService
1454
2212
  # the `OutputBucketName` parameter.
1455
2213
  #
1456
2214
  # @option params [String] :output_encryption_kms_key_id
1457
- # The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
1458
- # key used to encrypt the output of the transcription job. The user
1459
- # calling the StartMedicalTranscriptionJob operation must have
1460
- # permission to use the specified KMS key.
2215
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Key
2216
+ # Management Service (KMS) key used to encrypt the output of the
2217
+ # transcription job. The user calling the StartMedicalTranscriptionJob
2218
+ # operation must have permission to use the specified KMS key.
1461
2219
  #
1462
2220
  # You use either of the following to identify a KMS key in the current
1463
2221
  # account:
@@ -1499,7 +2257,10 @@ module Aws::TranscribeService
1499
2257
  # The type of speech in the input audio. `CONVERSATION` refers to
1500
2258
  # conversations between two or more speakers, e.g., a conversations
1501
2259
  # between doctors and patients. `DICTATION` refers to single-speaker
1502
- # dictated speech, e.g., for clinical notes.
2260
+ # dictated speech, such as clinical notes.
2261
+ #
2262
+ # @option params [Array<Types::Tag>] :tags
2263
+ # Add tags to an Amazon Transcribe medical transcription job.
1503
2264
  #
1504
2265
  # @return [Types::StartMedicalTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1505
2266
  #
@@ -1509,11 +2270,12 @@ module Aws::TranscribeService
1509
2270
  #
1510
2271
  # resp = client.start_medical_transcription_job({
1511
2272
  # medical_transcription_job_name: "TranscriptionJobName", # required
1512
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2273
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
1513
2274
  # media_sample_rate_hertz: 1,
1514
2275
  # media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
1515
2276
  # media: { # required
1516
2277
  # media_file_uri: "Uri",
2278
+ # redacted_media_file_uri: "Uri",
1517
2279
  # },
1518
2280
  # output_bucket_name: "OutputBucketName", # required
1519
2281
  # output_key: "OutputKey",
@@ -1529,16 +2291,23 @@ module Aws::TranscribeService
1529
2291
  # content_identification_type: "PHI", # accepts PHI
1530
2292
  # specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
1531
2293
  # type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
2294
+ # tags: [
2295
+ # {
2296
+ # key: "TagKey", # required
2297
+ # value: "TagValue", # required
2298
+ # },
2299
+ # ],
1532
2300
  # })
1533
2301
  #
1534
2302
  # @example Response structure
1535
2303
  #
1536
2304
  # resp.medical_transcription_job.medical_transcription_job_name #=> String
1537
2305
  # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1538
- # resp.medical_transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2306
+ # resp.medical_transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1539
2307
  # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
1540
2308
  # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
1541
2309
  # resp.medical_transcription_job.media.media_file_uri #=> String
2310
+ # resp.medical_transcription_job.media.redacted_media_file_uri #=> String
1542
2311
  # resp.medical_transcription_job.transcript.transcript_file_uri #=> String
1543
2312
  # resp.medical_transcription_job.start_time #=> Time
1544
2313
  # resp.medical_transcription_job.creation_time #=> Time
@@ -1553,6 +2322,9 @@ module Aws::TranscribeService
1553
2322
  # resp.medical_transcription_job.content_identification_type #=> String, one of "PHI"
1554
2323
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
1555
2324
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
2325
+ # resp.medical_transcription_job.tags #=> Array
2326
+ # resp.medical_transcription_job.tags[0].key #=> String
2327
+ # resp.medical_transcription_job.tags[0].value #=> String
1556
2328
  #
1557
2329
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob AWS API Documentation
1558
2330
  #
@@ -1567,15 +2339,16 @@ module Aws::TranscribeService
1567
2339
  #
1568
2340
  # @option params [required, String] :transcription_job_name
1569
2341
  # The name of the job. You can't use the strings "`.`" or "`..`" by
1570
- # themselves as the job name. The name must also be unique within an AWS
1571
- # account. If you try to create a transcription job with the same name
1572
- # as a previous transcription job, you get a `ConflictException` error.
2342
+ # themselves as the job name. The name must also be unique within an
2343
+ # Amazon Web Services account. If you try to create a transcription job
2344
+ # with the same name as a previous transcription job, you get a
2345
+ # `ConflictException` error.
1573
2346
  #
1574
2347
  # @option params [String] :language_code
1575
2348
  # The language code for the language used in the input media file.
1576
2349
  #
1577
2350
  # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
1578
- # video file must be encoded at a sample rate of 16000 Hz or higher.
2351
+ # video file must be encoded at a sample rate of 16,000 Hz or higher.
1579
2352
  #
1580
2353
  # @option params [Integer] :media_sample_rate_hertz
1581
2354
  # The sample rate, in Hertz, of the audio track in the input media file.
@@ -1606,11 +2379,11 @@ module Aws::TranscribeService
1606
2379
  # Amazon Transcribe to put files in the bucket. For more information,
1607
2380
  # see [Permissions Required for IAM User Roles][1].
1608
2381
  #
1609
- # You can specify an AWS Key Management Service (KMS) key to encrypt the
1610
- # output of your transcription using the `OutputEncryptionKMSKeyId`
1611
- # parameter. If you don't specify a KMS key, Amazon Transcribe uses the
1612
- # default Amazon S3 key for server-side encryption of transcripts that
1613
- # are placed in your S3 bucket.
2382
+ # You can specify an Amazon Web Services Key Management Service (KMS)
2383
+ # key to encrypt the output of your transcription using the
2384
+ # `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
2385
+ # Amazon Transcribe uses the default Amazon S3 key for server-side
2386
+ # encryption of transcripts that are placed in your S3 bucket.
1614
2387
  #
1615
2388
  # If you don't set the `OutputBucketName`, Amazon Transcribe generates
1616
2389
  # a pre-signed URL, a shareable URL that provides secure access to your
@@ -1644,10 +2417,10 @@ module Aws::TranscribeService
1644
2417
  # the `OutputBucketName` parameter.
1645
2418
  #
1646
2419
  # @option params [String] :output_encryption_kms_key_id
1647
- # The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
1648
- # key used to encrypt the output of the transcription job. The user
1649
- # calling the `StartTranscriptionJob` operation must have permission to
1650
- # use the specified KMS key.
2420
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Key
2421
+ # Management Service (KMS) key used to encrypt the output of the
2422
+ # transcription job. The user calling the `StartTranscriptionJob`
2423
+ # operation must have permission to use the specified KMS key.
1651
2424
  #
1652
2425
  # You can use either of the following to identify a KMS key in the
1653
2426
  # current account:
@@ -1701,6 +2474,12 @@ module Aws::TranscribeService
1701
2474
  # collection of audio files. Automatic language identification chooses a
1702
2475
  # language that best matches the source audio from that list.
1703
2476
  #
2477
+ # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
2478
+ # video file must be encoded at a sample rate of 16,000 Hz or higher.
2479
+ #
2480
+ # @option params [Array<Types::Tag>] :tags
2481
+ # Add tags to an Amazon Transcribe transcription job.
2482
+ #
1704
2483
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1705
2484
  #
1706
2485
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -1709,11 +2488,12 @@ module Aws::TranscribeService
1709
2488
  #
1710
2489
  # resp = client.start_transcription_job({
1711
2490
  # transcription_job_name: "TranscriptionJobName", # required
1712
- # language_code: "af-ZA", # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2491
+ # language_code: "af-ZA", # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
1713
2492
  # media_sample_rate_hertz: 1,
1714
2493
  # media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
1715
2494
  # media: { # required
1716
2495
  # media_file_uri: "Uri",
2496
+ # redacted_media_file_uri: "Uri",
1717
2497
  # },
1718
2498
  # output_bucket_name: "OutputBucketName",
1719
2499
  # output_key: "OutputKey",
@@ -1740,17 +2520,24 @@ module Aws::TranscribeService
1740
2520
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
1741
2521
  # },
1742
2522
  # identify_language: false,
1743
- # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2523
+ # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
2524
+ # tags: [
2525
+ # {
2526
+ # key: "TagKey", # required
2527
+ # value: "TagValue", # required
2528
+ # },
2529
+ # ],
1744
2530
  # })
1745
2531
  #
1746
2532
  # @example Response structure
1747
2533
  #
1748
2534
  # resp.transcription_job.transcription_job_name #=> String
1749
2535
  # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1750
- # resp.transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2536
+ # resp.transcription_job.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1751
2537
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
1752
2538
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
1753
2539
  # resp.transcription_job.media.media_file_uri #=> String
2540
+ # resp.transcription_job.media.redacted_media_file_uri #=> String
1754
2541
  # resp.transcription_job.transcript.transcript_file_uri #=> String
1755
2542
  # resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
1756
2543
  # resp.transcription_job.start_time #=> Time
@@ -1772,8 +2559,11 @@ module Aws::TranscribeService
1772
2559
  # resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1773
2560
  # resp.transcription_job.identify_language #=> Boolean
1774
2561
  # resp.transcription_job.language_options #=> Array
1775
- # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2562
+ # resp.transcription_job.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1776
2563
  # resp.transcription_job.identified_language_score #=> Float
2564
+ # resp.transcription_job.tags #=> Array
2565
+ # resp.transcription_job.tags[0].key #=> String
2566
+ # resp.transcription_job.tags[0].value #=> String
1777
2567
  #
1778
2568
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
1779
2569
  #
@@ -1784,6 +2574,224 @@ module Aws::TranscribeService
1784
2574
  req.send_request(options)
1785
2575
  end
1786
2576
 
2577
+ # Tags a Amazon Transcribe resource with the given list of tags.
2578
+ #
2579
+ # @option params [required, String] :resource_arn
2580
+ # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2581
+ # want to tag.
2582
+ #
2583
+ # @option params [required, Array<Types::Tag>] :tags
2584
+ # The tags you are assigning to a given Amazon Transcribe resource.
2585
+ #
2586
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2587
+ #
2588
+ # @example Request syntax with placeholder values
2589
+ #
2590
+ # resp = client.tag_resource({
2591
+ # resource_arn: "TranscribeArn", # required
2592
+ # tags: [ # required
2593
+ # {
2594
+ # key: "TagKey", # required
2595
+ # value: "TagValue", # required
2596
+ # },
2597
+ # ],
2598
+ # })
2599
+ #
2600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResource AWS API Documentation
2601
+ #
2602
+ # @overload tag_resource(params = {})
2603
+ # @param [Hash] params ({})
2604
+ def tag_resource(params = {}, options = {})
2605
+ req = build_request(:tag_resource, params)
2606
+ req.send_request(options)
2607
+ end
2608
+
2609
+ # Removes specified tags from a specified Amazon Transcribe resource.
2610
+ #
2611
+ # @option params [required, String] :resource_arn
2612
+ # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2613
+ # want to remove tags from.
2614
+ #
2615
+ # @option params [required, Array<String>] :tag_keys
2616
+ # A list of tag keys you want to remove from a specified Amazon
2617
+ # Transcribe resource.
2618
+ #
2619
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2620
+ #
2621
+ # @example Request syntax with placeholder values
2622
+ #
2623
+ # resp = client.untag_resource({
2624
+ # resource_arn: "TranscribeArn", # required
2625
+ # tag_keys: ["TagKey"], # required
2626
+ # })
2627
+ #
2628
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResource AWS API Documentation
2629
+ #
2630
+ # @overload untag_resource(params = {})
2631
+ # @param [Hash] params ({})
2632
+ def untag_resource(params = {}, options = {})
2633
+ req = build_request(:untag_resource, params)
2634
+ req.send_request(options)
2635
+ end
2636
+
2637
+ # Updates the call analytics category with new values. The
2638
+ # `UpdateCallAnalyticsCategory` operation overwrites all of the existing
2639
+ # information with the values that you provide in the request.
2640
+ #
2641
+ # @option params [required, String] :category_name
2642
+ # The name of the analytics category to update. The name is case
2643
+ # sensitive. If you try to update a call analytics category with the
2644
+ # same name as a previous category you will receive a
2645
+ # `ConflictException` error.
2646
+ #
2647
+ # @option params [required, Array<Types::Rule>] :rules
2648
+ # The rules used for the updated analytics category. The rules that you
2649
+ # provide in this field replace the ones that are currently being used.
2650
+ #
2651
+ # @return [Types::UpdateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2652
+ #
2653
+ # * {Types::UpdateCallAnalyticsCategoryResponse#category_properties #category_properties} => Types::CategoryProperties
2654
+ #
2655
+ # @example Request syntax with placeholder values
2656
+ #
2657
+ # resp = client.update_call_analytics_category({
2658
+ # category_name: "CategoryName", # required
2659
+ # rules: [ # required
2660
+ # {
2661
+ # non_talk_time_filter: {
2662
+ # threshold: 1,
2663
+ # absolute_time_range: {
2664
+ # start_time: 1,
2665
+ # end_time: 1,
2666
+ # first: 1,
2667
+ # last: 1,
2668
+ # },
2669
+ # relative_time_range: {
2670
+ # start_percentage: 1,
2671
+ # end_percentage: 1,
2672
+ # first: 1,
2673
+ # last: 1,
2674
+ # },
2675
+ # negate: false,
2676
+ # },
2677
+ # interruption_filter: {
2678
+ # threshold: 1,
2679
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
2680
+ # absolute_time_range: {
2681
+ # start_time: 1,
2682
+ # end_time: 1,
2683
+ # first: 1,
2684
+ # last: 1,
2685
+ # },
2686
+ # relative_time_range: {
2687
+ # start_percentage: 1,
2688
+ # end_percentage: 1,
2689
+ # first: 1,
2690
+ # last: 1,
2691
+ # },
2692
+ # negate: false,
2693
+ # },
2694
+ # transcript_filter: {
2695
+ # transcript_filter_type: "EXACT", # required, accepts EXACT
2696
+ # absolute_time_range: {
2697
+ # start_time: 1,
2698
+ # end_time: 1,
2699
+ # first: 1,
2700
+ # last: 1,
2701
+ # },
2702
+ # relative_time_range: {
2703
+ # start_percentage: 1,
2704
+ # end_percentage: 1,
2705
+ # first: 1,
2706
+ # last: 1,
2707
+ # },
2708
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
2709
+ # negate: false,
2710
+ # targets: ["NonEmptyString"], # required
2711
+ # },
2712
+ # sentiment_filter: {
2713
+ # sentiments: ["POSITIVE"], # required, accepts POSITIVE, NEGATIVE, NEUTRAL, MIXED
2714
+ # absolute_time_range: {
2715
+ # start_time: 1,
2716
+ # end_time: 1,
2717
+ # first: 1,
2718
+ # last: 1,
2719
+ # },
2720
+ # relative_time_range: {
2721
+ # start_percentage: 1,
2722
+ # end_percentage: 1,
2723
+ # first: 1,
2724
+ # last: 1,
2725
+ # },
2726
+ # participant_role: "AGENT", # accepts AGENT, CUSTOMER
2727
+ # negate: false,
2728
+ # },
2729
+ # },
2730
+ # ],
2731
+ # })
2732
+ #
2733
+ # @example Response structure
2734
+ #
2735
+ # resp.category_properties.category_name #=> String
2736
+ # resp.category_properties.rules #=> Array
2737
+ # resp.category_properties.rules[0].non_talk_time_filter.threshold #=> Integer
2738
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
2739
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
2740
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
2741
+ # resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
2742
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
2743
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
2744
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
2745
+ # resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
2746
+ # resp.category_properties.rules[0].non_talk_time_filter.negate #=> Boolean
2747
+ # resp.category_properties.rules[0].interruption_filter.threshold #=> Integer
2748
+ # resp.category_properties.rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
2749
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
2750
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
2751
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.first #=> Integer
2752
+ # resp.category_properties.rules[0].interruption_filter.absolute_time_range.last #=> Integer
2753
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
2754
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
2755
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.first #=> Integer
2756
+ # resp.category_properties.rules[0].interruption_filter.relative_time_range.last #=> Integer
2757
+ # resp.category_properties.rules[0].interruption_filter.negate #=> Boolean
2758
+ # resp.category_properties.rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
2759
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
2760
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
2761
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.first #=> Integer
2762
+ # resp.category_properties.rules[0].transcript_filter.absolute_time_range.last #=> Integer
2763
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
2764
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
2765
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.first #=> Integer
2766
+ # resp.category_properties.rules[0].transcript_filter.relative_time_range.last #=> Integer
2767
+ # resp.category_properties.rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
2768
+ # resp.category_properties.rules[0].transcript_filter.negate #=> Boolean
2769
+ # resp.category_properties.rules[0].transcript_filter.targets #=> Array
2770
+ # resp.category_properties.rules[0].transcript_filter.targets[0] #=> String
2771
+ # resp.category_properties.rules[0].sentiment_filter.sentiments #=> Array
2772
+ # resp.category_properties.rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
2773
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
2774
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
2775
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.first #=> Integer
2776
+ # resp.category_properties.rules[0].sentiment_filter.absolute_time_range.last #=> Integer
2777
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
2778
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
2779
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.first #=> Integer
2780
+ # resp.category_properties.rules[0].sentiment_filter.relative_time_range.last #=> Integer
2781
+ # resp.category_properties.rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
2782
+ # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
2783
+ # resp.category_properties.create_time #=> Time
2784
+ # resp.category_properties.last_update_time #=> Time
2785
+ #
2786
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategory AWS API Documentation
2787
+ #
2788
+ # @overload update_call_analytics_category(params = {})
2789
+ # @param [Hash] params ({})
2790
+ def update_call_analytics_category(params = {}, options = {})
2791
+ req = build_request(:update_call_analytics_category, params)
2792
+ req.send_request(options)
2793
+ end
2794
+
1787
2795
  # Updates a vocabulary with new values that you provide in a different
1788
2796
  # text file from the one you used to create the vocabulary. The
1789
2797
  # `UpdateMedicalVocabulary` operation overwrites all of the existing
@@ -1800,8 +2808,8 @@ module Aws::TranscribeService
1800
2808
  # Amazon Transcribe Medical.
1801
2809
  #
1802
2810
  # @option params [String] :vocabulary_file_uri
1803
- # The location in Amazon S3 of the text file that contains the you use
1804
- # for your custom vocabulary. The URI must be in the same AWS Region as
2811
+ # The location in Amazon S3 of the text file that contains your custom
2812
+ # vocabulary. The URI must be in the same Amazon Web Services Region as
1805
2813
  # the resource that you are calling. The following is the format for a
1806
2814
  # URI:
1807
2815
  #
@@ -1821,8 +2829,8 @@ module Aws::TranscribeService
1821
2829
  #
1822
2830
  #
1823
2831
  #
1824
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
1825
- # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
2832
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
2833
+ # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
1826
2834
  #
1827
2835
  # @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1828
2836
  #
@@ -1835,14 +2843,14 @@ module Aws::TranscribeService
1835
2843
  #
1836
2844
  # resp = client.update_medical_vocabulary({
1837
2845
  # vocabulary_name: "VocabularyName", # required
1838
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2846
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
1839
2847
  # vocabulary_file_uri: "Uri",
1840
2848
  # })
1841
2849
  #
1842
2850
  # @example Response structure
1843
2851
  #
1844
2852
  # resp.vocabulary_name #=> String
1845
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2853
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1846
2854
  # resp.last_modified_time #=> Time
1847
2855
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1848
2856
  #
@@ -1866,7 +2874,7 @@ module Aws::TranscribeService
1866
2874
  #
1867
2875
  # @option params [required, String] :language_code
1868
2876
  # The language code of the vocabulary entries. For a list of languages
1869
- # and their corresponding language codes, see what-is-transcribe.
2877
+ # and their corresponding language codes, see transcribe-whatis.
1870
2878
  #
1871
2879
  # @option params [Array<String>] :phrases
1872
2880
  # An array of strings containing the vocabulary entries.
@@ -1886,8 +2894,8 @@ module Aws::TranscribeService
1886
2894
  #
1887
2895
  #
1888
2896
  #
1889
- # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
1890
- # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
2897
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
2898
+ # [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
1891
2899
  #
1892
2900
  # @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1893
2901
  #
@@ -1900,7 +2908,7 @@ module Aws::TranscribeService
1900
2908
  #
1901
2909
  # resp = client.update_vocabulary({
1902
2910
  # vocabulary_name: "VocabularyName", # required
1903
- # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
2911
+ # language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
1904
2912
  # phrases: ["Phrase"],
1905
2913
  # vocabulary_file_uri: "Uri",
1906
2914
  # })
@@ -1908,7 +2916,7 @@ module Aws::TranscribeService
1908
2916
  # @example Response structure
1909
2917
  #
1910
2918
  # resp.vocabulary_name #=> String
1911
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2919
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1912
2920
  # resp.last_modified_time #=> Time
1913
2921
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1914
2922
  #
@@ -1973,7 +2981,7 @@ module Aws::TranscribeService
1973
2981
  # @example Response structure
1974
2982
  #
1975
2983
  # resp.vocabulary_filter_name #=> String
1976
- # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN"
2984
+ # resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1977
2985
  # resp.last_modified_time #=> Time
1978
2986
  #
1979
2987
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter AWS API Documentation
@@ -1998,7 +3006,7 @@ module Aws::TranscribeService
1998
3006
  params: params,
1999
3007
  config: config)
2000
3008
  context[:gem_name] = 'aws-sdk-transcribeservice'
2001
- context[:gem_version] = '1.57.0'
3009
+ context[:gem_version] = '1.61.0'
2002
3010
  Seahorse::Client::Request.new(handlers, context)
2003
3011
  end
2004
3012