aws-sdk-qbusiness 1.18.0 → 1.20.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-qbusiness/async_client.rb +2 -2
- data/lib/aws-sdk-qbusiness/client.rb +34 -3
- data/lib/aws-sdk-qbusiness/client_api.rb +7 -0
- data/lib/aws-sdk-qbusiness/endpoint_parameters.rb +8 -3
- data/lib/aws-sdk-qbusiness/endpoints.rb +2 -558
- data/lib/aws-sdk-qbusiness/plugins/endpoints.rb +1 -118
- data/lib/aws-sdk-qbusiness/types.rb +49 -8
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f8e59c764b0cf60bfa64a54c486d0935658877327aed653302b7afd50952c91
|
4
|
+
data.tar.gz: 932afe71032a7b2384093fca69a3b12d8f8bd96133920c336a878b701595d0bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a40904cd390017ab4c908ac70cfd784e20d8a768110057a65c5d5215701138afea0538da876311be16cdaf7b856b0e15054d73b5ce2536c3bbaffd09d400663c
|
7
|
+
data.tar.gz: d42c532d964424fb8f1427e4b0ce3b7c740b8b883c1267911fcc0ef6e520d3025dc76155cac959918965fa7fcbca88174d5015726346ce21da444cc8667f122c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.19.0 (2024-10-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites.
|
13
|
+
|
4
14
|
1.18.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -372,7 +372,7 @@ module Aws::QBusiness
|
|
372
372
|
# The identifier of the user attached to the chat input.
|
373
373
|
#
|
374
374
|
# @option params [Array<String>] :user_groups
|
375
|
-
# The
|
375
|
+
# The group names that a user associated with the chat input belongs to.
|
376
376
|
#
|
377
377
|
# @option params [String] :conversation_id
|
378
378
|
# The identifier of the Amazon Q Business conversation.
|
@@ -603,7 +603,7 @@ module Aws::QBusiness
|
|
603
603
|
tracer: tracer
|
604
604
|
)
|
605
605
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
606
|
-
context[:gem_version] = '1.
|
606
|
+
context[:gem_version] = '1.20.0'
|
607
607
|
Seahorse::Client::Request.new(handlers, context)
|
608
608
|
end
|
609
609
|
|
@@ -688,7 +688,7 @@ module Aws::QBusiness
|
|
688
688
|
# The identifier of the user attached to the chat input.
|
689
689
|
#
|
690
690
|
# @option params [Array<String>] :user_groups
|
691
|
-
# The
|
691
|
+
# The group names that a user associated with the chat input belongs to.
|
692
692
|
#
|
693
693
|
# @option params [String] :user_message
|
694
694
|
# A end user message in a conversation.
|
@@ -939,7 +939,13 @@ module Aws::QBusiness
|
|
939
939
|
#
|
940
940
|
# @option params [String] :role_arn
|
941
941
|
# The Amazon Resource Name (ARN) of an IAM role with permissions to
|
942
|
-
# access your Amazon CloudWatch logs and metrics.
|
942
|
+
# access your Amazon CloudWatch logs and metrics. If this property is
|
943
|
+
# not specified, Amazon Q Business will create a [service linked role
|
944
|
+
# (SLR)][1] and use it as the application's role.
|
945
|
+
#
|
946
|
+
#
|
947
|
+
#
|
948
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles.html#slr-permissions
|
943
949
|
#
|
944
950
|
# @option params [String] :identity_type
|
945
951
|
# The authentication type being used by a Amazon Q Business application.
|
@@ -1588,6 +1594,15 @@ module Aws::QBusiness
|
|
1588
1594
|
# Determines whether sample prompts are enabled in the web experience
|
1589
1595
|
# for an end user.
|
1590
1596
|
#
|
1597
|
+
# @option params [Array<String>] :origins
|
1598
|
+
# Sets the website domain origins that are allowed to embed the Amazon Q
|
1599
|
+
# Business web experience. The <i>domain origin</i> refers to the
|
1600
|
+
# base URL for accessing a website including the protocol
|
1601
|
+
# (<code>http/https</code>), the domain name, and the port number (if
|
1602
|
+
# specified). </p> <note> <p>You must only submit a <i>base URL</i> and
|
1603
|
+
# not a full path. For example,
|
1604
|
+
# <code>https://docs.aws.amazon.com</code>.</p> </note>
|
1605
|
+
#
|
1591
1606
|
# @option params [String] :role_arn
|
1592
1607
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
1593
1608
|
# web experience.
|
@@ -1630,6 +1645,7 @@ module Aws::QBusiness
|
|
1630
1645
|
# subtitle: "WebExperienceSubtitle",
|
1631
1646
|
# welcome_message: "WebExperienceWelcomeMessage",
|
1632
1647
|
# sample_prompts_control_mode: "ENABLED", # accepts ENABLED, DISABLED
|
1648
|
+
# origins: ["Origin"],
|
1633
1649
|
# role_arn: "RoleArn",
|
1634
1650
|
# tags: [
|
1635
1651
|
# {
|
@@ -2496,6 +2512,7 @@ module Aws::QBusiness
|
|
2496
2512
|
# * {Types::GetWebExperienceResponse#subtitle #subtitle} => String
|
2497
2513
|
# * {Types::GetWebExperienceResponse#welcome_message #welcome_message} => String
|
2498
2514
|
# * {Types::GetWebExperienceResponse#sample_prompts_control_mode #sample_prompts_control_mode} => String
|
2515
|
+
# * {Types::GetWebExperienceResponse#origins #origins} => Array<String>
|
2499
2516
|
# * {Types::GetWebExperienceResponse#role_arn #role_arn} => String
|
2500
2517
|
# * {Types::GetWebExperienceResponse#identity_provider_configuration #identity_provider_configuration} => Types::IdentityProviderConfiguration
|
2501
2518
|
# * {Types::GetWebExperienceResponse#authentication_configuration #authentication_configuration} => Types::WebExperienceAuthConfiguration
|
@@ -2521,6 +2538,8 @@ module Aws::QBusiness
|
|
2521
2538
|
# resp.subtitle #=> String
|
2522
2539
|
# resp.welcome_message #=> String
|
2523
2540
|
# resp.sample_prompts_control_mode #=> String, one of "ENABLED", "DISABLED"
|
2541
|
+
# resp.origins #=> Array
|
2542
|
+
# resp.origins[0] #=> String
|
2524
2543
|
# resp.role_arn #=> String
|
2525
2544
|
# resp.identity_provider_configuration.saml_configuration.authentication_url #=> String
|
2526
2545
|
# resp.identity_provider_configuration.open_id_connect_configuration.secrets_arn #=> String
|
@@ -4097,6 +4116,17 @@ module Aws::QBusiness
|
|
4097
4116
|
# Information about the identity provider (IdP) used to authenticate end
|
4098
4117
|
# users of an Amazon Q Business web experience.
|
4099
4118
|
#
|
4119
|
+
# @option params [Array<String>] :origins
|
4120
|
+
# Updates the website domain origins that are allowed to embed the
|
4121
|
+
# Amazon Q Business web experience. The <i>domain origin</i> refers
|
4122
|
+
# to the <i>base URL</i> for accessing a website including the protocol
|
4123
|
+
# (<code>http/https</code>), the domain name, and the port number (if
|
4124
|
+
# specified).</p> <note> <ul> <li> <p>Any values except
|
4125
|
+
# <code>null</code> submitted as part of this update will replace all
|
4126
|
+
# previous values.</p> </li> <li> <p>You must only submit a <i>base
|
4127
|
+
# URL</i> and not a full path. For example,
|
4128
|
+
# <code>https://docs.aws.amazon.com</code>.</p> </li> </ul> </note>
|
4129
|
+
#
|
4100
4130
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4101
4131
|
#
|
4102
4132
|
# @example Request syntax with placeholder values
|
@@ -4126,6 +4156,7 @@ module Aws::QBusiness
|
|
4126
4156
|
# secrets_role: "RoleArn", # required
|
4127
4157
|
# },
|
4128
4158
|
# },
|
4159
|
+
# origins: ["Origin"],
|
4129
4160
|
# })
|
4130
4161
|
#
|
4131
4162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateWebExperience AWS API Documentation
|
@@ -4155,7 +4186,7 @@ module Aws::QBusiness
|
|
4155
4186
|
tracer: tracer
|
4156
4187
|
)
|
4157
4188
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
4158
|
-
context[:gem_version] = '1.
|
4189
|
+
context[:gem_version] = '1.20.0'
|
4159
4190
|
Seahorse::Client::Request.new(handlers, context)
|
4160
4191
|
end
|
4161
4192
|
|
@@ -303,6 +303,7 @@ module Aws::QBusiness
|
|
303
303
|
NumberAttributeBoostingType = Shapes::StringShape.new(name: 'NumberAttributeBoostingType')
|
304
304
|
OAuth2ClientCredentialConfiguration = Shapes::StructureShape.new(name: 'OAuth2ClientCredentialConfiguration')
|
305
305
|
OpenIDConnectProviderConfiguration = Shapes::StructureShape.new(name: 'OpenIDConnectProviderConfiguration')
|
306
|
+
Origin = Shapes::StringShape.new(name: 'Origin')
|
306
307
|
Payload = Shapes::StringShape.new(name: 'Payload')
|
307
308
|
PersonalizationConfiguration = Shapes::StructureShape.new(name: 'PersonalizationConfiguration')
|
308
309
|
PersonalizationControlMode = Shapes::StringShape.new(name: 'PersonalizationControlMode')
|
@@ -427,6 +428,7 @@ module Aws::QBusiness
|
|
427
428
|
WebExperienceArn = Shapes::StringShape.new(name: 'WebExperienceArn')
|
428
429
|
WebExperienceAuthConfiguration = Shapes::UnionShape.new(name: 'WebExperienceAuthConfiguration')
|
429
430
|
WebExperienceId = Shapes::StringShape.new(name: 'WebExperienceId')
|
431
|
+
WebExperienceOrigins = Shapes::ListShape.new(name: 'WebExperienceOrigins')
|
430
432
|
WebExperienceSamplePromptsControlMode = Shapes::StringShape.new(name: 'WebExperienceSamplePromptsControlMode')
|
431
433
|
WebExperienceStatus = Shapes::StringShape.new(name: 'WebExperienceStatus')
|
432
434
|
WebExperienceSubtitle = Shapes::StringShape.new(name: 'WebExperienceSubtitle')
|
@@ -786,6 +788,7 @@ module Aws::QBusiness
|
|
786
788
|
CreateWebExperienceRequest.add_member(:subtitle, Shapes::ShapeRef.new(shape: WebExperienceSubtitle, location_name: "subtitle"))
|
787
789
|
CreateWebExperienceRequest.add_member(:welcome_message, Shapes::ShapeRef.new(shape: WebExperienceWelcomeMessage, location_name: "welcomeMessage"))
|
788
790
|
CreateWebExperienceRequest.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
791
|
+
CreateWebExperienceRequest.add_member(:origins, Shapes::ShapeRef.new(shape: WebExperienceOrigins, location_name: "origins"))
|
789
792
|
CreateWebExperienceRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
790
793
|
CreateWebExperienceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
791
794
|
CreateWebExperienceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -1167,6 +1170,7 @@ module Aws::QBusiness
|
|
1167
1170
|
GetWebExperienceResponse.add_member(:subtitle, Shapes::ShapeRef.new(shape: WebExperienceSubtitle, location_name: "subtitle"))
|
1168
1171
|
GetWebExperienceResponse.add_member(:welcome_message, Shapes::ShapeRef.new(shape: WebExperienceWelcomeMessage, location_name: "welcomeMessage"))
|
1169
1172
|
GetWebExperienceResponse.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
1173
|
+
GetWebExperienceResponse.add_member(:origins, Shapes::ShapeRef.new(shape: WebExperienceOrigins, location_name: "origins"))
|
1170
1174
|
GetWebExperienceResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
1171
1175
|
GetWebExperienceResponse.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "identityProviderConfiguration"))
|
1172
1176
|
GetWebExperienceResponse.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: WebExperienceAuthConfiguration, deprecated: true, location_name: "authenticationConfiguration", metadata: {"deprecatedMessage"=>"Property associated with legacy SAML IdP flow. Deprecated in favor of using AWS IAM Identity Center for user management."}))
|
@@ -1713,6 +1717,7 @@ module Aws::QBusiness
|
|
1713
1717
|
UpdateWebExperienceRequest.add_member(:welcome_message, Shapes::ShapeRef.new(shape: WebExperienceWelcomeMessage, location_name: "welcomeMessage"))
|
1714
1718
|
UpdateWebExperienceRequest.add_member(:sample_prompts_control_mode, Shapes::ShapeRef.new(shape: WebExperienceSamplePromptsControlMode, location_name: "samplePromptsControlMode"))
|
1715
1719
|
UpdateWebExperienceRequest.add_member(:identity_provider_configuration, Shapes::ShapeRef.new(shape: IdentityProviderConfiguration, location_name: "identityProviderConfiguration"))
|
1720
|
+
UpdateWebExperienceRequest.add_member(:origins, Shapes::ShapeRef.new(shape: WebExperienceOrigins, location_name: "origins"))
|
1716
1721
|
UpdateWebExperienceRequest.struct_class = Types::UpdateWebExperienceRequest
|
1717
1722
|
|
1718
1723
|
UpdateWebExperienceResponse.struct_class = Types::UpdateWebExperienceResponse
|
@@ -1756,6 +1761,8 @@ module Aws::QBusiness
|
|
1756
1761
|
WebExperienceAuthConfiguration.add_member_subclass(:unknown, Types::WebExperienceAuthConfiguration::Unknown)
|
1757
1762
|
WebExperienceAuthConfiguration.struct_class = Types::WebExperienceAuthConfiguration
|
1758
1763
|
|
1764
|
+
WebExperienceOrigins.member = Shapes::ShapeRef.new(shape: Origin)
|
1765
|
+
|
1759
1766
|
WebExperiences.member = Shapes::ShapeRef.new(shape: WebExperience)
|
1760
1767
|
|
1761
1768
|
|
@@ -45,10 +45,15 @@ module Aws::QBusiness
|
|
45
45
|
self[:region] = options[:region]
|
46
46
|
self[:use_fips] = options[:use_fips]
|
47
47
|
self[:use_fips] = false if self[:use_fips].nil?
|
48
|
-
if self[:use_fips].nil?
|
49
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
50
|
-
end
|
51
48
|
self[:endpoint] = options[:endpoint]
|
52
49
|
end
|
50
|
+
|
51
|
+
def self.create(config, options={})
|
52
|
+
new({
|
53
|
+
region: config.region,
|
54
|
+
use_fips: config.use_fips_endpoint,
|
55
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
56
|
+
}.merge(options))
|
57
|
+
end
|
53
58
|
end
|
54
59
|
end
|
@@ -12,565 +12,9 @@ module Aws::QBusiness
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class BatchDeleteDocument
|
16
|
-
def self.build(context)
|
17
|
-
Aws::QBusiness::EndpointParameters.new(
|
18
|
-
region: context.config.region,
|
19
|
-
use_fips: context.config.use_fips_endpoint,
|
20
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
21
|
-
)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
class BatchPutDocument
|
26
|
-
def self.build(context)
|
27
|
-
Aws::QBusiness::EndpointParameters.new(
|
28
|
-
region: context.config.region,
|
29
|
-
use_fips: context.config.use_fips_endpoint,
|
30
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
31
|
-
)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
class Chat
|
36
|
-
def self.build(context)
|
37
|
-
Aws::QBusiness::EndpointParameters.new(
|
38
|
-
region: context.config.region,
|
39
|
-
use_fips: context.config.use_fips_endpoint,
|
40
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
41
|
-
)
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
class ChatSync
|
46
|
-
def self.build(context)
|
47
|
-
Aws::QBusiness::EndpointParameters.new(
|
48
|
-
region: context.config.region,
|
49
|
-
use_fips: context.config.use_fips_endpoint,
|
50
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
51
|
-
)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
class CreateApplication
|
56
|
-
def self.build(context)
|
57
|
-
Aws::QBusiness::EndpointParameters.new(
|
58
|
-
region: context.config.region,
|
59
|
-
use_fips: context.config.use_fips_endpoint,
|
60
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
61
|
-
)
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
class CreateDataSource
|
66
|
-
def self.build(context)
|
67
|
-
Aws::QBusiness::EndpointParameters.new(
|
68
|
-
region: context.config.region,
|
69
|
-
use_fips: context.config.use_fips_endpoint,
|
70
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
71
|
-
)
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
class CreateIndex
|
76
|
-
def self.build(context)
|
77
|
-
Aws::QBusiness::EndpointParameters.new(
|
78
|
-
region: context.config.region,
|
79
|
-
use_fips: context.config.use_fips_endpoint,
|
80
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
81
|
-
)
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
class CreatePlugin
|
86
|
-
def self.build(context)
|
87
|
-
Aws::QBusiness::EndpointParameters.new(
|
88
|
-
region: context.config.region,
|
89
|
-
use_fips: context.config.use_fips_endpoint,
|
90
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
91
|
-
)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
class CreateRetriever
|
96
|
-
def self.build(context)
|
97
|
-
Aws::QBusiness::EndpointParameters.new(
|
98
|
-
region: context.config.region,
|
99
|
-
use_fips: context.config.use_fips_endpoint,
|
100
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
101
|
-
)
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
class CreateUser
|
106
|
-
def self.build(context)
|
107
|
-
Aws::QBusiness::EndpointParameters.new(
|
108
|
-
region: context.config.region,
|
109
|
-
use_fips: context.config.use_fips_endpoint,
|
110
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
111
|
-
)
|
112
|
-
end
|
113
|
-
end
|
114
|
-
|
115
|
-
class CreateWebExperience
|
116
|
-
def self.build(context)
|
117
|
-
Aws::QBusiness::EndpointParameters.new(
|
118
|
-
region: context.config.region,
|
119
|
-
use_fips: context.config.use_fips_endpoint,
|
120
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
class DeleteApplication
|
126
|
-
def self.build(context)
|
127
|
-
Aws::QBusiness::EndpointParameters.new(
|
128
|
-
region: context.config.region,
|
129
|
-
use_fips: context.config.use_fips_endpoint,
|
130
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
131
|
-
)
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
class DeleteChatControlsConfiguration
|
136
|
-
def self.build(context)
|
137
|
-
Aws::QBusiness::EndpointParameters.new(
|
138
|
-
region: context.config.region,
|
139
|
-
use_fips: context.config.use_fips_endpoint,
|
140
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
141
|
-
)
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
class DeleteConversation
|
146
|
-
def self.build(context)
|
147
|
-
Aws::QBusiness::EndpointParameters.new(
|
148
|
-
region: context.config.region,
|
149
|
-
use_fips: context.config.use_fips_endpoint,
|
150
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
151
|
-
)
|
152
|
-
end
|
153
|
-
end
|
154
|
-
|
155
|
-
class DeleteDataSource
|
156
|
-
def self.build(context)
|
157
|
-
Aws::QBusiness::EndpointParameters.new(
|
158
|
-
region: context.config.region,
|
159
|
-
use_fips: context.config.use_fips_endpoint,
|
160
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
161
|
-
)
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
class DeleteGroup
|
166
|
-
def self.build(context)
|
167
|
-
Aws::QBusiness::EndpointParameters.new(
|
168
|
-
region: context.config.region,
|
169
|
-
use_fips: context.config.use_fips_endpoint,
|
170
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
171
|
-
)
|
172
|
-
end
|
173
|
-
end
|
174
|
-
|
175
|
-
class DeleteIndex
|
176
|
-
def self.build(context)
|
177
|
-
Aws::QBusiness::EndpointParameters.new(
|
178
|
-
region: context.config.region,
|
179
|
-
use_fips: context.config.use_fips_endpoint,
|
180
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
181
|
-
)
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
class DeletePlugin
|
186
|
-
def self.build(context)
|
187
|
-
Aws::QBusiness::EndpointParameters.new(
|
188
|
-
region: context.config.region,
|
189
|
-
use_fips: context.config.use_fips_endpoint,
|
190
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
191
|
-
)
|
192
|
-
end
|
193
|
-
end
|
194
|
-
|
195
|
-
class DeleteRetriever
|
196
|
-
def self.build(context)
|
197
|
-
Aws::QBusiness::EndpointParameters.new(
|
198
|
-
region: context.config.region,
|
199
|
-
use_fips: context.config.use_fips_endpoint,
|
200
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
201
|
-
)
|
202
|
-
end
|
203
|
-
end
|
204
|
-
|
205
|
-
class DeleteUser
|
206
|
-
def self.build(context)
|
207
|
-
Aws::QBusiness::EndpointParameters.new(
|
208
|
-
region: context.config.region,
|
209
|
-
use_fips: context.config.use_fips_endpoint,
|
210
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
211
|
-
)
|
212
|
-
end
|
213
|
-
end
|
214
|
-
|
215
|
-
class DeleteWebExperience
|
216
|
-
def self.build(context)
|
217
|
-
Aws::QBusiness::EndpointParameters.new(
|
218
|
-
region: context.config.region,
|
219
|
-
use_fips: context.config.use_fips_endpoint,
|
220
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
221
|
-
)
|
222
|
-
end
|
223
|
-
end
|
224
|
-
|
225
|
-
class GetApplication
|
226
|
-
def self.build(context)
|
227
|
-
Aws::QBusiness::EndpointParameters.new(
|
228
|
-
region: context.config.region,
|
229
|
-
use_fips: context.config.use_fips_endpoint,
|
230
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
231
|
-
)
|
232
|
-
end
|
233
|
-
end
|
234
|
-
|
235
|
-
class GetChatControlsConfiguration
|
236
|
-
def self.build(context)
|
237
|
-
Aws::QBusiness::EndpointParameters.new(
|
238
|
-
region: context.config.region,
|
239
|
-
use_fips: context.config.use_fips_endpoint,
|
240
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
241
|
-
)
|
242
|
-
end
|
243
|
-
end
|
244
|
-
|
245
|
-
class GetDataSource
|
246
|
-
def self.build(context)
|
247
|
-
Aws::QBusiness::EndpointParameters.new(
|
248
|
-
region: context.config.region,
|
249
|
-
use_fips: context.config.use_fips_endpoint,
|
250
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
251
|
-
)
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
class GetGroup
|
256
|
-
def self.build(context)
|
257
|
-
Aws::QBusiness::EndpointParameters.new(
|
258
|
-
region: context.config.region,
|
259
|
-
use_fips: context.config.use_fips_endpoint,
|
260
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
261
|
-
)
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
class GetIndex
|
266
|
-
def self.build(context)
|
267
|
-
Aws::QBusiness::EndpointParameters.new(
|
268
|
-
region: context.config.region,
|
269
|
-
use_fips: context.config.use_fips_endpoint,
|
270
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
271
|
-
)
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
|
-
class GetPlugin
|
276
|
-
def self.build(context)
|
277
|
-
Aws::QBusiness::EndpointParameters.new(
|
278
|
-
region: context.config.region,
|
279
|
-
use_fips: context.config.use_fips_endpoint,
|
280
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
281
|
-
)
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
class GetRetriever
|
286
|
-
def self.build(context)
|
287
|
-
Aws::QBusiness::EndpointParameters.new(
|
288
|
-
region: context.config.region,
|
289
|
-
use_fips: context.config.use_fips_endpoint,
|
290
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
291
|
-
)
|
292
|
-
end
|
293
|
-
end
|
294
15
|
|
295
|
-
|
296
|
-
|
297
|
-
Aws::QBusiness::EndpointParameters.new(
|
298
|
-
region: context.config.region,
|
299
|
-
use_fips: context.config.use_fips_endpoint,
|
300
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
301
|
-
)
|
302
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::QBusiness::EndpointParameters.create(context.config)
|
303
18
|
end
|
304
|
-
|
305
|
-
class GetWebExperience
|
306
|
-
def self.build(context)
|
307
|
-
Aws::QBusiness::EndpointParameters.new(
|
308
|
-
region: context.config.region,
|
309
|
-
use_fips: context.config.use_fips_endpoint,
|
310
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
311
|
-
)
|
312
|
-
end
|
313
|
-
end
|
314
|
-
|
315
|
-
class ListApplications
|
316
|
-
def self.build(context)
|
317
|
-
Aws::QBusiness::EndpointParameters.new(
|
318
|
-
region: context.config.region,
|
319
|
-
use_fips: context.config.use_fips_endpoint,
|
320
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
321
|
-
)
|
322
|
-
end
|
323
|
-
end
|
324
|
-
|
325
|
-
class ListConversations
|
326
|
-
def self.build(context)
|
327
|
-
Aws::QBusiness::EndpointParameters.new(
|
328
|
-
region: context.config.region,
|
329
|
-
use_fips: context.config.use_fips_endpoint,
|
330
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
331
|
-
)
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
class ListDataSourceSyncJobs
|
336
|
-
def self.build(context)
|
337
|
-
Aws::QBusiness::EndpointParameters.new(
|
338
|
-
region: context.config.region,
|
339
|
-
use_fips: context.config.use_fips_endpoint,
|
340
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
341
|
-
)
|
342
|
-
end
|
343
|
-
end
|
344
|
-
|
345
|
-
class ListDataSources
|
346
|
-
def self.build(context)
|
347
|
-
Aws::QBusiness::EndpointParameters.new(
|
348
|
-
region: context.config.region,
|
349
|
-
use_fips: context.config.use_fips_endpoint,
|
350
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
351
|
-
)
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
class ListDocuments
|
356
|
-
def self.build(context)
|
357
|
-
Aws::QBusiness::EndpointParameters.new(
|
358
|
-
region: context.config.region,
|
359
|
-
use_fips: context.config.use_fips_endpoint,
|
360
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
361
|
-
)
|
362
|
-
end
|
363
|
-
end
|
364
|
-
|
365
|
-
class ListGroups
|
366
|
-
def self.build(context)
|
367
|
-
Aws::QBusiness::EndpointParameters.new(
|
368
|
-
region: context.config.region,
|
369
|
-
use_fips: context.config.use_fips_endpoint,
|
370
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
371
|
-
)
|
372
|
-
end
|
373
|
-
end
|
374
|
-
|
375
|
-
class ListIndices
|
376
|
-
def self.build(context)
|
377
|
-
Aws::QBusiness::EndpointParameters.new(
|
378
|
-
region: context.config.region,
|
379
|
-
use_fips: context.config.use_fips_endpoint,
|
380
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
381
|
-
)
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
class ListMessages
|
386
|
-
def self.build(context)
|
387
|
-
Aws::QBusiness::EndpointParameters.new(
|
388
|
-
region: context.config.region,
|
389
|
-
use_fips: context.config.use_fips_endpoint,
|
390
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
391
|
-
)
|
392
|
-
end
|
393
|
-
end
|
394
|
-
|
395
|
-
class ListPlugins
|
396
|
-
def self.build(context)
|
397
|
-
Aws::QBusiness::EndpointParameters.new(
|
398
|
-
region: context.config.region,
|
399
|
-
use_fips: context.config.use_fips_endpoint,
|
400
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
401
|
-
)
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
|
-
class ListRetrievers
|
406
|
-
def self.build(context)
|
407
|
-
Aws::QBusiness::EndpointParameters.new(
|
408
|
-
region: context.config.region,
|
409
|
-
use_fips: context.config.use_fips_endpoint,
|
410
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
411
|
-
)
|
412
|
-
end
|
413
|
-
end
|
414
|
-
|
415
|
-
class ListTagsForResource
|
416
|
-
def self.build(context)
|
417
|
-
Aws::QBusiness::EndpointParameters.new(
|
418
|
-
region: context.config.region,
|
419
|
-
use_fips: context.config.use_fips_endpoint,
|
420
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
421
|
-
)
|
422
|
-
end
|
423
|
-
end
|
424
|
-
|
425
|
-
class ListWebExperiences
|
426
|
-
def self.build(context)
|
427
|
-
Aws::QBusiness::EndpointParameters.new(
|
428
|
-
region: context.config.region,
|
429
|
-
use_fips: context.config.use_fips_endpoint,
|
430
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
431
|
-
)
|
432
|
-
end
|
433
|
-
end
|
434
|
-
|
435
|
-
class PutFeedback
|
436
|
-
def self.build(context)
|
437
|
-
Aws::QBusiness::EndpointParameters.new(
|
438
|
-
region: context.config.region,
|
439
|
-
use_fips: context.config.use_fips_endpoint,
|
440
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
441
|
-
)
|
442
|
-
end
|
443
|
-
end
|
444
|
-
|
445
|
-
class PutGroup
|
446
|
-
def self.build(context)
|
447
|
-
Aws::QBusiness::EndpointParameters.new(
|
448
|
-
region: context.config.region,
|
449
|
-
use_fips: context.config.use_fips_endpoint,
|
450
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
451
|
-
)
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
|
-
class StartDataSourceSyncJob
|
456
|
-
def self.build(context)
|
457
|
-
Aws::QBusiness::EndpointParameters.new(
|
458
|
-
region: context.config.region,
|
459
|
-
use_fips: context.config.use_fips_endpoint,
|
460
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
461
|
-
)
|
462
|
-
end
|
463
|
-
end
|
464
|
-
|
465
|
-
class StopDataSourceSyncJob
|
466
|
-
def self.build(context)
|
467
|
-
Aws::QBusiness::EndpointParameters.new(
|
468
|
-
region: context.config.region,
|
469
|
-
use_fips: context.config.use_fips_endpoint,
|
470
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
471
|
-
)
|
472
|
-
end
|
473
|
-
end
|
474
|
-
|
475
|
-
class TagResource
|
476
|
-
def self.build(context)
|
477
|
-
Aws::QBusiness::EndpointParameters.new(
|
478
|
-
region: context.config.region,
|
479
|
-
use_fips: context.config.use_fips_endpoint,
|
480
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
481
|
-
)
|
482
|
-
end
|
483
|
-
end
|
484
|
-
|
485
|
-
class UntagResource
|
486
|
-
def self.build(context)
|
487
|
-
Aws::QBusiness::EndpointParameters.new(
|
488
|
-
region: context.config.region,
|
489
|
-
use_fips: context.config.use_fips_endpoint,
|
490
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
491
|
-
)
|
492
|
-
end
|
493
|
-
end
|
494
|
-
|
495
|
-
class UpdateApplication
|
496
|
-
def self.build(context)
|
497
|
-
Aws::QBusiness::EndpointParameters.new(
|
498
|
-
region: context.config.region,
|
499
|
-
use_fips: context.config.use_fips_endpoint,
|
500
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
501
|
-
)
|
502
|
-
end
|
503
|
-
end
|
504
|
-
|
505
|
-
class UpdateChatControlsConfiguration
|
506
|
-
def self.build(context)
|
507
|
-
Aws::QBusiness::EndpointParameters.new(
|
508
|
-
region: context.config.region,
|
509
|
-
use_fips: context.config.use_fips_endpoint,
|
510
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
511
|
-
)
|
512
|
-
end
|
513
|
-
end
|
514
|
-
|
515
|
-
class UpdateDataSource
|
516
|
-
def self.build(context)
|
517
|
-
Aws::QBusiness::EndpointParameters.new(
|
518
|
-
region: context.config.region,
|
519
|
-
use_fips: context.config.use_fips_endpoint,
|
520
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
521
|
-
)
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
|
-
class UpdateIndex
|
526
|
-
def self.build(context)
|
527
|
-
Aws::QBusiness::EndpointParameters.new(
|
528
|
-
region: context.config.region,
|
529
|
-
use_fips: context.config.use_fips_endpoint,
|
530
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
531
|
-
)
|
532
|
-
end
|
533
|
-
end
|
534
|
-
|
535
|
-
class UpdatePlugin
|
536
|
-
def self.build(context)
|
537
|
-
Aws::QBusiness::EndpointParameters.new(
|
538
|
-
region: context.config.region,
|
539
|
-
use_fips: context.config.use_fips_endpoint,
|
540
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
541
|
-
)
|
542
|
-
end
|
543
|
-
end
|
544
|
-
|
545
|
-
class UpdateRetriever
|
546
|
-
def self.build(context)
|
547
|
-
Aws::QBusiness::EndpointParameters.new(
|
548
|
-
region: context.config.region,
|
549
|
-
use_fips: context.config.use_fips_endpoint,
|
550
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
551
|
-
)
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
|
-
class UpdateUser
|
556
|
-
def self.build(context)
|
557
|
-
Aws::QBusiness::EndpointParameters.new(
|
558
|
-
region: context.config.region,
|
559
|
-
use_fips: context.config.use_fips_endpoint,
|
560
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
561
|
-
)
|
562
|
-
end
|
563
|
-
end
|
564
|
-
|
565
|
-
class UpdateWebExperience
|
566
|
-
def self.build(context)
|
567
|
-
Aws::QBusiness::EndpointParameters.new(
|
568
|
-
region: context.config.region,
|
569
|
-
use_fips: context.config.use_fips_endpoint,
|
570
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
571
|
-
)
|
572
|
-
end
|
573
|
-
end
|
574
|
-
|
575
19
|
end
|
576
20
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::QBusiness::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,123 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_delete_document
|
74
|
-
Aws::QBusiness::Endpoints::BatchDeleteDocument.build(context)
|
75
|
-
when :batch_put_document
|
76
|
-
Aws::QBusiness::Endpoints::BatchPutDocument.build(context)
|
77
|
-
when :chat
|
78
|
-
Aws::QBusiness::Endpoints::Chat.build(context)
|
79
|
-
when :chat_sync
|
80
|
-
Aws::QBusiness::Endpoints::ChatSync.build(context)
|
81
|
-
when :create_application
|
82
|
-
Aws::QBusiness::Endpoints::CreateApplication.build(context)
|
83
|
-
when :create_data_source
|
84
|
-
Aws::QBusiness::Endpoints::CreateDataSource.build(context)
|
85
|
-
when :create_index
|
86
|
-
Aws::QBusiness::Endpoints::CreateIndex.build(context)
|
87
|
-
when :create_plugin
|
88
|
-
Aws::QBusiness::Endpoints::CreatePlugin.build(context)
|
89
|
-
when :create_retriever
|
90
|
-
Aws::QBusiness::Endpoints::CreateRetriever.build(context)
|
91
|
-
when :create_user
|
92
|
-
Aws::QBusiness::Endpoints::CreateUser.build(context)
|
93
|
-
when :create_web_experience
|
94
|
-
Aws::QBusiness::Endpoints::CreateWebExperience.build(context)
|
95
|
-
when :delete_application
|
96
|
-
Aws::QBusiness::Endpoints::DeleteApplication.build(context)
|
97
|
-
when :delete_chat_controls_configuration
|
98
|
-
Aws::QBusiness::Endpoints::DeleteChatControlsConfiguration.build(context)
|
99
|
-
when :delete_conversation
|
100
|
-
Aws::QBusiness::Endpoints::DeleteConversation.build(context)
|
101
|
-
when :delete_data_source
|
102
|
-
Aws::QBusiness::Endpoints::DeleteDataSource.build(context)
|
103
|
-
when :delete_group
|
104
|
-
Aws::QBusiness::Endpoints::DeleteGroup.build(context)
|
105
|
-
when :delete_index
|
106
|
-
Aws::QBusiness::Endpoints::DeleteIndex.build(context)
|
107
|
-
when :delete_plugin
|
108
|
-
Aws::QBusiness::Endpoints::DeletePlugin.build(context)
|
109
|
-
when :delete_retriever
|
110
|
-
Aws::QBusiness::Endpoints::DeleteRetriever.build(context)
|
111
|
-
when :delete_user
|
112
|
-
Aws::QBusiness::Endpoints::DeleteUser.build(context)
|
113
|
-
when :delete_web_experience
|
114
|
-
Aws::QBusiness::Endpoints::DeleteWebExperience.build(context)
|
115
|
-
when :get_application
|
116
|
-
Aws::QBusiness::Endpoints::GetApplication.build(context)
|
117
|
-
when :get_chat_controls_configuration
|
118
|
-
Aws::QBusiness::Endpoints::GetChatControlsConfiguration.build(context)
|
119
|
-
when :get_data_source
|
120
|
-
Aws::QBusiness::Endpoints::GetDataSource.build(context)
|
121
|
-
when :get_group
|
122
|
-
Aws::QBusiness::Endpoints::GetGroup.build(context)
|
123
|
-
when :get_index
|
124
|
-
Aws::QBusiness::Endpoints::GetIndex.build(context)
|
125
|
-
when :get_plugin
|
126
|
-
Aws::QBusiness::Endpoints::GetPlugin.build(context)
|
127
|
-
when :get_retriever
|
128
|
-
Aws::QBusiness::Endpoints::GetRetriever.build(context)
|
129
|
-
when :get_user
|
130
|
-
Aws::QBusiness::Endpoints::GetUser.build(context)
|
131
|
-
when :get_web_experience
|
132
|
-
Aws::QBusiness::Endpoints::GetWebExperience.build(context)
|
133
|
-
when :list_applications
|
134
|
-
Aws::QBusiness::Endpoints::ListApplications.build(context)
|
135
|
-
when :list_conversations
|
136
|
-
Aws::QBusiness::Endpoints::ListConversations.build(context)
|
137
|
-
when :list_data_source_sync_jobs
|
138
|
-
Aws::QBusiness::Endpoints::ListDataSourceSyncJobs.build(context)
|
139
|
-
when :list_data_sources
|
140
|
-
Aws::QBusiness::Endpoints::ListDataSources.build(context)
|
141
|
-
when :list_documents
|
142
|
-
Aws::QBusiness::Endpoints::ListDocuments.build(context)
|
143
|
-
when :list_groups
|
144
|
-
Aws::QBusiness::Endpoints::ListGroups.build(context)
|
145
|
-
when :list_indices
|
146
|
-
Aws::QBusiness::Endpoints::ListIndices.build(context)
|
147
|
-
when :list_messages
|
148
|
-
Aws::QBusiness::Endpoints::ListMessages.build(context)
|
149
|
-
when :list_plugins
|
150
|
-
Aws::QBusiness::Endpoints::ListPlugins.build(context)
|
151
|
-
when :list_retrievers
|
152
|
-
Aws::QBusiness::Endpoints::ListRetrievers.build(context)
|
153
|
-
when :list_tags_for_resource
|
154
|
-
Aws::QBusiness::Endpoints::ListTagsForResource.build(context)
|
155
|
-
when :list_web_experiences
|
156
|
-
Aws::QBusiness::Endpoints::ListWebExperiences.build(context)
|
157
|
-
when :put_feedback
|
158
|
-
Aws::QBusiness::Endpoints::PutFeedback.build(context)
|
159
|
-
when :put_group
|
160
|
-
Aws::QBusiness::Endpoints::PutGroup.build(context)
|
161
|
-
when :start_data_source_sync_job
|
162
|
-
Aws::QBusiness::Endpoints::StartDataSourceSyncJob.build(context)
|
163
|
-
when :stop_data_source_sync_job
|
164
|
-
Aws::QBusiness::Endpoints::StopDataSourceSyncJob.build(context)
|
165
|
-
when :tag_resource
|
166
|
-
Aws::QBusiness::Endpoints::TagResource.build(context)
|
167
|
-
when :untag_resource
|
168
|
-
Aws::QBusiness::Endpoints::UntagResource.build(context)
|
169
|
-
when :update_application
|
170
|
-
Aws::QBusiness::Endpoints::UpdateApplication.build(context)
|
171
|
-
when :update_chat_controls_configuration
|
172
|
-
Aws::QBusiness::Endpoints::UpdateChatControlsConfiguration.build(context)
|
173
|
-
when :update_data_source
|
174
|
-
Aws::QBusiness::Endpoints::UpdateDataSource.build(context)
|
175
|
-
when :update_index
|
176
|
-
Aws::QBusiness::Endpoints::UpdateIndex.build(context)
|
177
|
-
when :update_plugin
|
178
|
-
Aws::QBusiness::Endpoints::UpdatePlugin.build(context)
|
179
|
-
when :update_retriever
|
180
|
-
Aws::QBusiness::Endpoints::UpdateRetriever.build(context)
|
181
|
-
when :update_user
|
182
|
-
Aws::QBusiness::Endpoints::UpdateUser.build(context)
|
183
|
-
when :update_web_experience
|
184
|
-
Aws::QBusiness::Endpoints::UpdateWebExperience.build(context)
|
185
|
-
end
|
186
|
-
end
|
187
70
|
end
|
188
71
|
|
189
72
|
def add_handlers(handlers, _config)
|
@@ -874,7 +874,8 @@ module Aws::QBusiness
|
|
874
874
|
# @return [String]
|
875
875
|
#
|
876
876
|
# @!attribute [rw] user_groups
|
877
|
-
# The
|
877
|
+
# The group names that a user associated with the chat input belongs
|
878
|
+
# to.
|
878
879
|
# @return [Array<String>]
|
879
880
|
#
|
880
881
|
# @!attribute [rw] conversation_id
|
@@ -962,7 +963,8 @@ module Aws::QBusiness
|
|
962
963
|
# @return [String]
|
963
964
|
#
|
964
965
|
# @!attribute [rw] user_groups
|
965
|
-
# The
|
966
|
+
# The group names that a user associated with the chat input belongs
|
967
|
+
# to.
|
966
968
|
# @return [Array<String>]
|
967
969
|
#
|
968
970
|
# @!attribute [rw] user_message
|
@@ -1251,7 +1253,13 @@ module Aws::QBusiness
|
|
1251
1253
|
#
|
1252
1254
|
# @!attribute [rw] role_arn
|
1253
1255
|
# The Amazon Resource Name (ARN) of an IAM role with permissions to
|
1254
|
-
# access your Amazon CloudWatch logs and metrics.
|
1256
|
+
# access your Amazon CloudWatch logs and metrics. If this property is
|
1257
|
+
# not specified, Amazon Q Business will create a [service linked role
|
1258
|
+
# (SLR)][1] and use it as the application's role.
|
1259
|
+
#
|
1260
|
+
#
|
1261
|
+
#
|
1262
|
+
# [1]: https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/using-service-linked-roles.html#slr-permissions
|
1255
1263
|
# @return [String]
|
1256
1264
|
#
|
1257
1265
|
# @!attribute [rw] identity_type
|
@@ -1771,6 +1779,16 @@ module Aws::QBusiness
|
|
1771
1779
|
# for an end user.
|
1772
1780
|
# @return [String]
|
1773
1781
|
#
|
1782
|
+
# @!attribute [rw] origins
|
1783
|
+
# Sets the website domain origins that are allowed to embed the Amazon
|
1784
|
+
# Q Business web experience. The <i>domain origin</i> refers to
|
1785
|
+
# the base URL for accessing a website including the protocol
|
1786
|
+
# (<code>http/https</code>), the domain name, and the port number (if
|
1787
|
+
# specified). </p> <note> <p>You must only submit a <i>base URL</i>
|
1788
|
+
# and not a full path. For example,
|
1789
|
+
# <code>https://docs.aws.amazon.com</code>.</p> </note>
|
1790
|
+
# @return [Array<String>]
|
1791
|
+
#
|
1774
1792
|
# @!attribute [rw] role_arn
|
1775
1793
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
1776
1794
|
# web experience.
|
@@ -1812,6 +1830,7 @@ module Aws::QBusiness
|
|
1812
1830
|
:subtitle,
|
1813
1831
|
:welcome_message,
|
1814
1832
|
:sample_prompts_control_mode,
|
1833
|
+
:origins,
|
1815
1834
|
:role_arn,
|
1816
1835
|
:tags,
|
1817
1836
|
:client_token,
|
@@ -3643,6 +3662,14 @@ module Aws::QBusiness
|
|
3643
3662
|
# for an end user.
|
3644
3663
|
# @return [String]
|
3645
3664
|
#
|
3665
|
+
# @!attribute [rw] origins
|
3666
|
+
# Gets the website domain origins that are allowed to embed the Amazon
|
3667
|
+
# Q Business web experience. The <i>domain origin</i> refers to
|
3668
|
+
# the base URL for accessing a website including the protocol
|
3669
|
+
# (<code>http/https</code>), the domain name, and the port number (if
|
3670
|
+
# specified). </p>
|
3671
|
+
# @return [Array<String>]
|
3672
|
+
#
|
3646
3673
|
# @!attribute [rw] role_arn
|
3647
3674
|
# The Amazon Resource Name (ARN) of the service role attached to your
|
3648
3675
|
# web experience.
|
@@ -3678,6 +3705,7 @@ module Aws::QBusiness
|
|
3678
3705
|
:subtitle,
|
3679
3706
|
:welcome_message,
|
3680
3707
|
:sample_prompts_control_mode,
|
3708
|
+
:origins,
|
3681
3709
|
:role_arn,
|
3682
3710
|
:identity_provider_configuration,
|
3683
3711
|
:authentication_configuration,
|
@@ -5198,7 +5226,7 @@ module Aws::QBusiness
|
|
5198
5226
|
#
|
5199
5227
|
class PutGroupResponse < Aws::EmptyStructure; end
|
5200
5228
|
|
5201
|
-
# Configuration information about Amazon Q Apps.
|
5229
|
+
# Configuration information about Amazon Q Apps.
|
5202
5230
|
#
|
5203
5231
|
# @!attribute [rw] q_apps_control_mode
|
5204
5232
|
# Status information about whether end users can create and use Amazon
|
@@ -6294,6 +6322,18 @@ module Aws::QBusiness
|
|
6294
6322
|
# end users of an Amazon Q Business web experience.
|
6295
6323
|
# @return [Types::IdentityProviderConfiguration]
|
6296
6324
|
#
|
6325
|
+
# @!attribute [rw] origins
|
6326
|
+
# Updates the website domain origins that are allowed to embed the
|
6327
|
+
# Amazon Q Business web experience. The <i>domain origin</i>
|
6328
|
+
# refers to the <i>base URL</i> for accessing a website including the
|
6329
|
+
# protocol (<code>http/https</code>), the domain name, and the port
|
6330
|
+
# number (if specified).</p> <note> <ul> <li> <p>Any values except
|
6331
|
+
# <code>null</code> submitted as part of this update will replace all
|
6332
|
+
# previous values.</p> </li> <li> <p>You must only submit a <i>base
|
6333
|
+
# URL</i> and not a full path. For example,
|
6334
|
+
# <code>https://docs.aws.amazon.com</code>.</p> </li> </ul> </note>
|
6335
|
+
# @return [Array<String>]
|
6336
|
+
#
|
6297
6337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UpdateWebExperienceRequest AWS API Documentation
|
6298
6338
|
#
|
6299
6339
|
class UpdateWebExperienceRequest < Struct.new(
|
@@ -6305,7 +6345,8 @@ module Aws::QBusiness
|
|
6305
6345
|
:subtitle,
|
6306
6346
|
:welcome_message,
|
6307
6347
|
:sample_prompts_control_mode,
|
6308
|
-
:identity_provider_configuration
|
6348
|
+
:identity_provider_configuration,
|
6349
|
+
:origins)
|
6309
6350
|
SENSITIVE = []
|
6310
6351
|
include Aws::Structure
|
6311
6352
|
end
|
@@ -6340,15 +6381,15 @@ module Aws::QBusiness
|
|
6340
6381
|
include Aws::Structure
|
6341
6382
|
end
|
6342
6383
|
|
6343
|
-
# Provides information about users and
|
6344
|
-
# control rule.
|
6384
|
+
# Provides information about users and group names associated with a
|
6385
|
+
# topic control rule.
|
6345
6386
|
#
|
6346
6387
|
# @!attribute [rw] user_ids
|
6347
6388
|
# The user ids associated with a topic control rule.
|
6348
6389
|
# @return [Array<String>]
|
6349
6390
|
#
|
6350
6391
|
# @!attribute [rw] user_groups
|
6351
|
-
# The user
|
6392
|
+
# The user group names associated with a topic control rule.
|
6352
6393
|
# @return [Array<String>]
|
6353
6394
|
#
|
6354
6395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/UsersAndGroups AWS API Documentation
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -613,6 +613,7 @@ module Aws
|
|
613
613
|
?subtitle: ::String,
|
614
614
|
?welcome_message: ::String,
|
615
615
|
?sample_prompts_control_mode: ("ENABLED" | "DISABLED"),
|
616
|
+
?origins: Array[::String],
|
616
617
|
?role_arn: ::String,
|
617
618
|
?tags: Array[
|
618
619
|
{
|
@@ -905,6 +906,7 @@ module Aws
|
|
905
906
|
def subtitle: () -> ::String
|
906
907
|
def welcome_message: () -> ::String
|
907
908
|
def sample_prompts_control_mode: () -> ("ENABLED" | "DISABLED")
|
909
|
+
def origins: () -> ::Array[::String]
|
908
910
|
def role_arn: () -> ::String
|
909
911
|
def identity_provider_configuration: () -> Types::IdentityProviderConfiguration
|
910
912
|
def authentication_configuration: () -> Types::WebExperienceAuthConfiguration
|
@@ -1512,7 +1514,8 @@ module Aws
|
|
1512
1514
|
secrets_arn: ::String,
|
1513
1515
|
secrets_role: ::String
|
1514
1516
|
}?
|
1515
|
-
}
|
1517
|
+
},
|
1518
|
+
?origins: Array[::String]
|
1516
1519
|
) -> _UpdateWebExperienceResponseSuccess
|
1517
1520
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWebExperienceResponseSuccess
|
1518
1521
|
end
|
data/sig/types.rbs
CHANGED
@@ -431,6 +431,7 @@ module Aws::QBusiness
|
|
431
431
|
attr_accessor subtitle: ::String
|
432
432
|
attr_accessor welcome_message: ::String
|
433
433
|
attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
|
434
|
+
attr_accessor origins: ::Array[::String]
|
434
435
|
attr_accessor role_arn: ::String
|
435
436
|
attr_accessor tags: ::Array[Types::Tag]
|
436
437
|
attr_accessor client_token: ::String
|
@@ -919,6 +920,7 @@ module Aws::QBusiness
|
|
919
920
|
attr_accessor subtitle: ::String
|
920
921
|
attr_accessor welcome_message: ::String
|
921
922
|
attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
|
923
|
+
attr_accessor origins: ::Array[::String]
|
922
924
|
attr_accessor role_arn: ::String
|
923
925
|
attr_accessor identity_provider_configuration: Types::IdentityProviderConfiguration
|
924
926
|
attr_accessor authentication_configuration: Types::WebExperienceAuthConfiguration
|
@@ -1639,6 +1641,7 @@ module Aws::QBusiness
|
|
1639
1641
|
attr_accessor welcome_message: ::String
|
1640
1642
|
attr_accessor sample_prompts_control_mode: ("ENABLED" | "DISABLED")
|
1641
1643
|
attr_accessor identity_provider_configuration: Types::IdentityProviderConfiguration
|
1644
|
+
attr_accessor origins: ::Array[::String]
|
1642
1645
|
SENSITIVE: []
|
1643
1646
|
end
|
1644
1647
|
|
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.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.210.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|