aws-sdk-transcribeservice 1.109.0 → 1.111.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: 6012cb9bbed82e031d8b6bb8060951cf51085f46bbfededc92b8c132a69de387
4
- data.tar.gz: 8e4e46f228a379038b363be3992ca16faf7a93dd02b9af7f5d6d654407ca9d6b
3
+ metadata.gz: f2cbc0506d8923571e1a404b029051133c8525ec64248acc24643d71a892a892
4
+ data.tar.gz: a94a5c60c71d2e1d6173a19ebe17e3ff4f2107914892431532631e2aa99f70bc
5
5
  SHA512:
6
- metadata.gz: ead90cc9ffb45c0e5530d82ed273d8d7c954283021dd022e9a254e6b9e07fc03bdd6fa6f84fe0d5ff0b70afc2f5735b12c256a4764ce7ba45d88061f8d9ba2d3
7
- data.tar.gz: abe3f59bae14a57645abf482a296ad5e507f00ae670ff2b729541179aaf6a9f0251a829893199202036e0e16f5b7dabd31ee2e017bbb279841f5a62a8aad468b
6
+ metadata.gz: baa7ebd7f6a50e547e4818da0cbd3821a124657483f40d56f66513c66f79826ca7078ea088fe4d8a84f2ff3c425f855c5c17d4e0f3b98837b360ece9d1075915
7
+ data.tar.gz: '094e9950582cd887ba08fb0b20c653480e15f57d9c660433c2c447564cefc086146c2fb7b9aac265fe3326608062180ac8438d1a2fdf1da6deca5f160ca9854f'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2025-01-13)
5
+ ------------------
6
+
7
+ * Feature - This update provides tagging support for Transcribe's Call Analytics Jobs and Call Analytics Categories.
8
+
9
+ 1.110.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.109.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.109.0
1
+ 1.111.0
@@ -500,6 +500,17 @@ module Aws::TranscribeService
500
500
  # customer's sentiment was positive during the last 30 seconds of the
501
501
  # call.
502
502
  #
503
+ # @option params [Array<Types::Tag>] :tags
504
+ # Adds one or more custom tags, each in the form of a key:value pair, to
505
+ # a new call analytics category at the time you start this new job.
506
+ #
507
+ # To learn more about using tags with Amazon Transcribe, refer to
508
+ # [Tagging resources][1].
509
+ #
510
+ #
511
+ #
512
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
513
+ #
503
514
  # @option params [String] :input_type
504
515
  # Choose whether you want to create a real-time or a post-call category
505
516
  # for your Call Analytics transcription.
@@ -595,6 +606,12 @@ module Aws::TranscribeService
595
606
  # },
596
607
  # },
597
608
  # ],
609
+ # tags: [
610
+ # {
611
+ # key: "TagKey", # required
612
+ # value: "TagValue", # required
613
+ # },
614
+ # ],
598
615
  # input_type: "REAL_TIME", # accepts REAL_TIME, POST_CALL
599
616
  # })
600
617
  #
@@ -650,6 +667,9 @@ module Aws::TranscribeService
650
667
  # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
651
668
  # resp.category_properties.create_time #=> Time
652
669
  # resp.category_properties.last_update_time #=> Time
670
+ # resp.category_properties.tags #=> Array
671
+ # resp.category_properties.tags[0].key #=> String
672
+ # resp.category_properties.tags[0].value #=> String
653
673
  # resp.category_properties.input_type #=> String, one of "REAL_TIME", "POST_CALL"
654
674
  #
655
675
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategory AWS API Documentation
@@ -1505,6 +1525,9 @@ module Aws::TranscribeService
1505
1525
  # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
1506
1526
  # resp.category_properties.create_time #=> Time
1507
1527
  # resp.category_properties.last_update_time #=> Time
1528
+ # resp.category_properties.tags #=> Array
1529
+ # resp.category_properties.tags[0].key #=> String
1530
+ # resp.category_properties.tags[0].value #=> String
1508
1531
  # resp.category_properties.input_type #=> String, one of "REAL_TIME", "POST_CALL"
1509
1532
  #
1510
1533
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategory AWS API Documentation
@@ -1587,6 +1610,9 @@ module Aws::TranscribeService
1587
1610
  # resp.call_analytics_job.channel_definitions #=> Array
1588
1611
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1589
1612
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
1613
+ # resp.call_analytics_job.tags #=> Array
1614
+ # resp.call_analytics_job.tags[0].key #=> String
1615
+ # resp.call_analytics_job.tags[0].value #=> String
1590
1616
  #
1591
1617
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJob AWS API Documentation
1592
1618
  #
@@ -2023,6 +2049,9 @@ module Aws::TranscribeService
2023
2049
  # resp.categories[0].rules[0].sentiment_filter.negate #=> Boolean
2024
2050
  # resp.categories[0].create_time #=> Time
2025
2051
  # resp.categories[0].last_update_time #=> Time
2052
+ # resp.categories[0].tags #=> Array
2053
+ # resp.categories[0].tags[0].key #=> String
2054
+ # resp.categories[0].tags[0].value #=> String
2026
2055
  # resp.categories[0].input_type #=> String, one of "REAL_TIME", "POST_CALL"
2027
2056
  #
2028
2057
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategories AWS API Documentation
@@ -2790,6 +2819,17 @@ module Aws::TranscribeService
2790
2819
  # vocabulary filters, and custom vocabularies to your Call Analytics
2791
2820
  # job.
2792
2821
  #
2822
+ # @option params [Array<Types::Tag>] :tags
2823
+ # Adds one or more custom tags, each in the form of a key:value pair, to
2824
+ # a new call analytics job at the time you start this new job.
2825
+ #
2826
+ # To learn more about using tags with Amazon Transcribe, refer to
2827
+ # [Tagging resources][1].
2828
+ #
2829
+ #
2830
+ #
2831
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
2832
+ #
2793
2833
  # @option params [Array<Types::ChannelDefinition>] :channel_definitions
2794
2834
  # Makes it possible to specify which speaker is on which channel. For
2795
2835
  # example, if your agent is the first participant to speak, you would
@@ -2834,6 +2874,12 @@ module Aws::TranscribeService
2834
2874
  # generate_abstractive_summary: false, # required
2835
2875
  # },
2836
2876
  # },
2877
+ # tags: [
2878
+ # {
2879
+ # key: "TagKey", # required
2880
+ # value: "TagValue", # required
2881
+ # },
2882
+ # ],
2837
2883
  # channel_definitions: [
2838
2884
  # {
2839
2885
  # channel_id: 1,
@@ -2881,6 +2927,9 @@ module Aws::TranscribeService
2881
2927
  # resp.call_analytics_job.channel_definitions #=> Array
2882
2928
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2883
2929
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
2930
+ # resp.call_analytics_job.tags #=> Array
2931
+ # resp.call_analytics_job.tags[0].key #=> String
2932
+ # resp.call_analytics_job.tags[0].value #=> String
2884
2933
  #
2885
2934
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartCallAnalyticsJob AWS API Documentation
2886
2935
  #
@@ -4208,6 +4257,9 @@ module Aws::TranscribeService
4208
4257
  # resp.category_properties.rules[0].sentiment_filter.negate #=> Boolean
4209
4258
  # resp.category_properties.create_time #=> Time
4210
4259
  # resp.category_properties.last_update_time #=> Time
4260
+ # resp.category_properties.tags #=> Array
4261
+ # resp.category_properties.tags[0].key #=> String
4262
+ # resp.category_properties.tags[0].value #=> String
4211
4263
  # resp.category_properties.input_type #=> String, one of "REAL_TIME", "POST_CALL"
4212
4264
  #
4213
4265
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategory AWS API Documentation
@@ -4481,7 +4533,7 @@ module Aws::TranscribeService
4481
4533
  tracer: tracer
4482
4534
  )
4483
4535
  context[:gem_name] = 'aws-sdk-transcribeservice'
4484
- context[:gem_version] = '1.109.0'
4536
+ context[:gem_version] = '1.111.0'
4485
4537
  Seahorse::Client::Request.new(handlers, context)
4486
4538
  end
4487
4539
 
@@ -254,6 +254,7 @@ module Aws::TranscribeService
254
254
  CallAnalyticsJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
255
255
  CallAnalyticsJob.add_member(:settings, Shapes::ShapeRef.new(shape: CallAnalyticsJobSettings, location_name: "Settings"))
256
256
  CallAnalyticsJob.add_member(:channel_definitions, Shapes::ShapeRef.new(shape: ChannelDefinitions, location_name: "ChannelDefinitions"))
257
+ CallAnalyticsJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
257
258
  CallAnalyticsJob.struct_class = Types::CallAnalyticsJob
258
259
 
259
260
  CallAnalyticsJobDetails.add_member(:skipped, Shapes::ShapeRef.new(shape: CallAnalyticsSkippedFeatureList, location_name: "Skipped"))
@@ -292,6 +293,7 @@ module Aws::TranscribeService
292
293
  CategoryProperties.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, location_name: "Rules"))
293
294
  CategoryProperties.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
294
295
  CategoryProperties.add_member(:last_update_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdateTime"))
296
+ CategoryProperties.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
295
297
  CategoryProperties.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
296
298
  CategoryProperties.struct_class = Types::CategoryProperties
297
299
 
@@ -313,6 +315,7 @@ module Aws::TranscribeService
313
315
 
314
316
  CreateCallAnalyticsCategoryRequest.add_member(:category_name, Shapes::ShapeRef.new(shape: CategoryName, required: true, location_name: "CategoryName"))
315
317
  CreateCallAnalyticsCategoryRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "Rules"))
318
+ CreateCallAnalyticsCategoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
316
319
  CreateCallAnalyticsCategoryRequest.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
317
320
  CreateCallAnalyticsCategoryRequest.struct_class = Types::CreateCallAnalyticsCategoryRequest
318
321
 
@@ -779,6 +782,7 @@ module Aws::TranscribeService
779
782
  StartCallAnalyticsJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
780
783
  StartCallAnalyticsJobRequest.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
781
784
  StartCallAnalyticsJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: CallAnalyticsJobSettings, location_name: "Settings"))
785
+ StartCallAnalyticsJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
782
786
  StartCallAnalyticsJobRequest.add_member(:channel_definitions, Shapes::ShapeRef.new(shape: ChannelDefinitions, location_name: "ChannelDefinitions"))
783
787
  StartCallAnalyticsJobRequest.struct_class = Types::StartCallAnalyticsJobRequest
784
788
 
@@ -52,15 +52,18 @@ module Aws::TranscribeService
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,478 +12,9 @@ module Aws::TranscribeService
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreateCallAnalyticsCategory
16
- def self.build(context)
17
- Aws::TranscribeService::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class CreateLanguageModel
27
- def self.build(context)
28
- Aws::TranscribeService::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateMedicalVocabulary
38
- def self.build(context)
39
- Aws::TranscribeService::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class CreateVocabulary
49
- def self.build(context)
50
- Aws::TranscribeService::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class CreateVocabularyFilter
60
- def self.build(context)
61
- Aws::TranscribeService::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class DeleteCallAnalyticsCategory
71
- def self.build(context)
72
- Aws::TranscribeService::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class DeleteCallAnalyticsJob
82
- def self.build(context)
83
- Aws::TranscribeService::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class DeleteLanguageModel
93
- def self.build(context)
94
- Aws::TranscribeService::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class DeleteMedicalScribeJob
104
- def self.build(context)
105
- Aws::TranscribeService::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class DeleteMedicalTranscriptionJob
115
- def self.build(context)
116
- Aws::TranscribeService::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class DeleteMedicalVocabulary
126
- def self.build(context)
127
- Aws::TranscribeService::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class DeleteTranscriptionJob
137
- def self.build(context)
138
- Aws::TranscribeService::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class DeleteVocabulary
148
- def self.build(context)
149
- Aws::TranscribeService::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class DeleteVocabularyFilter
159
- def self.build(context)
160
- Aws::TranscribeService::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class DescribeLanguageModel
170
- def self.build(context)
171
- Aws::TranscribeService::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class GetCallAnalyticsCategory
181
- def self.build(context)
182
- Aws::TranscribeService::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class GetCallAnalyticsJob
192
- def self.build(context)
193
- Aws::TranscribeService::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class GetMedicalScribeJob
203
- def self.build(context)
204
- Aws::TranscribeService::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class GetMedicalTranscriptionJob
214
- def self.build(context)
215
- Aws::TranscribeService::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class GetMedicalVocabulary
225
- def self.build(context)
226
- Aws::TranscribeService::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class GetTranscriptionJob
236
- def self.build(context)
237
- Aws::TranscribeService::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class GetVocabulary
247
- def self.build(context)
248
- Aws::TranscribeService::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class GetVocabularyFilter
258
- def self.build(context)
259
- Aws::TranscribeService::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class ListCallAnalyticsCategories
269
- def self.build(context)
270
- Aws::TranscribeService::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
- class ListCallAnalyticsJobs
280
- def self.build(context)
281
- Aws::TranscribeService::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
288
- end
289
-
290
- class ListLanguageModels
291
- def self.build(context)
292
- Aws::TranscribeService::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
299
- end
300
-
301
- class ListMedicalScribeJobs
302
- def self.build(context)
303
- Aws::TranscribeService::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class ListMedicalTranscriptionJobs
313
- def self.build(context)
314
- Aws::TranscribeService::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class ListMedicalVocabularies
324
- def self.build(context)
325
- Aws::TranscribeService::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class ListTagsForResource
335
- def self.build(context)
336
- Aws::TranscribeService::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class ListTranscriptionJobs
346
- def self.build(context)
347
- Aws::TranscribeService::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class ListVocabularies
357
- def self.build(context)
358
- Aws::TranscribeService::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
15
 
367
- class ListVocabularyFilters
368
- def self.build(context)
369
- Aws::TranscribeService::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::TranscribeService::EndpointParameters.create(context.config)
376
18
  end
377
-
378
- class StartCallAnalyticsJob
379
- def self.build(context)
380
- Aws::TranscribeService::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class StartMedicalScribeJob
390
- def self.build(context)
391
- Aws::TranscribeService::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class StartMedicalTranscriptionJob
401
- def self.build(context)
402
- Aws::TranscribeService::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class StartTranscriptionJob
412
- def self.build(context)
413
- Aws::TranscribeService::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
- class TagResource
423
- def self.build(context)
424
- Aws::TranscribeService::EndpointParameters.new(
425
- region: context.config.region,
426
- use_dual_stack: context.config.use_dualstack_endpoint,
427
- use_fips: context.config.use_fips_endpoint,
428
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
429
- )
430
- end
431
- end
432
-
433
- class UntagResource
434
- def self.build(context)
435
- Aws::TranscribeService::EndpointParameters.new(
436
- region: context.config.region,
437
- use_dual_stack: context.config.use_dualstack_endpoint,
438
- use_fips: context.config.use_fips_endpoint,
439
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
440
- )
441
- end
442
- end
443
-
444
- class UpdateCallAnalyticsCategory
445
- def self.build(context)
446
- Aws::TranscribeService::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
453
- end
454
-
455
- class UpdateMedicalVocabulary
456
- def self.build(context)
457
- Aws::TranscribeService::EndpointParameters.new(
458
- region: context.config.region,
459
- use_dual_stack: context.config.use_dualstack_endpoint,
460
- use_fips: context.config.use_fips_endpoint,
461
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
462
- )
463
- end
464
- end
465
-
466
- class UpdateVocabulary
467
- def self.build(context)
468
- Aws::TranscribeService::EndpointParameters.new(
469
- region: context.config.region,
470
- use_dual_stack: context.config.use_dualstack_endpoint,
471
- use_fips: context.config.use_fips_endpoint,
472
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
473
- )
474
- end
475
- end
476
-
477
- class UpdateVocabularyFilter
478
- def self.build(context)
479
- Aws::TranscribeService::EndpointParameters.new(
480
- region: context.config.region,
481
- use_dual_stack: context.config.use_dualstack_endpoint,
482
- use_fips: context.config.use_fips_endpoint,
483
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
484
- )
485
- end
486
- end
487
-
488
19
  end
489
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::TranscribeService::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,97 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_call_analytics_category
74
- Aws::TranscribeService::Endpoints::CreateCallAnalyticsCategory.build(context)
75
- when :create_language_model
76
- Aws::TranscribeService::Endpoints::CreateLanguageModel.build(context)
77
- when :create_medical_vocabulary
78
- Aws::TranscribeService::Endpoints::CreateMedicalVocabulary.build(context)
79
- when :create_vocabulary
80
- Aws::TranscribeService::Endpoints::CreateVocabulary.build(context)
81
- when :create_vocabulary_filter
82
- Aws::TranscribeService::Endpoints::CreateVocabularyFilter.build(context)
83
- when :delete_call_analytics_category
84
- Aws::TranscribeService::Endpoints::DeleteCallAnalyticsCategory.build(context)
85
- when :delete_call_analytics_job
86
- Aws::TranscribeService::Endpoints::DeleteCallAnalyticsJob.build(context)
87
- when :delete_language_model
88
- Aws::TranscribeService::Endpoints::DeleteLanguageModel.build(context)
89
- when :delete_medical_scribe_job
90
- Aws::TranscribeService::Endpoints::DeleteMedicalScribeJob.build(context)
91
- when :delete_medical_transcription_job
92
- Aws::TranscribeService::Endpoints::DeleteMedicalTranscriptionJob.build(context)
93
- when :delete_medical_vocabulary
94
- Aws::TranscribeService::Endpoints::DeleteMedicalVocabulary.build(context)
95
- when :delete_transcription_job
96
- Aws::TranscribeService::Endpoints::DeleteTranscriptionJob.build(context)
97
- when :delete_vocabulary
98
- Aws::TranscribeService::Endpoints::DeleteVocabulary.build(context)
99
- when :delete_vocabulary_filter
100
- Aws::TranscribeService::Endpoints::DeleteVocabularyFilter.build(context)
101
- when :describe_language_model
102
- Aws::TranscribeService::Endpoints::DescribeLanguageModel.build(context)
103
- when :get_call_analytics_category
104
- Aws::TranscribeService::Endpoints::GetCallAnalyticsCategory.build(context)
105
- when :get_call_analytics_job
106
- Aws::TranscribeService::Endpoints::GetCallAnalyticsJob.build(context)
107
- when :get_medical_scribe_job
108
- Aws::TranscribeService::Endpoints::GetMedicalScribeJob.build(context)
109
- when :get_medical_transcription_job
110
- Aws::TranscribeService::Endpoints::GetMedicalTranscriptionJob.build(context)
111
- when :get_medical_vocabulary
112
- Aws::TranscribeService::Endpoints::GetMedicalVocabulary.build(context)
113
- when :get_transcription_job
114
- Aws::TranscribeService::Endpoints::GetTranscriptionJob.build(context)
115
- when :get_vocabulary
116
- Aws::TranscribeService::Endpoints::GetVocabulary.build(context)
117
- when :get_vocabulary_filter
118
- Aws::TranscribeService::Endpoints::GetVocabularyFilter.build(context)
119
- when :list_call_analytics_categories
120
- Aws::TranscribeService::Endpoints::ListCallAnalyticsCategories.build(context)
121
- when :list_call_analytics_jobs
122
- Aws::TranscribeService::Endpoints::ListCallAnalyticsJobs.build(context)
123
- when :list_language_models
124
- Aws::TranscribeService::Endpoints::ListLanguageModels.build(context)
125
- when :list_medical_scribe_jobs
126
- Aws::TranscribeService::Endpoints::ListMedicalScribeJobs.build(context)
127
- when :list_medical_transcription_jobs
128
- Aws::TranscribeService::Endpoints::ListMedicalTranscriptionJobs.build(context)
129
- when :list_medical_vocabularies
130
- Aws::TranscribeService::Endpoints::ListMedicalVocabularies.build(context)
131
- when :list_tags_for_resource
132
- Aws::TranscribeService::Endpoints::ListTagsForResource.build(context)
133
- when :list_transcription_jobs
134
- Aws::TranscribeService::Endpoints::ListTranscriptionJobs.build(context)
135
- when :list_vocabularies
136
- Aws::TranscribeService::Endpoints::ListVocabularies.build(context)
137
- when :list_vocabulary_filters
138
- Aws::TranscribeService::Endpoints::ListVocabularyFilters.build(context)
139
- when :start_call_analytics_job
140
- Aws::TranscribeService::Endpoints::StartCallAnalyticsJob.build(context)
141
- when :start_medical_scribe_job
142
- Aws::TranscribeService::Endpoints::StartMedicalScribeJob.build(context)
143
- when :start_medical_transcription_job
144
- Aws::TranscribeService::Endpoints::StartMedicalTranscriptionJob.build(context)
145
- when :start_transcription_job
146
- Aws::TranscribeService::Endpoints::StartTranscriptionJob.build(context)
147
- when :tag_resource
148
- Aws::TranscribeService::Endpoints::TagResource.build(context)
149
- when :untag_resource
150
- Aws::TranscribeService::Endpoints::UntagResource.build(context)
151
- when :update_call_analytics_category
152
- Aws::TranscribeService::Endpoints::UpdateCallAnalyticsCategory.build(context)
153
- when :update_medical_vocabulary
154
- Aws::TranscribeService::Endpoints::UpdateMedicalVocabulary.build(context)
155
- when :update_vocabulary
156
- Aws::TranscribeService::Endpoints::UpdateVocabulary.build(context)
157
- when :update_vocabulary_filter
158
- Aws::TranscribeService::Endpoints::UpdateVocabularyFilter.build(context)
159
- end
160
- end
161
70
  end
162
71
 
163
72
  def add_handlers(handlers, _config)
@@ -247,6 +247,11 @@ module Aws::TranscribeService
247
247
  # Indicates which speaker is on which channel.
248
248
  # @return [Array<Types::ChannelDefinition>]
249
249
  #
250
+ # @!attribute [rw] tags
251
+ # The tags, each in the form of a key:value pair, assigned to the
252
+ # specified call analytics job.
253
+ # @return [Array<Types::Tag>]
254
+ #
250
255
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CallAnalyticsJob AWS API Documentation
251
256
  #
252
257
  class CallAnalyticsJob < Struct.new(
@@ -265,7 +270,8 @@ module Aws::TranscribeService
265
270
  :data_access_role_arn,
266
271
  :identified_language_score,
267
272
  :settings,
268
- :channel_definitions)
273
+ :channel_definitions,
274
+ :tags)
269
275
  SENSITIVE = []
270
276
  include Aws::Structure
271
277
  end
@@ -561,6 +567,11 @@ module Aws::TranscribeService
561
567
  # UTC-7 on May 5, 2022.
562
568
  # @return [Time]
563
569
  #
570
+ # @!attribute [rw] tags
571
+ # The tags, each in the form of a key:value pair, assigned to the
572
+ # specified call analytics category.
573
+ # @return [Array<Types::Tag>]
574
+ #
564
575
  # @!attribute [rw] input_type
565
576
  # The input type associated with the specified category. `POST_CALL`
566
577
  # refers to a category that is applied to batch transcriptions;
@@ -575,6 +586,7 @@ module Aws::TranscribeService
575
586
  :rules,
576
587
  :create_time,
577
588
  :last_update_time,
589
+ :tags,
578
590
  :input_type)
579
591
  SENSITIVE = []
580
592
  include Aws::Structure
@@ -679,6 +691,18 @@ module Aws::TranscribeService
679
691
  # 30 seconds of the call.
680
692
  # @return [Array<Types::Rule>]
681
693
  #
694
+ # @!attribute [rw] tags
695
+ # Adds one or more custom tags, each in the form of a key:value pair,
696
+ # to a new call analytics category at the time you start this new job.
697
+ #
698
+ # To learn more about using tags with Amazon Transcribe, refer to
699
+ # [Tagging resources][1].
700
+ #
701
+ #
702
+ #
703
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
704
+ # @return [Array<Types::Tag>]
705
+ #
682
706
  # @!attribute [rw] input_type
683
707
  # Choose whether you want to create a real-time or a post-call
684
708
  # category for your Call Analytics transcription.
@@ -700,6 +724,7 @@ module Aws::TranscribeService
700
724
  class CreateCallAnalyticsCategoryRequest < Struct.new(
701
725
  :category_name,
702
726
  :rules,
727
+ :tags,
703
728
  :input_type)
704
729
  SENSITIVE = []
705
730
  include Aws::Structure
@@ -4009,6 +4034,18 @@ module Aws::TranscribeService
4009
4034
  # job.
4010
4035
  # @return [Types::CallAnalyticsJobSettings]
4011
4036
  #
4037
+ # @!attribute [rw] tags
4038
+ # Adds one or more custom tags, each in the form of a key:value pair,
4039
+ # to a new call analytics job at the time you start this new job.
4040
+ #
4041
+ # To learn more about using tags with Amazon Transcribe, refer to
4042
+ # [Tagging resources][1].
4043
+ #
4044
+ #
4045
+ #
4046
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
4047
+ # @return [Array<Types::Tag>]
4048
+ #
4012
4049
  # @!attribute [rw] channel_definitions
4013
4050
  # Makes it possible to specify which speaker is on which channel. For
4014
4051
  # example, if your agent is the first participant to speak, you would
@@ -4026,6 +4063,7 @@ module Aws::TranscribeService
4026
4063
  :output_encryption_kms_key_id,
4027
4064
  :data_access_role_arn,
4028
4065
  :settings,
4066
+ :tags,
4029
4067
  :channel_definitions)
4030
4068
  SENSITIVE = []
4031
4069
  include Aws::Structure
@@ -54,7 +54,7 @@ module Aws::TranscribeService
54
54
  autoload :EndpointProvider, 'aws-sdk-transcribeservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-transcribeservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.109.0'
57
+ GEM_VERSION = '1.111.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -155,6 +155,12 @@ module Aws
155
155
  }?
156
156
  },
157
157
  ],
158
+ ?tags: Array[
159
+ {
160
+ key: ::String,
161
+ value: ::String
162
+ },
163
+ ],
158
164
  ?input_type: ("REAL_TIME" | "POST_CALL")
159
165
  ) -> _CreateCallAnalyticsCategoryResponseSuccess
160
166
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCallAnalyticsCategoryResponseSuccess
@@ -591,6 +597,12 @@ module Aws
591
597
  generate_abstractive_summary: bool
592
598
  }?
593
599
  },
600
+ ?tags: Array[
601
+ {
602
+ key: ::String,
603
+ value: ::String
604
+ },
605
+ ],
594
606
  ?channel_definitions: Array[
595
607
  {
596
608
  channel_id: ::Integer?,
data/sig/types.rbs CHANGED
@@ -38,6 +38,7 @@ module Aws::TranscribeService
38
38
  attr_accessor identified_language_score: ::Float
39
39
  attr_accessor settings: Types::CallAnalyticsJobSettings
40
40
  attr_accessor channel_definitions: ::Array[Types::ChannelDefinition]
41
+ attr_accessor tags: ::Array[Types::Tag]
41
42
  SENSITIVE: []
42
43
  end
43
44
 
@@ -82,6 +83,7 @@ module Aws::TranscribeService
82
83
  attr_accessor rules: ::Array[Types::Rule]
83
84
  attr_accessor create_time: ::Time
84
85
  attr_accessor last_update_time: ::Time
86
+ attr_accessor tags: ::Array[Types::Tag]
85
87
  attr_accessor input_type: ("REAL_TIME" | "POST_CALL")
86
88
  SENSITIVE: []
87
89
  end
@@ -107,6 +109,7 @@ module Aws::TranscribeService
107
109
  class CreateCallAnalyticsCategoryRequest
108
110
  attr_accessor category_name: ::String
109
111
  attr_accessor rules: ::Array[Types::Rule]
112
+ attr_accessor tags: ::Array[Types::Tag]
110
113
  attr_accessor input_type: ("REAL_TIME" | "POST_CALL")
111
114
  SENSITIVE: []
112
115
  end
@@ -719,6 +722,7 @@ module Aws::TranscribeService
719
722
  attr_accessor output_encryption_kms_key_id: ::String
720
723
  attr_accessor data_access_role_arn: ::String
721
724
  attr_accessor settings: Types::CallAnalyticsJobSettings
725
+ attr_accessor tags: ::Array[Types::Tag]
722
726
  attr_accessor channel_definitions: ::Array[Types::ChannelDefinition]
723
727
  SENSITIVE: []
724
728
  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.109.0
4
+ version: 1.111.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2025-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement