aws-sdk-transcribestreamingservice 1.66.0 → 1.67.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: a081ad52400556316f3a18e6022ca33f5edbf7a57addc8164554b064b67577e7
4
- data.tar.gz: 2ee569c5e0524f5b746b19e69cc4fc6cbf1a37f990f971785a9a5f92eb87d8cd
3
+ metadata.gz: 5523acf9ee16cc40b3852cf7fbcf9a55c995855a1ef8fc05290bf1fa553d120b
4
+ data.tar.gz: 06026c14ca13320b8df10b96027a7fb1fce00e403d11b008ce2538bfa6a4fc2b
5
5
  SHA512:
6
- metadata.gz: fb42a9544ad514a5e1fa3e17c2dc11fbdd140d1a59d7f137483c0a42285cfb01431d6cda6dc0fbd14912d31f1f8e15582b6523011719aadcd25f9e51e8ec4f73
7
- data.tar.gz: d8c9104dadff990f9c8f710893e05487f33ecd1d5fd608a4c69bc7192e76e94e34fd729f4eacf674960506173c4c9d22cbef6a9a3bc858acc6d7b6fff070d0e8
6
+ metadata.gz: 8f2db38a4fbf75534d59ff248c94e805a8212e644d99deb9e97f6532e513e3f28fdab564785f2fdd4dc1afbed85140a0e7b1a6355adb4e6cae494976a945285b
7
+ data.tar.gz: b547766d0a02a0059cac98c9f38846a034e7d77d7b91a7ba370eb6194c6d7150a5965d2a2626ab131f7608bf7ee3629a22e14f3cd24bdb3ccc3dad298183a1f9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2024-09-11)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.66.0 (2024-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -1745,7 +1745,7 @@ module Aws::TranscribeStreamingService
1745
1745
  tracer: tracer
1746
1746
  )
1747
1747
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
1748
- context[:gem_version] = '1.66.0'
1748
+ context[:gem_version] = '1.67.0'
1749
1749
  Seahorse::Client::Request.new(handlers, context)
1750
1750
  end
1751
1751
 
@@ -472,7 +472,7 @@ module Aws::TranscribeStreamingService
472
472
  tracer: tracer
473
473
  )
474
474
  context[:gem_name] = 'aws-sdk-transcribestreamingservice'
475
- context[:gem_version] = '1.66.0'
475
+ context[:gem_version] = '1.67.0'
476
476
  Seahorse::Client::Request.new(handlers, context)
477
477
  end
478
478
 
@@ -14,42 +14,33 @@ module Aws::TranscribeStreamingService
14
14
 
15
15
  class StartCallAnalyticsStreamTranscription
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::TranscribeStreamingService::EndpointParameters.new(
21
18
  region: context.config.region,
22
19
  use_dual_stack: context.config.use_dualstack_endpoint,
23
20
  use_fips: context.config.use_fips_endpoint,
24
- endpoint: endpoint,
21
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
25
22
  )
26
23
  end
27
24
  end
28
25
 
29
26
  class StartMedicalStreamTranscription
30
27
  def self.build(context)
31
- unless context.config.regional_endpoint
32
- endpoint = context.config.endpoint.to_s
33
- end
34
28
  Aws::TranscribeStreamingService::EndpointParameters.new(
35
29
  region: context.config.region,
36
30
  use_dual_stack: context.config.use_dualstack_endpoint,
37
31
  use_fips: context.config.use_fips_endpoint,
38
- endpoint: endpoint,
32
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
39
33
  )
40
34
  end
41
35
  end
42
36
 
43
37
  class StartStreamTranscription
44
38
  def self.build(context)
45
- unless context.config.regional_endpoint
46
- endpoint = context.config.endpoint.to_s
47
- end
48
39
  Aws::TranscribeStreamingService::EndpointParameters.new(
49
40
  region: context.config.region,
50
41
  use_dual_stack: context.config.use_dualstack_endpoint,
51
42
  use_fips: context.config.use_fips_endpoint,
52
- endpoint: endpoint,
43
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
53
44
  )
54
45
  end
55
46
  end
@@ -40,11 +40,20 @@ module Aws::TranscribeStreamingService
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
55
+ end
56
+
48
57
  def apply_endpoint_headers(context, headers)
49
58
  headers.each do |key, values|
50
59
  value = values
@@ -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.66.0'
57
+ GEM_VERSION = '1.67.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.66.0
4
+ version: 1.67.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-10 00:00:00.000000000 Z
11
+ date: 2024-09-11 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.203.0
22
+ version: 3.205.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.203.0
32
+ version: 3.205.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement