aws-sdk-transcribestreamingservice 1.56.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribestreamingservice/async_client.rb +109 -61
- data/lib/aws-sdk-transcribestreamingservice/client.rb +70 -46
- data/lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-transcribestreamingservice.rb +1 -1
- data/sig/client.rbs +205 -0
- data/sig/errors.rbs +16 -0
- data/sig/resource.rbs +82 -0
- data/sig/types.rbs +379 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 496123aa479126a65729a157962a10b188a73ddf2d0536d48080f8e4647c4e36
|
4
|
+
data.tar.gz: f330cbd00f231dd1d8fa371ad6949e85e8fe9ee215451c3b2e2f49684d81fdfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e926abbb6dc9553e10db5243bc40a6d1f8309de6467d430c3dc725071ae4eaba40407ce5ef129aa5c288ca4105194faaa30757635ba400c584f605de52323fb
|
7
|
+
data.tar.gz: e7b7c0ba8884933cb51b6dc3d4fabe7771eba321dafd099ee0d21d6a4966a9f9370fa48b2ccfe6262f464fa69dc4a8dc6916d15b288ca6220b7f451b3af6dc97
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.57.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.56.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -21,13 +21,13 @@ require 'aws-sdk-core/plugins/global_configuration.rb'
|
|
21
21
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
22
22
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
23
23
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
24
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
24
25
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
25
26
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
26
27
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
27
28
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
28
29
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
29
30
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
|
-
require 'aws-sdk-core/plugins/invocation_id.rb'
|
31
31
|
require 'aws-sdk-core/plugins/sign.rb'
|
32
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
33
|
require 'aws-sdk-core/plugins/event_stream_configuration.rb'
|
@@ -54,13 +54,13 @@ module Aws::TranscribeStreamingService
|
|
54
54
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
55
55
|
add_plugin(Aws::Plugins::StubResponses)
|
56
56
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
57
|
+
add_plugin(Aws::Plugins::InvocationId)
|
57
58
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
58
59
|
add_plugin(Aws::Plugins::HttpChecksum)
|
59
60
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
60
61
|
add_plugin(Aws::Plugins::RequestCompression)
|
61
62
|
add_plugin(Aws::Plugins::DefaultsMode)
|
62
63
|
add_plugin(Aws::Plugins::RecursionDetection)
|
63
|
-
add_plugin(Aws::Plugins::InvocationId)
|
64
64
|
add_plugin(Aws::Plugins::Sign)
|
65
65
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
66
66
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
@@ -147,10 +147,17 @@ module Aws::TranscribeStreamingService
|
|
147
147
|
# When set to 'true' the request body will not be compressed
|
148
148
|
# for supported operations.
|
149
149
|
#
|
150
|
-
# @option options [String] :endpoint
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
150
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
151
|
+
# Normally you should not configure the `:endpoint` option
|
152
|
+
# directly. This is normally constructed from the `:region`
|
153
|
+
# option. Configuring `:endpoint` is normally reserved for
|
154
|
+
# connecting to test or custom endpoints. The endpoint should
|
155
|
+
# be a URI formatted like:
|
156
|
+
#
|
157
|
+
# 'http://example.com'
|
158
|
+
# 'https://example.com'
|
159
|
+
# 'http://example.com:123'
|
160
|
+
#
|
154
161
|
#
|
155
162
|
# @option options [Proc] :event_stream_handler
|
156
163
|
# When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
|
@@ -282,6 +289,44 @@ module Aws::TranscribeStreamingService
|
|
282
289
|
# @option options [Aws::TranscribeStreamingService::EndpointProvider] :endpoint_provider
|
283
290
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::TranscribeStreamingService::EndpointParameters`
|
284
291
|
#
|
292
|
+
# @option options [Integer] :connection_read_timeout (60)
|
293
|
+
# Connection read timeout in seconds, defaults to 60 sec.
|
294
|
+
#
|
295
|
+
# @option options [Integer] :connection_timeout (60)
|
296
|
+
# Connection timeout in seconds, defaults to 60 sec.
|
297
|
+
#
|
298
|
+
# @option options [Boolean] :enable_alpn (false)
|
299
|
+
# Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
|
300
|
+
# Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
|
301
|
+
# side, please refer to service documentation.
|
302
|
+
#
|
303
|
+
# @option options [Boolean] :http_wire_trace (false)
|
304
|
+
# When `true`, HTTP2 debug output will be sent to the `:logger`.
|
305
|
+
#
|
306
|
+
# @option options [Integer] :max_concurrent_streams (100)
|
307
|
+
# Maximum concurrent streams used in HTTP2 connection, defaults to 100. Note that server may send back
|
308
|
+
# :settings_max_concurrent_streams value which will take priority when initializing new streams.
|
309
|
+
#
|
310
|
+
# @option options [Boolean] :raise_response_errors (true)
|
311
|
+
# Defaults to `true`, raises errors if exist when #wait or #join! is called upon async response.
|
312
|
+
#
|
313
|
+
# @option options [Integer] :read_chunk_size (1024)
|
314
|
+
#
|
315
|
+
# @option options [String] :ssl_ca_bundle
|
316
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
317
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_directory` or `:ssl_ca_bundle`
|
318
|
+
# the system default will be used if available.
|
319
|
+
#
|
320
|
+
# @option options [String] :ssl_ca_directory
|
321
|
+
# Full path of the directory that contains the unbundled SSL certificate authority
|
322
|
+
# files for verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
323
|
+
# `:ssl_ca_directory` the system default will be used if available.
|
324
|
+
#
|
325
|
+
# @option options [String] :ssl_ca_store
|
326
|
+
#
|
327
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
328
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
329
|
+
#
|
285
330
|
def initialize(*args)
|
286
331
|
unless Kernel.const_defined?("HTTP2")
|
287
332
|
raise "Must include http/2 gem to use AsyncClient instances."
|
@@ -506,19 +551,20 @@ module Aws::TranscribeStreamingService
|
|
506
551
|
#
|
507
552
|
# @example Bi-directional EventStream Operation Example
|
508
553
|
#
|
509
|
-
# You can signal input events after initial request is
|
510
|
-
#
|
511
|
-
#
|
554
|
+
# You can signal input events after the initial request is established. Events
|
555
|
+
# will be sent to the stream immediately once the stream connection is
|
556
|
+
# established successfully.
|
512
557
|
#
|
513
|
-
# To signal events, you can call #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
514
|
-
#
|
558
|
+
# To signal events, you can call the #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
559
|
+
# object. You must signal events before calling #wait or #join! on the async response.
|
515
560
|
#
|
516
561
|
# input_stream = Aws::TranscribeStreamingService::EventStreams::AudioStream.new
|
517
562
|
#
|
518
|
-
# async_resp = client.start_call_analytics_stream_transcription(
|
563
|
+
# async_resp = client.start_call_analytics_stream_transcription(
|
564
|
+
# # params input
|
519
565
|
# input_event_stream_handler: input_stream) do |out_stream|
|
520
566
|
#
|
521
|
-
# # register callbacks for events
|
567
|
+
# # register callbacks for events
|
522
568
|
# out_stream.on_utterance_event_event do |event|
|
523
569
|
# event # => Aws::TranscribeStreamingService::Types::UtteranceEvent
|
524
570
|
# end
|
@@ -542,25 +588,25 @@ module Aws::TranscribeStreamingService
|
|
542
588
|
# end
|
543
589
|
#
|
544
590
|
# end
|
545
|
-
# # =>
|
591
|
+
# # => Aws::Seahorse::Client::AsyncResponse
|
546
592
|
#
|
547
593
|
# # signal events
|
548
594
|
# input_stream.signal_audio_event_event( ... )
|
549
595
|
# input_stream.signal_configuration_event_event( ... )
|
550
596
|
#
|
551
|
-
# # make sure
|
597
|
+
# # make sure to signal :end_stream at the end
|
552
598
|
# input_stream.signal_end_stream
|
553
599
|
#
|
554
|
-
# # wait until stream is closed before finalizing sync response
|
600
|
+
# # wait until stream is closed before finalizing the sync response
|
555
601
|
# resp = async_resp.wait
|
556
|
-
# # Or close stream and
|
602
|
+
# # Or close the stream and finalize sync response immediately
|
557
603
|
# # resp = async_resp.join!
|
558
604
|
#
|
559
|
-
#
|
560
|
-
#
|
605
|
+
# You can also provide an Aws::TranscribeStreamingService::EventStreams::CallAnalyticsTranscriptResultStream object to register callbacks
|
606
|
+
# before initializing the request instead of processing from the request block.
|
561
607
|
#
|
562
608
|
# output_stream = Aws::TranscribeStreamingService::EventStreams::CallAnalyticsTranscriptResultStream.new
|
563
|
-
# # register callbacks for events
|
609
|
+
# # register callbacks for output events
|
564
610
|
# output_stream.on_utterance_event_event do |event|
|
565
611
|
# event # => Aws::TranscribeStreamingService::Types::UtteranceEvent
|
566
612
|
# end
|
@@ -591,15 +637,15 @@ module Aws::TranscribeStreamingService
|
|
591
637
|
# # event.error_message => String
|
592
638
|
# end
|
593
639
|
#
|
594
|
-
# async_resp = client.start_call_analytics_stream_transcription (
|
640
|
+
# async_resp = client.start_call_analytics_stream_transcription (
|
641
|
+
# # params input
|
595
642
|
# input_event_stream_handler: input_stream
|
596
643
|
# output_event_stream_handler: output_stream
|
597
644
|
# )
|
598
645
|
#
|
599
|
-
# resp = async_resp.
|
646
|
+
# resp = async_resp.join!
|
600
647
|
#
|
601
|
-
#
|
602
|
-
# iterate through events after response complete.
|
648
|
+
# You can also iterate through events after the response is complete.
|
603
649
|
#
|
604
650
|
# Events are available at resp.call_analytics_transcript_result_stream # => Enumerator
|
605
651
|
#
|
@@ -856,19 +902,20 @@ module Aws::TranscribeStreamingService
|
|
856
902
|
#
|
857
903
|
# @example Bi-directional EventStream Operation Example
|
858
904
|
#
|
859
|
-
# You can signal input events after initial request is
|
860
|
-
#
|
861
|
-
#
|
905
|
+
# You can signal input events after the initial request is established. Events
|
906
|
+
# will be sent to the stream immediately once the stream connection is
|
907
|
+
# established successfully.
|
862
908
|
#
|
863
|
-
# To signal events, you can call #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
864
|
-
#
|
909
|
+
# To signal events, you can call the #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
910
|
+
# object. You must signal events before calling #wait or #join! on the async response.
|
865
911
|
#
|
866
912
|
# input_stream = Aws::TranscribeStreamingService::EventStreams::AudioStream.new
|
867
913
|
#
|
868
|
-
# async_resp = client.start_medical_stream_transcription(
|
914
|
+
# async_resp = client.start_medical_stream_transcription(
|
915
|
+
# # params input
|
869
916
|
# input_event_stream_handler: input_stream) do |out_stream|
|
870
917
|
#
|
871
|
-
# # register callbacks for events
|
918
|
+
# # register callbacks for events
|
872
919
|
# out_stream.on_transcript_event_event do |event|
|
873
920
|
# event # => Aws::TranscribeStreamingService::Types::TranscriptEvent
|
874
921
|
# end
|
@@ -889,25 +936,25 @@ module Aws::TranscribeStreamingService
|
|
889
936
|
# end
|
890
937
|
#
|
891
938
|
# end
|
892
|
-
# # =>
|
939
|
+
# # => Aws::Seahorse::Client::AsyncResponse
|
893
940
|
#
|
894
941
|
# # signal events
|
895
942
|
# input_stream.signal_audio_event_event( ... )
|
896
943
|
# input_stream.signal_configuration_event_event( ... )
|
897
944
|
#
|
898
|
-
# # make sure
|
945
|
+
# # make sure to signal :end_stream at the end
|
899
946
|
# input_stream.signal_end_stream
|
900
947
|
#
|
901
|
-
# # wait until stream is closed before finalizing sync response
|
948
|
+
# # wait until stream is closed before finalizing the sync response
|
902
949
|
# resp = async_resp.wait
|
903
|
-
# # Or close stream and
|
950
|
+
# # Or close the stream and finalize sync response immediately
|
904
951
|
# # resp = async_resp.join!
|
905
952
|
#
|
906
|
-
#
|
907
|
-
#
|
953
|
+
# You can also provide an Aws::TranscribeStreamingService::EventStreams::MedicalTranscriptResultStream object to register callbacks
|
954
|
+
# before initializing the request instead of processing from the request block.
|
908
955
|
#
|
909
956
|
# output_stream = Aws::TranscribeStreamingService::EventStreams::MedicalTranscriptResultStream.new
|
910
|
-
# # register callbacks for events
|
957
|
+
# # register callbacks for output events
|
911
958
|
# output_stream.on_transcript_event_event do |event|
|
912
959
|
# event # => Aws::TranscribeStreamingService::Types::TranscriptEvent
|
913
960
|
# end
|
@@ -935,15 +982,15 @@ module Aws::TranscribeStreamingService
|
|
935
982
|
# # event.error_message => String
|
936
983
|
# end
|
937
984
|
#
|
938
|
-
# async_resp = client.start_medical_stream_transcription (
|
985
|
+
# async_resp = client.start_medical_stream_transcription (
|
986
|
+
# # params input
|
939
987
|
# input_event_stream_handler: input_stream
|
940
988
|
# output_event_stream_handler: output_stream
|
941
989
|
# )
|
942
990
|
#
|
943
|
-
# resp = async_resp.
|
991
|
+
# resp = async_resp.join!
|
944
992
|
#
|
945
|
-
#
|
946
|
-
# iterate through events after response complete.
|
993
|
+
# You can also iterate through events after the response is complete.
|
947
994
|
#
|
948
995
|
# Events are available at resp.transcript_result_stream # => Enumerator
|
949
996
|
#
|
@@ -1431,19 +1478,20 @@ module Aws::TranscribeStreamingService
|
|
1431
1478
|
#
|
1432
1479
|
# @example Bi-directional EventStream Operation Example
|
1433
1480
|
#
|
1434
|
-
# You can signal input events after initial request is
|
1435
|
-
#
|
1436
|
-
#
|
1481
|
+
# You can signal input events after the initial request is established. Events
|
1482
|
+
# will be sent to the stream immediately once the stream connection is
|
1483
|
+
# established successfully.
|
1437
1484
|
#
|
1438
|
-
# To signal events, you can call #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
1439
|
-
#
|
1485
|
+
# To signal events, you can call the #signal methods from an Aws::TranscribeStreamingService::EventStreams::AudioStream
|
1486
|
+
# object. You must signal events before calling #wait or #join! on the async response.
|
1440
1487
|
#
|
1441
1488
|
# input_stream = Aws::TranscribeStreamingService::EventStreams::AudioStream.new
|
1442
1489
|
#
|
1443
|
-
# async_resp = client.start_stream_transcription(
|
1490
|
+
# async_resp = client.start_stream_transcription(
|
1491
|
+
# # params input
|
1444
1492
|
# input_event_stream_handler: input_stream) do |out_stream|
|
1445
1493
|
#
|
1446
|
-
# # register callbacks for events
|
1494
|
+
# # register callbacks for events
|
1447
1495
|
# out_stream.on_transcript_event_event do |event|
|
1448
1496
|
# event # => Aws::TranscribeStreamingService::Types::TranscriptEvent
|
1449
1497
|
# end
|
@@ -1464,25 +1512,25 @@ module Aws::TranscribeStreamingService
|
|
1464
1512
|
# end
|
1465
1513
|
#
|
1466
1514
|
# end
|
1467
|
-
# # =>
|
1515
|
+
# # => Aws::Seahorse::Client::AsyncResponse
|
1468
1516
|
#
|
1469
1517
|
# # signal events
|
1470
1518
|
# input_stream.signal_audio_event_event( ... )
|
1471
1519
|
# input_stream.signal_configuration_event_event( ... )
|
1472
1520
|
#
|
1473
|
-
# # make sure
|
1521
|
+
# # make sure to signal :end_stream at the end
|
1474
1522
|
# input_stream.signal_end_stream
|
1475
1523
|
#
|
1476
|
-
# # wait until stream is closed before finalizing sync response
|
1524
|
+
# # wait until stream is closed before finalizing the sync response
|
1477
1525
|
# resp = async_resp.wait
|
1478
|
-
# # Or close stream and
|
1526
|
+
# # Or close the stream and finalize sync response immediately
|
1479
1527
|
# # resp = async_resp.join!
|
1480
1528
|
#
|
1481
|
-
#
|
1482
|
-
#
|
1529
|
+
# You can also provide an Aws::TranscribeStreamingService::EventStreams::TranscriptResultStream object to register callbacks
|
1530
|
+
# before initializing the request instead of processing from the request block.
|
1483
1531
|
#
|
1484
1532
|
# output_stream = Aws::TranscribeStreamingService::EventStreams::TranscriptResultStream.new
|
1485
|
-
# # register callbacks for events
|
1533
|
+
# # register callbacks for output events
|
1486
1534
|
# output_stream.on_transcript_event_event do |event|
|
1487
1535
|
# event # => Aws::TranscribeStreamingService::Types::TranscriptEvent
|
1488
1536
|
# end
|
@@ -1510,15 +1558,15 @@ module Aws::TranscribeStreamingService
|
|
1510
1558
|
# # event.error_message => String
|
1511
1559
|
# end
|
1512
1560
|
#
|
1513
|
-
# async_resp = client.start_stream_transcription (
|
1561
|
+
# async_resp = client.start_stream_transcription (
|
1562
|
+
# # params input
|
1514
1563
|
# input_event_stream_handler: input_stream
|
1515
1564
|
# output_event_stream_handler: output_stream
|
1516
1565
|
# )
|
1517
1566
|
#
|
1518
|
-
# resp = async_resp.
|
1567
|
+
# resp = async_resp.join!
|
1519
1568
|
#
|
1520
|
-
#
|
1521
|
-
# iterate through events after response complete.
|
1569
|
+
# You can also iterate through events after the response is complete.
|
1522
1570
|
#
|
1523
1571
|
# Events are available at resp.transcript_result_stream # => Enumerator
|
1524
1572
|
#
|
@@ -1672,7 +1720,7 @@ module Aws::TranscribeStreamingService
|
|
1672
1720
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
1673
1721
|
config: config)
|
1674
1722
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
1675
|
-
context[:gem_version] = '1.
|
1723
|
+
context[:gem_version] = '1.58.0'
|
1676
1724
|
Seahorse::Client::Request.new(handlers, context)
|
1677
1725
|
end
|
1678
1726
|
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -73,6 +74,7 @@ module Aws::TranscribeStreamingService
|
|
73
74
|
add_plugin(Aws::Plugins::ResponsePaging)
|
74
75
|
add_plugin(Aws::Plugins::StubResponses)
|
75
76
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
77
|
+
add_plugin(Aws::Plugins::InvocationId)
|
76
78
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
78
80
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -198,10 +200,17 @@ module Aws::TranscribeStreamingService
|
|
198
200
|
# When set to 'true' the request body will not be compressed
|
199
201
|
# for supported operations.
|
200
202
|
#
|
201
|
-
# @option options [String] :endpoint
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
203
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
204
|
+
# Normally you should not configure the `:endpoint` option
|
205
|
+
# directly. This is normally constructed from the `:region`
|
206
|
+
# option. Configuring `:endpoint` is normally reserved for
|
207
|
+
# connecting to test or custom endpoints. The endpoint should
|
208
|
+
# be a URI formatted like:
|
209
|
+
#
|
210
|
+
# 'http://example.com'
|
211
|
+
# 'https://example.com'
|
212
|
+
# 'http://example.com:123'
|
213
|
+
#
|
205
214
|
#
|
206
215
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
207
216
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -348,50 +357,65 @@ module Aws::TranscribeStreamingService
|
|
348
357
|
# @option options [Aws::TranscribeStreamingService::EndpointProvider] :endpoint_provider
|
349
358
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::TranscribeStreamingService::EndpointParameters`
|
350
359
|
#
|
351
|
-
# @option options [
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# @option options [Float] :
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
376
410
|
#
|
377
|
-
# @option options [
|
378
|
-
#
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
379
413
|
#
|
380
|
-
# @option options [
|
381
|
-
#
|
382
|
-
# connection.
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
383
416
|
#
|
384
|
-
# @option options [
|
385
|
-
#
|
386
|
-
# verifying peer certificates. If you do not pass
|
387
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
388
|
-
# will be used if available.
|
389
|
-
#
|
390
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
391
|
-
# directory that contains the unbundled SSL certificate
|
392
|
-
# authority files for verifying peer certificates. If you do
|
393
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
394
|
-
# system default will be used if available.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
395
419
|
#
|
396
420
|
def initialize(*args)
|
397
421
|
super
|
@@ -412,7 +436,7 @@ module Aws::TranscribeStreamingService
|
|
412
436
|
params: params,
|
413
437
|
config: config)
|
414
438
|
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
|
415
|
-
context[:gem_version] = '1.
|
439
|
+
context[:gem_version] = '1.58.0'
|
416
440
|
Seahorse::Client::Request.new(handlers, context)
|
417
441
|
end
|
418
442
|
|
@@ -14,6 +14,7 @@ module Aws::TranscribeStreamingService
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::TranscribeStreamingService::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|