aws-sdk-transcribestreamingservice 1.45.0 → 1.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13c39003a528bb9d5e46520346fb92e2ee6c6cb1955a69b673c35855b083d99d
4
- data.tar.gz: 96918fc33576873735890306ce0825283005ca7176c6bac64ea0365426e32295
3
+ metadata.gz: 5ddffcae0c324d67b4b6af46536e2bef70f43e36058bd67188d441fe8c11550d
4
+ data.tar.gz: b1d33c6d9c90eaf302c16e45fbcd0aa14e70e02abe21e762cd346baccb6fcece
5
5
  SHA512:
6
- metadata.gz: a7d6224b5653da93fbce581cd9f65cbe414ee5c4b764c76367bf21ad47f7124d55171d613c3d19d730d2be4696b8066e826494b515303d408fb947d59c97fbd7
7
- data.tar.gz: b1608815851864b83658695bf358990d66a1fb57755b2cbc9ed818efe9584ad9a7508bcc0490aece5a2bb68684be0aaea92e5f1986dd4ca3e06965a25f59824a
6
+ metadata.gz: 2678ed0b27e6906a094b47673bb37719469b08eeddd86184f330a9d14e01610f14b38c683aba290cd3c114ae7f756d026e54e64d4a1dc8a8805ae010ac748baa
7
+ data.tar.gz: f1e407492143b88822586890a5f840c0b7acf9b0d3250fb46eec39cd499e493ee18683f2c69998a928c3dd3f1fce9b826fa1d2e6cb419fbd16c90cbc51a6b133
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.45.0 (2022-11-28)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.46.0
@@ -1627,7 +1627,7 @@ module Aws::TranscribeStreamingService
1627
1627
  http_response: Seahorse::Client::Http::AsyncResponse.new,
1628
1628
  config: config)
1629
1629
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
1630
- context[:gem_version] = '1.45.0'
1630
+ context[:gem_version] = '1.46.0'
1631
1631
  Seahorse::Client::Request.new(handlers, context)
1632
1632
  end
1633
1633
 
@@ -392,7 +392,7 @@ module Aws::TranscribeStreamingService
392
392
  params: params,
393
393
  config: config)
394
394
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
395
- context[:gem_version] = '1.45.0'
395
+ context[:gem_version] = '1.46.0'
396
396
  Seahorse::Client::Request.new(handlers, context)
397
397
  end
398
398
 
@@ -9,124 +9,55 @@
9
9
 
10
10
  module Aws::TranscribeStreamingService
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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ 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"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-ca-central-1")
36
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
37
+ end
38
+ if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-east-1")
39
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
40
+ end
41
+ if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-east-2")
42
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
43
+ end
44
+ if Aws::Endpoints::Matchers.string_equals?(region, "transcribestreaming-us-west-2")
45
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
46
+ end
47
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
48
+ end
49
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
50
+ end
51
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
52
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
53
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
54
+ end
55
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
56
+ end
57
+ return Aws::Endpoints::Endpoint.new(url: "https://transcribestreaming.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
58
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
59
+ raise ArgumentError, 'No endpoint could be resolved'
24
60
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
61
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
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yBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0
125
- eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7
126
- InVybCI6Imh0dHBzOi8vdHJhbnNjcmliZXN0cmVhbWluZy57UmVnaW9ufS57
127
- UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwi
128
- aGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
129
-
130
- JSON
131
62
  end
132
63
  end
@@ -47,13 +47,6 @@ module Aws::TranscribeStreamingService
47
47
  #
48
48
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/event-stream.html
49
49
  #
50
- # @note When making an API call, you may pass AudioEvent
51
- # data as a hash:
52
- #
53
- # {
54
- # audio_chunk: "data",
55
- # }
56
- #
57
50
  # @!attribute [rw] audio_chunk
58
51
  # An audio blob that contains the next part of the audio that you want
59
52
  # to transcribe. The maximum audio chunk size is 32 KB.
@@ -223,14 +216,6 @@ module Aws::TranscribeStreamingService
223
216
  # `ParticipantRole` to `AGENT` (to indicate that it's the agent
224
217
  # speaking).
225
218
  #
226
- # @note When making an API call, you may pass ChannelDefinition
227
- # data as a hash:
228
- #
229
- # {
230
- # channel_id: 1, # required
231
- # participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
232
- # }
233
- #
234
219
  # @!attribute [rw] channel_id
235
220
  # Specify the audio channel you want to define.
236
221
  # @return [Integer]
@@ -277,24 +262,6 @@ module Aws::TranscribeStreamingService
277
262
  # Allows you to set audio channel definitions and post-call analytics
278
263
  # settings.
279
264
  #
280
- # @note When making an API call, you may pass ConfigurationEvent
281
- # data as a hash:
282
- #
283
- # {
284
- # channel_definitions: [
285
- # {
286
- # channel_id: 1, # required
287
- # participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
288
- # },
289
- # ],
290
- # post_call_analytics_settings: {
291
- # output_location: "String", # required
292
- # data_access_role_arn: "String", # required
293
- # content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
294
- # output_encryption_kms_key_id: "String",
295
- # },
296
- # }
297
- #
298
265
  # @!attribute [rw] channel_definitions
299
266
  # Indicates which speaker is on which audio channel.
300
267
  # @return [Array<Types::ChannelDefinition>]
@@ -754,16 +721,6 @@ module Aws::TranscribeStreamingService
754
721
  # `ContentRedactionOutput`, `DataAccessRoleArn`, and `OutputLocation`
755
722
  # are required fields.
756
723
  #
757
- # @note When making an API call, you may pass PostCallAnalyticsSettings
758
- # data as a hash:
759
- #
760
- # {
761
- # output_location: "String", # required
762
- # data_access_role_arn: "String", # required
763
- # content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
764
- # output_encryption_kms_key_id: "String",
765
- # }
766
- #
767
724
  # @!attribute [rw] output_location
768
725
  # The Amazon S3 location where you want your Call Analytics post-call
769
726
  # transcription output stored. You can use any of the following
@@ -926,26 +883,6 @@ module Aws::TranscribeStreamingService
926
883
  include Aws::Structure
927
884
  end
928
885
 
929
- # @note When making an API call, you may pass StartCallAnalyticsStreamTranscriptionRequest
930
- # data as a hash:
931
- #
932
- # {
933
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR
934
- # media_sample_rate_hertz: 1, # required
935
- # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
936
- # vocabulary_name: "VocabularyName",
937
- # session_id: "SessionId",
938
- # input_event_stream_hander: EventStreams::AudioStream.new,
939
- # vocabulary_filter_name: "VocabularyFilterName",
940
- # vocabulary_filter_method: "remove", # accepts remove, mask, tag
941
- # language_model_name: "ModelName",
942
- # enable_partial_results_stabilization: false,
943
- # partial_results_stability: "high", # accepts high, medium, low
944
- # content_identification_type: "PII", # accepts PII
945
- # content_redaction_type: "PII", # accepts PII
946
- # pii_entity_types: "PiiEntityTypes",
947
- # }
948
- #
949
886
  # @!attribute [rw] language_code
950
887
  # Specify the language code that represents the language spoken in
951
888
  # your audio.
@@ -1262,24 +1199,6 @@ module Aws::TranscribeStreamingService
1262
1199
  include Aws::Structure
1263
1200
  end
1264
1201
 
1265
- # @note When making an API call, you may pass StartMedicalStreamTranscriptionRequest
1266
- # data as a hash:
1267
- #
1268
- # {
1269
- # language_code: "en-US", # required, accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1270
- # media_sample_rate_hertz: 1, # required
1271
- # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
1272
- # vocabulary_name: "VocabularyName",
1273
- # specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE, CARDIOLOGY, NEUROLOGY, ONCOLOGY, RADIOLOGY, UROLOGY
1274
- # type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
1275
- # show_speaker_label: false,
1276
- # session_id: "SessionId",
1277
- # input_event_stream_hander: EventStreams::AudioStream.new,
1278
- # enable_channel_identification: false,
1279
- # number_of_channels: 1,
1280
- # content_identification_type: "PHI", # accepts PHI
1281
- # }
1282
- #
1283
1202
  # @!attribute [rw] language_code
1284
1203
  # Specify the language code that represents the language spoken in
1285
1204
  # your audio.
@@ -1492,34 +1411,6 @@ module Aws::TranscribeStreamingService
1492
1411
  include Aws::Structure
1493
1412
  end
1494
1413
 
1495
- # @note When making an API call, you may pass StartStreamTranscriptionRequest
1496
- # data as a hash:
1497
- #
1498
- # {
1499
- # language_code: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1500
- # media_sample_rate_hertz: 1, # required
1501
- # media_encoding: "pcm", # required, accepts pcm, ogg-opus, flac
1502
- # vocabulary_name: "VocabularyName",
1503
- # session_id: "SessionId",
1504
- # input_event_stream_hander: EventStreams::AudioStream.new,
1505
- # vocabulary_filter_name: "VocabularyFilterName",
1506
- # vocabulary_filter_method: "remove", # accepts remove, mask, tag
1507
- # show_speaker_label: false,
1508
- # enable_channel_identification: false,
1509
- # number_of_channels: 1,
1510
- # enable_partial_results_stabilization: false,
1511
- # partial_results_stability: "high", # accepts high, medium, low
1512
- # content_identification_type: "PII", # accepts PII
1513
- # content_redaction_type: "PII", # accepts PII
1514
- # pii_entity_types: "PiiEntityTypes",
1515
- # language_model_name: "ModelName",
1516
- # identify_language: false,
1517
- # language_options: "LanguageOptions",
1518
- # preferred_language: "en-US", # accepts en-US, en-GB, es-US, fr-CA, fr-FR, en-AU, it-IT, de-DE, pt-BR, ja-JP, ko-KR, zh-CN, hi-IN, th-TH
1519
- # vocabulary_names: "VocabularyNames",
1520
- # vocabulary_filter_names: "VocabularyFilterNames",
1521
- # }
1522
- #
1523
1414
  # @!attribute [rw] language_code
1524
1415
  # Specify the language code that represents the language spoken in
1525
1416
  # your audio.
@@ -2175,29 +2066,6 @@ module Aws::TranscribeStreamingService
2175
2066
  #
2176
2067
  # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html
2177
2068
  #
2178
- # @note When making an API call, you may pass AudioStream
2179
- # data as a hash:
2180
- #
2181
- # {
2182
- # audio_event: {
2183
- # audio_chunk: "data",
2184
- # },
2185
- # configuration_event: {
2186
- # channel_definitions: [
2187
- # {
2188
- # channel_id: 1, # required
2189
- # participant_role: "AGENT", # required, accepts AGENT, CUSTOMER
2190
- # },
2191
- # ],
2192
- # post_call_analytics_settings: {
2193
- # output_location: "String", # required
2194
- # data_access_role_arn: "String", # required
2195
- # content_redaction_output: "redacted", # accepts redacted, redacted_and_unredacted
2196
- # output_encryption_kms_key_id: "String",
2197
- # },
2198
- # },
2199
- # }
2200
- #
2201
2069
  # EventStream is an Enumerator of Events.
2202
2070
  # #event_types #=> Array, returns all modeled event types in the stream
2203
2071
  #
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-transcribestreamingservice/event_streams'
54
54
  # @!group service
55
55
  module Aws::TranscribeStreamingService
56
56
 
57
- GEM_VERSION = '1.45.0'
57
+ GEM_VERSION = '1.46.0'
58
58
 
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribestreamingservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.45.0
4
+ version: 1.46.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-11-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core