aws-sdk-transcribeservice 1.81.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +124 -44
- data/lib/aws-sdk-transcribeservice/client_api.rb +4 -0
- data/lib/aws-sdk-transcribeservice/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-transcribeservice/endpoint_provider.rb +37 -34
- data/lib/aws-sdk-transcribeservice/types.rb +118 -32
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 607fa00e11363e3aac3ae44d9003687f62a867091c371d8da9ff8edb30c4137e
|
4
|
+
data.tar.gz: b23ef385a005d0685bb7e14883a6de72194bf8fc4182c48fdde412e9f0295695
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b34bec937b1425d40a36f2fcaafa3b163b4645fa30f730bf0e775d1894eeec0438e5e86c1e68f83cf1800f681696bfe0c24bcfd0c8f4fa01f5acc7b5f947b090
|
7
|
+
data.tar.gz: 5a1cf1eef1118278631fd8fc1e8b325717cb60480c3b57bf3d063f5fdff6839ff6e85ede52564bb62666fe6b6391fa64b45ea27a652ef1365f52e42eedb8d593
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.83.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.82.0 (2023-03-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Transcribe now supports role access for these API operations: CreateVocabulary, UpdateVocabulary, CreateVocabularyFilter, and UpdateVocabularyFilter.
|
13
|
+
|
4
14
|
1.81.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.0
|
@@ -275,6 +275,11 @@ module Aws::TranscribeService
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -386,11 +391,11 @@ module Aws::TranscribeService
|
|
386
391
|
# transcription request, as categories cannot be applied retroactively.
|
387
392
|
#
|
388
393
|
# When creating a new category, you can use the `InputType` parameter to
|
389
|
-
# label the category as a
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
+
# label the category as a `POST_CALL` or a `REAL_TIME` category.
|
395
|
+
# `POST_CALL` categories can only be applied to post-call transcriptions
|
396
|
+
# and `REAL_TIME` categories can only be applied to real-time
|
397
|
+
# transcriptions. If you do not include `InputType`, your category is
|
398
|
+
# created as a `POST_CALL` category by default.
|
394
399
|
#
|
395
400
|
# Call Analytics categories are composed of rules. For each category,
|
396
401
|
# you must create between 1 and 20 rules. Rules can include these
|
@@ -399,8 +404,8 @@ module Aws::TranscribeService
|
|
399
404
|
# To update an existing category, see .
|
400
405
|
#
|
401
406
|
# To learn more about Call Analytics categories, see [Creating
|
402
|
-
# categories for
|
403
|
-
#
|
407
|
+
# categories for post-call transcriptions][1] and [Creating categories
|
408
|
+
# for real-time transcriptions][2].
|
404
409
|
#
|
405
410
|
#
|
406
411
|
#
|
@@ -425,19 +430,19 @@ module Aws::TranscribeService
|
|
425
430
|
# call.
|
426
431
|
#
|
427
432
|
# @option params [String] :input_type
|
428
|
-
# Choose whether you want to create a
|
429
|
-
# your Call Analytics transcription.
|
433
|
+
# Choose whether you want to create a real-time or a post-call category
|
434
|
+
# for your Call Analytics transcription.
|
430
435
|
#
|
431
|
-
# Specifying `POST_CALL` assigns your category to
|
432
|
-
# categories with this input type cannot be applied to
|
433
|
-
# (real-time) transcriptions.
|
436
|
+
# Specifying `POST_CALL` assigns your category to post-call
|
437
|
+
# transcriptions; categories with this input type cannot be applied to
|
438
|
+
# streaming (real-time) transcriptions.
|
434
439
|
#
|
435
440
|
# Specifying `REAL_TIME` assigns your category to streaming
|
436
441
|
# transcriptions; categories with this input type cannot be applied to
|
437
|
-
#
|
442
|
+
# post-call transcriptions.
|
438
443
|
#
|
439
|
-
# If you do not include `InputType`, your category is created as a
|
440
|
-
# category by default.
|
444
|
+
# If you do not include `InputType`, your category is created as a
|
445
|
+
# post-call category by default.
|
441
446
|
#
|
442
447
|
# @return [Types::CreateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
443
448
|
#
|
@@ -710,10 +715,11 @@ module Aws::TranscribeService
|
|
710
715
|
# Creates a new custom medical vocabulary.
|
711
716
|
#
|
712
717
|
# Before creating a new custom medical vocabulary, you must first upload
|
713
|
-
# a text file that contains your
|
714
|
-
#
|
715
|
-
#
|
716
|
-
# `CreateMedicalVocabulary` does not support the `Phrases` flag
|
718
|
+
# a text file that contains your vocabulary table into an Amazon S3
|
719
|
+
# bucket. Note that this differs from , where you can include a list of
|
720
|
+
# terms within your request using the `Phrases` flag;
|
721
|
+
# `CreateMedicalVocabulary` does not support the `Phrases` flag and only
|
722
|
+
# accepts vocabularies in table format.
|
717
723
|
#
|
718
724
|
# Each language has a character set that contains all allowed characters
|
719
725
|
# for that specific language. If you use unsupported characters, your
|
@@ -886,6 +892,23 @@ module Aws::TranscribeService
|
|
886
892
|
#
|
887
893
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
|
888
894
|
#
|
895
|
+
# @option params [String] :data_access_role_arn
|
896
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
897
|
+
# access the Amazon S3 bucket that contains your input files (in this
|
898
|
+
# case, your custom vocabulary). If the role that you specify doesn’t
|
899
|
+
# have the appropriate permissions to access the specified Amazon S3
|
900
|
+
# location, your request fails.
|
901
|
+
#
|
902
|
+
# IAM role ARNs have the format
|
903
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
904
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
905
|
+
#
|
906
|
+
# For more information, see [IAM ARNs][1].
|
907
|
+
#
|
908
|
+
#
|
909
|
+
#
|
910
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
911
|
+
#
|
889
912
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
890
913
|
#
|
891
914
|
# * {Types::CreateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
@@ -907,6 +930,7 @@ module Aws::TranscribeService
|
|
907
930
|
# value: "TagValue", # required
|
908
931
|
# },
|
909
932
|
# ],
|
933
|
+
# data_access_role_arn: "DataAccessRoleArn",
|
910
934
|
# })
|
911
935
|
#
|
912
936
|
# @example Response structure
|
@@ -1012,6 +1036,23 @@ module Aws::TranscribeService
|
|
1012
1036
|
#
|
1013
1037
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
|
1014
1038
|
#
|
1039
|
+
# @option params [String] :data_access_role_arn
|
1040
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
1041
|
+
# access the Amazon S3 bucket that contains your input files (in this
|
1042
|
+
# case, your custom vocabulary filter). If the role that you specify
|
1043
|
+
# doesn’t have the appropriate permissions to access the specified
|
1044
|
+
# Amazon S3 location, your request fails.
|
1045
|
+
#
|
1046
|
+
# IAM role ARNs have the format
|
1047
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
1048
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
1049
|
+
#
|
1050
|
+
# For more information, see [IAM ARNs][1].
|
1051
|
+
#
|
1052
|
+
#
|
1053
|
+
#
|
1054
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
1055
|
+
#
|
1015
1056
|
# @return [Types::CreateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1016
1057
|
#
|
1017
1058
|
# * {Types::CreateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
|
@@ -1031,6 +1072,7 @@ module Aws::TranscribeService
|
|
1031
1072
|
# value: "TagValue", # required
|
1032
1073
|
# },
|
1033
1074
|
# ],
|
1075
|
+
# data_access_role_arn: "DataAccessRoleArn",
|
1034
1076
|
# })
|
1035
1077
|
#
|
1036
1078
|
# @example Response structure
|
@@ -2370,26 +2412,28 @@ module Aws::TranscribeService
|
|
2370
2412
|
# create them before submitting your job request. Categories cannot be
|
2371
2413
|
# retroactively applied to a job. To create a new category, use the
|
2372
2414
|
# operation. To learn more about Call Analytics categories, see
|
2373
|
-
# [Creating categories for
|
2374
|
-
# categories for
|
2415
|
+
# [Creating categories for post-call transcriptions][2] and [Creating
|
2416
|
+
# categories for real-time transcriptions][3].
|
2375
2417
|
#
|
2376
2418
|
# To make a `StartCallAnalyticsJob` request, you must first upload your
|
2377
2419
|
# media file into an Amazon S3 bucket; you can then specify the Amazon
|
2378
2420
|
# S3 location of the file using the `Media` parameter.
|
2379
2421
|
#
|
2422
|
+
# Note that job queuing is enabled by default for Call Analytics jobs.
|
2423
|
+
#
|
2380
2424
|
# You must include the following parameters in your
|
2381
2425
|
# `StartCallAnalyticsJob` request:
|
2382
2426
|
#
|
2383
|
-
# * `region
|
2427
|
+
# * `region`: The Amazon Web Services Region where you are making your
|
2384
2428
|
# request. For a list of Amazon Web Services Regions supported with
|
2385
2429
|
# Amazon Transcribe, refer to [Amazon Transcribe endpoints and
|
2386
2430
|
# quotas][4].
|
2387
2431
|
#
|
2388
|
-
# * `CallAnalyticsJobName
|
2432
|
+
# * `CallAnalyticsJobName`: A custom name that you create for your
|
2389
2433
|
# transcription job that's unique within your Amazon Web Services
|
2390
2434
|
# account.
|
2391
2435
|
#
|
2392
|
-
# * `DataAccessRoleArn
|
2436
|
+
# * `DataAccessRoleArn`: The Amazon Resource Name (ARN) of an IAM role
|
2393
2437
|
# that has permissions to access the Amazon S3 bucket that contains
|
2394
2438
|
# your input files.
|
2395
2439
|
#
|
@@ -2482,7 +2526,7 @@ module Aws::TranscribeService
|
|
2482
2526
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2483
2527
|
# an output location using the `OutputLocation` parameter.
|
2484
2528
|
#
|
2485
|
-
# Note that the
|
2529
|
+
# Note that the role making the request must have permission to use the
|
2486
2530
|
# specified KMS key.
|
2487
2531
|
#
|
2488
2532
|
# @option params [String] :data_access_role_arn
|
@@ -2617,26 +2661,26 @@ module Aws::TranscribeService
|
|
2617
2661
|
# You must include the following parameters in your
|
2618
2662
|
# `StartMedicalTranscriptionJob` request:
|
2619
2663
|
#
|
2620
|
-
# * `region
|
2664
|
+
# * `region`: The Amazon Web Services Region where you are making your
|
2621
2665
|
# request. For a list of Amazon Web Services Regions supported with
|
2622
2666
|
# Amazon Transcribe, refer to [Amazon Transcribe endpoints and
|
2623
2667
|
# quotas][2].
|
2624
2668
|
#
|
2625
|
-
# * `MedicalTranscriptionJobName
|
2669
|
+
# * `MedicalTranscriptionJobName`: A custom name you create for your
|
2626
2670
|
# transcription job that is unique within your Amazon Web Services
|
2627
2671
|
# account.
|
2628
2672
|
#
|
2629
2673
|
# * `Media` (`MediaFileUri`): The Amazon S3 location of your media file.
|
2630
2674
|
#
|
2631
|
-
# * `LanguageCode
|
2675
|
+
# * `LanguageCode`: This must be `en-US`.
|
2632
2676
|
#
|
2633
|
-
# * `OutputBucketName
|
2677
|
+
# * `OutputBucketName`: The Amazon S3 bucket where you want your
|
2634
2678
|
# transcript stored. If you want your output stored in a sub-folder of
|
2635
2679
|
# this bucket, you must also include `OutputKey`.
|
2636
2680
|
#
|
2637
|
-
# * `Specialty
|
2681
|
+
# * `Specialty`: This must be `PRIMARYCARE`.
|
2638
2682
|
#
|
2639
|
-
# * `Type
|
2683
|
+
# * `Type`: Choose whether your audio is a conversation or a dictation.
|
2640
2684
|
#
|
2641
2685
|
#
|
2642
2686
|
#
|
@@ -2720,7 +2764,7 @@ module Aws::TranscribeService
|
|
2720
2764
|
# same as the name you specified for your medical transcription job
|
2721
2765
|
# (`MedicalTranscriptionJobName`).
|
2722
2766
|
#
|
2723
|
-
# Here are some examples of how you can use `OutputKey
|
2767
|
+
# Here are some examples of how you can use `OutputKey`:
|
2724
2768
|
#
|
2725
2769
|
# * If you specify 'DOC-EXAMPLE-BUCKET' as the `OutputBucketName` and
|
2726
2770
|
# 'my-transcript.json' as the `OutputKey`, your transcription output
|
@@ -2782,7 +2826,7 @@ module Aws::TranscribeService
|
|
2782
2826
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2783
2827
|
# an output location using the `OutputLocation` parameter.
|
2784
2828
|
#
|
2785
|
-
# Note that the
|
2829
|
+
# Note that the role making the request must have permission to use the
|
2786
2830
|
# specified KMS key.
|
2787
2831
|
#
|
2788
2832
|
# @option params [Hash<String,String>] :kms_encryption_context
|
@@ -2923,19 +2967,19 @@ module Aws::TranscribeService
|
|
2923
2967
|
# You must include the following parameters in your
|
2924
2968
|
# `StartTranscriptionJob` request:
|
2925
2969
|
#
|
2926
|
-
# * `region
|
2970
|
+
# * `region`: The Amazon Web Services Region where you are making your
|
2927
2971
|
# request. For a list of Amazon Web Services Regions supported with
|
2928
2972
|
# Amazon Transcribe, refer to [Amazon Transcribe endpoints and
|
2929
2973
|
# quotas][1].
|
2930
2974
|
#
|
2931
|
-
# * `TranscriptionJobName
|
2975
|
+
# * `TranscriptionJobName`: A custom name you create for your
|
2932
2976
|
# transcription job that is unique within your Amazon Web Services
|
2933
2977
|
# account.
|
2934
2978
|
#
|
2935
2979
|
# * `Media` (`MediaFileUri`): The Amazon S3 location of your media file.
|
2936
2980
|
#
|
2937
2981
|
# * One of `LanguageCode`, `IdentifyLanguage`, or
|
2938
|
-
# `IdentifyMultipleLanguages
|
2982
|
+
# `IdentifyMultipleLanguages`: If you know the language of your media
|
2939
2983
|
# file, specify it using the `LanguageCode` parameter; you can find
|
2940
2984
|
# all valid language codes in the [Supported languages][2] table. If
|
2941
2985
|
# you don't know the languages spoken in your media, use either
|
@@ -3036,7 +3080,7 @@ module Aws::TranscribeService
|
|
3036
3080
|
# same as the name you specified for your transcription job
|
3037
3081
|
# (`TranscriptionJobName`).
|
3038
3082
|
#
|
3039
|
-
# Here are some examples of how you can use `OutputKey
|
3083
|
+
# Here are some examples of how you can use `OutputKey`:
|
3040
3084
|
#
|
3041
3085
|
# * If you specify 'DOC-EXAMPLE-BUCKET' as the `OutputBucketName` and
|
3042
3086
|
# 'my-transcript.json' as the `OutputKey`, your transcription output
|
@@ -3097,7 +3141,7 @@ module Aws::TranscribeService
|
|
3097
3141
|
# If you specify a KMS key to encrypt your output, you must also specify
|
3098
3142
|
# an output location using the `OutputLocation` parameter.
|
3099
3143
|
#
|
3100
|
-
# Note that the
|
3144
|
+
# Note that the role making the request must have permission to use the
|
3101
3145
|
# specified KMS key.
|
3102
3146
|
#
|
3103
3147
|
# @option params [Hash<String,String>] :kms_encryption_context
|
@@ -3504,11 +3548,11 @@ module Aws::TranscribeService
|
|
3504
3548
|
# in the specified category.
|
3505
3549
|
#
|
3506
3550
|
# @option params [String] :input_type
|
3507
|
-
# Choose whether you want to update a
|
3508
|
-
#
|
3509
|
-
#
|
3510
|
-
#
|
3511
|
-
#
|
3551
|
+
# Choose whether you want to update a real-time or a post-call category.
|
3552
|
+
# The input type you specify must match the input type specified when
|
3553
|
+
# the category was created. For example, if you created a category with
|
3554
|
+
# the `POST_CALL` input type, you must use `POST_CALL` as the input type
|
3555
|
+
# when updating this category.
|
3512
3556
|
#
|
3513
3557
|
# @return [Types::UpdateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3514
3558
|
#
|
@@ -3764,6 +3808,23 @@ module Aws::TranscribeService
|
|
3764
3808
|
# Note that if you include `VocabularyFileUri` in your request, you
|
3765
3809
|
# cannot use the `Phrases` flag; you must choose one or the other.
|
3766
3810
|
#
|
3811
|
+
# @option params [String] :data_access_role_arn
|
3812
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
3813
|
+
# access the Amazon S3 bucket that contains your input files (in this
|
3814
|
+
# case, your custom vocabulary). If the role that you specify doesn’t
|
3815
|
+
# have the appropriate permissions to access the specified Amazon S3
|
3816
|
+
# location, your request fails.
|
3817
|
+
#
|
3818
|
+
# IAM role ARNs have the format
|
3819
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
3820
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
3821
|
+
#
|
3822
|
+
# For more information, see [IAM ARNs][1].
|
3823
|
+
#
|
3824
|
+
#
|
3825
|
+
#
|
3826
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
3827
|
+
#
|
3767
3828
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3768
3829
|
#
|
3769
3830
|
# * {Types::UpdateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
@@ -3778,6 +3839,7 @@ module Aws::TranscribeService
|
|
3778
3839
|
# language_code: "af-ZA", # required, accepts af-ZA, ar-AE, ar-SA, 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, 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, vi-VN, sv-SE
|
3779
3840
|
# phrases: ["Phrase"],
|
3780
3841
|
# vocabulary_file_uri: "Uri",
|
3842
|
+
# data_access_role_arn: "DataAccessRoleArn",
|
3781
3843
|
# })
|
3782
3844
|
#
|
3783
3845
|
# @example Response structure
|
@@ -3835,6 +3897,23 @@ module Aws::TranscribeService
|
|
3835
3897
|
# Note that if you include `VocabularyFilterFileUri` in your request,
|
3836
3898
|
# you cannot use `Words`; you must choose one or the other.
|
3837
3899
|
#
|
3900
|
+
# @option params [String] :data_access_role_arn
|
3901
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
3902
|
+
# access the Amazon S3 bucket that contains your input files (in this
|
3903
|
+
# case, your custom vocabulary filter). If the role that you specify
|
3904
|
+
# doesn’t have the appropriate permissions to access the specified
|
3905
|
+
# Amazon S3 location, your request fails.
|
3906
|
+
#
|
3907
|
+
# IAM role ARNs have the format
|
3908
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
3909
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
3910
|
+
#
|
3911
|
+
# For more information, see [IAM ARNs][1].
|
3912
|
+
#
|
3913
|
+
#
|
3914
|
+
#
|
3915
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
3916
|
+
#
|
3838
3917
|
# @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3839
3918
|
#
|
3840
3919
|
# * {Types::UpdateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
|
@@ -3847,6 +3926,7 @@ module Aws::TranscribeService
|
|
3847
3926
|
# vocabulary_filter_name: "VocabularyFilterName", # required
|
3848
3927
|
# words: ["Word"],
|
3849
3928
|
# vocabulary_filter_file_uri: "Uri",
|
3929
|
+
# data_access_role_arn: "DataAccessRoleArn",
|
3850
3930
|
# })
|
3851
3931
|
#
|
3852
3932
|
# @example Response structure
|
@@ -3877,7 +3957,7 @@ module Aws::TranscribeService
|
|
3877
3957
|
params: params,
|
3878
3958
|
config: config)
|
3879
3959
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3880
|
-
context[:gem_version] = '1.
|
3960
|
+
context[:gem_version] = '1.83.0'
|
3881
3961
|
Seahorse::Client::Request.new(handlers, context)
|
3882
3962
|
end
|
3883
3963
|
|
@@ -309,6 +309,7 @@ module Aws::TranscribeService
|
|
309
309
|
CreateVocabularyFilterRequest.add_member(:words, Shapes::ShapeRef.new(shape: Words, location_name: "Words"))
|
310
310
|
CreateVocabularyFilterRequest.add_member(:vocabulary_filter_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFilterFileUri"))
|
311
311
|
CreateVocabularyFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
312
|
+
CreateVocabularyFilterRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
312
313
|
CreateVocabularyFilterRequest.struct_class = Types::CreateVocabularyFilterRequest
|
313
314
|
|
314
315
|
CreateVocabularyFilterResponse.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
@@ -321,6 +322,7 @@ module Aws::TranscribeService
|
|
321
322
|
CreateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
322
323
|
CreateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
323
324
|
CreateVocabularyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
325
|
+
CreateVocabularyRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
324
326
|
CreateVocabularyRequest.struct_class = Types::CreateVocabularyRequest
|
325
327
|
|
326
328
|
CreateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -832,6 +834,7 @@ module Aws::TranscribeService
|
|
832
834
|
UpdateVocabularyFilterRequest.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, required: true, location_name: "VocabularyFilterName"))
|
833
835
|
UpdateVocabularyFilterRequest.add_member(:words, Shapes::ShapeRef.new(shape: Words, location_name: "Words"))
|
834
836
|
UpdateVocabularyFilterRequest.add_member(:vocabulary_filter_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFilterFileUri"))
|
837
|
+
UpdateVocabularyFilterRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
835
838
|
UpdateVocabularyFilterRequest.struct_class = Types::UpdateVocabularyFilterRequest
|
836
839
|
|
837
840
|
UpdateVocabularyFilterResponse.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
@@ -843,6 +846,7 @@ module Aws::TranscribeService
|
|
843
846
|
UpdateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
844
847
|
UpdateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
845
848
|
UpdateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
849
|
+
UpdateVocabularyRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
846
850
|
UpdateVocabularyRequest.struct_class = Types::UpdateVocabularyRequest
|
847
851
|
|
848
852
|
UpdateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -50,9 +50,6 @@ module Aws::TranscribeService
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,48 +14,51 @@ module Aws::TranscribeService
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
28
|
-
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://transcribe-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
32
23
|
end
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribe-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
|
-
|
39
|
-
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fips.transcribe.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fips.transcribe.#{region}.amazonaws.com", headers: {}, properties: {})
|
41
|
+
end
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribe-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
40
43
|
end
|
41
|
-
|
44
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
42
45
|
end
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
46
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
47
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribe.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
49
|
+
end
|
50
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
48
51
|
end
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
return Aws::Endpoints::Endpoint.new(url: "https://
|
52
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "cn-north-1")
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cn.transcribe.cn-north-1.amazonaws.com.cn", headers: {}, properties: {})
|
54
|
+
end
|
55
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "cn-northwest-1")
|
56
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cn.transcribe.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {})
|
57
|
+
end
|
58
|
+
return Aws::Endpoints::Endpoint.new(url: "https://transcribe.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
56
59
|
end
|
57
|
-
return Aws::Endpoints::Endpoint.new(url: "https://transcribe.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
58
60
|
end
|
61
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
59
62
|
raise ArgumentError, 'No endpoint could be resolved'
|
60
63
|
|
61
64
|
end
|
@@ -601,19 +601,19 @@ module Aws::TranscribeService
|
|
601
601
|
# @return [Array<Types::Rule>]
|
602
602
|
#
|
603
603
|
# @!attribute [rw] input_type
|
604
|
-
# Choose whether you want to create a
|
605
|
-
# for your Call Analytics transcription.
|
604
|
+
# Choose whether you want to create a real-time or a post-call
|
605
|
+
# category for your Call Analytics transcription.
|
606
606
|
#
|
607
|
-
# Specifying `POST_CALL` assigns your category to
|
607
|
+
# Specifying `POST_CALL` assigns your category to post-call
|
608
608
|
# transcriptions; categories with this input type cannot be applied to
|
609
609
|
# streaming (real-time) transcriptions.
|
610
610
|
#
|
611
611
|
# Specifying `REAL_TIME` assigns your category to streaming
|
612
612
|
# transcriptions; categories with this input type cannot be applied to
|
613
|
-
#
|
613
|
+
# post-call transcriptions.
|
614
614
|
#
|
615
615
|
# If you do not include `InputType`, your category is created as a
|
616
|
-
#
|
616
|
+
# post-call category by default.
|
617
617
|
# @return [String]
|
618
618
|
#
|
619
619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategoryRequest AWS API Documentation
|
@@ -924,6 +924,24 @@ module Aws::TranscribeService
|
|
924
924
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
|
925
925
|
# @return [Array<Types::Tag>]
|
926
926
|
#
|
927
|
+
# @!attribute [rw] data_access_role_arn
|
928
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
929
|
+
# to access the Amazon S3 bucket that contains your input files (in
|
930
|
+
# this case, your custom vocabulary filter). If the role that you
|
931
|
+
# specify doesn’t have the appropriate permissions to access the
|
932
|
+
# specified Amazon S3 location, your request fails.
|
933
|
+
#
|
934
|
+
# IAM role ARNs have the format
|
935
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
936
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
937
|
+
#
|
938
|
+
# For more information, see [IAM ARNs][1].
|
939
|
+
#
|
940
|
+
#
|
941
|
+
#
|
942
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
943
|
+
# @return [String]
|
944
|
+
#
|
927
945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilterRequest AWS API Documentation
|
928
946
|
#
|
929
947
|
class CreateVocabularyFilterRequest < Struct.new(
|
@@ -931,7 +949,8 @@ module Aws::TranscribeService
|
|
931
949
|
:language_code,
|
932
950
|
:words,
|
933
951
|
:vocabulary_filter_file_uri,
|
934
|
-
:tags
|
952
|
+
:tags,
|
953
|
+
:data_access_role_arn)
|
935
954
|
SENSITIVE = []
|
936
955
|
include Aws::Structure
|
937
956
|
end
|
@@ -1036,6 +1055,24 @@ module Aws::TranscribeService
|
|
1036
1055
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
|
1037
1056
|
# @return [Array<Types::Tag>]
|
1038
1057
|
#
|
1058
|
+
# @!attribute [rw] data_access_role_arn
|
1059
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
1060
|
+
# to access the Amazon S3 bucket that contains your input files (in
|
1061
|
+
# this case, your custom vocabulary). If the role that you specify
|
1062
|
+
# doesn’t have the appropriate permissions to access the specified
|
1063
|
+
# Amazon S3 location, your request fails.
|
1064
|
+
#
|
1065
|
+
# IAM role ARNs have the format
|
1066
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
1067
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
1068
|
+
#
|
1069
|
+
# For more information, see [IAM ARNs][1].
|
1070
|
+
#
|
1071
|
+
#
|
1072
|
+
#
|
1073
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1039
1076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
1040
1077
|
#
|
1041
1078
|
class CreateVocabularyRequest < Struct.new(
|
@@ -1043,7 +1080,8 @@ module Aws::TranscribeService
|
|
1043
1080
|
:language_code,
|
1044
1081
|
:phrases,
|
1045
1082
|
:vocabulary_file_uri,
|
1046
|
-
:tags
|
1083
|
+
:tags,
|
1084
|
+
:data_access_role_arn)
|
1047
1085
|
SENSITIVE = []
|
1048
1086
|
include Aws::Structure
|
1049
1087
|
end
|
@@ -1598,7 +1636,7 @@ module Aws::TranscribeService
|
|
1598
1636
|
#
|
1599
1637
|
# * A lack of interruptions
|
1600
1638
|
#
|
1601
|
-
# See [Rule criteria for
|
1639
|
+
# See [Rule criteria for post-call categories][1] for usage examples.
|
1602
1640
|
#
|
1603
1641
|
#
|
1604
1642
|
#
|
@@ -1662,8 +1700,6 @@ module Aws::TranscribeService
|
|
1662
1700
|
# transcription job requests exceed the concurrent request limit, you
|
1663
1701
|
# get a `LimitExceededException` error.
|
1664
1702
|
#
|
1665
|
-
# Note that job queuing is enabled by default for Call Analytics jobs.
|
1666
|
-
#
|
1667
1703
|
# If you include `AllowDeferredExecution` in your request, you must
|
1668
1704
|
# also include `DataAccessRoleArn`.
|
1669
1705
|
# @return [Boolean]
|
@@ -1798,11 +1834,23 @@ module Aws::TranscribeService
|
|
1798
1834
|
include Aws::Structure
|
1799
1835
|
end
|
1800
1836
|
|
1801
|
-
# Provides information about a custom language model, including
|
1802
|
-
#
|
1803
|
-
#
|
1804
|
-
#
|
1805
|
-
#
|
1837
|
+
# Provides information about a custom language model, including:
|
1838
|
+
#
|
1839
|
+
# * The base model name
|
1840
|
+
#
|
1841
|
+
# * When the model was created
|
1842
|
+
#
|
1843
|
+
# * The location of the files used to train the model
|
1844
|
+
#
|
1845
|
+
# * When the model was last modified
|
1846
|
+
#
|
1847
|
+
# * The name you chose for the model
|
1848
|
+
#
|
1849
|
+
# * The model's language
|
1850
|
+
#
|
1851
|
+
# * The model's processing state
|
1852
|
+
#
|
1853
|
+
# * Any available upgrades for the base model
|
1806
1854
|
#
|
1807
1855
|
# @!attribute [rw] model_name
|
1808
1856
|
# A unique name, chosen by you, for your custom language model.
|
@@ -2969,7 +3017,7 @@ module Aws::TranscribeService
|
|
2969
3017
|
#
|
2970
3018
|
# * The presence of speech at specified periods throughout the call
|
2971
3019
|
#
|
2972
|
-
# See [Rule criteria for
|
3020
|
+
# See [Rule criteria for post-call categories][1] for usage examples.
|
2973
3021
|
#
|
2974
3022
|
#
|
2975
3023
|
#
|
@@ -3082,8 +3130,8 @@ module Aws::TranscribeService
|
|
3082
3130
|
# Rules can include these parameters: , , , and .
|
3083
3131
|
#
|
3084
3132
|
# To learn more about Call Analytics rules and categories, see [Creating
|
3085
|
-
# categories for
|
3086
|
-
#
|
3133
|
+
# categories for post-call transcriptions][1] and [Creating categories
|
3134
|
+
# for real-time transcriptions][2].
|
3087
3135
|
#
|
3088
3136
|
# To learn more about Call Analytics, see [Analyzing call center audio
|
3089
3137
|
# with Call Analytics][3].
|
@@ -3154,7 +3202,7 @@ module Aws::TranscribeService
|
|
3154
3202
|
# * The presence or absence of a mixed sentiment felt by the customer,
|
3155
3203
|
# the agent, or both at specified points in the call
|
3156
3204
|
#
|
3157
|
-
# See [Rule criteria for
|
3205
|
+
# See [Rule criteria for post-call categories][1] for usage examples.
|
3158
3206
|
#
|
3159
3207
|
#
|
3160
3208
|
#
|
@@ -3406,7 +3454,7 @@ module Aws::TranscribeService
|
|
3406
3454
|
# If you specify a KMS key to encrypt your output, you must also
|
3407
3455
|
# specify an output location using the `OutputLocation` parameter.
|
3408
3456
|
#
|
3409
|
-
# Note that the
|
3457
|
+
# Note that the role making the request must have permission to use
|
3410
3458
|
# the specified KMS key.
|
3411
3459
|
# @return [String]
|
3412
3460
|
#
|
@@ -3552,7 +3600,7 @@ module Aws::TranscribeService
|
|
3552
3600
|
# same as the name you specified for your medical transcription job
|
3553
3601
|
# (`MedicalTranscriptionJobName`).
|
3554
3602
|
#
|
3555
|
-
# Here are some examples of how you can use `OutputKey
|
3603
|
+
# Here are some examples of how you can use `OutputKey`:
|
3556
3604
|
#
|
3557
3605
|
# * If you specify 'DOC-EXAMPLE-BUCKET' as the `OutputBucketName`
|
3558
3606
|
# and 'my-transcript.json' as the `OutputKey`, your transcription
|
@@ -3615,7 +3663,7 @@ module Aws::TranscribeService
|
|
3615
3663
|
# If you specify a KMS key to encrypt your output, you must also
|
3616
3664
|
# specify an output location using the `OutputLocation` parameter.
|
3617
3665
|
#
|
3618
|
-
# Note that the
|
3666
|
+
# Note that the role making the request must have permission to use
|
3619
3667
|
# the specified KMS key.
|
3620
3668
|
# @return [String]
|
3621
3669
|
#
|
@@ -3809,7 +3857,7 @@ module Aws::TranscribeService
|
|
3809
3857
|
# same as the name you specified for your transcription job
|
3810
3858
|
# (`TranscriptionJobName`).
|
3811
3859
|
#
|
3812
|
-
# Here are some examples of how you can use `OutputKey
|
3860
|
+
# Here are some examples of how you can use `OutputKey`:
|
3813
3861
|
#
|
3814
3862
|
# * If you specify 'DOC-EXAMPLE-BUCKET' as the `OutputBucketName`
|
3815
3863
|
# and 'my-transcript.json' as the `OutputKey`, your transcription
|
@@ -3871,7 +3919,7 @@ module Aws::TranscribeService
|
|
3871
3919
|
# If you specify a KMS key to encrypt your output, you must also
|
3872
3920
|
# specify an output location using the `OutputLocation` parameter.
|
3873
3921
|
#
|
3874
|
-
# Note that the
|
3922
|
+
# Note that the role making the request must have permission to use
|
3875
3923
|
# the specified KMS key.
|
3876
3924
|
# @return [String]
|
3877
3925
|
#
|
@@ -4322,7 +4370,7 @@ module Aws::TranscribeService
|
|
4322
4370
|
#
|
4323
4371
|
# * Custom words or phrases that occur at a specific time frame
|
4324
4372
|
#
|
4325
|
-
# See [Rule criteria for
|
4373
|
+
# See [Rule criteria for post-call categories][1] and [Rule criteria for
|
4326
4374
|
# streaming categories][2] for usage examples.
|
4327
4375
|
#
|
4328
4376
|
#
|
@@ -4783,11 +4831,11 @@ module Aws::TranscribeService
|
|
4783
4831
|
# @return [Array<Types::Rule>]
|
4784
4832
|
#
|
4785
4833
|
# @!attribute [rw] input_type
|
4786
|
-
# Choose whether you want to update a
|
4787
|
-
#
|
4788
|
-
#
|
4789
|
-
#
|
4790
|
-
#
|
4834
|
+
# Choose whether you want to update a real-time or a post-call
|
4835
|
+
# category. The input type you specify must match the input type
|
4836
|
+
# specified when the category was created. For example, if you created
|
4837
|
+
# a category with the `POST_CALL` input type, you must use `POST_CALL`
|
4838
|
+
# as the input type when updating this category.
|
4791
4839
|
# @return [String]
|
4792
4840
|
#
|
4793
4841
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategoryRequest AWS API Documentation
|
@@ -4918,12 +4966,31 @@ module Aws::TranscribeService
|
|
4918
4966
|
# you cannot use `Words`; you must choose one or the other.
|
4919
4967
|
# @return [String]
|
4920
4968
|
#
|
4969
|
+
# @!attribute [rw] data_access_role_arn
|
4970
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
4971
|
+
# to access the Amazon S3 bucket that contains your input files (in
|
4972
|
+
# this case, your custom vocabulary filter). If the role that you
|
4973
|
+
# specify doesn’t have the appropriate permissions to access the
|
4974
|
+
# specified Amazon S3 location, your request fails.
|
4975
|
+
#
|
4976
|
+
# IAM role ARNs have the format
|
4977
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
4978
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
4979
|
+
#
|
4980
|
+
# For more information, see [IAM ARNs][1].
|
4981
|
+
#
|
4982
|
+
#
|
4983
|
+
#
|
4984
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
4985
|
+
# @return [String]
|
4986
|
+
#
|
4921
4987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilterRequest AWS API Documentation
|
4922
4988
|
#
|
4923
4989
|
class UpdateVocabularyFilterRequest < Struct.new(
|
4924
4990
|
:vocabulary_filter_name,
|
4925
4991
|
:words,
|
4926
|
-
:vocabulary_filter_file_uri
|
4992
|
+
:vocabulary_filter_file_uri,
|
4993
|
+
:data_access_role_arn)
|
4927
4994
|
SENSITIVE = []
|
4928
4995
|
include Aws::Structure
|
4929
4996
|
end
|
@@ -5012,13 +5079,32 @@ module Aws::TranscribeService
|
|
5012
5079
|
# cannot use the `Phrases` flag; you must choose one or the other.
|
5013
5080
|
# @return [String]
|
5014
5081
|
#
|
5082
|
+
# @!attribute [rw] data_access_role_arn
|
5083
|
+
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
5084
|
+
# to access the Amazon S3 bucket that contains your input files (in
|
5085
|
+
# this case, your custom vocabulary). If the role that you specify
|
5086
|
+
# doesn’t have the appropriate permissions to access the specified
|
5087
|
+
# Amazon S3 location, your request fails.
|
5088
|
+
#
|
5089
|
+
# IAM role ARNs have the format
|
5090
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
5091
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
5092
|
+
#
|
5093
|
+
# For more information, see [IAM ARNs][1].
|
5094
|
+
#
|
5095
|
+
#
|
5096
|
+
#
|
5097
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
5098
|
+
# @return [String]
|
5099
|
+
#
|
5015
5100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyRequest AWS API Documentation
|
5016
5101
|
#
|
5017
5102
|
class UpdateVocabularyRequest < Struct.new(
|
5018
5103
|
:vocabulary_name,
|
5019
5104
|
:language_code,
|
5020
5105
|
:phrases,
|
5021
|
-
:vocabulary_file_uri
|
5106
|
+
:vocabulary_file_uri,
|
5107
|
+
:data_access_role_arn)
|
5022
5108
|
SENSITIVE = []
|
5023
5109
|
include Aws::Structure
|
5024
5110
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribeservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.83.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|