aws-sdk-transcribeservice 1.57.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice.rb +2 -2
- data/lib/aws-sdk-transcribeservice/client.rb +880 -48
- data/lib/aws-sdk-transcribeservice/client_api.rb +340 -0
- data/lib/aws-sdk-transcribeservice/types.rb +1558 -76
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49ea7c85e5ae1dc9977584c1f640dfff5b36759c2bb0ced1cd895e7d0668d9bf
|
4
|
+
data.tar.gz: 7411c3e4f07e8cc7f7fb57fdda976c6d9ec14bdedc404ae5b61f6263d1680b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9457b31bc19ca0718584f69fa97d8441bc61b23d16256ebb4b3b7034ee417b3fb9ed869cdb52a6b99c9a627943f9b3e3deda9d98c49aeac53ee63b4ce8f5f1f0
|
7
|
+
data.tar.gz: d5a9e22bcb7ccff3dc7c815491abcab3033a2db35cc334b9cd324a999012d6468d00c657c11deb51ef2814bff91519cb8c6517dd8f660e16728ae193fded0f82
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
28
28
|
# structure.
|
29
29
|
#
|
30
30
|
# transcribe_service = Aws::TranscribeService::Client.new
|
31
|
-
# resp = transcribe_service.
|
31
|
+
# resp = transcribe_service.create_call_analytics_category(params)
|
32
32
|
#
|
33
33
|
# See {Client} for more information.
|
34
34
|
#
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::TranscribeService
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.58.0'
|
52
52
|
|
53
53
|
end
|
@@ -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.
|
@@ -407,9 +568,9 @@ module Aws::TranscribeService
|
|
407
568
|
#
|
408
569
|
# @option params [required, String] :vocabulary_name
|
409
570
|
# The name of the custom vocabulary. This case-sensitive name must be
|
410
|
-
# unique within an
|
411
|
-
# the same name as a previous vocabulary, you get a
|
412
|
-
# error.
|
571
|
+
# unique within an Amazon Web Services account. If you try to create a
|
572
|
+
# vocabulary with the same name as a previous vocabulary, you get a
|
573
|
+
# `ConflictException` error.
|
413
574
|
#
|
414
575
|
# @option params [required, String] :language_code
|
415
576
|
# The language code for the language used for the entries in your custom
|
@@ -419,9 +580,9 @@ module Aws::TranscribeService
|
|
419
580
|
#
|
420
581
|
# @option params [required, String] :vocabulary_file_uri
|
421
582
|
# The location in Amazon S3 of the text file you use to define your
|
422
|
-
# custom vocabulary. The URI must be in the same
|
423
|
-
# resource that you're calling. Enter information about
|
424
|
-
# `VocabularyFileUri` in the following format:
|
583
|
+
# custom vocabulary. The URI must be in the same Amazon Web Services
|
584
|
+
# Region as the resource that you're calling. Enter information about
|
585
|
+
# your `VocabularyFileUri` in the following format:
|
425
586
|
#
|
426
587
|
# `
|
427
588
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -440,8 +601,8 @@ module Aws::TranscribeService
|
|
440
601
|
#
|
441
602
|
#
|
442
603
|
#
|
443
|
-
# [1]:
|
444
|
-
# [2]:
|
604
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
605
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
|
445
606
|
#
|
446
607
|
# @return [Types::CreateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
447
608
|
#
|
@@ -480,10 +641,10 @@ module Aws::TranscribeService
|
|
480
641
|
# Amazon Transcribe handles transcription of an audio file.
|
481
642
|
#
|
482
643
|
# @option params [required, String] :vocabulary_name
|
483
|
-
# The name of the vocabulary. The name must be unique within an
|
484
|
-
# account. The name is case sensitive. If you try to create
|
485
|
-
# with the same name as a previous vocabulary you will
|
486
|
-
# `ConflictException` error.
|
644
|
+
# The name of the vocabulary. The name must be unique within an Amazon
|
645
|
+
# Web Services account. The name is case sensitive. If you try to create
|
646
|
+
# a vocabulary with the same name as a previous vocabulary you will
|
647
|
+
# receive a `ConflictException` error.
|
487
648
|
#
|
488
649
|
# @option params [required, String] :language_code
|
489
650
|
# The language code of the vocabulary entries. For a list of languages
|
@@ -505,8 +666,8 @@ module Aws::TranscribeService
|
|
505
666
|
#
|
506
667
|
#
|
507
668
|
#
|
508
|
-
# [1]:
|
509
|
-
# [2]:
|
669
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
670
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
|
510
671
|
#
|
511
672
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
512
673
|
#
|
@@ -614,6 +775,51 @@ module Aws::TranscribeService
|
|
614
775
|
req.send_request(options)
|
615
776
|
end
|
616
777
|
|
778
|
+
# Deletes a call analytics category using its name.
|
779
|
+
#
|
780
|
+
# @option params [required, String] :category_name
|
781
|
+
# The name of the call analytics category that you're choosing to
|
782
|
+
# delete. The value is case sensitive.
|
783
|
+
#
|
784
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
785
|
+
#
|
786
|
+
# @example Request syntax with placeholder values
|
787
|
+
#
|
788
|
+
# resp = client.delete_call_analytics_category({
|
789
|
+
# category_name: "CategoryName", # required
|
790
|
+
# })
|
791
|
+
#
|
792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsCategory AWS API Documentation
|
793
|
+
#
|
794
|
+
# @overload delete_call_analytics_category(params = {})
|
795
|
+
# @param [Hash] params ({})
|
796
|
+
def delete_call_analytics_category(params = {}, options = {})
|
797
|
+
req = build_request(:delete_call_analytics_category, params)
|
798
|
+
req.send_request(options)
|
799
|
+
end
|
800
|
+
|
801
|
+
# Deletes a call analytics job using its name.
|
802
|
+
#
|
803
|
+
# @option params [required, String] :call_analytics_job_name
|
804
|
+
# The name of the call analytics job you want to delete.
|
805
|
+
#
|
806
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
807
|
+
#
|
808
|
+
# @example Request syntax with placeholder values
|
809
|
+
#
|
810
|
+
# resp = client.delete_call_analytics_job({
|
811
|
+
# call_analytics_job_name: "CallAnalyticsJobName", # required
|
812
|
+
# })
|
813
|
+
#
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsJob AWS API Documentation
|
815
|
+
#
|
816
|
+
# @overload delete_call_analytics_job(params = {})
|
817
|
+
# @param [Hash] params ({})
|
818
|
+
def delete_call_analytics_job(params = {}, options = {})
|
819
|
+
req = build_request(:delete_call_analytics_job, params)
|
820
|
+
req.send_request(options)
|
821
|
+
end
|
822
|
+
|
617
823
|
# Deletes a custom language model using its name.
|
618
824
|
#
|
619
825
|
# @option params [required, String] :model_name
|
@@ -750,9 +956,9 @@ module Aws::TranscribeService
|
|
750
956
|
end
|
751
957
|
|
752
958
|
# Gets information about a single custom language model. Use this
|
753
|
-
# information to see details about the language model in your
|
754
|
-
# account. You can also see whether the base language model
|
755
|
-
# create your custom language model has been updated. If Amazon
|
959
|
+
# information to see details about the language model in your Amazon Web
|
960
|
+
# Services account. You can also see whether the base language model
|
961
|
+
# used to create your custom language model has been updated. If Amazon
|
756
962
|
# Transcribe has updated the base model, you can create a new custom
|
757
963
|
# language model using the updated base model. If the language model
|
758
964
|
# wasn't created, you can use this operation to understand why Amazon
|
@@ -795,6 +1001,143 @@ module Aws::TranscribeService
|
|
795
1001
|
req.send_request(options)
|
796
1002
|
end
|
797
1003
|
|
1004
|
+
# Retrieves information about a call analytics category.
|
1005
|
+
#
|
1006
|
+
# @option params [required, String] :category_name
|
1007
|
+
# The name of the category you want information about. This value is
|
1008
|
+
# case sensitive.
|
1009
|
+
#
|
1010
|
+
# @return [Types::GetCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1011
|
+
#
|
1012
|
+
# * {Types::GetCallAnalyticsCategoryResponse#category_properties #category_properties} => Types::CategoryProperties
|
1013
|
+
#
|
1014
|
+
# @example Request syntax with placeholder values
|
1015
|
+
#
|
1016
|
+
# resp = client.get_call_analytics_category({
|
1017
|
+
# category_name: "CategoryName", # required
|
1018
|
+
# })
|
1019
|
+
#
|
1020
|
+
# @example Response structure
|
1021
|
+
#
|
1022
|
+
# resp.category_properties.category_name #=> String
|
1023
|
+
# resp.category_properties.rules #=> Array
|
1024
|
+
# resp.category_properties.rules[0].non_talk_time_filter.threshold #=> Integer
|
1025
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
|
1026
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
|
1027
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
|
1028
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
|
1029
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
|
1030
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
|
1031
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
|
1032
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
|
1033
|
+
# resp.category_properties.rules[0].non_talk_time_filter.negate #=> Boolean
|
1034
|
+
# resp.category_properties.rules[0].interruption_filter.threshold #=> Integer
|
1035
|
+
# resp.category_properties.rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1036
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
|
1037
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
|
1038
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.first #=> Integer
|
1039
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.last #=> Integer
|
1040
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
|
1041
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
|
1042
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.first #=> Integer
|
1043
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.last #=> Integer
|
1044
|
+
# resp.category_properties.rules[0].interruption_filter.negate #=> Boolean
|
1045
|
+
# resp.category_properties.rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
|
1046
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
|
1047
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
|
1048
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.first #=> Integer
|
1049
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.last #=> Integer
|
1050
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
|
1051
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
|
1052
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.first #=> Integer
|
1053
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.last #=> Integer
|
1054
|
+
# resp.category_properties.rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1055
|
+
# resp.category_properties.rules[0].transcript_filter.negate #=> Boolean
|
1056
|
+
# resp.category_properties.rules[0].transcript_filter.targets #=> Array
|
1057
|
+
# resp.category_properties.rules[0].transcript_filter.targets[0] #=> String
|
1058
|
+
# resp.category_properties.rules[0].sentiment_filter.sentiments #=> Array
|
1059
|
+
# resp.category_properties.rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
|
1060
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
|
1061
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
|
1062
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.first #=> Integer
|
1063
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.last #=> Integer
|
1064
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
|
1065
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
|
1066
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.first #=> Integer
|
1067
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.last #=> Integer
|
1068
|
+
# resp.category_properties.rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1069
|
+
# resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
|
1070
|
+
# resp.category_properties.create_time #=> Time
|
1071
|
+
# resp.category_properties.last_update_time #=> Time
|
1072
|
+
#
|
1073
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategory AWS API Documentation
|
1074
|
+
#
|
1075
|
+
# @overload get_call_analytics_category(params = {})
|
1076
|
+
# @param [Hash] params ({})
|
1077
|
+
def get_call_analytics_category(params = {}, options = {})
|
1078
|
+
req = build_request(:get_call_analytics_category, params)
|
1079
|
+
req.send_request(options)
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
# Returns information about a call analytics job. To see the status of
|
1083
|
+
# the job, check the `CallAnalyticsJobStatus` field. If the status is
|
1084
|
+
# `COMPLETED`, the job is finished and you can find the results at the
|
1085
|
+
# location specified in the `TranscriptFileUri` field. If you enable
|
1086
|
+
# personally identifiable information (PII) redaction, the redacted
|
1087
|
+
# transcript appears in the `RedactedTranscriptFileUri` field.
|
1088
|
+
#
|
1089
|
+
# @option params [required, String] :call_analytics_job_name
|
1090
|
+
# The name of the analytics job you want information about. This value
|
1091
|
+
# is case sensitive.
|
1092
|
+
#
|
1093
|
+
# @return [Types::GetCallAnalyticsJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1094
|
+
#
|
1095
|
+
# * {Types::GetCallAnalyticsJobResponse#call_analytics_job #call_analytics_job} => Types::CallAnalyticsJob
|
1096
|
+
#
|
1097
|
+
# @example Request syntax with placeholder values
|
1098
|
+
#
|
1099
|
+
# resp = client.get_call_analytics_job({
|
1100
|
+
# call_analytics_job_name: "CallAnalyticsJobName", # required
|
1101
|
+
# })
|
1102
|
+
#
|
1103
|
+
# @example Response structure
|
1104
|
+
#
|
1105
|
+
# resp.call_analytics_job.call_analytics_job_name #=> String
|
1106
|
+
# resp.call_analytics_job.call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1107
|
+
# 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"
|
1108
|
+
# resp.call_analytics_job.media_sample_rate_hertz #=> Integer
|
1109
|
+
# resp.call_analytics_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
1110
|
+
# resp.call_analytics_job.media.media_file_uri #=> String
|
1111
|
+
# resp.call_analytics_job.media.redacted_media_file_uri #=> String
|
1112
|
+
# resp.call_analytics_job.transcript.transcript_file_uri #=> String
|
1113
|
+
# resp.call_analytics_job.transcript.redacted_transcript_file_uri #=> String
|
1114
|
+
# resp.call_analytics_job.start_time #=> Time
|
1115
|
+
# resp.call_analytics_job.creation_time #=> Time
|
1116
|
+
# resp.call_analytics_job.completion_time #=> Time
|
1117
|
+
# resp.call_analytics_job.failure_reason #=> String
|
1118
|
+
# resp.call_analytics_job.data_access_role_arn #=> String
|
1119
|
+
# resp.call_analytics_job.identified_language_score #=> Float
|
1120
|
+
# resp.call_analytics_job.settings.vocabulary_name #=> String
|
1121
|
+
# resp.call_analytics_job.settings.vocabulary_filter_name #=> String
|
1122
|
+
# resp.call_analytics_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask", "tag"
|
1123
|
+
# resp.call_analytics_job.settings.language_model_name #=> String
|
1124
|
+
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
1125
|
+
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1126
|
+
# resp.call_analytics_job.settings.language_options #=> Array
|
1127
|
+
# 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"
|
1128
|
+
# resp.call_analytics_job.channel_definitions #=> Array
|
1129
|
+
# resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
|
1130
|
+
# resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1131
|
+
#
|
1132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJob AWS API Documentation
|
1133
|
+
#
|
1134
|
+
# @overload get_call_analytics_job(params = {})
|
1135
|
+
# @param [Hash] params ({})
|
1136
|
+
def get_call_analytics_job(params = {}, options = {})
|
1137
|
+
req = build_request(:get_call_analytics_job, params)
|
1138
|
+
req.send_request(options)
|
1139
|
+
end
|
1140
|
+
|
798
1141
|
# Returns information about a transcription job from Amazon Transcribe
|
799
1142
|
# Medical. To see the status of the job, check the
|
800
1143
|
# `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
|
@@ -822,6 +1165,7 @@ module Aws::TranscribeService
|
|
822
1165
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
823
1166
|
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
824
1167
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
1168
|
+
# resp.medical_transcription_job.media.redacted_media_file_uri #=> String
|
825
1169
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
826
1170
|
# resp.medical_transcription_job.start_time #=> Time
|
827
1171
|
# resp.medical_transcription_job.creation_time #=> Time
|
@@ -913,6 +1257,7 @@ module Aws::TranscribeService
|
|
913
1257
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
914
1258
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
915
1259
|
# resp.transcription_job.media.media_file_uri #=> String
|
1260
|
+
# resp.transcription_job.media.redacted_media_file_uri #=> String
|
916
1261
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
917
1262
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
918
1263
|
# resp.transcription_job.start_time #=> Time
|
@@ -1019,6 +1364,159 @@ module Aws::TranscribeService
|
|
1019
1364
|
req.send_request(options)
|
1020
1365
|
end
|
1021
1366
|
|
1367
|
+
# Provides more information about the call analytics categories that
|
1368
|
+
# you've created. You can use the information in this list to find a
|
1369
|
+
# specific category. You can then use the operation to get more
|
1370
|
+
# information about it.
|
1371
|
+
#
|
1372
|
+
# @option params [String] :next_token
|
1373
|
+
# When included, `NextToken`fetches the next set of categories if the
|
1374
|
+
# result of the previous request was truncated.
|
1375
|
+
#
|
1376
|
+
# @option params [Integer] :max_results
|
1377
|
+
# The maximum number of categories to return in the response. If there
|
1378
|
+
# are fewer results in the list, the response contains only the actual
|
1379
|
+
# results.
|
1380
|
+
#
|
1381
|
+
# @return [Types::ListCallAnalyticsCategoriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1382
|
+
#
|
1383
|
+
# * {Types::ListCallAnalyticsCategoriesResponse#next_token #next_token} => String
|
1384
|
+
# * {Types::ListCallAnalyticsCategoriesResponse#categories #categories} => Array<Types::CategoryProperties>
|
1385
|
+
#
|
1386
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1387
|
+
#
|
1388
|
+
# @example Request syntax with placeholder values
|
1389
|
+
#
|
1390
|
+
# resp = client.list_call_analytics_categories({
|
1391
|
+
# next_token: "NextToken",
|
1392
|
+
# max_results: 1,
|
1393
|
+
# })
|
1394
|
+
#
|
1395
|
+
# @example Response structure
|
1396
|
+
#
|
1397
|
+
# resp.next_token #=> String
|
1398
|
+
# resp.categories #=> Array
|
1399
|
+
# resp.categories[0].category_name #=> String
|
1400
|
+
# resp.categories[0].rules #=> Array
|
1401
|
+
# resp.categories[0].rules[0].non_talk_time_filter.threshold #=> Integer
|
1402
|
+
# resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
|
1403
|
+
# resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
|
1404
|
+
# resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
|
1405
|
+
# resp.categories[0].rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
|
1406
|
+
# resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
|
1407
|
+
# resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
|
1408
|
+
# resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
|
1409
|
+
# resp.categories[0].rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
|
1410
|
+
# resp.categories[0].rules[0].non_talk_time_filter.negate #=> Boolean
|
1411
|
+
# resp.categories[0].rules[0].interruption_filter.threshold #=> Integer
|
1412
|
+
# resp.categories[0].rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1413
|
+
# resp.categories[0].rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
|
1414
|
+
# resp.categories[0].rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
|
1415
|
+
# resp.categories[0].rules[0].interruption_filter.absolute_time_range.first #=> Integer
|
1416
|
+
# resp.categories[0].rules[0].interruption_filter.absolute_time_range.last #=> Integer
|
1417
|
+
# resp.categories[0].rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
|
1418
|
+
# resp.categories[0].rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
|
1419
|
+
# resp.categories[0].rules[0].interruption_filter.relative_time_range.first #=> Integer
|
1420
|
+
# resp.categories[0].rules[0].interruption_filter.relative_time_range.last #=> Integer
|
1421
|
+
# resp.categories[0].rules[0].interruption_filter.negate #=> Boolean
|
1422
|
+
# resp.categories[0].rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
|
1423
|
+
# resp.categories[0].rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
|
1424
|
+
# resp.categories[0].rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
|
1425
|
+
# resp.categories[0].rules[0].transcript_filter.absolute_time_range.first #=> Integer
|
1426
|
+
# resp.categories[0].rules[0].transcript_filter.absolute_time_range.last #=> Integer
|
1427
|
+
# resp.categories[0].rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
|
1428
|
+
# resp.categories[0].rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
|
1429
|
+
# resp.categories[0].rules[0].transcript_filter.relative_time_range.first #=> Integer
|
1430
|
+
# resp.categories[0].rules[0].transcript_filter.relative_time_range.last #=> Integer
|
1431
|
+
# resp.categories[0].rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1432
|
+
# resp.categories[0].rules[0].transcript_filter.negate #=> Boolean
|
1433
|
+
# resp.categories[0].rules[0].transcript_filter.targets #=> Array
|
1434
|
+
# resp.categories[0].rules[0].transcript_filter.targets[0] #=> String
|
1435
|
+
# resp.categories[0].rules[0].sentiment_filter.sentiments #=> Array
|
1436
|
+
# resp.categories[0].rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
|
1437
|
+
# resp.categories[0].rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
|
1438
|
+
# resp.categories[0].rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
|
1439
|
+
# resp.categories[0].rules[0].sentiment_filter.absolute_time_range.first #=> Integer
|
1440
|
+
# resp.categories[0].rules[0].sentiment_filter.absolute_time_range.last #=> Integer
|
1441
|
+
# resp.categories[0].rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
|
1442
|
+
# resp.categories[0].rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
|
1443
|
+
# resp.categories[0].rules[0].sentiment_filter.relative_time_range.first #=> Integer
|
1444
|
+
# resp.categories[0].rules[0].sentiment_filter.relative_time_range.last #=> Integer
|
1445
|
+
# resp.categories[0].rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
1446
|
+
# resp.categories[0].rules[0].sentiment_filter.negate #=> Boolean
|
1447
|
+
# resp.categories[0].create_time #=> Time
|
1448
|
+
# resp.categories[0].last_update_time #=> Time
|
1449
|
+
#
|
1450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategories AWS API Documentation
|
1451
|
+
#
|
1452
|
+
# @overload list_call_analytics_categories(params = {})
|
1453
|
+
# @param [Hash] params ({})
|
1454
|
+
def list_call_analytics_categories(params = {}, options = {})
|
1455
|
+
req = build_request(:list_call_analytics_categories, params)
|
1456
|
+
req.send_request(options)
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# List call analytics jobs with a specified status or substring that
|
1460
|
+
# matches their names.
|
1461
|
+
#
|
1462
|
+
# @option params [String] :status
|
1463
|
+
# When specified, returns only call analytics jobs with the specified
|
1464
|
+
# status. Jobs are ordered by creation date, with the most recent jobs
|
1465
|
+
# returned first. If you don't specify a status, Amazon Transcribe
|
1466
|
+
# returns all analytics jobs ordered by creation date.
|
1467
|
+
#
|
1468
|
+
# @option params [String] :job_name_contains
|
1469
|
+
# When specified, the jobs returned in the list are limited to jobs
|
1470
|
+
# whose name contains the specified string.
|
1471
|
+
#
|
1472
|
+
# @option params [String] :next_token
|
1473
|
+
# If you receive a truncated result in the previous request of , include
|
1474
|
+
# `NextToken` to fetch the next set of jobs.
|
1475
|
+
#
|
1476
|
+
# @option params [Integer] :max_results
|
1477
|
+
# The maximum number of call analytics jobs to return in the response.
|
1478
|
+
# If there are fewer results in the list, this response contains only
|
1479
|
+
# the actual results.
|
1480
|
+
#
|
1481
|
+
# @return [Types::ListCallAnalyticsJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1482
|
+
#
|
1483
|
+
# * {Types::ListCallAnalyticsJobsResponse#status #status} => String
|
1484
|
+
# * {Types::ListCallAnalyticsJobsResponse#next_token #next_token} => String
|
1485
|
+
# * {Types::ListCallAnalyticsJobsResponse#call_analytics_job_summaries #call_analytics_job_summaries} => Array<Types::CallAnalyticsJobSummary>
|
1486
|
+
#
|
1487
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1488
|
+
#
|
1489
|
+
# @example Request syntax with placeholder values
|
1490
|
+
#
|
1491
|
+
# resp = client.list_call_analytics_jobs({
|
1492
|
+
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, FAILED, COMPLETED
|
1493
|
+
# job_name_contains: "CallAnalyticsJobName",
|
1494
|
+
# next_token: "NextToken",
|
1495
|
+
# max_results: 1,
|
1496
|
+
# })
|
1497
|
+
#
|
1498
|
+
# @example Response structure
|
1499
|
+
#
|
1500
|
+
# resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1501
|
+
# resp.next_token #=> String
|
1502
|
+
# resp.call_analytics_job_summaries #=> Array
|
1503
|
+
# resp.call_analytics_job_summaries[0].call_analytics_job_name #=> String
|
1504
|
+
# resp.call_analytics_job_summaries[0].creation_time #=> Time
|
1505
|
+
# resp.call_analytics_job_summaries[0].start_time #=> Time
|
1506
|
+
# resp.call_analytics_job_summaries[0].completion_time #=> Time
|
1507
|
+
# 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"
|
1508
|
+
# resp.call_analytics_job_summaries[0].call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1509
|
+
# resp.call_analytics_job_summaries[0].failure_reason #=> String
|
1510
|
+
#
|
1511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsJobs AWS API Documentation
|
1512
|
+
#
|
1513
|
+
# @overload list_call_analytics_jobs(params = {})
|
1514
|
+
# @param [Hash] params ({})
|
1515
|
+
def list_call_analytics_jobs(params = {}, options = {})
|
1516
|
+
req = build_request(:list_call_analytics_jobs, params)
|
1517
|
+
req.send_request(options)
|
1518
|
+
end
|
1519
|
+
|
1022
1520
|
# Provides more information about the custom language models you've
|
1023
1521
|
# created. You can use the information in this list to find a specific
|
1024
1522
|
# custom language model. You can then use the operation to get more
|
@@ -1380,13 +1878,180 @@ module Aws::TranscribeService
|
|
1380
1878
|
req.send_request(options)
|
1381
1879
|
end
|
1382
1880
|
|
1881
|
+
# Starts an asynchronous analytics job that not only transcribes the
|
1882
|
+
# audio recording of a caller and agent, but also returns additional
|
1883
|
+
# insights. These insights include how quickly or loudly the caller or
|
1884
|
+
# agent was speaking. To retrieve additional insights with your
|
1885
|
+
# analytics jobs, create categories. A category is a way to classify
|
1886
|
+
# analytics jobs based on attributes, such as a customer's sentiment or
|
1887
|
+
# a particular phrase being used during the call. For more information,
|
1888
|
+
# see the operation.
|
1889
|
+
#
|
1890
|
+
# @option params [required, String] :call_analytics_job_name
|
1891
|
+
# The name of the call analytics job. You can't use the string "." or
|
1892
|
+
# ".." by themselves as the job name. The name must also be unique
|
1893
|
+
# within an AWS account. If you try to create a call analytics job with
|
1894
|
+
# the same name as a previous call analytics job, you get a
|
1895
|
+
# `ConflictException` error.
|
1896
|
+
#
|
1897
|
+
# @option params [required, Types::Media] :media
|
1898
|
+
# Describes the input media file in a transcription request.
|
1899
|
+
#
|
1900
|
+
# @option params [String] :output_location
|
1901
|
+
# The Amazon S3 location where the output of the call analytics job is
|
1902
|
+
# stored. You can provide the following location types to store the
|
1903
|
+
# output of call analytics job:
|
1904
|
+
#
|
1905
|
+
# * s3://DOC-EXAMPLE-BUCKET1
|
1906
|
+
#
|
1907
|
+
# If you specify a bucket, Amazon Transcribe saves the output of the
|
1908
|
+
# analytics job as a JSON file at the root level of the bucket.
|
1909
|
+
#
|
1910
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/
|
1911
|
+
#
|
1912
|
+
# f you specify a path, Amazon Transcribe saves the output of the
|
1913
|
+
# analytics job as
|
1914
|
+
# s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json
|
1915
|
+
#
|
1916
|
+
# If you specify a folder, you must provide a trailing slash.
|
1917
|
+
#
|
1918
|
+
# * s3://DOC-EXAMPLE-BUCKET1/folder/filename.json
|
1919
|
+
#
|
1920
|
+
# If you provide a path that has the filename specified, Amazon
|
1921
|
+
# Transcribe saves the output of the analytics job as
|
1922
|
+
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
1923
|
+
#
|
1924
|
+
# You can specify an AWS Key Management Service key to encrypt the
|
1925
|
+
# output of our analytics job using the `OutputEncryptionKMSKeyId`
|
1926
|
+
# parameter. If you don't specify a KMS key, Amazon Transcribe uses the
|
1927
|
+
# default Amazon S3 key for server-side encryption of the analytics job
|
1928
|
+
# output that is placed in your S3 bucket.
|
1929
|
+
#
|
1930
|
+
# @option params [String] :output_encryption_kms_key_id
|
1931
|
+
# The Amazon Resource Name (ARN) of the AWS Key Management Service key
|
1932
|
+
# used to encrypt the output of the call analytics job. The user calling
|
1933
|
+
# the operation must have permission to use the specified KMS key.
|
1934
|
+
#
|
1935
|
+
# You use either of the following to identify an AWS KMS key in the
|
1936
|
+
# current account:
|
1937
|
+
#
|
1938
|
+
# * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
|
1939
|
+
#
|
1940
|
+
# * KMS Key Alias: "alias/ExampleAlias"
|
1941
|
+
#
|
1942
|
+
# You can use either of the following to identify a KMS key in the
|
1943
|
+
# current account or another account:
|
1944
|
+
#
|
1945
|
+
# * Amazon Resource Name (ARN) of a KMS key in the current account or
|
1946
|
+
# another account: "arn:aws:kms:region:account
|
1947
|
+
# ID:key/1234abcd-12ab-34cd-56ef1234567890ab"
|
1948
|
+
#
|
1949
|
+
# * ARN of a KMS Key Alias: "arn:aws:kms:region:account
|
1950
|
+
# ID:alias/ExampleAlias"
|
1951
|
+
#
|
1952
|
+
# If you don't specify an encryption key, the output of the call
|
1953
|
+
# analytics job is encrypted with the default Amazon S3 key (SSE-S3).
|
1954
|
+
#
|
1955
|
+
# If you specify a KMS key to encrypt your output, you must also specify
|
1956
|
+
# an output location in the `OutputLocation` parameter.
|
1957
|
+
#
|
1958
|
+
# @option params [required, String] :data_access_role_arn
|
1959
|
+
# The Amazon Resource Name (ARN) of a role that has access to the S3
|
1960
|
+
# bucket that contains your input files. Amazon Transcribe assumes this
|
1961
|
+
# role to read queued audio files. If you have specified an output S3
|
1962
|
+
# bucket for your transcription results, this role should have access to
|
1963
|
+
# the output bucket as well.
|
1964
|
+
#
|
1965
|
+
# @option params [Types::CallAnalyticsJobSettings] :settings
|
1966
|
+
# A `Settings` object that provides optional settings for a call
|
1967
|
+
# analytics job.
|
1968
|
+
#
|
1969
|
+
# @option params [Array<Types::ChannelDefinition>] :channel_definitions
|
1970
|
+
# When you start a call analytics job, you must pass an array that maps
|
1971
|
+
# the agent and the customer to specific audio channels. The values you
|
1972
|
+
# can assign to a channel are 0 and 1. The agent and the customer must
|
1973
|
+
# each have their own channel. You can't assign more than one channel
|
1974
|
+
# to an agent or customer.
|
1975
|
+
#
|
1976
|
+
# @return [Types::StartCallAnalyticsJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1977
|
+
#
|
1978
|
+
# * {Types::StartCallAnalyticsJobResponse#call_analytics_job #call_analytics_job} => Types::CallAnalyticsJob
|
1979
|
+
#
|
1980
|
+
# @example Request syntax with placeholder values
|
1981
|
+
#
|
1982
|
+
# resp = client.start_call_analytics_job({
|
1983
|
+
# call_analytics_job_name: "CallAnalyticsJobName", # required
|
1984
|
+
# media: { # required
|
1985
|
+
# media_file_uri: "Uri",
|
1986
|
+
# redacted_media_file_uri: "Uri",
|
1987
|
+
# },
|
1988
|
+
# output_location: "Uri",
|
1989
|
+
# output_encryption_kms_key_id: "KMSKeyId",
|
1990
|
+
# data_access_role_arn: "DataAccessRoleArn", # required
|
1991
|
+
# settings: {
|
1992
|
+
# vocabulary_name: "VocabularyName",
|
1993
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
1994
|
+
# vocabulary_filter_method: "remove", # accepts remove, mask, tag
|
1995
|
+
# language_model_name: "ModelName",
|
1996
|
+
# content_redaction: {
|
1997
|
+
# redaction_type: "PII", # required, accepts PII
|
1998
|
+
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
1999
|
+
# },
|
2000
|
+
# 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
|
2001
|
+
# },
|
2002
|
+
# channel_definitions: [
|
2003
|
+
# {
|
2004
|
+
# channel_id: 1,
|
2005
|
+
# participant_role: "AGENT", # accepts AGENT, CUSTOMER
|
2006
|
+
# },
|
2007
|
+
# ],
|
2008
|
+
# })
|
2009
|
+
#
|
2010
|
+
# @example Response structure
|
2011
|
+
#
|
2012
|
+
# resp.call_analytics_job.call_analytics_job_name #=> String
|
2013
|
+
# resp.call_analytics_job.call_analytics_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
2014
|
+
# 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"
|
2015
|
+
# resp.call_analytics_job.media_sample_rate_hertz #=> Integer
|
2016
|
+
# resp.call_analytics_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
2017
|
+
# resp.call_analytics_job.media.media_file_uri #=> String
|
2018
|
+
# resp.call_analytics_job.media.redacted_media_file_uri #=> String
|
2019
|
+
# resp.call_analytics_job.transcript.transcript_file_uri #=> String
|
2020
|
+
# resp.call_analytics_job.transcript.redacted_transcript_file_uri #=> String
|
2021
|
+
# resp.call_analytics_job.start_time #=> Time
|
2022
|
+
# resp.call_analytics_job.creation_time #=> Time
|
2023
|
+
# resp.call_analytics_job.completion_time #=> Time
|
2024
|
+
# resp.call_analytics_job.failure_reason #=> String
|
2025
|
+
# resp.call_analytics_job.data_access_role_arn #=> String
|
2026
|
+
# resp.call_analytics_job.identified_language_score #=> Float
|
2027
|
+
# resp.call_analytics_job.settings.vocabulary_name #=> String
|
2028
|
+
# resp.call_analytics_job.settings.vocabulary_filter_name #=> String
|
2029
|
+
# resp.call_analytics_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask", "tag"
|
2030
|
+
# resp.call_analytics_job.settings.language_model_name #=> String
|
2031
|
+
# resp.call_analytics_job.settings.content_redaction.redaction_type #=> String, one of "PII"
|
2032
|
+
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2033
|
+
# resp.call_analytics_job.settings.language_options #=> Array
|
2034
|
+
# 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"
|
2035
|
+
# resp.call_analytics_job.channel_definitions #=> Array
|
2036
|
+
# resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
|
2037
|
+
# resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
|
2038
|
+
#
|
2039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartCallAnalyticsJob AWS API Documentation
|
2040
|
+
#
|
2041
|
+
# @overload start_call_analytics_job(params = {})
|
2042
|
+
# @param [Hash] params ({})
|
2043
|
+
def start_call_analytics_job(params = {}, options = {})
|
2044
|
+
req = build_request(:start_call_analytics_job, params)
|
2045
|
+
req.send_request(options)
|
2046
|
+
end
|
2047
|
+
|
1383
2048
|
# Starts a batch job to transcribe medical speech to text.
|
1384
2049
|
#
|
1385
2050
|
# @option params [required, String] :medical_transcription_job_name
|
1386
2051
|
# The name of the medical transcription job. You can't use the strings
|
1387
2052
|
# "`.`" or "`..`" by themselves as the job name. The name must also
|
1388
|
-
# be unique within an
|
1389
|
-
# transcription job with the same name as a previous medical
|
2053
|
+
# be unique within an Amazon Web Services account. If you try to create
|
2054
|
+
# a medical transcription job with the same name as a previous medical
|
1390
2055
|
# transcription job, you get a `ConflictException` error.
|
1391
2056
|
#
|
1392
2057
|
# @option params [required, String] :language_code
|
@@ -1421,11 +2086,12 @@ module Aws::TranscribeService
|
|
1421
2086
|
# to put files in the bucket. For more information, see [Permissions
|
1422
2087
|
# Required for IAM User Roles][1].
|
1423
2088
|
#
|
1424
|
-
# You can specify an
|
1425
|
-
# output of your transcription using the
|
1426
|
-
# parameter. If you don't specify a KMS key,
|
1427
|
-
# uses the default Amazon S3 key for
|
1428
|
-
# transcripts that are placed in your S3
|
2089
|
+
# You can specify an Amazon Web Services Key Management Service (KMS)
|
2090
|
+
# key to encrypt the output of your transcription using the
|
2091
|
+
# `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
|
2092
|
+
# Amazon Transcribe Medical uses the default Amazon S3 key for
|
2093
|
+
# server-side encryption of transcripts that are placed in your S3
|
2094
|
+
# bucket.
|
1429
2095
|
#
|
1430
2096
|
#
|
1431
2097
|
#
|
@@ -1454,10 +2120,10 @@ module Aws::TranscribeService
|
|
1454
2120
|
# the `OutputBucketName` parameter.
|
1455
2121
|
#
|
1456
2122
|
# @option params [String] :output_encryption_kms_key_id
|
1457
|
-
# The Amazon Resource Name (ARN) of the
|
1458
|
-
# key used to encrypt the output of the
|
1459
|
-
# calling the StartMedicalTranscriptionJob
|
1460
|
-
# permission to use the specified KMS key.
|
2123
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Key
|
2124
|
+
# Management Service (KMS) key used to encrypt the output of the
|
2125
|
+
# transcription job. The user calling the StartMedicalTranscriptionJob
|
2126
|
+
# operation must have permission to use the specified KMS key.
|
1461
2127
|
#
|
1462
2128
|
# You use either of the following to identify a KMS key in the current
|
1463
2129
|
# account:
|
@@ -1514,6 +2180,7 @@ module Aws::TranscribeService
|
|
1514
2180
|
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1515
2181
|
# media: { # required
|
1516
2182
|
# media_file_uri: "Uri",
|
2183
|
+
# redacted_media_file_uri: "Uri",
|
1517
2184
|
# },
|
1518
2185
|
# output_bucket_name: "OutputBucketName", # required
|
1519
2186
|
# output_key: "OutputKey",
|
@@ -1539,6 +2206,7 @@ module Aws::TranscribeService
|
|
1539
2206
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
1540
2207
|
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
1541
2208
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
2209
|
+
# resp.medical_transcription_job.media.redacted_media_file_uri #=> String
|
1542
2210
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
1543
2211
|
# resp.medical_transcription_job.start_time #=> Time
|
1544
2212
|
# resp.medical_transcription_job.creation_time #=> Time
|
@@ -1567,9 +2235,10 @@ module Aws::TranscribeService
|
|
1567
2235
|
#
|
1568
2236
|
# @option params [required, String] :transcription_job_name
|
1569
2237
|
# 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
|
1571
|
-
# account. If you try to create a transcription job
|
1572
|
-
# as a previous transcription job, you get a
|
2238
|
+
# themselves as the job name. The name must also be unique within an
|
2239
|
+
# Amazon Web Services account. If you try to create a transcription job
|
2240
|
+
# with the same name as a previous transcription job, you get a
|
2241
|
+
# `ConflictException` error.
|
1573
2242
|
#
|
1574
2243
|
# @option params [String] :language_code
|
1575
2244
|
# The language code for the language used in the input media file.
|
@@ -1606,11 +2275,11 @@ module Aws::TranscribeService
|
|
1606
2275
|
# Amazon Transcribe to put files in the bucket. For more information,
|
1607
2276
|
# see [Permissions Required for IAM User Roles][1].
|
1608
2277
|
#
|
1609
|
-
# You can specify an
|
1610
|
-
# output of your transcription using the
|
1611
|
-
# parameter. If you don't specify a KMS key,
|
1612
|
-
# default Amazon S3 key for server-side
|
1613
|
-
# are placed in your S3 bucket.
|
2278
|
+
# You can specify an Amazon Web Services Key Management Service (KMS)
|
2279
|
+
# key to encrypt the output of your transcription using the
|
2280
|
+
# `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS key,
|
2281
|
+
# Amazon Transcribe uses the default Amazon S3 key for server-side
|
2282
|
+
# encryption of transcripts that are placed in your S3 bucket.
|
1614
2283
|
#
|
1615
2284
|
# If you don't set the `OutputBucketName`, Amazon Transcribe generates
|
1616
2285
|
# a pre-signed URL, a shareable URL that provides secure access to your
|
@@ -1644,10 +2313,10 @@ module Aws::TranscribeService
|
|
1644
2313
|
# the `OutputBucketName` parameter.
|
1645
2314
|
#
|
1646
2315
|
# @option params [String] :output_encryption_kms_key_id
|
1647
|
-
# The Amazon Resource Name (ARN) of the
|
1648
|
-
# key used to encrypt the output of the
|
1649
|
-
# calling the `StartTranscriptionJob`
|
1650
|
-
# use the specified KMS key.
|
2316
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Key
|
2317
|
+
# Management Service (KMS) key used to encrypt the output of the
|
2318
|
+
# transcription job. The user calling the `StartTranscriptionJob`
|
2319
|
+
# operation must have permission to use the specified KMS key.
|
1651
2320
|
#
|
1652
2321
|
# You can use either of the following to identify a KMS key in the
|
1653
2322
|
# current account:
|
@@ -1701,6 +2370,9 @@ module Aws::TranscribeService
|
|
1701
2370
|
# collection of audio files. Automatic language identification chooses a
|
1702
2371
|
# language that best matches the source audio from that list.
|
1703
2372
|
#
|
2373
|
+
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
|
2374
|
+
# video file must be encoded at a sample rate of 16000 Hz or higher.
|
2375
|
+
#
|
1704
2376
|
# @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1705
2377
|
#
|
1706
2378
|
# * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
|
@@ -1714,6 +2386,7 @@ module Aws::TranscribeService
|
|
1714
2386
|
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1715
2387
|
# media: { # required
|
1716
2388
|
# media_file_uri: "Uri",
|
2389
|
+
# redacted_media_file_uri: "Uri",
|
1717
2390
|
# },
|
1718
2391
|
# output_bucket_name: "OutputBucketName",
|
1719
2392
|
# output_key: "OutputKey",
|
@@ -1751,6 +2424,7 @@ module Aws::TranscribeService
|
|
1751
2424
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
1752
2425
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
1753
2426
|
# resp.transcription_job.media.media_file_uri #=> String
|
2427
|
+
# resp.transcription_job.media.redacted_media_file_uri #=> String
|
1754
2428
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
1755
2429
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
1756
2430
|
# resp.transcription_job.start_time #=> Time
|
@@ -1784,6 +2458,164 @@ module Aws::TranscribeService
|
|
1784
2458
|
req.send_request(options)
|
1785
2459
|
end
|
1786
2460
|
|
2461
|
+
# Updates the call analytics category with new values. The
|
2462
|
+
# `UpdateCallAnalyticsCategory` operation overwrites all of the existing
|
2463
|
+
# information with the values that you provide in the request.
|
2464
|
+
#
|
2465
|
+
# @option params [required, String] :category_name
|
2466
|
+
# The name of the analytics category to update. The name is case
|
2467
|
+
# sensitive. If you try to update a call analytics category with the
|
2468
|
+
# same name as a previous category you will receive a
|
2469
|
+
# `ConflictException` error.
|
2470
|
+
#
|
2471
|
+
# @option params [required, Array<Types::Rule>] :rules
|
2472
|
+
# The rules used for the updated analytics category. The rules that you
|
2473
|
+
# provide in this field replace the ones that are currently being used.
|
2474
|
+
#
|
2475
|
+
# @return [Types::UpdateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2476
|
+
#
|
2477
|
+
# * {Types::UpdateCallAnalyticsCategoryResponse#category_properties #category_properties} => Types::CategoryProperties
|
2478
|
+
#
|
2479
|
+
# @example Request syntax with placeholder values
|
2480
|
+
#
|
2481
|
+
# resp = client.update_call_analytics_category({
|
2482
|
+
# category_name: "CategoryName", # required
|
2483
|
+
# rules: [ # required
|
2484
|
+
# {
|
2485
|
+
# non_talk_time_filter: {
|
2486
|
+
# threshold: 1,
|
2487
|
+
# absolute_time_range: {
|
2488
|
+
# start_time: 1,
|
2489
|
+
# end_time: 1,
|
2490
|
+
# first: 1,
|
2491
|
+
# last: 1,
|
2492
|
+
# },
|
2493
|
+
# relative_time_range: {
|
2494
|
+
# start_percentage: 1,
|
2495
|
+
# end_percentage: 1,
|
2496
|
+
# first: 1,
|
2497
|
+
# last: 1,
|
2498
|
+
# },
|
2499
|
+
# negate: false,
|
2500
|
+
# },
|
2501
|
+
# interruption_filter: {
|
2502
|
+
# threshold: 1,
|
2503
|
+
# participant_role: "AGENT", # accepts AGENT, CUSTOMER
|
2504
|
+
# absolute_time_range: {
|
2505
|
+
# start_time: 1,
|
2506
|
+
# end_time: 1,
|
2507
|
+
# first: 1,
|
2508
|
+
# last: 1,
|
2509
|
+
# },
|
2510
|
+
# relative_time_range: {
|
2511
|
+
# start_percentage: 1,
|
2512
|
+
# end_percentage: 1,
|
2513
|
+
# first: 1,
|
2514
|
+
# last: 1,
|
2515
|
+
# },
|
2516
|
+
# negate: false,
|
2517
|
+
# },
|
2518
|
+
# transcript_filter: {
|
2519
|
+
# transcript_filter_type: "EXACT", # required, accepts EXACT
|
2520
|
+
# absolute_time_range: {
|
2521
|
+
# start_time: 1,
|
2522
|
+
# end_time: 1,
|
2523
|
+
# first: 1,
|
2524
|
+
# last: 1,
|
2525
|
+
# },
|
2526
|
+
# relative_time_range: {
|
2527
|
+
# start_percentage: 1,
|
2528
|
+
# end_percentage: 1,
|
2529
|
+
# first: 1,
|
2530
|
+
# last: 1,
|
2531
|
+
# },
|
2532
|
+
# participant_role: "AGENT", # accepts AGENT, CUSTOMER
|
2533
|
+
# negate: false,
|
2534
|
+
# targets: ["NonEmptyString"], # required
|
2535
|
+
# },
|
2536
|
+
# sentiment_filter: {
|
2537
|
+
# sentiments: ["POSITIVE"], # required, accepts POSITIVE, NEGATIVE, NEUTRAL, MIXED
|
2538
|
+
# absolute_time_range: {
|
2539
|
+
# start_time: 1,
|
2540
|
+
# end_time: 1,
|
2541
|
+
# first: 1,
|
2542
|
+
# last: 1,
|
2543
|
+
# },
|
2544
|
+
# relative_time_range: {
|
2545
|
+
# start_percentage: 1,
|
2546
|
+
# end_percentage: 1,
|
2547
|
+
# first: 1,
|
2548
|
+
# last: 1,
|
2549
|
+
# },
|
2550
|
+
# participant_role: "AGENT", # accepts AGENT, CUSTOMER
|
2551
|
+
# negate: false,
|
2552
|
+
# },
|
2553
|
+
# },
|
2554
|
+
# ],
|
2555
|
+
# })
|
2556
|
+
#
|
2557
|
+
# @example Response structure
|
2558
|
+
#
|
2559
|
+
# resp.category_properties.category_name #=> String
|
2560
|
+
# resp.category_properties.rules #=> Array
|
2561
|
+
# resp.category_properties.rules[0].non_talk_time_filter.threshold #=> Integer
|
2562
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.start_time #=> Integer
|
2563
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.end_time #=> Integer
|
2564
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.first #=> Integer
|
2565
|
+
# resp.category_properties.rules[0].non_talk_time_filter.absolute_time_range.last #=> Integer
|
2566
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.start_percentage #=> Integer
|
2567
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.end_percentage #=> Integer
|
2568
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.first #=> Integer
|
2569
|
+
# resp.category_properties.rules[0].non_talk_time_filter.relative_time_range.last #=> Integer
|
2570
|
+
# resp.category_properties.rules[0].non_talk_time_filter.negate #=> Boolean
|
2571
|
+
# resp.category_properties.rules[0].interruption_filter.threshold #=> Integer
|
2572
|
+
# resp.category_properties.rules[0].interruption_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
2573
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.start_time #=> Integer
|
2574
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.end_time #=> Integer
|
2575
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.first #=> Integer
|
2576
|
+
# resp.category_properties.rules[0].interruption_filter.absolute_time_range.last #=> Integer
|
2577
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.start_percentage #=> Integer
|
2578
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.end_percentage #=> Integer
|
2579
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.first #=> Integer
|
2580
|
+
# resp.category_properties.rules[0].interruption_filter.relative_time_range.last #=> Integer
|
2581
|
+
# resp.category_properties.rules[0].interruption_filter.negate #=> Boolean
|
2582
|
+
# resp.category_properties.rules[0].transcript_filter.transcript_filter_type #=> String, one of "EXACT"
|
2583
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.start_time #=> Integer
|
2584
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.end_time #=> Integer
|
2585
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.first #=> Integer
|
2586
|
+
# resp.category_properties.rules[0].transcript_filter.absolute_time_range.last #=> Integer
|
2587
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.start_percentage #=> Integer
|
2588
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.end_percentage #=> Integer
|
2589
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.first #=> Integer
|
2590
|
+
# resp.category_properties.rules[0].transcript_filter.relative_time_range.last #=> Integer
|
2591
|
+
# resp.category_properties.rules[0].transcript_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
2592
|
+
# resp.category_properties.rules[0].transcript_filter.negate #=> Boolean
|
2593
|
+
# resp.category_properties.rules[0].transcript_filter.targets #=> Array
|
2594
|
+
# resp.category_properties.rules[0].transcript_filter.targets[0] #=> String
|
2595
|
+
# resp.category_properties.rules[0].sentiment_filter.sentiments #=> Array
|
2596
|
+
# resp.category_properties.rules[0].sentiment_filter.sentiments[0] #=> String, one of "POSITIVE", "NEGATIVE", "NEUTRAL", "MIXED"
|
2597
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.start_time #=> Integer
|
2598
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.end_time #=> Integer
|
2599
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.first #=> Integer
|
2600
|
+
# resp.category_properties.rules[0].sentiment_filter.absolute_time_range.last #=> Integer
|
2601
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.start_percentage #=> Integer
|
2602
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.end_percentage #=> Integer
|
2603
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.first #=> Integer
|
2604
|
+
# resp.category_properties.rules[0].sentiment_filter.relative_time_range.last #=> Integer
|
2605
|
+
# resp.category_properties.rules[0].sentiment_filter.participant_role #=> String, one of "AGENT", "CUSTOMER"
|
2606
|
+
# resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
|
2607
|
+
# resp.category_properties.create_time #=> Time
|
2608
|
+
# resp.category_properties.last_update_time #=> Time
|
2609
|
+
#
|
2610
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategory AWS API Documentation
|
2611
|
+
#
|
2612
|
+
# @overload update_call_analytics_category(params = {})
|
2613
|
+
# @param [Hash] params ({})
|
2614
|
+
def update_call_analytics_category(params = {}, options = {})
|
2615
|
+
req = build_request(:update_call_analytics_category, params)
|
2616
|
+
req.send_request(options)
|
2617
|
+
end
|
2618
|
+
|
1787
2619
|
# Updates a vocabulary with new values that you provide in a different
|
1788
2620
|
# text file from the one you used to create the vocabulary. The
|
1789
2621
|
# `UpdateMedicalVocabulary` operation overwrites all of the existing
|
@@ -1801,9 +2633,9 @@ module Aws::TranscribeService
|
|
1801
2633
|
#
|
1802
2634
|
# @option params [String] :vocabulary_file_uri
|
1803
2635
|
# 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
|
1805
|
-
# the resource that you are calling. The following is
|
1806
|
-
# URI:
|
2636
|
+
# for your custom vocabulary. The URI must be in the same Amazon Web
|
2637
|
+
# Services Region as the resource that you are calling. The following is
|
2638
|
+
# the format for a URI:
|
1807
2639
|
#
|
1808
2640
|
# `
|
1809
2641
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -1821,8 +2653,8 @@ module Aws::TranscribeService
|
|
1821
2653
|
#
|
1822
2654
|
#
|
1823
2655
|
#
|
1824
|
-
# [1]:
|
1825
|
-
# [2]:
|
2656
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2657
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
1826
2658
|
#
|
1827
2659
|
# @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1828
2660
|
#
|
@@ -1886,8 +2718,8 @@ module Aws::TranscribeService
|
|
1886
2718
|
#
|
1887
2719
|
#
|
1888
2720
|
#
|
1889
|
-
# [1]:
|
1890
|
-
# [2]:
|
2721
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
2722
|
+
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
|
1891
2723
|
#
|
1892
2724
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1893
2725
|
#
|
@@ -1998,7 +2830,7 @@ module Aws::TranscribeService
|
|
1998
2830
|
params: params,
|
1999
2831
|
config: config)
|
2000
2832
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
2001
|
-
context[:gem_version] = '1.
|
2833
|
+
context[:gem_version] = '1.58.0'
|
2002
2834
|
Seahorse::Client::Request.new(handlers, context)
|
2003
2835
|
end
|
2004
2836
|
|