aws-sdk-qbusiness 1.35.0 → 1.36.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +139 -109
- data/lib/aws-sdk-qbusiness/client.rb +1 -1
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/async_client.rbs +87 -0
- data/sig/client.rbs +0 -16
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1266de04bc0aa4b1e9c78811490a2e783484983bbccf57d444f4c8bd46509a3
|
4
|
+
data.tar.gz: 1d3047a4ea8808fab59d3abad23aa889437cc8e21248e20b955b95aafa20f8de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f664e18f6386912821c94702c8081652c028283b8aeee4c434243e967b4d9d2c2e35a50b493f5ff7a7354f2acd96e3bde055855f604b31cfe0481c9fe7a953ba
|
7
|
+
data.tar.gz: 0a97d51d297a277393dc08ce746dcaa96506c38ef6b534abff0e27b44725b83826dbf883fbf5020ab01431175f83fab6dcc49f04c21448d5bef299f33a7197c8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.36.0
|
@@ -10,32 +10,44 @@
|
|
10
10
|
begin
|
11
11
|
require 'http/2'
|
12
12
|
rescue LoadError; end
|
13
|
-
require 'aws-sdk-core/plugins/credentials_configuration
|
14
|
-
require 'aws-sdk-core/plugins/logging
|
15
|
-
require 'aws-sdk-core/plugins/param_converter
|
16
|
-
require 'aws-sdk-core/plugins/param_validator
|
17
|
-
require 'aws-sdk-core/plugins/user_agent
|
18
|
-
require 'aws-sdk-core/plugins/helpful_socket_errors
|
19
|
-
require 'aws-sdk-core/plugins/retry_errors
|
20
|
-
require 'aws-sdk-core/plugins/global_configuration
|
21
|
-
require 'aws-sdk-core/plugins/regional_endpoint
|
22
|
-
require 'aws-sdk-core/plugins/stub_responses
|
23
|
-
require 'aws-sdk-core/plugins/idempotency_token
|
24
|
-
require 'aws-sdk-core/plugins/invocation_id
|
25
|
-
require 'aws-sdk-core/plugins/jsonvalue_converter
|
26
|
-
require 'aws-sdk-core/plugins/http_checksum
|
27
|
-
require 'aws-sdk-core/plugins/checksum_algorithm
|
28
|
-
require 'aws-sdk-core/plugins/request_compression
|
29
|
-
require 'aws-sdk-core/plugins/defaults_mode
|
30
|
-
require 'aws-sdk-core/plugins/recursion_detection
|
31
|
-
require 'aws-sdk-core/plugins/telemetry
|
32
|
-
require 'aws-sdk-core/plugins/sign
|
33
|
-
require 'aws-sdk-core/plugins/protocols/rest_json
|
34
|
-
require 'aws-sdk-core/plugins/event_stream_configuration
|
13
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
14
|
+
require 'aws-sdk-core/plugins/logging'
|
15
|
+
require 'aws-sdk-core/plugins/param_converter'
|
16
|
+
require 'aws-sdk-core/plugins/param_validator'
|
17
|
+
require 'aws-sdk-core/plugins/user_agent'
|
18
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
19
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
20
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
21
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
22
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
23
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
24
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
25
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
26
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
27
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
28
|
+
require 'aws-sdk-core/plugins/request_compression'
|
29
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
30
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
31
|
+
require 'aws-sdk-core/plugins/telemetry'
|
32
|
+
require 'aws-sdk-core/plugins/sign'
|
33
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
34
|
+
require 'aws-sdk-core/plugins/event_stream_configuration'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:qbusiness)
|
37
37
|
|
38
38
|
module Aws::QBusiness
|
39
|
+
# An API async client for QBusiness. To construct an async client, you need to configure a `:region` and `:credentials`.
|
40
|
+
#
|
41
|
+
# async_client = Aws::QBusiness::AsyncClient.new(
|
42
|
+
# region: region_name,
|
43
|
+
# credentials: credentials,
|
44
|
+
# # ...
|
45
|
+
# )
|
46
|
+
#
|
47
|
+
# For details on configuring region and credentials see
|
48
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
49
|
+
#
|
50
|
+
# See {#initialize} for a full list of supported configuration options.
|
39
51
|
class AsyncClient < Seahorse::Client::AsyncBase
|
40
52
|
|
41
53
|
include Aws::AsyncClientStubs
|
@@ -68,6 +80,13 @@ module Aws::QBusiness
|
|
68
80
|
add_plugin(Aws::Plugins::EventStreamConfiguration)
|
69
81
|
add_plugin(Aws::QBusiness::Plugins::Endpoints)
|
70
82
|
|
83
|
+
# @overload initialize(options)
|
84
|
+
# @param [Hash] options
|
85
|
+
#
|
86
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
87
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
88
|
+
# class name or an instance of a plugin class.
|
89
|
+
#
|
71
90
|
# @option options [required, Aws::CredentialProvider] :credentials
|
72
91
|
# Your AWS credentials. This can be an instance of any one of the
|
73
92
|
# following classes:
|
@@ -415,96 +434,107 @@ module Aws::QBusiness
|
|
415
434
|
# * {Types::ChatOutput#output_stream #output_stream} => Types::ChatOutputStream
|
416
435
|
#
|
417
436
|
# @example Bi-directional EventStream Operation Example
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
#
|
432
|
-
#
|
433
|
-
# out_stream.on_text_event_event do |event|
|
434
|
-
# event # => Aws::QBusiness::Types::textEvent
|
435
|
-
# end
|
436
|
-
# out_stream.on_metadata_event_event do |event|
|
437
|
-
# event # => Aws::QBusiness::Types::metadataEvent
|
438
|
-
# end
|
439
|
-
# out_stream.on_action_review_event_event do |event|
|
440
|
-
# event # => Aws::QBusiness::Types::actionReviewEvent
|
441
|
-
# end
|
442
|
-
# out_stream.on_failed_attachment_event_event do |event|
|
443
|
-
# event # => Aws::QBusiness::Types::failedAttachmentEvent
|
444
|
-
# end
|
445
|
-
# out_stream.on_auth_challenge_request_event_event do |event|
|
446
|
-
# event # => Aws::QBusiness::Types::authChallengeRequestEvent
|
447
|
-
# end
|
448
|
-
#
|
449
|
-
# end
|
450
|
-
# # => Aws::Seahorse::Client::AsyncResponse
|
451
|
-
#
|
452
|
-
# # signal events
|
453
|
-
# input_stream.signal_configuration_event_event( ... )
|
454
|
-
# input_stream.signal_text_event_event( ... )
|
455
|
-
# input_stream.signal_attachment_event_event( ... )
|
456
|
-
# input_stream.signal_action_execution_event_event( ... )
|
457
|
-
# input_stream.signal_end_of_input_event_event( ... )
|
458
|
-
# input_stream.signal_auth_challenge_response_event_event( ... )
|
459
|
-
#
|
460
|
-
# # make sure to signal :end_stream at the end
|
461
|
-
# input_stream.signal_end_stream
|
462
|
-
#
|
463
|
-
# # wait until stream is closed before finalizing the sync response
|
464
|
-
# resp = async_resp.wait
|
465
|
-
# # Or close the stream and finalize sync response immediately
|
466
|
-
# # resp = async_resp.join!
|
467
|
-
#
|
468
|
-
# You can also provide an Aws::QBusiness::EventStreams::ChatOutputStream object to register callbacks
|
469
|
-
# before initializing the request instead of processing from the request block.
|
470
|
-
#
|
471
|
-
# output_stream = Aws::QBusiness::EventStreams::ChatOutputStream.new
|
472
|
-
# # register callbacks for output events
|
473
|
-
# output_stream.on_text_event_event do |event|
|
437
|
+
# # You can signal input events after the initial request is established. Events
|
438
|
+
# # will be sent to the stream immediately once the stream connection is
|
439
|
+
# # established successfully.
|
440
|
+
#
|
441
|
+
# # To signal events, you can call the #signal methods from an
|
442
|
+
# # Aws::QBusiness::EventStreams::ChatInputStream object.
|
443
|
+
# # You must signal events before calling #wait or #join! on the async response.
|
444
|
+
# input_stream = Aws::QBusiness::EventStreams::ChatInputStream.new
|
445
|
+
#
|
446
|
+
# async_resp = client.chat(
|
447
|
+
# # params input
|
448
|
+
# input_event_stream_handler: input_stream
|
449
|
+
# ) do |out_stream|
|
450
|
+
# # register callbacks for events
|
451
|
+
# out_stream.on_text_event_event do |event|
|
474
452
|
# event # => Aws::QBusiness::Types::textEvent
|
475
453
|
# end
|
476
|
-
#
|
454
|
+
# out_stream.on_metadata_event_event do |event|
|
477
455
|
# event # => Aws::QBusiness::Types::metadataEvent
|
478
456
|
# end
|
479
|
-
#
|
457
|
+
# out_stream.on_action_review_event_event do |event|
|
480
458
|
# event # => Aws::QBusiness::Types::actionReviewEvent
|
481
459
|
# end
|
482
|
-
#
|
460
|
+
# out_stream.on_failed_attachment_event_event do |event|
|
483
461
|
# event # => Aws::QBusiness::Types::failedAttachmentEvent
|
484
462
|
# end
|
485
|
-
#
|
463
|
+
# out_stream.on_auth_challenge_request_event_event do |event|
|
486
464
|
# event # => Aws::QBusiness::Types::authChallengeRequestEvent
|
487
465
|
# end
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
#
|
466
|
+
# end
|
467
|
+
# # => Aws::Seahorse::Client::AsyncResponse
|
468
|
+
#
|
469
|
+
# # signal events
|
470
|
+
# input_stream.signal_configuration_event_event(
|
471
|
+
# # ...
|
472
|
+
# )
|
473
|
+
# input_stream.signal_text_event_event(
|
474
|
+
# # ...
|
475
|
+
# )
|
476
|
+
# input_stream.signal_attachment_event_event(
|
477
|
+
# # ...
|
478
|
+
# )
|
479
|
+
# input_stream.signal_action_execution_event_event(
|
480
|
+
# # ...
|
481
|
+
# )
|
482
|
+
# input_stream.signal_end_of_input_event_event(
|
483
|
+
# # ...
|
484
|
+
# )
|
485
|
+
# input_stream.signal_auth_challenge_response_event_event(
|
486
|
+
# # ...
|
487
|
+
# )
|
488
|
+
#
|
489
|
+
# # make sure to signal :end_stream at the end
|
490
|
+
# input_stream.signal_end_stream
|
491
|
+
#
|
492
|
+
# # wait until stream is closed before finalizing the sync response
|
493
|
+
# resp = async_resp.wait
|
494
|
+
#
|
495
|
+
# # Or close the stream and finalize sync response immediately
|
496
|
+
# resp = async_resp.join!
|
497
|
+
#
|
498
|
+
# # You can also provide an Aws::QBusiness::EventStreams::ChatOutputStream object
|
499
|
+
# # to register callbacks before initializing the request instead of processing
|
500
|
+
# # from the request block.
|
501
|
+
# output_stream = Aws::QBusiness::EventStreams::ChatOutputStream.new
|
502
|
+
#
|
503
|
+
# # register callbacks for output events
|
504
|
+
# output_stream.on_text_event_event do |event|
|
505
|
+
# event # => Aws::QBusiness::Types::textEvent
|
506
|
+
# end
|
507
|
+
# output_stream.on_metadata_event_event do |event|
|
508
|
+
# event # => Aws::QBusiness::Types::metadataEvent
|
509
|
+
# end
|
510
|
+
# output_stream.on_action_review_event_event do |event|
|
511
|
+
# event # => Aws::QBusiness::Types::actionReviewEvent
|
512
|
+
# end
|
513
|
+
# output_stream.on_failed_attachment_event_event do |event|
|
514
|
+
# event # => Aws::QBusiness::Types::failedAttachmentEvent
|
515
|
+
# end
|
516
|
+
# output_stream.on_auth_challenge_request_event_event do |event|
|
517
|
+
# event # => Aws::QBusiness::Types::authChallengeRequestEvent
|
518
|
+
# end
|
519
|
+
# output_stream.on_error_event do |event|
|
520
|
+
# # catch unmodeled error event in the stream
|
521
|
+
# raise event
|
522
|
+
# # => Aws::Errors::EventError
|
523
|
+
# # event.event_type => :error
|
524
|
+
# # event.error_code => String
|
525
|
+
# # event.error_message => String
|
526
|
+
# end
|
527
|
+
#
|
528
|
+
# async_resp = client.chat(
|
529
|
+
# # params input
|
530
|
+
# input_event_stream_handler: input_stream,
|
531
|
+
# output_event_stream_handler: output_stream
|
532
|
+
# )
|
533
|
+
# resp = async_resp.join!
|
534
|
+
#
|
535
|
+
# # You can also iterate through events after the response is complete.
|
536
|
+
# # Events are available at
|
537
|
+
# resp.output_stream # => Enumerator
|
508
538
|
#
|
509
539
|
# @example Request syntax with placeholder values
|
510
540
|
#
|
@@ -524,18 +554,18 @@ module Aws::QBusiness
|
|
524
554
|
#
|
525
555
|
# @example Response structure
|
526
556
|
#
|
527
|
-
# All events are available at resp.output_stream:
|
557
|
+
# # All events are available at resp.output_stream:
|
528
558
|
# resp.output_stream #=> Enumerator
|
529
559
|
# resp.output_stream.event_types #=> [:text_event, :metadata_event, :action_review_event, :failed_attachment_event, :auth_challenge_request_event]
|
530
560
|
#
|
531
|
-
# For :text_event event available at #on_text_event_event callback and response eventstream enumerator:
|
561
|
+
# # For :text_event event available at #on_text_event_event callback and response eventstream enumerator:
|
532
562
|
# event.system_message_type #=> String, one of "RESPONSE", "GROUNDED_RESPONSE"
|
533
563
|
# event.conversation_id #=> String
|
534
564
|
# event.user_message_id #=> String
|
535
565
|
# event.system_message_id #=> String
|
536
566
|
# event.system_message #=> String
|
537
567
|
#
|
538
|
-
# For :metadata_event event available at #on_metadata_event_event callback and response eventstream enumerator:
|
568
|
+
# # For :metadata_event event available at #on_metadata_event_event callback and response eventstream enumerator:
|
539
569
|
# event.conversation_id #=> String
|
540
570
|
# event.user_message_id #=> String
|
541
571
|
# event.system_message_id #=> String
|
@@ -565,7 +595,7 @@ module Aws::QBusiness
|
|
565
595
|
# event.source_attributions[0].text_message_segments[0].source_details.video_source_details.video_extraction_type #=> String, one of "TRANSCRIPT", "SUMMARY"
|
566
596
|
# event.final_text_message #=> String
|
567
597
|
#
|
568
|
-
# For :action_review_event event available at #on_action_review_event_event callback and response eventstream enumerator:
|
598
|
+
# # For :action_review_event event available at #on_action_review_event_event callback and response eventstream enumerator:
|
569
599
|
# event.conversation_id #=> String
|
570
600
|
# event.user_message_id #=> String
|
571
601
|
# event.system_message_id #=> String
|
@@ -581,7 +611,7 @@ module Aws::QBusiness
|
|
581
611
|
# event.payload["ActionPayloadFieldKey"].required #=> Boolean
|
582
612
|
# event.payload_field_name_separator #=> String
|
583
613
|
#
|
584
|
-
# For :failed_attachment_event event available at #on_failed_attachment_event_event callback and response eventstream enumerator:
|
614
|
+
# # For :failed_attachment_event event available at #on_failed_attachment_event_event callback and response eventstream enumerator:
|
585
615
|
# event.conversation_id #=> String
|
586
616
|
# event.user_message_id #=> String
|
587
617
|
# event.system_message_id #=> String
|
@@ -592,7 +622,7 @@ module Aws::QBusiness
|
|
592
622
|
# event.attachment.attachment_id #=> String
|
593
623
|
# event.attachment.conversation_id #=> String
|
594
624
|
#
|
595
|
-
# For :auth_challenge_request_event event available at #on_auth_challenge_request_event_event callback and response eventstream enumerator:
|
625
|
+
# # For :auth_challenge_request_event event available at #on_auth_challenge_request_event_event callback and response eventstream enumerator:
|
596
626
|
# event.authorization_url #=> String
|
597
627
|
#
|
598
628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/Chat AWS API Documentation
|
@@ -643,7 +673,7 @@ module Aws::QBusiness
|
|
643
673
|
tracer: tracer
|
644
674
|
)
|
645
675
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
646
|
-
context[:gem_version] = '1.
|
676
|
+
context[:gem_version] = '1.36.0'
|
647
677
|
Seahorse::Client::Request.new(handlers, context)
|
648
678
|
end
|
649
679
|
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
@@ -0,0 +1,87 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module QBusiness
|
10
|
+
class AsyncClient < ::Seahorse::Client::AsyncBase
|
11
|
+
include ::Aws::AsyncClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/AsyncClient.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?convert_params: bool,
|
21
|
+
?correct_clock_skew: bool,
|
22
|
+
?defaults_mode: String,
|
23
|
+
?disable_request_compression: bool,
|
24
|
+
?endpoint: String,
|
25
|
+
?event_stream_handler: Proc,
|
26
|
+
?ignore_configured_endpoint_urls: bool,
|
27
|
+
?input_event_stream_handler: Proc,
|
28
|
+
?log_formatter: untyped,
|
29
|
+
?log_level: Symbol,
|
30
|
+
?logger: untyped,
|
31
|
+
?max_attempts: Integer,
|
32
|
+
?output_event_stream_handler: Proc,
|
33
|
+
?profile: String,
|
34
|
+
?request_checksum_calculation: String,
|
35
|
+
?request_min_compression_size_bytes: Integer,
|
36
|
+
?response_checksum_validation: String,
|
37
|
+
?retry_backoff: Proc,
|
38
|
+
?retry_base_delay: Float,
|
39
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
40
|
+
?retry_limit: Integer,
|
41
|
+
?retry_max_delay: Integer,
|
42
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
43
|
+
?sdk_ua_app_id: String,
|
44
|
+
?secret_access_key: String,
|
45
|
+
?session_token: String,
|
46
|
+
?sigv4a_signing_region_set: Array[String],
|
47
|
+
?stub_responses: untyped,
|
48
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
49
|
+
?token_provider: untyped,
|
50
|
+
?use_dualstack_endpoint: bool,
|
51
|
+
?use_fips_endpoint: bool,
|
52
|
+
?validate_params: bool,
|
53
|
+
?endpoint_provider: untyped,
|
54
|
+
?connection_read_timeout: (Float | Integer),
|
55
|
+
?connection_timeout: (Float | Integer),
|
56
|
+
?enable_alpn: bool,
|
57
|
+
?max_concurrent_streams: (Float | Integer),
|
58
|
+
?read_chunk_size: (Float | Integer),
|
59
|
+
?http_wire_trace: bool,
|
60
|
+
?ssl_verify_peer: bool,
|
61
|
+
?ssl_ca_bundle: String,
|
62
|
+
?ssl_ca_directory: String,
|
63
|
+
?ssl_ca_store: String,
|
64
|
+
?raise_response_errors: bool
|
65
|
+
) -> instance
|
66
|
+
| (?Hash[Symbol, untyped]) -> instance
|
67
|
+
|
68
|
+
|
69
|
+
interface _ChatResponseSuccess
|
70
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ChatOutput]
|
71
|
+
def output_stream: () -> Types::ChatOutputStream
|
72
|
+
end
|
73
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/AsyncClient.html#chat-instance_method
|
74
|
+
def chat: (
|
75
|
+
application_id: ::String,
|
76
|
+
?user_id: ::String,
|
77
|
+
?user_groups: Array[::String],
|
78
|
+
?conversation_id: ::String,
|
79
|
+
?parent_message_id: ::String,
|
80
|
+
?client_token: ::String,
|
81
|
+
input_event_stream_handler: untyped,
|
82
|
+
output_event_stream_handler: untyped
|
83
|
+
) ?{ (*untyped) -> void } -> _ChatResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ChatResponseSuccess
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
data/sig/client.rbs
CHANGED
@@ -251,22 +251,6 @@ module Aws
|
|
251
251
|
) -> _CancelSubscriptionResponseSuccess
|
252
252
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSubscriptionResponseSuccess
|
253
253
|
|
254
|
-
interface _ChatResponseSuccess
|
255
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::ChatOutput]
|
256
|
-
def output_stream: () -> Types::ChatOutputStream
|
257
|
-
end
|
258
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#chat-instance_method
|
259
|
-
def chat: (
|
260
|
-
application_id: ::String,
|
261
|
-
?user_id: ::String,
|
262
|
-
?user_groups: Array[::String],
|
263
|
-
?conversation_id: ::String,
|
264
|
-
?parent_message_id: ::String,
|
265
|
-
?client_token: ::String,
|
266
|
-
input_event_stream_hander: untyped
|
267
|
-
) ?{ (*untyped) -> void } -> _ChatResponseSuccess
|
268
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _ChatResponseSuccess
|
269
|
-
|
270
254
|
interface _ChatSyncResponseSuccess
|
271
255
|
include ::Seahorse::Client::_ResponseSuccess[Types::ChatSyncOutput]
|
272
256
|
def conversation_id: () -> ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-qbusiness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.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: 2025-04-
|
11
|
+
date: 2025-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- lib/aws-sdk-qbusiness/resource.rb
|
70
70
|
- lib/aws-sdk-qbusiness/types.rb
|
71
71
|
- lib/aws-sdk-qbusiness/waiters.rb
|
72
|
+
- sig/async_client.rbs
|
72
73
|
- sig/client.rbs
|
73
74
|
- sig/errors.rbs
|
74
75
|
- sig/resource.rbs
|