aws-sdk-qbusiness 1.34.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +139 -109
- data/lib/aws-sdk-qbusiness/client.rb +102 -15
- data/lib/aws-sdk-qbusiness/client_api.rb +153 -74
- data/lib/aws-sdk-qbusiness/types.rb +261 -22
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/async_client.rbs +87 -0
- data/sig/client.rbs +17 -16
- data/sig/types.rbs +60 -0
- 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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.36.0 (2025-04-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.35.0 (2025-04-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - The CheckDocumentAccess API for Amazon Q Business is a self-service debugging API that allows administrators to verify document access permissions and review Access Control List (ACL) configurations.
|
13
|
+
|
4
14
|
1.34.0 (2025-04-10)
|
5
15
|
------------------
|
6
16
|
|
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
|
|
@@ -1072,6 +1072,88 @@ module Aws::QBusiness
|
|
1072
1072
|
req.send_request(options)
|
1073
1073
|
end
|
1074
1074
|
|
1075
|
+
# Verifies if a user has access permissions for a specified document and
|
1076
|
+
# returns the actual ACL attached to the document. Resolves user access
|
1077
|
+
# on the document via user aliases and groups when verifying user
|
1078
|
+
# access.
|
1079
|
+
#
|
1080
|
+
# @option params [required, String] :application_id
|
1081
|
+
# The unique identifier of the application. This is required to identify
|
1082
|
+
# the specific Amazon Q Business application context for the document
|
1083
|
+
# access check.
|
1084
|
+
#
|
1085
|
+
# @option params [required, String] :index_id
|
1086
|
+
# The unique identifier of the index. Used to locate the correct index
|
1087
|
+
# within the application where the document is stored.
|
1088
|
+
#
|
1089
|
+
# @option params [required, String] :user_id
|
1090
|
+
# The unique identifier of the user. Used to check the access
|
1091
|
+
# permissions for this specific user against the document's ACL.
|
1092
|
+
#
|
1093
|
+
# @option params [required, String] :document_id
|
1094
|
+
# The unique identifier of the document. Specifies which document's
|
1095
|
+
# access permissions are being checked.
|
1096
|
+
#
|
1097
|
+
# @option params [String] :data_source_id
|
1098
|
+
# The unique identifier of the data source. Identifies the specific data
|
1099
|
+
# source from which the document originates. Should not be used when a
|
1100
|
+
# document is uploaded directly with BatchPutDocument, as no
|
1101
|
+
# dataSourceId is available or necessary.
|
1102
|
+
#
|
1103
|
+
# @return [Types::CheckDocumentAccessResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1104
|
+
#
|
1105
|
+
# * {Types::CheckDocumentAccessResponse#user_groups #user_groups} => Array<Types::AssociatedGroup>
|
1106
|
+
# * {Types::CheckDocumentAccessResponse#user_aliases #user_aliases} => Array<Types::AssociatedUser>
|
1107
|
+
# * {Types::CheckDocumentAccessResponse#has_access #has_access} => Boolean
|
1108
|
+
# * {Types::CheckDocumentAccessResponse#document_acl #document_acl} => Types::DocumentAcl
|
1109
|
+
#
|
1110
|
+
# @example Request syntax with placeholder values
|
1111
|
+
#
|
1112
|
+
# resp = client.check_document_access({
|
1113
|
+
# application_id: "ApplicationId", # required
|
1114
|
+
# index_id: "IndexId", # required
|
1115
|
+
# user_id: "String", # required
|
1116
|
+
# document_id: "DocumentId", # required
|
1117
|
+
# data_source_id: "DataSourceId",
|
1118
|
+
# })
|
1119
|
+
#
|
1120
|
+
# @example Response structure
|
1121
|
+
#
|
1122
|
+
# resp.user_groups #=> Array
|
1123
|
+
# resp.user_groups[0].name #=> String
|
1124
|
+
# resp.user_groups[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1125
|
+
# resp.user_aliases #=> Array
|
1126
|
+
# resp.user_aliases[0].id #=> String
|
1127
|
+
# resp.user_aliases[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1128
|
+
# resp.has_access #=> Boolean
|
1129
|
+
# resp.document_acl.allowlist.member_relation #=> String, one of "AND", "OR"
|
1130
|
+
# resp.document_acl.allowlist.conditions #=> Array
|
1131
|
+
# resp.document_acl.allowlist.conditions[0].member_relation #=> String, one of "AND", "OR"
|
1132
|
+
# resp.document_acl.allowlist.conditions[0].users #=> Array
|
1133
|
+
# resp.document_acl.allowlist.conditions[0].users[0].id #=> String
|
1134
|
+
# resp.document_acl.allowlist.conditions[0].users[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1135
|
+
# resp.document_acl.allowlist.conditions[0].groups #=> Array
|
1136
|
+
# resp.document_acl.allowlist.conditions[0].groups[0].name #=> String
|
1137
|
+
# resp.document_acl.allowlist.conditions[0].groups[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1138
|
+
# resp.document_acl.deny_list.member_relation #=> String, one of "AND", "OR"
|
1139
|
+
# resp.document_acl.deny_list.conditions #=> Array
|
1140
|
+
# resp.document_acl.deny_list.conditions[0].member_relation #=> String, one of "AND", "OR"
|
1141
|
+
# resp.document_acl.deny_list.conditions[0].users #=> Array
|
1142
|
+
# resp.document_acl.deny_list.conditions[0].users[0].id #=> String
|
1143
|
+
# resp.document_acl.deny_list.conditions[0].users[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1144
|
+
# resp.document_acl.deny_list.conditions[0].groups #=> Array
|
1145
|
+
# resp.document_acl.deny_list.conditions[0].groups[0].name #=> String
|
1146
|
+
# resp.document_acl.deny_list.conditions[0].groups[0].type #=> String, one of "INDEX", "DATASOURCE"
|
1147
|
+
#
|
1148
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/CheckDocumentAccess AWS API Documentation
|
1149
|
+
#
|
1150
|
+
# @overload check_document_access(params = {})
|
1151
|
+
# @param [Hash] params ({})
|
1152
|
+
def check_document_access(params = {}, options = {})
|
1153
|
+
req = build_request(:check_document_access, params)
|
1154
|
+
req.send_request(options)
|
1155
|
+
end
|
1156
|
+
|
1075
1157
|
# Creates an Amazon Q Business application.
|
1076
1158
|
#
|
1077
1159
|
# <note markdown="1"> There are new tiers for Amazon Q Business. Not all features in Amazon
|
@@ -2017,12 +2099,14 @@ module Aws::QBusiness
|
|
2017
2099
|
#
|
2018
2100
|
# @option params [Array<String>] :origins
|
2019
2101
|
# Sets the website domain origins that are allowed to embed the Amazon Q
|
2020
|
-
# Business web experience.
|
2021
|
-
#
|
2022
|
-
#
|
2023
|
-
#
|
2024
|
-
# not a full path. For example,
|
2025
|
-
#
|
2102
|
+
# Business web experience. The *domain origin* refers to the base URL
|
2103
|
+
# for accessing a website including the protocol (`http/https`), the
|
2104
|
+
# domain name, and the port number (if specified).
|
2105
|
+
#
|
2106
|
+
# <note markdown="1"> You must only submit a *base URL* and not a full path. For example,
|
2107
|
+
# `https://docs.aws.amazon.com`.
|
2108
|
+
#
|
2109
|
+
# </note>
|
2026
2110
|
#
|
2027
2111
|
# @option params [String] :role_arn
|
2028
2112
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
@@ -5601,14 +5685,17 @@ module Aws::QBusiness
|
|
5601
5685
|
#
|
5602
5686
|
# @option params [Array<String>] :origins
|
5603
5687
|
# Updates the website domain origins that are allowed to embed the
|
5604
|
-
# Amazon Q Business web experience.
|
5605
|
-
#
|
5606
|
-
# (
|
5607
|
-
#
|
5608
|
-
# <
|
5609
|
-
#
|
5610
|
-
#
|
5611
|
-
#
|
5688
|
+
# Amazon Q Business web experience. The *domain origin* refers to the
|
5689
|
+
# *base URL* for accessing a website including the protocol
|
5690
|
+
# (`http/https`), the domain name, and the port number (if specified).
|
5691
|
+
#
|
5692
|
+
# <note markdown="1"> * Any values except `null` submitted as part of this update will
|
5693
|
+
# replace all previous values.
|
5694
|
+
#
|
5695
|
+
# * You must only submit a *base URL* and not a full path. For example,
|
5696
|
+
# `https://docs.aws.amazon.com`.
|
5697
|
+
#
|
5698
|
+
# </note>
|
5612
5699
|
#
|
5613
5700
|
# @option params [Types::BrowserExtensionConfiguration] :browser_extension_configuration
|
5614
5701
|
# The browser extension configuration for an Amazon Q Business web
|
@@ -5698,7 +5785,7 @@ module Aws::QBusiness
|
|
5698
5785
|
tracer: tracer
|
5699
5786
|
)
|
5700
5787
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
5701
|
-
context[:gem_version] = '1.
|
5788
|
+
context[:gem_version] = '1.36.0'
|
5702
5789
|
Seahorse::Client::Request.new(handlers, context)
|
5703
5790
|
end
|
5704
5791
|
|