aws-sdk-transcribeservice 1.145.0 → 1.146.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/client.rb +173 -16
- data/lib/aws-sdk-transcribeservice/client_api.rb +44 -2
- data/lib/aws-sdk-transcribeservice/types.rb +192 -19
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- data/sig/client.rbs +45 -4
- data/sig/types.rbs +30 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b5534a69ec8e8b812b6884d33e9b1c335d198c509be02c005fdcc35afbf3d6e3
|
|
4
|
+
data.tar.gz: 6b6784f29c7fc33fa1f3fe49b32726aa3bcd606579e174cee94e040b5a2215d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7ad249e2031aa4bab063f76dc9b384a68b9250f4328d65c484ce50b4e0422e0be44258fe48a472e79474ca4c4d74374b530c1d46ad405baee4fbb95f8a1a9f4
|
|
7
|
+
data.tar.gz: 636f0360f34da9695543558709f306f73ed36707856710cade7cd97597e9d09c5556254c29410516163dcdcbaf8d163887571a39d2f69acdad9c5673939dc86a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.146.0 (2026-09-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Transcribe now lets you encrypt your custom vocabularies, custom vocabulary filters, and custom language models with a customer managed AWS KMS key instead of an AWS owned key, and adds a new UpdateLanguageModel operation to transition CLM encryption to a different KMS key.
|
|
8
|
+
|
|
4
9
|
1.145.0 (2026-09-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.146.0
|
|
@@ -773,6 +773,11 @@ module Aws::TranscribeService
|
|
|
773
773
|
# locations for training and tuning data, the ARN you use must have
|
|
774
774
|
# permissions to access both locations.
|
|
775
775
|
#
|
|
776
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
777
|
+
# Specifies the encryption configuration for your custom language model.
|
|
778
|
+
# Your model artifacts are encrypted with the specified KMS key or with
|
|
779
|
+
# an AWS-owned key if a key is not supplied.
|
|
780
|
+
#
|
|
776
781
|
# @option params [Array<Types::Tag>] :tags
|
|
777
782
|
# Adds one or more custom tags, each in the form of a key:value pair, to
|
|
778
783
|
# a new custom language model at the time you create this new model.
|
|
@@ -803,6 +808,12 @@ module Aws::TranscribeService
|
|
|
803
808
|
# tuning_data_s3_uri: "Uri",
|
|
804
809
|
# data_access_role_arn: "DataAccessRoleArn", # required
|
|
805
810
|
# },
|
|
811
|
+
# encryption_configuration: {
|
|
812
|
+
# kms_encryption_context: {
|
|
813
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
814
|
+
# },
|
|
815
|
+
# kms_key: "KMSKeyId", # required
|
|
816
|
+
# },
|
|
806
817
|
# tags: [
|
|
807
818
|
# {
|
|
808
819
|
# key: "TagKey", # required
|
|
@@ -1013,9 +1024,10 @@ module Aws::TranscribeService
|
|
|
1013
1024
|
# @option params [String] :data_access_role_arn
|
|
1014
1025
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
|
1015
1026
|
# access the Amazon S3 bucket that contains your input files (in this
|
|
1016
|
-
# case, your custom vocabulary). If
|
|
1017
|
-
#
|
|
1018
|
-
#
|
|
1027
|
+
# case, your custom vocabulary). If you include
|
|
1028
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
1029
|
+
# permissions to access the specified KMS key. If the role that you
|
|
1030
|
+
# specify doesn’t have the appropriate permissions, your request fails.
|
|
1019
1031
|
#
|
|
1020
1032
|
# IAM role ARNs have the format
|
|
1021
1033
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -1027,6 +1039,11 @@ module Aws::TranscribeService
|
|
|
1027
1039
|
#
|
|
1028
1040
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
1029
1041
|
#
|
|
1042
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
1043
|
+
# Specifies the encryption configuration for your custom vocabulary.
|
|
1044
|
+
# Your vocabulary artifacts are encrypted with the specified KMS key or
|
|
1045
|
+
# with an AWS-owned key if a key is not supplied.
|
|
1046
|
+
#
|
|
1030
1047
|
# @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1031
1048
|
#
|
|
1032
1049
|
# * {Types::CreateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
|
@@ -1049,6 +1066,12 @@ module Aws::TranscribeService
|
|
|
1049
1066
|
# },
|
|
1050
1067
|
# ],
|
|
1051
1068
|
# data_access_role_arn: "DataAccessRoleArn",
|
|
1069
|
+
# encryption_configuration: {
|
|
1070
|
+
# kms_encryption_context: {
|
|
1071
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
1072
|
+
# },
|
|
1073
|
+
# kms_key: "KMSKeyId", # required
|
|
1074
|
+
# },
|
|
1052
1075
|
# })
|
|
1053
1076
|
#
|
|
1054
1077
|
# @example Response structure
|
|
@@ -1157,9 +1180,10 @@ module Aws::TranscribeService
|
|
|
1157
1180
|
# @option params [String] :data_access_role_arn
|
|
1158
1181
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
|
1159
1182
|
# access the Amazon S3 bucket that contains your input files (in this
|
|
1160
|
-
# case, your custom vocabulary filter). If
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1183
|
+
# case, your custom vocabulary filter). If you include
|
|
1184
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
1185
|
+
# permissions to access the specified KMS key. If the role that you
|
|
1186
|
+
# specify doesn’t have the appropriate permissions, your request fails.
|
|
1163
1187
|
#
|
|
1164
1188
|
# IAM role ARNs have the format
|
|
1165
1189
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -1171,6 +1195,11 @@ module Aws::TranscribeService
|
|
|
1171
1195
|
#
|
|
1172
1196
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
1173
1197
|
#
|
|
1198
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
1199
|
+
# Specifies the encryption configuration for your custom vocabulary
|
|
1200
|
+
# filter. Your vocabulary filter artifacts are encrypted with the
|
|
1201
|
+
# specified KMS key or with an AWS-owned key if a key is not supplied.
|
|
1202
|
+
#
|
|
1174
1203
|
# @return [Types::CreateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1175
1204
|
#
|
|
1176
1205
|
# * {Types::CreateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
|
|
@@ -1191,6 +1220,12 @@ module Aws::TranscribeService
|
|
|
1191
1220
|
# },
|
|
1192
1221
|
# ],
|
|
1193
1222
|
# data_access_role_arn: "DataAccessRoleArn",
|
|
1223
|
+
# encryption_configuration: {
|
|
1224
|
+
# kms_encryption_context: {
|
|
1225
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
1226
|
+
# },
|
|
1227
|
+
# kms_key: "KMSKeyId", # required
|
|
1228
|
+
# },
|
|
1194
1229
|
# })
|
|
1195
1230
|
#
|
|
1196
1231
|
# @example Response structure
|
|
@@ -1472,6 +1507,9 @@ module Aws::TranscribeService
|
|
|
1472
1507
|
# resp.language_model.input_data_config.s3_uri #=> String
|
|
1473
1508
|
# resp.language_model.input_data_config.tuning_data_s3_uri #=> String
|
|
1474
1509
|
# resp.language_model.input_data_config.data_access_role_arn #=> String
|
|
1510
|
+
# resp.language_model.encryption_configuration.kms_encryption_context #=> Hash
|
|
1511
|
+
# resp.language_model.encryption_configuration.kms_encryption_context["PrintableNonEmptyString"] #=> String
|
|
1512
|
+
# resp.language_model.encryption_configuration.kms_key #=> String
|
|
1475
1513
|
#
|
|
1476
1514
|
#
|
|
1477
1515
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -1959,6 +1997,8 @@ module Aws::TranscribeService
|
|
|
1959
1997
|
# * {Types::GetVocabularyResponse#last_modified_time #last_modified_time} => Time
|
|
1960
1998
|
# * {Types::GetVocabularyResponse#failure_reason #failure_reason} => String
|
|
1961
1999
|
# * {Types::GetVocabularyResponse#download_uri #download_uri} => String
|
|
2000
|
+
# * {Types::GetVocabularyResponse#data_access_role_arn #data_access_role_arn} => String
|
|
2001
|
+
# * {Types::GetVocabularyResponse#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
|
1962
2002
|
#
|
|
1963
2003
|
# @example Request syntax with placeholder values
|
|
1964
2004
|
#
|
|
@@ -1974,6 +2014,10 @@ module Aws::TranscribeService
|
|
|
1974
2014
|
# resp.last_modified_time #=> Time
|
|
1975
2015
|
# resp.failure_reason #=> String
|
|
1976
2016
|
# resp.download_uri #=> String
|
|
2017
|
+
# resp.data_access_role_arn #=> String
|
|
2018
|
+
# resp.encryption_configuration.kms_encryption_context #=> Hash
|
|
2019
|
+
# resp.encryption_configuration.kms_encryption_context["PrintableNonEmptyString"] #=> String
|
|
2020
|
+
# resp.encryption_configuration.kms_key #=> String
|
|
1977
2021
|
#
|
|
1978
2022
|
#
|
|
1979
2023
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
|
@@ -2003,6 +2047,8 @@ module Aws::TranscribeService
|
|
|
2003
2047
|
# * {Types::GetVocabularyFilterResponse#language_code #language_code} => String
|
|
2004
2048
|
# * {Types::GetVocabularyFilterResponse#last_modified_time #last_modified_time} => Time
|
|
2005
2049
|
# * {Types::GetVocabularyFilterResponse#download_uri #download_uri} => String
|
|
2050
|
+
# * {Types::GetVocabularyFilterResponse#data_access_role_arn #data_access_role_arn} => String
|
|
2051
|
+
# * {Types::GetVocabularyFilterResponse#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
|
2006
2052
|
#
|
|
2007
2053
|
# @example Request syntax with placeholder values
|
|
2008
2054
|
#
|
|
@@ -2016,6 +2062,10 @@ module Aws::TranscribeService
|
|
|
2016
2062
|
# resp.language_code #=> String, one of "af-ZA", "ar-AE", "ar-SA", "am-ET", "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-MX", "es-US", "fa-AF", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "ht-HT", "id-ID", "it-IT", "ja-JP", "jv-ID", "km-KH", "ko-KR", "my-MM", "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", "ab-GE", "ast-ES", "az-AZ", "ba-RU", "be-BY", "bg-BG", "bn-IN", "bs-BA", "ca-ES", "ckb-IQ", "ckb-IR", "cs-CZ", "cy-WL", "el-GR", "et-EE", "et-ET", "eu-ES", "fi-FI", "gl-ES", "gu-IN", "ha-NG", "hr-HR", "hu-HU", "hy-AM", "is-IS", "ka-GE", "kab-DZ", "kk-KZ", "kn-IN", "ky-KG", "lg-IN", "lt-LT", "lv-LV", "mhr-RU", "mi-NZ", "mk-MK", "ml-IN", "mn-MN", "mr-IN", "mt-MT", "no-NO", "ne-NP", "or-IN", "pa-IN", "pl-PL", "ps-AF", "ro-RO", "rw-RW", "si-LK", "sk-SK", "sl-SI", "so-SO", "sq-AL", "sr-RS", "su-ID", "sw-BI", "sw-KE", "sw-RW", "sw-TZ", "sw-UG", "tl-PH", "tt-RU", "ug-CN", "uk-UA", "uz-UZ", "wo-SN", "zh-HK", "zu-ZA"
|
|
2017
2063
|
# resp.last_modified_time #=> Time
|
|
2018
2064
|
# resp.download_uri #=> String
|
|
2065
|
+
# resp.data_access_role_arn #=> String
|
|
2066
|
+
# resp.encryption_configuration.kms_encryption_context #=> Hash
|
|
2067
|
+
# resp.encryption_configuration.kms_encryption_context["PrintableNonEmptyString"] #=> String
|
|
2068
|
+
# resp.encryption_configuration.kms_key #=> String
|
|
2019
2069
|
#
|
|
2020
2070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter AWS API Documentation
|
|
2021
2071
|
#
|
|
@@ -2260,6 +2310,9 @@ module Aws::TranscribeService
|
|
|
2260
2310
|
# resp.models[0].input_data_config.s3_uri #=> String
|
|
2261
2311
|
# resp.models[0].input_data_config.tuning_data_s3_uri #=> String
|
|
2262
2312
|
# resp.models[0].input_data_config.data_access_role_arn #=> String
|
|
2313
|
+
# resp.models[0].encryption_configuration.kms_encryption_context #=> Hash
|
|
2314
|
+
# resp.models[0].encryption_configuration.kms_encryption_context["PrintableNonEmptyString"] #=> String
|
|
2315
|
+
# resp.models[0].encryption_configuration.kms_key #=> String
|
|
2263
2316
|
#
|
|
2264
2317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels AWS API Documentation
|
|
2265
2318
|
#
|
|
@@ -3165,7 +3218,7 @@ module Aws::TranscribeService
|
|
|
3165
3218
|
# output_bucket_name: "OutputBucketName", # required
|
|
3166
3219
|
# output_encryption_kms_key_id: "KMSKeyId",
|
|
3167
3220
|
# kms_encryption_context: {
|
|
3168
|
-
# "
|
|
3221
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
3169
3222
|
# },
|
|
3170
3223
|
# data_access_role_arn: "DataAccessRoleArn", # required
|
|
3171
3224
|
# settings: { # required
|
|
@@ -3472,7 +3525,7 @@ module Aws::TranscribeService
|
|
|
3472
3525
|
# output_key: "OutputKey",
|
|
3473
3526
|
# output_encryption_kms_key_id: "KMSKeyId",
|
|
3474
3527
|
# kms_encryption_context: {
|
|
3475
|
-
# "
|
|
3528
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
3476
3529
|
# },
|
|
3477
3530
|
# settings: {
|
|
3478
3531
|
# show_speaker_labels: false,
|
|
@@ -3903,7 +3956,7 @@ module Aws::TranscribeService
|
|
|
3903
3956
|
# output_key: "OutputKey",
|
|
3904
3957
|
# output_encryption_kms_key_id: "KMSKeyId",
|
|
3905
3958
|
# kms_encryption_context: {
|
|
3906
|
-
# "
|
|
3959
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
3907
3960
|
# },
|
|
3908
3961
|
# settings: {
|
|
3909
3962
|
# vocabulary_name: "VocabularyName",
|
|
@@ -4285,6 +4338,78 @@ module Aws::TranscribeService
|
|
|
4285
4338
|
req.send_request(options)
|
|
4286
4339
|
end
|
|
4287
4340
|
|
|
4341
|
+
# Updates the encryption configuration for an existing custom language
|
|
4342
|
+
# model. You can use this operation to change the KMS key used to
|
|
4343
|
+
# encrypt your model artifacts. The model artifacts are re-encrypted in
|
|
4344
|
+
# place. No model training is required.
|
|
4345
|
+
#
|
|
4346
|
+
# Your custom language model must not be in the `IN_PROGRESS` state when
|
|
4347
|
+
# you call this operation. You cannot submit another update while a
|
|
4348
|
+
# previous update is in progress. Use to check the current state of your
|
|
4349
|
+
# model.
|
|
4350
|
+
#
|
|
4351
|
+
# Your custom language model remains available for transcription jobs
|
|
4352
|
+
# while the update is being processed.
|
|
4353
|
+
#
|
|
4354
|
+
# @option params [required, String] :model_name
|
|
4355
|
+
# The name of the custom language model you want to update. Model names
|
|
4356
|
+
# are case sensitive.
|
|
4357
|
+
#
|
|
4358
|
+
# @option params [String] :data_access_role_arn
|
|
4359
|
+
# The Amazon Resource Name (ARN) of an IAM role. If you include
|
|
4360
|
+
# `EncryptionConfiguration` in your request, this role must have
|
|
4361
|
+
# permissions to access the specified KMS key. If the role that you
|
|
4362
|
+
# specify doesn't have the appropriate permissions, your request fails.
|
|
4363
|
+
#
|
|
4364
|
+
# IAM role ARNs have the format
|
|
4365
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
4366
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
|
4367
|
+
#
|
|
4368
|
+
# For more information, see [IAM ARNs][1].
|
|
4369
|
+
#
|
|
4370
|
+
#
|
|
4371
|
+
#
|
|
4372
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
4373
|
+
#
|
|
4374
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
4375
|
+
# Specifies the new encryption configuration for your custom language
|
|
4376
|
+
# model. The model artifacts are re-encrypted in place using the
|
|
4377
|
+
# specified KMS key or with an AWS-owned key if a key is not supplied.
|
|
4378
|
+
#
|
|
4379
|
+
# @return [Types::UpdateLanguageModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4380
|
+
#
|
|
4381
|
+
# * {Types::UpdateLanguageModelResponse#model_name #model_name} => String
|
|
4382
|
+
# * {Types::UpdateLanguageModelResponse#model_status #model_status} => String
|
|
4383
|
+
# * {Types::UpdateLanguageModelResponse#last_modified_time #last_modified_time} => Time
|
|
4384
|
+
#
|
|
4385
|
+
# @example Request syntax with placeholder values
|
|
4386
|
+
#
|
|
4387
|
+
# resp = client.update_language_model({
|
|
4388
|
+
# model_name: "ModelName", # required
|
|
4389
|
+
# data_access_role_arn: "DataAccessRoleArn",
|
|
4390
|
+
# encryption_configuration: {
|
|
4391
|
+
# kms_encryption_context: {
|
|
4392
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
4393
|
+
# },
|
|
4394
|
+
# kms_key: "KMSKeyId", # required
|
|
4395
|
+
# },
|
|
4396
|
+
# })
|
|
4397
|
+
#
|
|
4398
|
+
# @example Response structure
|
|
4399
|
+
#
|
|
4400
|
+
# resp.model_name #=> String
|
|
4401
|
+
# resp.model_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
|
4402
|
+
# resp.last_modified_time #=> Time
|
|
4403
|
+
#
|
|
4404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateLanguageModel AWS API Documentation
|
|
4405
|
+
#
|
|
4406
|
+
# @overload update_language_model(params = {})
|
|
4407
|
+
# @param [Hash] params ({})
|
|
4408
|
+
def update_language_model(params = {}, options = {})
|
|
4409
|
+
req = build_request(:update_language_model, params)
|
|
4410
|
+
req.send_request(options)
|
|
4411
|
+
end
|
|
4412
|
+
|
|
4288
4413
|
# Updates an existing custom medical vocabulary with new values. This
|
|
4289
4414
|
# operation overwrites all existing information with your new values;
|
|
4290
4415
|
# you cannot append new terms onto an existing custom vocabulary.
|
|
@@ -4341,6 +4466,10 @@ module Aws::TranscribeService
|
|
|
4341
4466
|
# overwrites all existing information with your new values; you cannot
|
|
4342
4467
|
# append new terms onto an existing custom vocabulary.
|
|
4343
4468
|
#
|
|
4469
|
+
# Your custom vocabulary must be in a terminal state (`READY` or
|
|
4470
|
+
# `FAILED`) before you can update it. You must include either `Phrases`
|
|
4471
|
+
# or `VocabularyFileUri` in your request.
|
|
4472
|
+
#
|
|
4344
4473
|
# @option params [required, String] :vocabulary_name
|
|
4345
4474
|
# The name of the custom vocabulary you want to update. Custom
|
|
4346
4475
|
# vocabulary names are case sensitive.
|
|
@@ -4396,9 +4525,10 @@ module Aws::TranscribeService
|
|
|
4396
4525
|
# @option params [String] :data_access_role_arn
|
|
4397
4526
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
|
4398
4527
|
# access the Amazon S3 bucket that contains your input files (in this
|
|
4399
|
-
# case, your custom vocabulary). If
|
|
4400
|
-
#
|
|
4401
|
-
#
|
|
4528
|
+
# case, your custom vocabulary). If you include
|
|
4529
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
4530
|
+
# permissions to access the specified KMS key. If the role that you
|
|
4531
|
+
# specify doesn’t have the appropriate permissions, your request fails.
|
|
4402
4532
|
#
|
|
4403
4533
|
# IAM role ARNs have the format
|
|
4404
4534
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -4410,6 +4540,11 @@ module Aws::TranscribeService
|
|
|
4410
4540
|
#
|
|
4411
4541
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
4412
4542
|
#
|
|
4543
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
4544
|
+
# Specifies the new encryption configuration for your custom vocabulary.
|
|
4545
|
+
# The vocabulary artifacts are re-encrypted in place using the specified
|
|
4546
|
+
# KMS key or with an AWS-owned key if a key is not supplied.
|
|
4547
|
+
#
|
|
4413
4548
|
# @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4414
4549
|
#
|
|
4415
4550
|
# * {Types::UpdateVocabularyResponse#vocabulary_name #vocabulary_name} => String
|
|
@@ -4425,6 +4560,12 @@ module Aws::TranscribeService
|
|
|
4425
4560
|
# phrases: ["Phrase"],
|
|
4426
4561
|
# vocabulary_file_uri: "Uri",
|
|
4427
4562
|
# data_access_role_arn: "DataAccessRoleArn",
|
|
4563
|
+
# encryption_configuration: {
|
|
4564
|
+
# kms_encryption_context: {
|
|
4565
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
4566
|
+
# },
|
|
4567
|
+
# kms_key: "KMSKeyId", # required
|
|
4568
|
+
# },
|
|
4428
4569
|
# })
|
|
4429
4570
|
#
|
|
4430
4571
|
# @example Response structure
|
|
@@ -4447,6 +4588,9 @@ module Aws::TranscribeService
|
|
|
4447
4588
|
# The new list you provide overwrites all previous entries; you cannot
|
|
4448
4589
|
# append new terms onto an existing custom vocabulary filter.
|
|
4449
4590
|
#
|
|
4591
|
+
# You must include either `Words` or `VocabularyFilterFileUri` in your
|
|
4592
|
+
# request.
|
|
4593
|
+
#
|
|
4450
4594
|
# @option params [required, String] :vocabulary_filter_name
|
|
4451
4595
|
# The name of the custom vocabulary filter you want to update. Custom
|
|
4452
4596
|
# vocabulary filter names are case sensitive.
|
|
@@ -4485,9 +4629,10 @@ module Aws::TranscribeService
|
|
|
4485
4629
|
# @option params [String] :data_access_role_arn
|
|
4486
4630
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions to
|
|
4487
4631
|
# access the Amazon S3 bucket that contains your input files (in this
|
|
4488
|
-
# case, your custom vocabulary filter). If
|
|
4489
|
-
#
|
|
4490
|
-
#
|
|
4632
|
+
# case, your custom vocabulary filter). If you include
|
|
4633
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
4634
|
+
# permissions to access the specified KMS key. If the role that you
|
|
4635
|
+
# specify doesn’t have the appropriate permissions, your request fails.
|
|
4491
4636
|
#
|
|
4492
4637
|
# IAM role ARNs have the format
|
|
4493
4638
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -4499,6 +4644,12 @@ module Aws::TranscribeService
|
|
|
4499
4644
|
#
|
|
4500
4645
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
4501
4646
|
#
|
|
4647
|
+
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
|
4648
|
+
# Specifies the new encryption configuration for your custom vocabulary
|
|
4649
|
+
# filter. The vocabulary filter artifacts are re-encrypted in place
|
|
4650
|
+
# using the specified KMS key or with an AWS-owned key if a key is not
|
|
4651
|
+
# supplied.
|
|
4652
|
+
#
|
|
4502
4653
|
# @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4503
4654
|
#
|
|
4504
4655
|
# * {Types::UpdateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
|
|
@@ -4512,6 +4663,12 @@ module Aws::TranscribeService
|
|
|
4512
4663
|
# words: ["Word"],
|
|
4513
4664
|
# vocabulary_filter_file_uri: "Uri",
|
|
4514
4665
|
# data_access_role_arn: "DataAccessRoleArn",
|
|
4666
|
+
# encryption_configuration: {
|
|
4667
|
+
# kms_encryption_context: {
|
|
4668
|
+
# "PrintableNonEmptyString" => "PrintableNonEmptyString",
|
|
4669
|
+
# },
|
|
4670
|
+
# kms_key: "KMSKeyId", # required
|
|
4671
|
+
# },
|
|
4515
4672
|
# })
|
|
4516
4673
|
#
|
|
4517
4674
|
# @example Response structure
|
|
@@ -4547,7 +4704,7 @@ module Aws::TranscribeService
|
|
|
4547
4704
|
tracer: tracer
|
|
4548
4705
|
)
|
|
4549
4706
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
|
4550
|
-
context[:gem_version] = '1.
|
|
4707
|
+
context[:gem_version] = '1.146.0'
|
|
4551
4708
|
Seahorse::Client::Request.new(handlers, context)
|
|
4552
4709
|
end
|
|
4553
4710
|
|
|
@@ -65,6 +65,7 @@ module Aws::TranscribeService
|
|
|
65
65
|
DescribeLanguageModelRequest = Shapes::StructureShape.new(name: 'DescribeLanguageModelRequest')
|
|
66
66
|
DescribeLanguageModelResponse = Shapes::StructureShape.new(name: 'DescribeLanguageModelResponse')
|
|
67
67
|
DurationInSeconds = Shapes::FloatShape.new(name: 'DurationInSeconds')
|
|
68
|
+
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
|
68
69
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
|
69
70
|
GetCallAnalyticsCategoryRequest = Shapes::StructureShape.new(name: 'GetCallAnalyticsCategoryRequest')
|
|
70
71
|
GetCallAnalyticsCategoryResponse = Shapes::StructureShape.new(name: 'GetCallAnalyticsCategoryResponse')
|
|
@@ -162,6 +163,7 @@ module Aws::TranscribeService
|
|
|
162
163
|
Phrases = Shapes::ListShape.new(name: 'Phrases')
|
|
163
164
|
PiiEntityType = Shapes::StringShape.new(name: 'PiiEntityType')
|
|
164
165
|
PiiEntityTypes = Shapes::ListShape.new(name: 'PiiEntityTypes')
|
|
166
|
+
PrintableNonEmptyString = Shapes::StringShape.new(name: 'PrintableNonEmptyString')
|
|
165
167
|
Pronouns = Shapes::StringShape.new(name: 'Pronouns')
|
|
166
168
|
RedactionOutput = Shapes::StringShape.new(name: 'RedactionOutput')
|
|
167
169
|
RedactionType = Shapes::StringShape.new(name: 'RedactionType')
|
|
@@ -216,6 +218,8 @@ module Aws::TranscribeService
|
|
|
216
218
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
|
217
219
|
UpdateCallAnalyticsCategoryRequest = Shapes::StructureShape.new(name: 'UpdateCallAnalyticsCategoryRequest')
|
|
218
220
|
UpdateCallAnalyticsCategoryResponse = Shapes::StructureShape.new(name: 'UpdateCallAnalyticsCategoryResponse')
|
|
221
|
+
UpdateLanguageModelRequest = Shapes::StructureShape.new(name: 'UpdateLanguageModelRequest')
|
|
222
|
+
UpdateLanguageModelResponse = Shapes::StructureShape.new(name: 'UpdateLanguageModelResponse')
|
|
219
223
|
UpdateMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'UpdateMedicalVocabularyRequest')
|
|
220
224
|
UpdateMedicalVocabularyResponse = Shapes::StructureShape.new(name: 'UpdateMedicalVocabularyResponse')
|
|
221
225
|
UpdateVocabularyFilterRequest = Shapes::StructureShape.new(name: 'UpdateVocabularyFilterRequest')
|
|
@@ -334,6 +338,7 @@ module Aws::TranscribeService
|
|
|
334
338
|
CreateLanguageModelRequest.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, required: true, location_name: "BaseModelName"))
|
|
335
339
|
CreateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
|
336
340
|
CreateLanguageModelRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
|
341
|
+
CreateLanguageModelRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
337
342
|
CreateLanguageModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
338
343
|
CreateLanguageModelRequest.struct_class = Types::CreateLanguageModelRequest
|
|
339
344
|
|
|
@@ -363,6 +368,7 @@ module Aws::TranscribeService
|
|
|
363
368
|
CreateVocabularyFilterRequest.add_member(:vocabulary_filter_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFilterFileUri"))
|
|
364
369
|
CreateVocabularyFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
365
370
|
CreateVocabularyFilterRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
371
|
+
CreateVocabularyFilterRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
366
372
|
CreateVocabularyFilterRequest.struct_class = Types::CreateVocabularyFilterRequest
|
|
367
373
|
|
|
368
374
|
CreateVocabularyFilterResponse.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
|
@@ -376,6 +382,7 @@ module Aws::TranscribeService
|
|
|
376
382
|
CreateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
|
377
383
|
CreateVocabularyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
378
384
|
CreateVocabularyRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
385
|
+
CreateVocabularyRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
379
386
|
CreateVocabularyRequest.struct_class = Types::CreateVocabularyRequest
|
|
380
387
|
|
|
381
388
|
CreateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
|
@@ -422,6 +429,10 @@ module Aws::TranscribeService
|
|
|
422
429
|
DescribeLanguageModelResponse.add_member(:language_model, Shapes::ShapeRef.new(shape: LanguageModel, location_name: "LanguageModel"))
|
|
423
430
|
DescribeLanguageModelResponse.struct_class = Types::DescribeLanguageModelResponse
|
|
424
431
|
|
|
432
|
+
EncryptionConfiguration.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
|
433
|
+
EncryptionConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKeyId, required: true, location_name: "KMSKey"))
|
|
434
|
+
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
|
435
|
+
|
|
425
436
|
GetCallAnalyticsCategoryRequest.add_member(:category_name, Shapes::ShapeRef.new(shape: CategoryName, required: true, location_name: "CategoryName"))
|
|
426
437
|
GetCallAnalyticsCategoryRequest.struct_class = Types::GetCallAnalyticsCategoryRequest
|
|
427
438
|
|
|
@@ -470,6 +481,8 @@ module Aws::TranscribeService
|
|
|
470
481
|
GetVocabularyFilterResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
|
471
482
|
GetVocabularyFilterResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
|
472
483
|
GetVocabularyFilterResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
|
|
484
|
+
GetVocabularyFilterResponse.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
485
|
+
GetVocabularyFilterResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
473
486
|
GetVocabularyFilterResponse.struct_class = Types::GetVocabularyFilterResponse
|
|
474
487
|
|
|
475
488
|
GetVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
|
@@ -481,6 +494,8 @@ module Aws::TranscribeService
|
|
|
481
494
|
GetVocabularyResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
|
482
495
|
GetVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
|
483
496
|
GetVocabularyResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
|
|
497
|
+
GetVocabularyResponse.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
498
|
+
GetVocabularyResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
484
499
|
GetVocabularyResponse.struct_class = Types::GetVocabularyResponse
|
|
485
500
|
|
|
486
501
|
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "S3Uri"))
|
|
@@ -502,8 +517,8 @@ module Aws::TranscribeService
|
|
|
502
517
|
JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
503
518
|
JobExecutionSettings.struct_class = Types::JobExecutionSettings
|
|
504
519
|
|
|
505
|
-
KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape:
|
|
506
|
-
KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape:
|
|
520
|
+
KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: PrintableNonEmptyString)
|
|
521
|
+
KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: PrintableNonEmptyString)
|
|
507
522
|
|
|
508
523
|
LanguageCodeItem.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
|
509
524
|
LanguageCodeItem.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: DurationInSeconds, location_name: "DurationInSeconds"))
|
|
@@ -528,6 +543,7 @@ module Aws::TranscribeService
|
|
|
528
543
|
LanguageModel.add_member(:upgrade_availability, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeAvailability"))
|
|
529
544
|
LanguageModel.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
|
530
545
|
LanguageModel.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
|
546
|
+
LanguageModel.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
531
547
|
LanguageModel.struct_class = Types::LanguageModel
|
|
532
548
|
|
|
533
549
|
LanguageOptions.member = Shapes::ShapeRef.new(shape: LanguageCode)
|
|
@@ -974,6 +990,16 @@ module Aws::TranscribeService
|
|
|
974
990
|
UpdateCallAnalyticsCategoryResponse.add_member(:category_properties, Shapes::ShapeRef.new(shape: CategoryProperties, location_name: "CategoryProperties"))
|
|
975
991
|
UpdateCallAnalyticsCategoryResponse.struct_class = Types::UpdateCallAnalyticsCategoryResponse
|
|
976
992
|
|
|
993
|
+
UpdateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
|
994
|
+
UpdateLanguageModelRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
995
|
+
UpdateLanguageModelRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
996
|
+
UpdateLanguageModelRequest.struct_class = Types::UpdateLanguageModelRequest
|
|
997
|
+
|
|
998
|
+
UpdateLanguageModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
|
999
|
+
UpdateLanguageModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
|
|
1000
|
+
UpdateLanguageModelResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
|
1001
|
+
UpdateLanguageModelResponse.struct_class = Types::UpdateLanguageModelResponse
|
|
1002
|
+
|
|
977
1003
|
UpdateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
|
978
1004
|
UpdateMedicalVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
|
979
1005
|
UpdateMedicalVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "VocabularyFileUri"))
|
|
@@ -989,6 +1015,7 @@ module Aws::TranscribeService
|
|
|
989
1015
|
UpdateVocabularyFilterRequest.add_member(:words, Shapes::ShapeRef.new(shape: Words, location_name: "Words"))
|
|
990
1016
|
UpdateVocabularyFilterRequest.add_member(:vocabulary_filter_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFilterFileUri"))
|
|
991
1017
|
UpdateVocabularyFilterRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
1018
|
+
UpdateVocabularyFilterRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
992
1019
|
UpdateVocabularyFilterRequest.struct_class = Types::UpdateVocabularyFilterRequest
|
|
993
1020
|
|
|
994
1021
|
UpdateVocabularyFilterResponse.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
|
@@ -1001,6 +1028,7 @@ module Aws::TranscribeService
|
|
|
1001
1028
|
UpdateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
|
1002
1029
|
UpdateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
|
1003
1030
|
UpdateVocabularyRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
|
1031
|
+
UpdateVocabularyRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "EncryptionConfiguration"))
|
|
1004
1032
|
UpdateVocabularyRequest.struct_class = Types::UpdateVocabularyRequest
|
|
1005
1033
|
|
|
1006
1034
|
UpdateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
|
@@ -1570,6 +1598,19 @@ module Aws::TranscribeService
|
|
|
1570
1598
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1571
1599
|
end)
|
|
1572
1600
|
|
|
1601
|
+
api.add_operation(:update_language_model, Seahorse::Model::Operation.new.tap do |o|
|
|
1602
|
+
o.name = "UpdateLanguageModel"
|
|
1603
|
+
o.http_method = "POST"
|
|
1604
|
+
o.http_request_uri = "/"
|
|
1605
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLanguageModelRequest)
|
|
1606
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLanguageModelResponse)
|
|
1607
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1608
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1609
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1611
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1612
|
+
end)
|
|
1613
|
+
|
|
1573
1614
|
api.add_operation(:update_medical_vocabulary, Seahorse::Model::Operation.new.tap do |o|
|
|
1574
1615
|
o.name = "UpdateMedicalVocabulary"
|
|
1575
1616
|
o.http_method = "POST"
|
|
@@ -1606,6 +1647,7 @@ module Aws::TranscribeService
|
|
|
1606
1647
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
1607
1648
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
|
1608
1649
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1650
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1609
1651
|
end)
|
|
1610
1652
|
end
|
|
1611
1653
|
|
|
@@ -843,6 +843,12 @@ module Aws::TranscribeService
|
|
|
843
843
|
# must have permissions to access both locations.
|
|
844
844
|
# @return [Types::InputDataConfig]
|
|
845
845
|
#
|
|
846
|
+
# @!attribute [rw] encryption_configuration
|
|
847
|
+
# Specifies the encryption configuration for your custom language
|
|
848
|
+
# model. Your model artifacts are encrypted with the specified KMS key
|
|
849
|
+
# or with an AWS-owned key if a key is not supplied.
|
|
850
|
+
# @return [Types::EncryptionConfiguration]
|
|
851
|
+
#
|
|
846
852
|
# @!attribute [rw] tags
|
|
847
853
|
# Adds one or more custom tags, each in the form of a key:value pair,
|
|
848
854
|
# to a new custom language model at the time you create this new
|
|
@@ -863,6 +869,7 @@ module Aws::TranscribeService
|
|
|
863
869
|
:base_model_name,
|
|
864
870
|
:model_name,
|
|
865
871
|
:input_data_config,
|
|
872
|
+
:encryption_configuration,
|
|
866
873
|
:tags)
|
|
867
874
|
SENSITIVE = []
|
|
868
875
|
include Aws::Structure
|
|
@@ -1076,9 +1083,11 @@ module Aws::TranscribeService
|
|
|
1076
1083
|
# @!attribute [rw] data_access_role_arn
|
|
1077
1084
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
|
1078
1085
|
# to access the Amazon S3 bucket that contains your input files (in
|
|
1079
|
-
# this case, your custom vocabulary filter). If
|
|
1080
|
-
#
|
|
1081
|
-
# specified
|
|
1086
|
+
# this case, your custom vocabulary filter). If you include
|
|
1087
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
1088
|
+
# permissions to access the specified KMS key. If the role that you
|
|
1089
|
+
# specify doesn’t have the appropriate permissions, your request
|
|
1090
|
+
# fails.
|
|
1082
1091
|
#
|
|
1083
1092
|
# IAM role ARNs have the format
|
|
1084
1093
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -1091,6 +1100,12 @@ module Aws::TranscribeService
|
|
|
1091
1100
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
1092
1101
|
# @return [String]
|
|
1093
1102
|
#
|
|
1103
|
+
# @!attribute [rw] encryption_configuration
|
|
1104
|
+
# Specifies the encryption configuration for your custom vocabulary
|
|
1105
|
+
# filter. Your vocabulary filter artifacts are encrypted with the
|
|
1106
|
+
# specified KMS key or with an AWS-owned key if a key is not supplied.
|
|
1107
|
+
# @return [Types::EncryptionConfiguration]
|
|
1108
|
+
#
|
|
1094
1109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilterRequest AWS API Documentation
|
|
1095
1110
|
#
|
|
1096
1111
|
class CreateVocabularyFilterRequest < Struct.new(
|
|
@@ -1099,7 +1114,8 @@ module Aws::TranscribeService
|
|
|
1099
1114
|
:words,
|
|
1100
1115
|
:vocabulary_filter_file_uri,
|
|
1101
1116
|
:tags,
|
|
1102
|
-
:data_access_role_arn
|
|
1117
|
+
:data_access_role_arn,
|
|
1118
|
+
:encryption_configuration)
|
|
1103
1119
|
SENSITIVE = []
|
|
1104
1120
|
include Aws::Structure
|
|
1105
1121
|
end
|
|
@@ -1207,9 +1223,11 @@ module Aws::TranscribeService
|
|
|
1207
1223
|
# @!attribute [rw] data_access_role_arn
|
|
1208
1224
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
|
1209
1225
|
# to access the Amazon S3 bucket that contains your input files (in
|
|
1210
|
-
# this case, your custom vocabulary). If
|
|
1211
|
-
#
|
|
1212
|
-
#
|
|
1226
|
+
# this case, your custom vocabulary). If you include
|
|
1227
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
1228
|
+
# permissions to access the specified KMS key. If the role that you
|
|
1229
|
+
# specify doesn’t have the appropriate permissions, your request
|
|
1230
|
+
# fails.
|
|
1213
1231
|
#
|
|
1214
1232
|
# IAM role ARNs have the format
|
|
1215
1233
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -1222,6 +1240,12 @@ module Aws::TranscribeService
|
|
|
1222
1240
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
1223
1241
|
# @return [String]
|
|
1224
1242
|
#
|
|
1243
|
+
# @!attribute [rw] encryption_configuration
|
|
1244
|
+
# Specifies the encryption configuration for your custom vocabulary.
|
|
1245
|
+
# Your vocabulary artifacts are encrypted with the specified KMS key
|
|
1246
|
+
# or with an AWS-owned key if a key is not supplied.
|
|
1247
|
+
# @return [Types::EncryptionConfiguration]
|
|
1248
|
+
#
|
|
1225
1249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
|
1226
1250
|
#
|
|
1227
1251
|
class CreateVocabularyRequest < Struct.new(
|
|
@@ -1230,7 +1254,8 @@ module Aws::TranscribeService
|
|
|
1230
1254
|
:phrases,
|
|
1231
1255
|
:vocabulary_file_uri,
|
|
1232
1256
|
:tags,
|
|
1233
|
-
:data_access_role_arn
|
|
1257
|
+
:data_access_role_arn,
|
|
1258
|
+
:encryption_configuration)
|
|
1234
1259
|
SENSITIVE = []
|
|
1235
1260
|
include Aws::Structure
|
|
1236
1261
|
end
|
|
@@ -1438,6 +1463,43 @@ module Aws::TranscribeService
|
|
|
1438
1463
|
include Aws::Structure
|
|
1439
1464
|
end
|
|
1440
1465
|
|
|
1466
|
+
# Encryption configuration for the invocation
|
|
1467
|
+
#
|
|
1468
|
+
# @!attribute [rw] kms_encryption_context
|
|
1469
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
|
1470
|
+
# context pairs, that provide an added layer of security for your
|
|
1471
|
+
# data. For more information, see [KMS encryption context][1].
|
|
1472
|
+
#
|
|
1473
|
+
#
|
|
1474
|
+
#
|
|
1475
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context
|
|
1476
|
+
# @return [Hash<String,String>]
|
|
1477
|
+
#
|
|
1478
|
+
# @!attribute [rw] kms_key
|
|
1479
|
+
# The Amazon Resource Name (ARN) of the KMS key you want to use to
|
|
1480
|
+
# encrypt your resource artifacts. Only full KMS key ARN format is
|
|
1481
|
+
# supported.
|
|
1482
|
+
#
|
|
1483
|
+
# KMS key ARNs have the format
|
|
1484
|
+
# `arn:partition:kms:region:account:key/key-id`. For example:
|
|
1485
|
+
# `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
|
|
1486
|
+
#
|
|
1487
|
+
# For more information, see [KMS key ARNs][1].
|
|
1488
|
+
#
|
|
1489
|
+
#
|
|
1490
|
+
#
|
|
1491
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN
|
|
1492
|
+
# @return [String]
|
|
1493
|
+
#
|
|
1494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/EncryptionConfiguration AWS API Documentation
|
|
1495
|
+
#
|
|
1496
|
+
class EncryptionConfiguration < Struct.new(
|
|
1497
|
+
:kms_encryption_context,
|
|
1498
|
+
:kms_key)
|
|
1499
|
+
SENSITIVE = []
|
|
1500
|
+
include Aws::Structure
|
|
1501
|
+
end
|
|
1502
|
+
|
|
1441
1503
|
# @!attribute [rw] category_name
|
|
1442
1504
|
# The name of the Call Analytics category you want information about.
|
|
1443
1505
|
# Category names are case sensitive.
|
|
@@ -1672,13 +1734,25 @@ module Aws::TranscribeService
|
|
|
1672
1734
|
# use this URI to view or download the custom vocabulary filter.
|
|
1673
1735
|
# @return [String]
|
|
1674
1736
|
#
|
|
1737
|
+
# @!attribute [rw] data_access_role_arn
|
|
1738
|
+
# The Amazon Resource Name (ARN) of the IAM role used to access the
|
|
1739
|
+
# Amazon S3 bucket that contains your input files and, if applicable,
|
|
1740
|
+
# the KMS key specified in `EncryptionConfiguration`.
|
|
1741
|
+
# @return [String]
|
|
1742
|
+
#
|
|
1743
|
+
# @!attribute [rw] encryption_configuration
|
|
1744
|
+
# The encryption configuration used for your custom vocabulary filter.
|
|
1745
|
+
# @return [Types::EncryptionConfiguration]
|
|
1746
|
+
#
|
|
1675
1747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilterResponse AWS API Documentation
|
|
1676
1748
|
#
|
|
1677
1749
|
class GetVocabularyFilterResponse < Struct.new(
|
|
1678
1750
|
:vocabulary_filter_name,
|
|
1679
1751
|
:language_code,
|
|
1680
1752
|
:last_modified_time,
|
|
1681
|
-
:download_uri
|
|
1753
|
+
:download_uri,
|
|
1754
|
+
:data_access_role_arn,
|
|
1755
|
+
:encryption_configuration)
|
|
1682
1756
|
SENSITIVE = []
|
|
1683
1757
|
include Aws::Structure
|
|
1684
1758
|
end
|
|
@@ -1733,6 +1807,16 @@ module Aws::TranscribeService
|
|
|
1733
1807
|
# this URI to view or download the custom vocabulary.
|
|
1734
1808
|
# @return [String]
|
|
1735
1809
|
#
|
|
1810
|
+
# @!attribute [rw] data_access_role_arn
|
|
1811
|
+
# The Amazon Resource Name (ARN) of the IAM role used to access the
|
|
1812
|
+
# Amazon S3 bucket that contains your input files and, if applicable,
|
|
1813
|
+
# the KMS key specified in `EncryptionConfiguration`.
|
|
1814
|
+
# @return [String]
|
|
1815
|
+
#
|
|
1816
|
+
# @!attribute [rw] encryption_configuration
|
|
1817
|
+
# The encryption configuration used for your custom vocabulary.
|
|
1818
|
+
# @return [Types::EncryptionConfiguration]
|
|
1819
|
+
#
|
|
1736
1820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyResponse AWS API Documentation
|
|
1737
1821
|
#
|
|
1738
1822
|
class GetVocabularyResponse < Struct.new(
|
|
@@ -1741,7 +1825,9 @@ module Aws::TranscribeService
|
|
|
1741
1825
|
:vocabulary_state,
|
|
1742
1826
|
:last_modified_time,
|
|
1743
1827
|
:failure_reason,
|
|
1744
|
-
:download_uri
|
|
1828
|
+
:download_uri,
|
|
1829
|
+
:data_access_role_arn,
|
|
1830
|
+
:encryption_configuration)
|
|
1745
1831
|
SENSITIVE = []
|
|
1746
1832
|
include Aws::Structure
|
|
1747
1833
|
end
|
|
@@ -2121,6 +2207,10 @@ module Aws::TranscribeService
|
|
|
2121
2207
|
# (Amazon Resource Name) that has permissions to access these data.
|
|
2122
2208
|
# @return [Types::InputDataConfig]
|
|
2123
2209
|
#
|
|
2210
|
+
# @!attribute [rw] encryption_configuration
|
|
2211
|
+
# The encryption configuration used for your custom language model.
|
|
2212
|
+
# @return [Types::EncryptionConfiguration]
|
|
2213
|
+
#
|
|
2124
2214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LanguageModel AWS API Documentation
|
|
2125
2215
|
#
|
|
2126
2216
|
class LanguageModel < Struct.new(
|
|
@@ -2132,7 +2222,8 @@ module Aws::TranscribeService
|
|
|
2132
2222
|
:model_status,
|
|
2133
2223
|
:upgrade_availability,
|
|
2134
2224
|
:failure_reason,
|
|
2135
|
-
:input_data_config
|
|
2225
|
+
:input_data_config,
|
|
2226
|
+
:encryption_configuration)
|
|
2136
2227
|
SENSITIVE = []
|
|
2137
2228
|
include Aws::Structure
|
|
2138
2229
|
end
|
|
@@ -5699,6 +5790,68 @@ module Aws::TranscribeService
|
|
|
5699
5790
|
include Aws::Structure
|
|
5700
5791
|
end
|
|
5701
5792
|
|
|
5793
|
+
# @!attribute [rw] model_name
|
|
5794
|
+
# The name of the custom language model you want to update. Model
|
|
5795
|
+
# names are case sensitive.
|
|
5796
|
+
# @return [String]
|
|
5797
|
+
#
|
|
5798
|
+
# @!attribute [rw] data_access_role_arn
|
|
5799
|
+
# The Amazon Resource Name (ARN) of an IAM role. If you include
|
|
5800
|
+
# `EncryptionConfiguration` in your request, this role must have
|
|
5801
|
+
# permissions to access the specified KMS key. If the role that you
|
|
5802
|
+
# specify doesn't have the appropriate permissions, your request
|
|
5803
|
+
# fails.
|
|
5804
|
+
#
|
|
5805
|
+
# IAM role ARNs have the format
|
|
5806
|
+
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
5807
|
+
# `arn:aws:iam::111122223333:role/Admin`.
|
|
5808
|
+
#
|
|
5809
|
+
# For more information, see [IAM ARNs][1].
|
|
5810
|
+
#
|
|
5811
|
+
#
|
|
5812
|
+
#
|
|
5813
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
5814
|
+
# @return [String]
|
|
5815
|
+
#
|
|
5816
|
+
# @!attribute [rw] encryption_configuration
|
|
5817
|
+
# Specifies the new encryption configuration for your custom language
|
|
5818
|
+
# model. The model artifacts are re-encrypted in place using the
|
|
5819
|
+
# specified KMS key or with an AWS-owned key if a key is not supplied.
|
|
5820
|
+
# @return [Types::EncryptionConfiguration]
|
|
5821
|
+
#
|
|
5822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateLanguageModelRequest AWS API Documentation
|
|
5823
|
+
#
|
|
5824
|
+
class UpdateLanguageModelRequest < Struct.new(
|
|
5825
|
+
:model_name,
|
|
5826
|
+
:data_access_role_arn,
|
|
5827
|
+
:encryption_configuration)
|
|
5828
|
+
SENSITIVE = []
|
|
5829
|
+
include Aws::Structure
|
|
5830
|
+
end
|
|
5831
|
+
|
|
5832
|
+
# @!attribute [rw] model_name
|
|
5833
|
+
# The name of the custom language model that was updated.
|
|
5834
|
+
# @return [String]
|
|
5835
|
+
#
|
|
5836
|
+
# @!attribute [rw] model_status
|
|
5837
|
+
# The status of the specified custom language model.
|
|
5838
|
+
# @return [String]
|
|
5839
|
+
#
|
|
5840
|
+
# @!attribute [rw] last_modified_time
|
|
5841
|
+
# The date and time the specified custom language model was last
|
|
5842
|
+
# modified.
|
|
5843
|
+
# @return [Time]
|
|
5844
|
+
#
|
|
5845
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateLanguageModelResponse AWS API Documentation
|
|
5846
|
+
#
|
|
5847
|
+
class UpdateLanguageModelResponse < Struct.new(
|
|
5848
|
+
:model_name,
|
|
5849
|
+
:model_status,
|
|
5850
|
+
:last_modified_time)
|
|
5851
|
+
SENSITIVE = []
|
|
5852
|
+
include Aws::Structure
|
|
5853
|
+
end
|
|
5854
|
+
|
|
5702
5855
|
# @!attribute [rw] vocabulary_name
|
|
5703
5856
|
# The name of the custom medical vocabulary you want to update. Custom
|
|
5704
5857
|
# medical vocabulary names are case sensitive.
|
|
@@ -5807,9 +5960,11 @@ module Aws::TranscribeService
|
|
|
5807
5960
|
# @!attribute [rw] data_access_role_arn
|
|
5808
5961
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
|
5809
5962
|
# to access the Amazon S3 bucket that contains your input files (in
|
|
5810
|
-
# this case, your custom vocabulary filter). If
|
|
5811
|
-
#
|
|
5812
|
-
# specified
|
|
5963
|
+
# this case, your custom vocabulary filter). If you include
|
|
5964
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
5965
|
+
# permissions to access the specified KMS key. If the role that you
|
|
5966
|
+
# specify doesn’t have the appropriate permissions, your request
|
|
5967
|
+
# fails.
|
|
5813
5968
|
#
|
|
5814
5969
|
# IAM role ARNs have the format
|
|
5815
5970
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -5822,13 +5977,21 @@ module Aws::TranscribeService
|
|
|
5822
5977
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
5823
5978
|
# @return [String]
|
|
5824
5979
|
#
|
|
5980
|
+
# @!attribute [rw] encryption_configuration
|
|
5981
|
+
# Specifies the new encryption configuration for your custom
|
|
5982
|
+
# vocabulary filter. The vocabulary filter artifacts are re-encrypted
|
|
5983
|
+
# in place using the specified KMS key or with an AWS-owned key if a
|
|
5984
|
+
# key is not supplied.
|
|
5985
|
+
# @return [Types::EncryptionConfiguration]
|
|
5986
|
+
#
|
|
5825
5987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilterRequest AWS API Documentation
|
|
5826
5988
|
#
|
|
5827
5989
|
class UpdateVocabularyFilterRequest < Struct.new(
|
|
5828
5990
|
:vocabulary_filter_name,
|
|
5829
5991
|
:words,
|
|
5830
5992
|
:vocabulary_filter_file_uri,
|
|
5831
|
-
:data_access_role_arn
|
|
5993
|
+
:data_access_role_arn,
|
|
5994
|
+
:encryption_configuration)
|
|
5832
5995
|
SENSITIVE = []
|
|
5833
5996
|
include Aws::Structure
|
|
5834
5997
|
end
|
|
@@ -5920,9 +6083,11 @@ module Aws::TranscribeService
|
|
|
5920
6083
|
# @!attribute [rw] data_access_role_arn
|
|
5921
6084
|
# The Amazon Resource Name (ARN) of an IAM role that has permissions
|
|
5922
6085
|
# to access the Amazon S3 bucket that contains your input files (in
|
|
5923
|
-
# this case, your custom vocabulary). If
|
|
5924
|
-
#
|
|
5925
|
-
#
|
|
6086
|
+
# this case, your custom vocabulary). If you include
|
|
6087
|
+
# `EncryptionConfiguration` in your request, this role must also have
|
|
6088
|
+
# permissions to access the specified KMS key. If the role that you
|
|
6089
|
+
# specify doesn’t have the appropriate permissions, your request
|
|
6090
|
+
# fails.
|
|
5926
6091
|
#
|
|
5927
6092
|
# IAM role ARNs have the format
|
|
5928
6093
|
# `arn:partition:iam::account:role/role-name-with-path`. For example:
|
|
@@ -5935,6 +6100,13 @@ module Aws::TranscribeService
|
|
|
5935
6100
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
|
|
5936
6101
|
# @return [String]
|
|
5937
6102
|
#
|
|
6103
|
+
# @!attribute [rw] encryption_configuration
|
|
6104
|
+
# Specifies the new encryption configuration for your custom
|
|
6105
|
+
# vocabulary. The vocabulary artifacts are re-encrypted in place using
|
|
6106
|
+
# the specified KMS key or with an AWS-owned key if a key is not
|
|
6107
|
+
# supplied.
|
|
6108
|
+
# @return [Types::EncryptionConfiguration]
|
|
6109
|
+
#
|
|
5938
6110
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyRequest AWS API Documentation
|
|
5939
6111
|
#
|
|
5940
6112
|
class UpdateVocabularyRequest < Struct.new(
|
|
@@ -5942,7 +6114,8 @@ module Aws::TranscribeService
|
|
|
5942
6114
|
:language_code,
|
|
5943
6115
|
:phrases,
|
|
5944
6116
|
:vocabulary_file_uri,
|
|
5945
|
-
:data_access_role_arn
|
|
6117
|
+
:data_access_role_arn,
|
|
6118
|
+
:encryption_configuration)
|
|
5946
6119
|
SENSITIVE = []
|
|
5947
6120
|
include Aws::Structure
|
|
5948
6121
|
end
|
data/sig/client.rbs
CHANGED
|
@@ -117,6 +117,10 @@ module Aws
|
|
|
117
117
|
tuning_data_s3_uri: ::String?,
|
|
118
118
|
data_access_role_arn: ::String
|
|
119
119
|
},
|
|
120
|
+
?encryption_configuration: {
|
|
121
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
122
|
+
kms_key: ::String
|
|
123
|
+
},
|
|
120
124
|
?tags: Array[
|
|
121
125
|
{
|
|
122
126
|
key: ::String,
|
|
@@ -168,7 +172,11 @@ module Aws
|
|
|
168
172
|
value: ::String
|
|
169
173
|
}
|
|
170
174
|
],
|
|
171
|
-
?data_access_role_arn: ::String
|
|
175
|
+
?data_access_role_arn: ::String,
|
|
176
|
+
?encryption_configuration: {
|
|
177
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
178
|
+
kms_key: ::String
|
|
179
|
+
}
|
|
172
180
|
) -> _CreateVocabularyResponseSuccess
|
|
173
181
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVocabularyResponseSuccess
|
|
174
182
|
|
|
@@ -190,7 +198,11 @@ module Aws
|
|
|
190
198
|
value: ::String
|
|
191
199
|
}
|
|
192
200
|
],
|
|
193
|
-
?data_access_role_arn: ::String
|
|
201
|
+
?data_access_role_arn: ::String,
|
|
202
|
+
?encryption_configuration: {
|
|
203
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
204
|
+
kms_key: ::String
|
|
205
|
+
}
|
|
194
206
|
) -> _CreateVocabularyFilterResponseSuccess
|
|
195
207
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVocabularyFilterResponseSuccess
|
|
196
208
|
|
|
@@ -337,6 +349,8 @@ module Aws
|
|
|
337
349
|
def last_modified_time: () -> ::Time
|
|
338
350
|
def failure_reason: () -> ::String
|
|
339
351
|
def download_uri: () -> ::String
|
|
352
|
+
def data_access_role_arn: () -> ::String
|
|
353
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
340
354
|
end
|
|
341
355
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeService/Client.html#get_vocabulary-instance_method
|
|
342
356
|
def get_vocabulary: (
|
|
@@ -350,6 +364,8 @@ module Aws
|
|
|
350
364
|
def language_code: () -> ("af-ZA" | "ar-AE" | "ar-SA" | "am-ET" | "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-MX" | "es-US" | "fa-AF" | "fa-IR" | "fr-CA" | "fr-FR" | "ga-IE" | "gd-GB" | "he-IL" | "hi-IN" | "ht-HT" | "id-ID" | "it-IT" | "ja-JP" | "jv-ID" | "km-KH" | "ko-KR" | "my-MM" | "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" | "ab-GE" | "ast-ES" | "az-AZ" | "ba-RU" | "be-BY" | "bg-BG" | "bn-IN" | "bs-BA" | "ca-ES" | "ckb-IQ" | "ckb-IR" | "cs-CZ" | "cy-WL" | "el-GR" | "et-EE" | "et-ET" | "eu-ES" | "fi-FI" | "gl-ES" | "gu-IN" | "ha-NG" | "hr-HR" | "hu-HU" | "hy-AM" | "is-IS" | "ka-GE" | "kab-DZ" | "kk-KZ" | "kn-IN" | "ky-KG" | "lg-IN" | "lt-LT" | "lv-LV" | "mhr-RU" | "mi-NZ" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "mt-MT" | "no-NO" | "ne-NP" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "ro-RO" | "rw-RW" | "si-LK" | "sk-SK" | "sl-SI" | "so-SO" | "sq-AL" | "sr-RS" | "su-ID" | "sw-BI" | "sw-KE" | "sw-RW" | "sw-TZ" | "sw-UG" | "tl-PH" | "tt-RU" | "ug-CN" | "uk-UA" | "uz-UZ" | "wo-SN" | "zh-HK" | "zu-ZA")
|
|
351
365
|
def last_modified_time: () -> ::Time
|
|
352
366
|
def download_uri: () -> ::String
|
|
367
|
+
def data_access_role_arn: () -> ::String
|
|
368
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
|
353
369
|
end
|
|
354
370
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeService/Client.html#get_vocabulary_filter-instance_method
|
|
355
371
|
def get_vocabulary_filter: (
|
|
@@ -735,6 +751,23 @@ module Aws
|
|
|
735
751
|
) -> _UpdateCallAnalyticsCategoryResponseSuccess
|
|
736
752
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCallAnalyticsCategoryResponseSuccess
|
|
737
753
|
|
|
754
|
+
interface _UpdateLanguageModelResponseSuccess
|
|
755
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLanguageModelResponse]
|
|
756
|
+
def model_name: () -> ::String
|
|
757
|
+
def model_status: () -> ("IN_PROGRESS" | "FAILED" | "COMPLETED")
|
|
758
|
+
def last_modified_time: () -> ::Time
|
|
759
|
+
end
|
|
760
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeService/Client.html#update_language_model-instance_method
|
|
761
|
+
def update_language_model: (
|
|
762
|
+
model_name: ::String,
|
|
763
|
+
?data_access_role_arn: ::String,
|
|
764
|
+
?encryption_configuration: {
|
|
765
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
766
|
+
kms_key: ::String
|
|
767
|
+
}
|
|
768
|
+
) -> _UpdateLanguageModelResponseSuccess
|
|
769
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLanguageModelResponseSuccess
|
|
770
|
+
|
|
738
771
|
interface _UpdateMedicalVocabularyResponseSuccess
|
|
739
772
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMedicalVocabularyResponse]
|
|
740
773
|
def vocabulary_name: () -> ::String
|
|
@@ -763,7 +796,11 @@ module Aws
|
|
|
763
796
|
language_code: ("af-ZA" | "ar-AE" | "ar-SA" | "am-ET" | "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-MX" | "es-US" | "fa-AF" | "fa-IR" | "fr-CA" | "fr-FR" | "ga-IE" | "gd-GB" | "he-IL" | "hi-IN" | "ht-HT" | "id-ID" | "it-IT" | "ja-JP" | "jv-ID" | "km-KH" | "ko-KR" | "my-MM" | "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" | "ab-GE" | "ast-ES" | "az-AZ" | "ba-RU" | "be-BY" | "bg-BG" | "bn-IN" | "bs-BA" | "ca-ES" | "ckb-IQ" | "ckb-IR" | "cs-CZ" | "cy-WL" | "el-GR" | "et-EE" | "et-ET" | "eu-ES" | "fi-FI" | "gl-ES" | "gu-IN" | "ha-NG" | "hr-HR" | "hu-HU" | "hy-AM" | "is-IS" | "ka-GE" | "kab-DZ" | "kk-KZ" | "kn-IN" | "ky-KG" | "lg-IN" | "lt-LT" | "lv-LV" | "mhr-RU" | "mi-NZ" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "mt-MT" | "no-NO" | "ne-NP" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "ro-RO" | "rw-RW" | "si-LK" | "sk-SK" | "sl-SI" | "so-SO" | "sq-AL" | "sr-RS" | "su-ID" | "sw-BI" | "sw-KE" | "sw-RW" | "sw-TZ" | "sw-UG" | "tl-PH" | "tt-RU" | "ug-CN" | "uk-UA" | "uz-UZ" | "wo-SN" | "zh-HK" | "zu-ZA"),
|
|
764
797
|
?phrases: Array[::String],
|
|
765
798
|
?vocabulary_file_uri: ::String,
|
|
766
|
-
?data_access_role_arn: ::String
|
|
799
|
+
?data_access_role_arn: ::String,
|
|
800
|
+
?encryption_configuration: {
|
|
801
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
802
|
+
kms_key: ::String
|
|
803
|
+
}
|
|
767
804
|
) -> _UpdateVocabularyResponseSuccess
|
|
768
805
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVocabularyResponseSuccess
|
|
769
806
|
|
|
@@ -778,7 +815,11 @@ module Aws
|
|
|
778
815
|
vocabulary_filter_name: ::String,
|
|
779
816
|
?words: Array[::String],
|
|
780
817
|
?vocabulary_filter_file_uri: ::String,
|
|
781
|
-
?data_access_role_arn: ::String
|
|
818
|
+
?data_access_role_arn: ::String,
|
|
819
|
+
?encryption_configuration: {
|
|
820
|
+
kms_encryption_context: Hash[::String, ::String]?,
|
|
821
|
+
kms_key: ::String
|
|
822
|
+
}
|
|
782
823
|
) -> _UpdateVocabularyFilterResponseSuccess
|
|
783
824
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVocabularyFilterResponseSuccess
|
|
784
825
|
|
data/sig/types.rbs
CHANGED
|
@@ -129,6 +129,7 @@ module Aws::TranscribeService
|
|
|
129
129
|
attr_accessor base_model_name: ("NarrowBand" | "WideBand")
|
|
130
130
|
attr_accessor model_name: ::String
|
|
131
131
|
attr_accessor input_data_config: Types::InputDataConfig
|
|
132
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
132
133
|
attr_accessor tags: ::Array[Types::Tag]
|
|
133
134
|
SENSITIVE: []
|
|
134
135
|
end
|
|
@@ -166,6 +167,7 @@ module Aws::TranscribeService
|
|
|
166
167
|
attr_accessor vocabulary_filter_file_uri: ::String
|
|
167
168
|
attr_accessor tags: ::Array[Types::Tag]
|
|
168
169
|
attr_accessor data_access_role_arn: ::String
|
|
170
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
169
171
|
SENSITIVE: []
|
|
170
172
|
end
|
|
171
173
|
|
|
@@ -183,6 +185,7 @@ module Aws::TranscribeService
|
|
|
183
185
|
attr_accessor vocabulary_file_uri: ::String
|
|
184
186
|
attr_accessor tags: ::Array[Types::Tag]
|
|
185
187
|
attr_accessor data_access_role_arn: ::String
|
|
188
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
186
189
|
SENSITIVE: []
|
|
187
190
|
end
|
|
188
191
|
|
|
@@ -256,6 +259,12 @@ module Aws::TranscribeService
|
|
|
256
259
|
SENSITIVE: []
|
|
257
260
|
end
|
|
258
261
|
|
|
262
|
+
class EncryptionConfiguration
|
|
263
|
+
attr_accessor kms_encryption_context: ::Hash[::String, ::String]
|
|
264
|
+
attr_accessor kms_key: ::String
|
|
265
|
+
SENSITIVE: []
|
|
266
|
+
end
|
|
267
|
+
|
|
259
268
|
class GetCallAnalyticsCategoryRequest
|
|
260
269
|
attr_accessor category_name: ::String
|
|
261
270
|
SENSITIVE: []
|
|
@@ -331,6 +340,8 @@ module Aws::TranscribeService
|
|
|
331
340
|
attr_accessor language_code: ("af-ZA" | "ar-AE" | "ar-SA" | "am-ET" | "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-MX" | "es-US" | "fa-AF" | "fa-IR" | "fr-CA" | "fr-FR" | "ga-IE" | "gd-GB" | "he-IL" | "hi-IN" | "ht-HT" | "id-ID" | "it-IT" | "ja-JP" | "jv-ID" | "km-KH" | "ko-KR" | "my-MM" | "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" | "ab-GE" | "ast-ES" | "az-AZ" | "ba-RU" | "be-BY" | "bg-BG" | "bn-IN" | "bs-BA" | "ca-ES" | "ckb-IQ" | "ckb-IR" | "cs-CZ" | "cy-WL" | "el-GR" | "et-EE" | "et-ET" | "eu-ES" | "fi-FI" | "gl-ES" | "gu-IN" | "ha-NG" | "hr-HR" | "hu-HU" | "hy-AM" | "is-IS" | "ka-GE" | "kab-DZ" | "kk-KZ" | "kn-IN" | "ky-KG" | "lg-IN" | "lt-LT" | "lv-LV" | "mhr-RU" | "mi-NZ" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "mt-MT" | "no-NO" | "ne-NP" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "ro-RO" | "rw-RW" | "si-LK" | "sk-SK" | "sl-SI" | "so-SO" | "sq-AL" | "sr-RS" | "su-ID" | "sw-BI" | "sw-KE" | "sw-RW" | "sw-TZ" | "sw-UG" | "tl-PH" | "tt-RU" | "ug-CN" | "uk-UA" | "uz-UZ" | "wo-SN" | "zh-HK" | "zu-ZA")
|
|
332
341
|
attr_accessor last_modified_time: ::Time
|
|
333
342
|
attr_accessor download_uri: ::String
|
|
343
|
+
attr_accessor data_access_role_arn: ::String
|
|
344
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
334
345
|
SENSITIVE: []
|
|
335
346
|
end
|
|
336
347
|
|
|
@@ -346,6 +357,8 @@ module Aws::TranscribeService
|
|
|
346
357
|
attr_accessor last_modified_time: ::Time
|
|
347
358
|
attr_accessor failure_reason: ::String
|
|
348
359
|
attr_accessor download_uri: ::String
|
|
360
|
+
attr_accessor data_access_role_arn: ::String
|
|
361
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
349
362
|
SENSITIVE: []
|
|
350
363
|
end
|
|
351
364
|
|
|
@@ -399,6 +412,7 @@ module Aws::TranscribeService
|
|
|
399
412
|
attr_accessor upgrade_availability: bool
|
|
400
413
|
attr_accessor failure_reason: ::String
|
|
401
414
|
attr_accessor input_data_config: Types::InputDataConfig
|
|
415
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
402
416
|
SENSITIVE: []
|
|
403
417
|
end
|
|
404
418
|
|
|
@@ -942,6 +956,20 @@ module Aws::TranscribeService
|
|
|
942
956
|
SENSITIVE: []
|
|
943
957
|
end
|
|
944
958
|
|
|
959
|
+
class UpdateLanguageModelRequest
|
|
960
|
+
attr_accessor model_name: ::String
|
|
961
|
+
attr_accessor data_access_role_arn: ::String
|
|
962
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
963
|
+
SENSITIVE: []
|
|
964
|
+
end
|
|
965
|
+
|
|
966
|
+
class UpdateLanguageModelResponse
|
|
967
|
+
attr_accessor model_name: ::String
|
|
968
|
+
attr_accessor model_status: ("IN_PROGRESS" | "FAILED" | "COMPLETED")
|
|
969
|
+
attr_accessor last_modified_time: ::Time
|
|
970
|
+
SENSITIVE: []
|
|
971
|
+
end
|
|
972
|
+
|
|
945
973
|
class UpdateMedicalVocabularyRequest
|
|
946
974
|
attr_accessor vocabulary_name: ::String
|
|
947
975
|
attr_accessor language_code: ("af-ZA" | "ar-AE" | "ar-SA" | "am-ET" | "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-MX" | "es-US" | "fa-AF" | "fa-IR" | "fr-CA" | "fr-FR" | "ga-IE" | "gd-GB" | "he-IL" | "hi-IN" | "ht-HT" | "id-ID" | "it-IT" | "ja-JP" | "jv-ID" | "km-KH" | "ko-KR" | "my-MM" | "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" | "ab-GE" | "ast-ES" | "az-AZ" | "ba-RU" | "be-BY" | "bg-BG" | "bn-IN" | "bs-BA" | "ca-ES" | "ckb-IQ" | "ckb-IR" | "cs-CZ" | "cy-WL" | "el-GR" | "et-EE" | "et-ET" | "eu-ES" | "fi-FI" | "gl-ES" | "gu-IN" | "ha-NG" | "hr-HR" | "hu-HU" | "hy-AM" | "is-IS" | "ka-GE" | "kab-DZ" | "kk-KZ" | "kn-IN" | "ky-KG" | "lg-IN" | "lt-LT" | "lv-LV" | "mhr-RU" | "mi-NZ" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "mt-MT" | "no-NO" | "ne-NP" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "ro-RO" | "rw-RW" | "si-LK" | "sk-SK" | "sl-SI" | "so-SO" | "sq-AL" | "sr-RS" | "su-ID" | "sw-BI" | "sw-KE" | "sw-RW" | "sw-TZ" | "sw-UG" | "tl-PH" | "tt-RU" | "ug-CN" | "uk-UA" | "uz-UZ" | "wo-SN" | "zh-HK" | "zu-ZA")
|
|
@@ -962,6 +990,7 @@ module Aws::TranscribeService
|
|
|
962
990
|
attr_accessor words: ::Array[::String]
|
|
963
991
|
attr_accessor vocabulary_filter_file_uri: ::String
|
|
964
992
|
attr_accessor data_access_role_arn: ::String
|
|
993
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
965
994
|
SENSITIVE: []
|
|
966
995
|
end
|
|
967
996
|
|
|
@@ -978,6 +1007,7 @@ module Aws::TranscribeService
|
|
|
978
1007
|
attr_accessor phrases: ::Array[::String]
|
|
979
1008
|
attr_accessor vocabulary_file_uri: ::String
|
|
980
1009
|
attr_accessor data_access_role_arn: ::String
|
|
1010
|
+
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
|
981
1011
|
SENSITIVE: []
|
|
982
1012
|
end
|
|
983
1013
|
|