aws-sdk-qbusiness 1.35.0 → 1.37.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: b6ebd0fed9c7bc329e1f44e0c41c5a75a9b78a6cbf67a482b84077d395959fb5
4
- data.tar.gz: 6821c993c85523e4210f23616cff02913111d0010c4dad7e837857f9ce67e733
3
+ metadata.gz: f6ca1f60c3a014b2450eccf0c8eb40043fa1951700123ad68ef9cca1c25ede35
4
+ data.tar.gz: cce6c893e069a2e628c8eafc54aab6219a3cfb2432f0bce138809ea48669101d
5
5
  SHA512:
6
- metadata.gz: 4002e493fc598e7d3653089010ceed732b3a4761fff5fbdf05e3a5c8c5bbe09ac9e1bee59307207dd4bc4ac87f1c78cabeccddeff67f357556eb0867d13afe32
7
- data.tar.gz: 1a750b4a0713fb7b80a97d94811a846ad089bd7c17471d882460326b0d14557dfb0ec45d5dee1a6b0b62cee50eb17a306ab970eab12858b14f0b266aaedbfffd
6
+ metadata.gz: 57eb0ac97847576b003c82ff45bdb974396c4a977104332ea99f89eaa96157fe2e673ea3a9431a07cccfdb96a6bb7a48809eefeb029dca9a2b6ce5abf51c1c68
7
+ data.tar.gz: 2483ded6df586e5bfa99fde430325b2736a5787fbd9ecbb2a4e017624a689cd1f0ed285893ff92ea49110c70884e353ee6febd086ab4ceae57a0017272cb1be9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2025-04-29)
5
+ ------------------
6
+
7
+ * Feature - Add support for anonymous user access for Q Business applications
8
+
9
+ 1.36.0 (2025-04-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.35.0 (2025-04-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.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.rb'
14
- require 'aws-sdk-core/plugins/logging.rb'
15
- require 'aws-sdk-core/plugins/param_converter.rb'
16
- require 'aws-sdk-core/plugins/param_validator.rb'
17
- require 'aws-sdk-core/plugins/user_agent.rb'
18
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
19
- require 'aws-sdk-core/plugins/retry_errors.rb'
20
- require 'aws-sdk-core/plugins/global_configuration.rb'
21
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
22
- require 'aws-sdk-core/plugins/stub_responses.rb'
23
- require 'aws-sdk-core/plugins/idempotency_token.rb'
24
- require 'aws-sdk-core/plugins/invocation_id.rb'
25
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
- require 'aws-sdk-core/plugins/http_checksum.rb'
27
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
28
- require 'aws-sdk-core/plugins/request_compression.rb'
29
- require 'aws-sdk-core/plugins/defaults_mode.rb'
30
- require 'aws-sdk-core/plugins/recursion_detection.rb'
31
- require 'aws-sdk-core/plugins/telemetry.rb'
32
- require 'aws-sdk-core/plugins/sign.rb'
33
- require 'aws-sdk-core/plugins/protocols/rest_json.rb'
34
- require 'aws-sdk-core/plugins/event_stream_configuration.rb'
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
- # You can signal input events after the initial request is established. Events
420
- # will be sent to the stream immediately once the stream connection is
421
- # established successfully.
422
- #
423
- # To signal events, you can call the #signal methods from an Aws::QBusiness::EventStreams::ChatInputStream
424
- # object. You must signal events before calling #wait or #join! on the async response.
425
- #
426
- # input_stream = Aws::QBusiness::EventStreams::ChatInputStream.new
427
- #
428
- # async_resp = client.chat(
429
- # # params input
430
- # input_event_stream_handler: input_stream) do |out_stream|
431
- #
432
- # # register callbacks for events
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
- # output_stream.on_metadata_event_event do |event|
454
+ # out_stream.on_metadata_event_event do |event|
477
455
  # event # => Aws::QBusiness::Types::metadataEvent
478
456
  # end
479
- # output_stream.on_action_review_event_event do |event|
457
+ # out_stream.on_action_review_event_event do |event|
480
458
  # event # => Aws::QBusiness::Types::actionReviewEvent
481
459
  # end
482
- # output_stream.on_failed_attachment_event_event do |event|
460
+ # out_stream.on_failed_attachment_event_event do |event|
483
461
  # event # => Aws::QBusiness::Types::failedAttachmentEvent
484
462
  # end
485
- # output_stream.on_auth_challenge_request_event_event do |event|
463
+ # out_stream.on_auth_challenge_request_event_event do |event|
486
464
  # event # => Aws::QBusiness::Types::authChallengeRequestEvent
487
465
  # end
488
- # output_stream.on_error_event do |event|
489
- # # catch unmodeled error event in the stream
490
- # raise event
491
- # # => Aws::Errors::EventError
492
- # # event.event_type => :error
493
- # # event.error_code => String
494
- # # event.error_message => String
495
- # end
496
- #
497
- # async_resp = client.chat (
498
- # # params input
499
- # input_event_stream_handler: input_stream
500
- # output_event_stream_handler: output_stream
501
- # )
502
- #
503
- # resp = async_resp.join!
504
- #
505
- # You can also iterate through events after the response is complete.
506
- #
507
- # Events are available at resp.output_stream # => Enumerator
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.35.0'
676
+ context[:gem_version] = '1.37.0'
647
677
  Seahorse::Client::Request.new(handlers, context)
648
678
  end
649
679
 
@@ -1154,6 +1154,46 @@ module Aws::QBusiness
1154
1154
  req.send_request(options)
1155
1155
  end
1156
1156
 
1157
+ # Creates a unique URL for anonymous Amazon Q Business web experience.
1158
+ # This URL can only be used once and must be used within 5 minutes after
1159
+ # it's generated.
1160
+ #
1161
+ # @option params [required, String] :application_id
1162
+ # The identifier of the Amazon Q Business application environment
1163
+ # attached to the web experience.
1164
+ #
1165
+ # @option params [required, String] :web_experience_id
1166
+ # The identifier of the web experience.
1167
+ #
1168
+ # @option params [Integer] :session_duration_in_minutes
1169
+ # The duration of the session associated with the unique URL for the web
1170
+ # experience.
1171
+ #
1172
+ # @return [Types::CreateAnonymousWebExperienceUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1173
+ #
1174
+ # * {Types::CreateAnonymousWebExperienceUrlResponse#anonymous_url #anonymous_url} => String
1175
+ #
1176
+ # @example Request syntax with placeholder values
1177
+ #
1178
+ # resp = client.create_anonymous_web_experience_url({
1179
+ # application_id: "ApplicationId", # required
1180
+ # web_experience_id: "WebExperienceId", # required
1181
+ # session_duration_in_minutes: 1,
1182
+ # })
1183
+ #
1184
+ # @example Response structure
1185
+ #
1186
+ # resp.anonymous_url #=> String
1187
+ #
1188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrl AWS API Documentation
1189
+ #
1190
+ # @overload create_anonymous_web_experience_url(params = {})
1191
+ # @param [Hash] params ({})
1192
+ def create_anonymous_web_experience_url(params = {}, options = {})
1193
+ req = build_request(:create_anonymous_web_experience_url, params)
1194
+ req.send_request(options)
1195
+ end
1196
+
1157
1197
  # Creates an Amazon Q Business application.
1158
1198
  #
1159
1199
  # <note markdown="1"> There are new tiers for Amazon Q Business. Not all features in Amazon
@@ -1266,7 +1306,7 @@ module Aws::QBusiness
1266
1306
  # resp = client.create_application({
1267
1307
  # display_name: "ApplicationName", # required
1268
1308
  # role_arn: "RoleArn",
1269
- # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC, AWS_QUICKSIGHT_IDP
1309
+ # identity_type: "AWS_IAM_IDP_SAML", # accepts AWS_IAM_IDP_SAML, AWS_IAM_IDP_OIDC, AWS_IAM_IDC, AWS_QUICKSIGHT_IDP, ANONYMOUS
1270
1310
  # iam_identity_provider_arn: "IAMIdentityProviderArn",
1271
1311
  # identity_center_instance_arn: "InstanceArn",
1272
1312
  # client_ids_for_oidc: ["ClientIdForOIDC"],
@@ -2645,7 +2685,7 @@ module Aws::QBusiness
2645
2685
  # resp.display_name #=> String
2646
2686
  # resp.application_id #=> String
2647
2687
  # resp.application_arn #=> String
2648
- # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
2688
+ # resp.identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP", "ANONYMOUS"
2649
2689
  # resp.iam_identity_provider_arn #=> String
2650
2690
  # resp.identity_center_application_arn #=> String
2651
2691
  # resp.role_arn #=> String
@@ -3443,7 +3483,7 @@ module Aws::QBusiness
3443
3483
  # resp.applications[0].created_at #=> Time
3444
3484
  # resp.applications[0].updated_at #=> Time
3445
3485
  # resp.applications[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "FAILED", "UPDATING"
3446
- # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP"
3486
+ # resp.applications[0].identity_type #=> String, one of "AWS_IAM_IDP_SAML", "AWS_IAM_IDP_OIDC", "AWS_IAM_IDC", "AWS_QUICKSIGHT_IDP", "ANONYMOUS"
3447
3487
  # resp.applications[0].quick_sight_configuration.client_namespace #=> String
3448
3488
  #
3449
3489
  # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/ListApplications AWS API Documentation
@@ -5785,7 +5825,7 @@ module Aws::QBusiness
5785
5825
  tracer: tracer
5786
5826
  )
5787
5827
  context[:gem_name] = 'aws-sdk-qbusiness'
5788
- context[:gem_version] = '1.35.0'
5828
+ context[:gem_version] = '1.37.0'
5789
5829
  Seahorse::Client::Request.new(handlers, context)
5790
5830
  end
5791
5831
 
@@ -128,6 +128,8 @@ module Aws::QBusiness
128
128
  ConversationTitle = Shapes::StringShape.new(name: 'ConversationTitle')
129
129
  Conversations = Shapes::ListShape.new(name: 'Conversations')
130
130
  CopyFromSource = Shapes::UnionShape.new(name: 'CopyFromSource')
131
+ CreateAnonymousWebExperienceUrlRequest = Shapes::StructureShape.new(name: 'CreateAnonymousWebExperienceUrlRequest')
132
+ CreateAnonymousWebExperienceUrlResponse = Shapes::StructureShape.new(name: 'CreateAnonymousWebExperienceUrlResponse')
131
133
  CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest')
132
134
  CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
133
135
  CreateDataAccessorRequest = Shapes::StructureShape.new(name: 'CreateDataAccessorRequest')
@@ -468,6 +470,7 @@ module Aws::QBusiness
468
470
  SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
469
471
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
470
472
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
473
+ SessionDurationInMinutes = Shapes::IntegerShape.new(name: 'SessionDurationInMinutes')
471
474
  SnippetExcerpt = Shapes::StructureShape.new(name: 'SnippetExcerpt')
472
475
  SnippetExcerptText = Shapes::StringShape.new(name: 'SnippetExcerptText')
473
476
  SourceAttribution = Shapes::StructureShape.new(name: 'SourceAttribution')
@@ -941,6 +944,14 @@ module Aws::QBusiness
941
944
  CopyFromSource.add_member_subclass(:unknown, Types::CopyFromSource::Unknown)
942
945
  CopyFromSource.struct_class = Types::CopyFromSource
943
946
 
947
+ CreateAnonymousWebExperienceUrlRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "uri", location_name: "applicationId"))
948
+ CreateAnonymousWebExperienceUrlRequest.add_member(:web_experience_id, Shapes::ShapeRef.new(shape: WebExperienceId, required: true, location: "uri", location_name: "webExperienceId"))
949
+ CreateAnonymousWebExperienceUrlRequest.add_member(:session_duration_in_minutes, Shapes::ShapeRef.new(shape: SessionDurationInMinutes, location_name: "sessionDurationInMinutes"))
950
+ CreateAnonymousWebExperienceUrlRequest.struct_class = Types::CreateAnonymousWebExperienceUrlRequest
951
+
952
+ CreateAnonymousWebExperienceUrlResponse.add_member(:anonymous_url, Shapes::ShapeRef.new(shape: Url, location_name: "anonymousUrl"))
953
+ CreateAnonymousWebExperienceUrlResponse.struct_class = Types::CreateAnonymousWebExperienceUrlResponse
954
+
944
955
  CreateApplicationRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: ApplicationName, required: true, location_name: "displayName"))
945
956
  CreateApplicationRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
946
957
  CreateApplicationRequest.add_member(:identity_type, Shapes::ShapeRef.new(shape: IdentityType, location_name: "identityType"))
@@ -2461,6 +2472,20 @@ module Aws::QBusiness
2461
2472
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2462
2473
  end)
2463
2474
 
2475
+ api.add_operation(:create_anonymous_web_experience_url, Seahorse::Model::Operation.new.tap do |o|
2476
+ o.name = "CreateAnonymousWebExperienceUrl"
2477
+ o.http_method = "POST"
2478
+ o.http_request_uri = "/applications/{applicationId}/experiences/{webExperienceId}/anonymous-url"
2479
+ o.input = Shapes::ShapeRef.new(shape: CreateAnonymousWebExperienceUrlRequest)
2480
+ o.output = Shapes::ShapeRef.new(shape: CreateAnonymousWebExperienceUrlResponse)
2481
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2482
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2485
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2486
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2487
+ end)
2488
+
2464
2489
  api.add_operation(:create_application, Seahorse::Model::Operation.new.tap do |o|
2465
2490
  o.name = "CreateApplication"
2466
2491
  o.http_method = "POST"
@@ -1785,6 +1785,45 @@ module Aws::QBusiness
1785
1785
  class Unknown < CopyFromSource; end
1786
1786
  end
1787
1787
 
1788
+ # @!attribute [rw] application_id
1789
+ # The identifier of the Amazon Q Business application environment
1790
+ # attached to the web experience.
1791
+ # @return [String]
1792
+ #
1793
+ # @!attribute [rw] web_experience_id
1794
+ # The identifier of the web experience.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] session_duration_in_minutes
1798
+ # The duration of the session associated with the unique URL for the
1799
+ # web experience.
1800
+ # @return [Integer]
1801
+ #
1802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrlRequest AWS API Documentation
1803
+ #
1804
+ class CreateAnonymousWebExperienceUrlRequest < Struct.new(
1805
+ :application_id,
1806
+ :web_experience_id,
1807
+ :session_duration_in_minutes)
1808
+ SENSITIVE = []
1809
+ include Aws::Structure
1810
+ end
1811
+
1812
+ # @!attribute [rw] anonymous_url
1813
+ # The unique URL for accessing the web experience.
1814
+ #
1815
+ # This URL can only be used once and must be used within 5 minutes
1816
+ # after it's generated.
1817
+ # @return [String]
1818
+ #
1819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CreateAnonymousWebExperienceUrlResponse AWS API Documentation
1820
+ #
1821
+ class CreateAnonymousWebExperienceUrlResponse < Struct.new(
1822
+ :anonymous_url)
1823
+ SENSITIVE = []
1824
+ include Aws::Structure
1825
+ end
1826
+
1788
1827
  # @!attribute [rw] display_name
1789
1828
  # A name for the Amazon Q Business application.
1790
1829
  # @return [String]
@@ -4978,14 +5017,17 @@ module Aws::QBusiness
4978
5017
  end
4979
5018
 
4980
5019
  # Configuration information required to setup hallucination reduction.
4981
- # For more information, see [hallucination
4982
- # reduction](amazonq/latest/qbusiness-ug/hallucination-reduction.html).
5020
+ # For more information, see [ hallucination reduction][1].
4983
5021
  #
4984
5022
  # <note markdown="1"> The hallucination reduction feature won't work if chat orchestration
4985
5023
  # controls are enabled for your application.
4986
5024
  #
4987
5025
  # </note>
4988
5026
  #
5027
+ #
5028
+ #
5029
+ # [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/hallucination-reduction.html
5030
+ #
4989
5031
  # @!attribute [rw] hallucination_reduction_control
4990
5032
  # Controls whether hallucination reduction has been enabled or
4991
5033
  # disabled for your application. The default status is `DISABLED`.
@@ -57,7 +57,7 @@ module Aws::QBusiness
57
57
  autoload :AsyncClient, 'aws-sdk-qbusiness/async_client'
58
58
  autoload :EventStreams, 'aws-sdk-qbusiness/event_streams'
59
59
 
60
- GEM_VERSION = '1.35.0'
60
+ GEM_VERSION = '1.37.0'
61
61
 
62
62
  end
63
63
 
@@ -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
@@ -408,6 +392,18 @@ module Aws
408
392
  ) -> _CheckDocumentAccessResponseSuccess
409
393
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckDocumentAccessResponseSuccess
410
394
 
395
+ interface _CreateAnonymousWebExperienceUrlResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnonymousWebExperienceUrlResponse]
397
+ def anonymous_url: () -> ::String
398
+ end
399
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QBusiness/Client.html#create_anonymous_web_experience_url-instance_method
400
+ def create_anonymous_web_experience_url: (
401
+ application_id: ::String,
402
+ web_experience_id: ::String,
403
+ ?session_duration_in_minutes: ::Integer
404
+ ) -> _CreateAnonymousWebExperienceUrlResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnonymousWebExperienceUrlResponseSuccess
406
+
411
407
  interface _CreateApplicationResponseSuccess
412
408
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
413
409
  def application_id: () -> ::String
@@ -417,7 +413,7 @@ module Aws
417
413
  def create_application: (
418
414
  display_name: ::String,
419
415
  ?role_arn: ::String,
420
- ?identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP"),
416
+ ?identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS"),
421
417
  ?iam_identity_provider_arn: ::String,
422
418
  ?identity_center_instance_arn: ::String,
423
419
  ?client_ids_for_oidc: Array[::String],
@@ -983,7 +979,7 @@ module Aws
983
979
  def display_name: () -> ::String
984
980
  def application_id: () -> ::String
985
981
  def application_arn: () -> ::String
986
- def identity_type: () -> ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
982
+ def identity_type: () -> ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
987
983
  def iam_identity_provider_arn: () -> ::String
988
984
  def identity_center_application_arn: () -> ::String
989
985
  def role_arn: () -> ::String
data/sig/types.rbs CHANGED
@@ -123,7 +123,7 @@ module Aws::QBusiness
123
123
  attr_accessor created_at: ::Time
124
124
  attr_accessor updated_at: ::Time
125
125
  attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING")
126
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
126
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
127
127
  attr_accessor quick_sight_configuration: Types::QuickSightConfiguration
128
128
  SENSITIVE: []
129
129
  end
@@ -462,10 +462,22 @@ module Aws::QBusiness
462
462
  end
463
463
  end
464
464
 
465
+ class CreateAnonymousWebExperienceUrlRequest
466
+ attr_accessor application_id: ::String
467
+ attr_accessor web_experience_id: ::String
468
+ attr_accessor session_duration_in_minutes: ::Integer
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class CreateAnonymousWebExperienceUrlResponse
473
+ attr_accessor anonymous_url: ::String
474
+ SENSITIVE: []
475
+ end
476
+
465
477
  class CreateApplicationRequest
466
478
  attr_accessor display_name: ::String
467
479
  attr_accessor role_arn: ::String
468
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
480
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
469
481
  attr_accessor iam_identity_provider_arn: ::String
470
482
  attr_accessor identity_center_instance_arn: ::String
471
483
  attr_accessor client_ids_for_oidc: ::Array[::String]
@@ -1018,7 +1030,7 @@ module Aws::QBusiness
1018
1030
  attr_accessor display_name: ::String
1019
1031
  attr_accessor application_id: ::String
1020
1032
  attr_accessor application_arn: ::String
1021
- attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP")
1033
+ attr_accessor identity_type: ("AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS")
1022
1034
  attr_accessor iam_identity_provider_arn: ::String
1023
1035
  attr_accessor identity_center_application_arn: ::String
1024
1036
  attr_accessor role_arn: ::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.35.0
4
+ version: 1.37.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-21 00:00:00.000000000 Z
11
+ date: 2025-04-29 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