aws-sdk-transcribeservice 1.80.0 → 1.82.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebdf02191a96f94d01326f2914641f85128658e21c6fdb1fe6bec575a0603e80
4
- data.tar.gz: 52d48b05042b72f352df2940b06ebe13c28e4c1970514daf208150ae9cdee800
3
+ metadata.gz: 112ca41c3082ed2909fe18eaf8603d7030b55ebc7f8fd03b84d9e4e624e82436
4
+ data.tar.gz: 900d91161fa78bc355e11ea9b9ebf674cf6bb46e378abb0ce00decec2cd2dcd1
5
5
  SHA512:
6
- metadata.gz: f75317afeca3ff6577d4ee53223725aaa0cd97d088c96f35a62de4be8b55964d8513678929be8f6acbe8c7e1035a30139f4a361091f51902f0eb28720012c52b
7
- data.tar.gz: 8d18e56ec766dca3feaf3c33c2d7fca6e07c1c569ebaea245b8fd39afbd506aa12a7f31a2fae95811d77472afe1f73b3397a820c749fe6a7294f04c1291266ca
6
+ metadata.gz: af37c94ea0e8efeb6ea7e9f4a1444b7bec295b754e563457da995e0f98aad632148da2d5364b177ad79d9f2d66ad997e2c0f52b66f8d03709b272be21cc8e98a
7
+ data.tar.gz: ff3a0a44560e2bf92dbe851207e87a3a3c7b03d2f7ed1b7fe8cf385e94ac6055d56d8863836e0a131afcbede253c589ca3f2aa5dcd79532032d01952f71fba38
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.82.0 (2023-03-03)
5
+ ------------------
6
+
7
+ * Feature - Amazon Transcribe now supports role access for these API operations: CreateVocabulary, UpdateVocabulary, CreateVocabularyFilter, and UpdateVocabularyFilter.
8
+
9
+ 1.81.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.80.0 (2022-12-20)
5
17
  ------------------
6
18
 
@@ -415,4 +427,4 @@ Unreleased Changes
415
427
  1.0.0 (2018-01-19)
416
428
  ------------------
417
429
 
418
- * Feature - Initial release of `aws-sdk-transcribeservice`.
430
+ * Feature - Initial release of `aws-sdk-transcribeservice`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.80.0
1
+ 1.82.0
@@ -386,11 +386,11 @@ module Aws::TranscribeService
386
386
  # transcription request, as categories cannot be applied retroactively.
387
387
  #
388
388
  # When creating a new category, you can use the `InputType` parameter to
389
- # label the category as a batch category (`POST_CALL`) or a streaming
390
- # category (`REAL_TIME`). Batch categories can only be applied to batch
391
- # transcriptions and streaming categories can only be applied to
392
- # streaming transcriptions. If you do not include `InputType`, your
393
- # category is created as a batch category by default.
389
+ # label the category as a `POST_CALL` or a `REAL_TIME` category.
390
+ # `POST_CALL` categories can only be applied to post-call transcriptions
391
+ # and `REAL_TIME` categories can only be applied to real-time
392
+ # transcriptions. If you do not include `InputType`, your category is
393
+ # created as a `POST_CALL` category by default.
394
394
  #
395
395
  # Call Analytics categories are composed of rules. For each category,
396
396
  # you must create between 1 and 20 rules. Rules can include these
@@ -399,8 +399,8 @@ module Aws::TranscribeService
399
399
  # To update an existing category, see .
400
400
  #
401
401
  # To learn more about Call Analytics categories, see [Creating
402
- # categories for batch transcriptions][1] and [Creating categories for
403
- # streaming transcriptions][2].
402
+ # categories for post-call transcriptions][1] and [Creating categories
403
+ # for real-time transcriptions][2].
404
404
  #
405
405
  #
406
406
  #
@@ -425,19 +425,19 @@ module Aws::TranscribeService
425
425
  # call.
426
426
  #
427
427
  # @option params [String] :input_type
428
- # Choose whether you want to create a streaming or a batch category for
429
- # your Call Analytics transcription.
428
+ # Choose whether you want to create a real-time or a post-call category
429
+ # for your Call Analytics transcription.
430
430
  #
431
- # Specifying `POST_CALL` assigns your category to batch transcriptions;
432
- # categories with this input type cannot be applied to streaming
433
- # (real-time) transcriptions.
431
+ # Specifying `POST_CALL` assigns your category to post-call
432
+ # transcriptions; categories with this input type cannot be applied to
433
+ # streaming (real-time) transcriptions.
434
434
  #
435
435
  # Specifying `REAL_TIME` assigns your category to streaming
436
436
  # transcriptions; categories with this input type cannot be applied to
437
- # batch (post-call) transcriptions.
437
+ # post-call transcriptions.
438
438
  #
439
- # If you do not include `InputType`, your category is created as a batch
440
- # category by default.
439
+ # If you do not include `InputType`, your category is created as a
440
+ # post-call category by default.
441
441
  #
442
442
  # @return [Types::CreateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
443
443
  #
@@ -710,10 +710,11 @@ module Aws::TranscribeService
710
710
  # Creates a new custom medical vocabulary.
711
711
  #
712
712
  # Before creating a new custom medical vocabulary, you must first upload
713
- # a text file that contains your new entries, phrases, and terms into an
714
- # Amazon S3 bucket. Note that this differs from , where you can include
715
- # a list of terms within your request using the `Phrases` flag;
716
- # `CreateMedicalVocabulary` does not support the `Phrases` flag.
713
+ # a text file that contains your vocabulary table into an Amazon S3
714
+ # bucket. Note that this differs from , where you can include a list of
715
+ # terms within your request using the `Phrases` flag;
716
+ # `CreateMedicalVocabulary` does not support the `Phrases` flag and only
717
+ # accepts vocabularies in table format.
717
718
  #
718
719
  # Each language has a character set that contains all allowed characters
719
720
  # for that specific language. If you use unsupported characters, your
@@ -886,6 +887,23 @@ module Aws::TranscribeService
886
887
  #
887
888
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
888
889
  #
890
+ # @option params [String] :data_access_role_arn
891
+ # The Amazon Resource Name (ARN) of an IAM role that has permissions to
892
+ # access the Amazon S3 bucket that contains your input files (in this
893
+ # case, your custom vocabulary). If the role that you specify doesn’t
894
+ # have the appropriate permissions to access the specified Amazon S3
895
+ # location, your request fails.
896
+ #
897
+ # IAM role ARNs have the format
898
+ # `arn:partition:iam::account:role/role-name-with-path`. For example:
899
+ # `arn:aws:iam::111122223333:role/Admin`.
900
+ #
901
+ # For more information, see [IAM ARNs][1].
902
+ #
903
+ #
904
+ #
905
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
906
+ #
889
907
  # @return [Types::CreateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
890
908
  #
891
909
  # * {Types::CreateVocabularyResponse#vocabulary_name #vocabulary_name} => String
@@ -907,6 +925,7 @@ module Aws::TranscribeService
907
925
  # value: "TagValue", # required
908
926
  # },
909
927
  # ],
928
+ # data_access_role_arn: "DataAccessRoleArn",
910
929
  # })
911
930
  #
912
931
  # @example Response structure
@@ -1012,6 +1031,23 @@ module Aws::TranscribeService
1012
1031
  #
1013
1032
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
1014
1033
  #
1034
+ # @option params [String] :data_access_role_arn
1035
+ # The Amazon Resource Name (ARN) of an IAM role that has permissions to
1036
+ # access the Amazon S3 bucket that contains your input files (in this
1037
+ # case, your custom vocabulary filter). If the role that you specify
1038
+ # doesn’t have the appropriate permissions to access the specified
1039
+ # Amazon S3 location, your request fails.
1040
+ #
1041
+ # IAM role ARNs have the format
1042
+ # `arn:partition:iam::account:role/role-name-with-path`. For example:
1043
+ # `arn:aws:iam::111122223333:role/Admin`.
1044
+ #
1045
+ # For more information, see [IAM ARNs][1].
1046
+ #
1047
+ #
1048
+ #
1049
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
1050
+ #
1015
1051
  # @return [Types::CreateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1016
1052
  #
1017
1053
  # * {Types::CreateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
@@ -1031,6 +1067,7 @@ module Aws::TranscribeService
1031
1067
  # value: "TagValue", # required
1032
1068
  # },
1033
1069
  # ],
1070
+ # data_access_role_arn: "DataAccessRoleArn",
1034
1071
  # })
1035
1072
  #
1036
1073
  # @example Response structure
@@ -2370,13 +2407,15 @@ module Aws::TranscribeService
2370
2407
  # create them before submitting your job request. Categories cannot be
2371
2408
  # retroactively applied to a job. To create a new category, use the
2372
2409
  # operation. To learn more about Call Analytics categories, see
2373
- # [Creating categories for batch transcriptions][2] and [Creating
2374
- # categories for streaming transcriptions][3].
2410
+ # [Creating categories for post-call transcriptions][2] and [Creating
2411
+ # categories for real-time transcriptions][3].
2375
2412
  #
2376
2413
  # To make a `StartCallAnalyticsJob` request, you must first upload your
2377
2414
  # media file into an Amazon S3 bucket; you can then specify the Amazon
2378
2415
  # S3 location of the file using the `Media` parameter.
2379
2416
  #
2417
+ # Note that job queuing is enabled by default for Call Analytics jobs.
2418
+ #
2380
2419
  # You must include the following parameters in your
2381
2420
  # `StartCallAnalyticsJob` request:
2382
2421
  #
@@ -2482,7 +2521,7 @@ module Aws::TranscribeService
2482
2521
  # If you specify a KMS key to encrypt your output, you must also specify
2483
2522
  # an output location using the `OutputLocation` parameter.
2484
2523
  #
2485
- # Note that the user making the request must have permission to use the
2524
+ # Note that the role making the request must have permission to use the
2486
2525
  # specified KMS key.
2487
2526
  #
2488
2527
  # @option params [String] :data_access_role_arn
@@ -2782,7 +2821,7 @@ module Aws::TranscribeService
2782
2821
  # If you specify a KMS key to encrypt your output, you must also specify
2783
2822
  # an output location using the `OutputLocation` parameter.
2784
2823
  #
2785
- # Note that the user making the request must have permission to use the
2824
+ # Note that the role making the request must have permission to use the
2786
2825
  # specified KMS key.
2787
2826
  #
2788
2827
  # @option params [Hash<String,String>] :kms_encryption_context
@@ -3097,7 +3136,7 @@ module Aws::TranscribeService
3097
3136
  # If you specify a KMS key to encrypt your output, you must also specify
3098
3137
  # an output location using the `OutputLocation` parameter.
3099
3138
  #
3100
- # Note that the user making the request must have permission to use the
3139
+ # Note that the role making the request must have permission to use the
3101
3140
  # specified KMS key.
3102
3141
  #
3103
3142
  # @option params [Hash<String,String>] :kms_encryption_context
@@ -3504,11 +3543,11 @@ module Aws::TranscribeService
3504
3543
  # in the specified category.
3505
3544
  #
3506
3545
  # @option params [String] :input_type
3507
- # Choose whether you want to update a streaming or a batch Call
3508
- # Analytics category. The input type you specify must match the input
3509
- # type specified when the category was created. For example, if you
3510
- # created a category with the `POST_CALL` input type, you must use
3511
- # `POST_CALL` as the input type when updating this category.
3546
+ # Choose whether you want to update a real-time or a post-call category.
3547
+ # The input type you specify must match the input type specified when
3548
+ # the category was created. For example, if you created a category with
3549
+ # the `POST_CALL` input type, you must use `POST_CALL` as the input type
3550
+ # when updating this category.
3512
3551
  #
3513
3552
  # @return [Types::UpdateCallAnalyticsCategoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3514
3553
  #
@@ -3764,6 +3803,23 @@ module Aws::TranscribeService
3764
3803
  # Note that if you include `VocabularyFileUri` in your request, you
3765
3804
  # cannot use the `Phrases` flag; you must choose one or the other.
3766
3805
  #
3806
+ # @option params [String] :data_access_role_arn
3807
+ # The Amazon Resource Name (ARN) of an IAM role that has permissions to
3808
+ # access the Amazon S3 bucket that contains your input files (in this
3809
+ # case, your custom vocabulary). If the role that you specify doesn’t
3810
+ # have the appropriate permissions to access the specified Amazon S3
3811
+ # location, your request fails.
3812
+ #
3813
+ # IAM role ARNs have the format
3814
+ # `arn:partition:iam::account:role/role-name-with-path`. For example:
3815
+ # `arn:aws:iam::111122223333:role/Admin`.
3816
+ #
3817
+ # For more information, see [IAM ARNs][1].
3818
+ #
3819
+ #
3820
+ #
3821
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
3822
+ #
3767
3823
  # @return [Types::UpdateVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3768
3824
  #
3769
3825
  # * {Types::UpdateVocabularyResponse#vocabulary_name #vocabulary_name} => String
@@ -3778,6 +3834,7 @@ module Aws::TranscribeService
3778
3834
  # 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
3835
  # phrases: ["Phrase"],
3780
3836
  # vocabulary_file_uri: "Uri",
3837
+ # data_access_role_arn: "DataAccessRoleArn",
3781
3838
  # })
3782
3839
  #
3783
3840
  # @example Response structure
@@ -3835,6 +3892,23 @@ module Aws::TranscribeService
3835
3892
  # Note that if you include `VocabularyFilterFileUri` in your request,
3836
3893
  # you cannot use `Words`; you must choose one or the other.
3837
3894
  #
3895
+ # @option params [String] :data_access_role_arn
3896
+ # The Amazon Resource Name (ARN) of an IAM role that has permissions to
3897
+ # access the Amazon S3 bucket that contains your input files (in this
3898
+ # case, your custom vocabulary filter). If the role that you specify
3899
+ # doesn’t have the appropriate permissions to access the specified
3900
+ # Amazon S3 location, your request fails.
3901
+ #
3902
+ # IAM role ARNs have the format
3903
+ # `arn:partition:iam::account:role/role-name-with-path`. For example:
3904
+ # `arn:aws:iam::111122223333:role/Admin`.
3905
+ #
3906
+ # For more information, see [IAM ARNs][1].
3907
+ #
3908
+ #
3909
+ #
3910
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns
3911
+ #
3838
3912
  # @return [Types::UpdateVocabularyFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3839
3913
  #
3840
3914
  # * {Types::UpdateVocabularyFilterResponse#vocabulary_filter_name #vocabulary_filter_name} => String
@@ -3847,6 +3921,7 @@ module Aws::TranscribeService
3847
3921
  # vocabulary_filter_name: "VocabularyFilterName", # required
3848
3922
  # words: ["Word"],
3849
3923
  # vocabulary_filter_file_uri: "Uri",
3924
+ # data_access_role_arn: "DataAccessRoleArn",
3850
3925
  # })
3851
3926
  #
3852
3927
  # @example Response structure
@@ -3877,7 +3952,7 @@ module Aws::TranscribeService
3877
3952
  params: params,
3878
3953
  config: config)
3879
3954
  context[:gem_name] = 'aws-sdk-transcribeservice'
3880
- context[:gem_version] = '1.80.0'
3955
+ context[:gem_version] = '1.82.0'
3881
3956
  Seahorse::Client::Request.new(handlers, context)
3882
3957
  end
3883
3958
 
@@ -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?
@@ -9,123 +9,58 @@
9
9
 
10
10
  module Aws::TranscribeService
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
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"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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: {})
31
+ end
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: {})
43
+ end
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
45
+ end
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"
51
+ end
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: {})
59
+ end
60
+ end
61
+ raise ArgumentError, "Invalid Configuration: Missing Region"
62
+ raise ArgumentError, 'No endpoint could be resolved'
24
63
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
64
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4gYW4gZXJyb3IuIiwidHlwZSI6
40
- IkJvb2xlYW4ifSwiVXNlRklQUyI6eyJidWlsdEluIjoiQVdTOjpVc2VGSVBT
41
- IiwicmVxdWlyZWQiOnRydWUsImRlZmF1bHQiOmZhbHNlLCJkb2N1bWVudGF0
42
- aW9uIjoiV2hlbiB0cnVlLCBzZW5kIHRoaXMgcmVxdWVzdCB0byB0aGUgRklQ
43
- Uy1jb21wbGlhbnQgcmVnaW9uYWwgZW5kcG9pbnQuIElmIHRoZSBjb25maWd1
44
- cmVkIGVuZHBvaW50IGRvZXMgbm90IGhhdmUgYSBGSVBTIGNvbXBsaWFudCBl
45
- bmRwb2ludCwgZGlzcGF0Y2hpbmcgdGhlIHJlcXVlc3Qgd2lsbCByZXR1cm4g
46
- YW4gZXJyb3IuI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QgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
114
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sInR5cGUiOiJ0
115
- cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoic3RyaW5nRXF1
116
- YWxzIiwiYXJndiI6W3sicmVmIjoiUmVnaW9uIn0sImNuLW5vcnRoLTEiXX1d
117
- LCJlbmRwb2ludCI6eyJ1cmwiOiJodHRwczovL2NuLnRyYW5zY3JpYmUuY24t
118
- bm9ydGgtMS5hbWF6b25hd3MuY29tLmNuIiwicHJvcGVydGllcyI6e30sImhl
119
- YWRlcnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In0seyJjb25kaXRpb25zIjpb
120
- eyJmbiI6InN0cmluZ0VxdWFscyIsImFyZ3YiOlt7InJlZiI6IlJlZ2lvbiJ9
121
- LCJjbi1ub3J0aHdlc3QtMSJdfV0sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
122
- Oi8vY24udHJhbnNjcmliZS5jbi1ub3J0aHdlc3QtMS5hbWF6b25hd3MuY29t
123
- LmNuIiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlwZSI6ImVu
124
- ZHBvaW50In0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoi
125
- aHR0cHM6Ly90cmFuc2NyaWJlLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQj
126
- ZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
127
- cGUiOiJlbmRwb2ludCJ9XX1dfV19
128
-
129
- JSON
130
65
  end
131
66
  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 streaming or a batch category
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 batch
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
- # batch (post-call) transcriptions.
613
+ # post-call transcriptions.
614
614
  #
615
615
  # If you do not include `InputType`, your category is created as a
616
- # batch category by default.
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 batch categories][1] for usage examples.
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 the base
1802
- # model name, when the model was created, the location of the files used
1803
- # to train the model, when the model was last modified, the name you
1804
- # chose for the model, its language, its processing state, and if there
1805
- # is an upgrade available for the base model.
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 batch categories][1] for usage examples.
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 batch transcriptions][1] and [Creating categories for
3086
- # streaming transcriptions][2].
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 batch categories][1] for usage examples.
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 user making the request must have permission to use
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
  #
@@ -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 user making the request must have permission to use
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
  #
@@ -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 user making the request must have permission to use
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 batch categories][1] and [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 streaming or a batch Call
4787
- # Analytics category. The input type you specify must match the input
4788
- # type specified when the category was created. For example, if you
4789
- # created a category with the `POST_CALL` input type, you must use
4790
- # `POST_CALL` as the input type when updating this category.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
52
52
  # @!group service
53
53
  module Aws::TranscribeService
54
54
 
55
- GEM_VERSION = '1.80.0'
55
+ GEM_VERSION = '1.82.0'
56
56
 
57
57
  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.80.0
4
+ version: 1.82.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: 2022-12-20 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core