aws-sdk-qbusiness 1.14.0 → 1.16.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 +11 -5
- data/lib/aws-sdk-qbusiness/client.rb +11 -5
- data/lib/aws-sdk-qbusiness/endpoints.rb +56 -224
- data/lib/aws-sdk-qbusiness/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-qbusiness.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -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: 1ea2528059d63606d92cd5621278a88e28d9447b9aa9f9c3faf995207b2e98f0
|
4
|
+
data.tar.gz: 7785b619c03c09fc980eadc48fe08aaceaffc079c4f0e9d7c82e3ff9e6c29d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb28d9871bab0865a54954b83d8137309a12cecef82b47a8398d7540316fc13f12280a50c9d7d8cd9e7aaecd60ace32212ac185c299824abdcc1eda047976a4
|
7
|
+
data.tar.gz: 5ad0da47165d25818262f1148f44598c51c797ce2aa50e630c84e228efe2aeb10a2da967c300dfcf97b81b30f2be1e923593ee1965e421432eb18444c136c1a5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2024-09-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.15.0 (2024-09-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.14.0 (2024-09-10)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -102,13 +102,15 @@ module Aws::QBusiness
|
|
102
102
|
# locations will be searched for credentials:
|
103
103
|
#
|
104
104
|
# * `Aws.config[:credentials]`
|
105
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
106
|
-
#
|
105
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
106
|
+
# `:account_id` options.
|
107
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
108
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
107
109
|
# * `~/.aws/credentials`
|
108
110
|
# * `~/.aws/config`
|
109
111
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
110
112
|
# are very aggressive. Construct and pass an instance of
|
111
|
-
# `Aws::
|
113
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
112
114
|
# enable retries and extended timeouts. Instance profile credential
|
113
115
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
114
116
|
# to true.
|
@@ -127,6 +129,8 @@ module Aws::QBusiness
|
|
127
129
|
#
|
128
130
|
# @option options [String] :access_key_id
|
129
131
|
#
|
132
|
+
# @option options [String] :account_id
|
133
|
+
#
|
130
134
|
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
131
135
|
# Used only in `adaptive` retry mode. When true, the request will sleep
|
132
136
|
# until there is sufficent client side capacity to retry the request.
|
@@ -307,7 +311,9 @@ module Aws::QBusiness
|
|
307
311
|
# sending the request.
|
308
312
|
#
|
309
313
|
# @option options [Aws::QBusiness::EndpointProvider] :endpoint_provider
|
310
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
314
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
315
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
316
|
+
# `Aws::QBusiness::EndpointParameters`.
|
311
317
|
#
|
312
318
|
# @option options [Integer] :connection_read_timeout (60)
|
313
319
|
# Connection read timeout in seconds, defaults to 60 sec.
|
@@ -597,7 +603,7 @@ module Aws::QBusiness
|
|
597
603
|
tracer: tracer
|
598
604
|
)
|
599
605
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
600
|
-
context[:gem_version] = '1.
|
606
|
+
context[:gem_version] = '1.16.0'
|
601
607
|
Seahorse::Client::Request.new(handlers, context)
|
602
608
|
end
|
603
609
|
|
@@ -132,13 +132,15 @@ module Aws::QBusiness
|
|
132
132
|
# locations will be searched for credentials:
|
133
133
|
#
|
134
134
|
# * `Aws.config[:credentials]`
|
135
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
136
|
-
#
|
135
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
136
|
+
# `:account_id` options.
|
137
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
138
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
137
139
|
# * `~/.aws/credentials`
|
138
140
|
# * `~/.aws/config`
|
139
141
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
140
142
|
# are very aggressive. Construct and pass an instance of
|
141
|
-
# `Aws::
|
143
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
142
144
|
# enable retries and extended timeouts. Instance profile credential
|
143
145
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
144
146
|
# to true.
|
@@ -157,6 +159,8 @@ module Aws::QBusiness
|
|
157
159
|
#
|
158
160
|
# @option options [String] :access_key_id
|
159
161
|
#
|
162
|
+
# @option options [String] :account_id
|
163
|
+
#
|
160
164
|
# @option options [Boolean] :active_endpoint_cache (false)
|
161
165
|
# When set to `true`, a thread polling for endpoints will be running in
|
162
166
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -380,7 +384,9 @@ module Aws::QBusiness
|
|
380
384
|
# sending the request.
|
381
385
|
#
|
382
386
|
# @option options [Aws::QBusiness::EndpointProvider] :endpoint_provider
|
383
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
387
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
388
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
389
|
+
# `Aws::QBusiness::EndpointParameters`.
|
384
390
|
#
|
385
391
|
# @option options [Float] :http_continue_timeout (1)
|
386
392
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -4151,7 +4157,7 @@ module Aws::QBusiness
|
|
4151
4157
|
tracer: tracer
|
4152
4158
|
)
|
4153
4159
|
context[:gem_name] = 'aws-sdk-qbusiness'
|
4154
|
-
context[:gem_version] = '1.
|
4160
|
+
context[:gem_version] = '1.16.0'
|
4155
4161
|
Seahorse::Client::Request.new(handlers, context)
|
4156
4162
|
end
|
4157
4163
|
|
@@ -14,728 +14,560 @@ module Aws::QBusiness
|
|
14
14
|
|
15
15
|
class BatchDeleteDocument
|
16
16
|
def self.build(context)
|
17
|
-
unless context.config.regional_endpoint
|
18
|
-
endpoint = context.config.endpoint.to_s
|
19
|
-
end
|
20
17
|
Aws::QBusiness::EndpointParameters.new(
|
21
18
|
region: context.config.region,
|
22
19
|
use_fips: context.config.use_fips_endpoint,
|
23
|
-
endpoint: endpoint,
|
20
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
24
21
|
)
|
25
22
|
end
|
26
23
|
end
|
27
24
|
|
28
25
|
class BatchPutDocument
|
29
26
|
def self.build(context)
|
30
|
-
unless context.config.regional_endpoint
|
31
|
-
endpoint = context.config.endpoint.to_s
|
32
|
-
end
|
33
27
|
Aws::QBusiness::EndpointParameters.new(
|
34
28
|
region: context.config.region,
|
35
29
|
use_fips: context.config.use_fips_endpoint,
|
36
|
-
endpoint: endpoint,
|
30
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
37
31
|
)
|
38
32
|
end
|
39
33
|
end
|
40
34
|
|
41
35
|
class Chat
|
42
36
|
def self.build(context)
|
43
|
-
unless context.config.regional_endpoint
|
44
|
-
endpoint = context.config.endpoint.to_s
|
45
|
-
end
|
46
37
|
Aws::QBusiness::EndpointParameters.new(
|
47
38
|
region: context.config.region,
|
48
39
|
use_fips: context.config.use_fips_endpoint,
|
49
|
-
endpoint: endpoint,
|
40
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
50
41
|
)
|
51
42
|
end
|
52
43
|
end
|
53
44
|
|
54
45
|
class ChatSync
|
55
46
|
def self.build(context)
|
56
|
-
unless context.config.regional_endpoint
|
57
|
-
endpoint = context.config.endpoint.to_s
|
58
|
-
end
|
59
47
|
Aws::QBusiness::EndpointParameters.new(
|
60
48
|
region: context.config.region,
|
61
49
|
use_fips: context.config.use_fips_endpoint,
|
62
|
-
endpoint: endpoint,
|
50
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
63
51
|
)
|
64
52
|
end
|
65
53
|
end
|
66
54
|
|
67
55
|
class CreateApplication
|
68
56
|
def self.build(context)
|
69
|
-
unless context.config.regional_endpoint
|
70
|
-
endpoint = context.config.endpoint.to_s
|
71
|
-
end
|
72
57
|
Aws::QBusiness::EndpointParameters.new(
|
73
58
|
region: context.config.region,
|
74
59
|
use_fips: context.config.use_fips_endpoint,
|
75
|
-
endpoint: endpoint,
|
60
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
76
61
|
)
|
77
62
|
end
|
78
63
|
end
|
79
64
|
|
80
65
|
class CreateDataSource
|
81
66
|
def self.build(context)
|
82
|
-
unless context.config.regional_endpoint
|
83
|
-
endpoint = context.config.endpoint.to_s
|
84
|
-
end
|
85
67
|
Aws::QBusiness::EndpointParameters.new(
|
86
68
|
region: context.config.region,
|
87
69
|
use_fips: context.config.use_fips_endpoint,
|
88
|
-
endpoint: endpoint,
|
70
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
89
71
|
)
|
90
72
|
end
|
91
73
|
end
|
92
74
|
|
93
75
|
class CreateIndex
|
94
76
|
def self.build(context)
|
95
|
-
unless context.config.regional_endpoint
|
96
|
-
endpoint = context.config.endpoint.to_s
|
97
|
-
end
|
98
77
|
Aws::QBusiness::EndpointParameters.new(
|
99
78
|
region: context.config.region,
|
100
79
|
use_fips: context.config.use_fips_endpoint,
|
101
|
-
endpoint: endpoint,
|
80
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
102
81
|
)
|
103
82
|
end
|
104
83
|
end
|
105
84
|
|
106
85
|
class CreatePlugin
|
107
86
|
def self.build(context)
|
108
|
-
unless context.config.regional_endpoint
|
109
|
-
endpoint = context.config.endpoint.to_s
|
110
|
-
end
|
111
87
|
Aws::QBusiness::EndpointParameters.new(
|
112
88
|
region: context.config.region,
|
113
89
|
use_fips: context.config.use_fips_endpoint,
|
114
|
-
endpoint: endpoint,
|
90
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
115
91
|
)
|
116
92
|
end
|
117
93
|
end
|
118
94
|
|
119
95
|
class CreateRetriever
|
120
96
|
def self.build(context)
|
121
|
-
unless context.config.regional_endpoint
|
122
|
-
endpoint = context.config.endpoint.to_s
|
123
|
-
end
|
124
97
|
Aws::QBusiness::EndpointParameters.new(
|
125
98
|
region: context.config.region,
|
126
99
|
use_fips: context.config.use_fips_endpoint,
|
127
|
-
endpoint: endpoint,
|
100
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
128
101
|
)
|
129
102
|
end
|
130
103
|
end
|
131
104
|
|
132
105
|
class CreateUser
|
133
106
|
def self.build(context)
|
134
|
-
unless context.config.regional_endpoint
|
135
|
-
endpoint = context.config.endpoint.to_s
|
136
|
-
end
|
137
107
|
Aws::QBusiness::EndpointParameters.new(
|
138
108
|
region: context.config.region,
|
139
109
|
use_fips: context.config.use_fips_endpoint,
|
140
|
-
endpoint: endpoint,
|
110
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
141
111
|
)
|
142
112
|
end
|
143
113
|
end
|
144
114
|
|
145
115
|
class CreateWebExperience
|
146
116
|
def self.build(context)
|
147
|
-
unless context.config.regional_endpoint
|
148
|
-
endpoint = context.config.endpoint.to_s
|
149
|
-
end
|
150
117
|
Aws::QBusiness::EndpointParameters.new(
|
151
118
|
region: context.config.region,
|
152
119
|
use_fips: context.config.use_fips_endpoint,
|
153
|
-
endpoint: endpoint,
|
120
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
154
121
|
)
|
155
122
|
end
|
156
123
|
end
|
157
124
|
|
158
125
|
class DeleteApplication
|
159
126
|
def self.build(context)
|
160
|
-
unless context.config.regional_endpoint
|
161
|
-
endpoint = context.config.endpoint.to_s
|
162
|
-
end
|
163
127
|
Aws::QBusiness::EndpointParameters.new(
|
164
128
|
region: context.config.region,
|
165
129
|
use_fips: context.config.use_fips_endpoint,
|
166
|
-
endpoint: endpoint,
|
130
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
167
131
|
)
|
168
132
|
end
|
169
133
|
end
|
170
134
|
|
171
135
|
class DeleteChatControlsConfiguration
|
172
136
|
def self.build(context)
|
173
|
-
unless context.config.regional_endpoint
|
174
|
-
endpoint = context.config.endpoint.to_s
|
175
|
-
end
|
176
137
|
Aws::QBusiness::EndpointParameters.new(
|
177
138
|
region: context.config.region,
|
178
139
|
use_fips: context.config.use_fips_endpoint,
|
179
|
-
endpoint: endpoint,
|
140
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
180
141
|
)
|
181
142
|
end
|
182
143
|
end
|
183
144
|
|
184
145
|
class DeleteConversation
|
185
146
|
def self.build(context)
|
186
|
-
unless context.config.regional_endpoint
|
187
|
-
endpoint = context.config.endpoint.to_s
|
188
|
-
end
|
189
147
|
Aws::QBusiness::EndpointParameters.new(
|
190
148
|
region: context.config.region,
|
191
149
|
use_fips: context.config.use_fips_endpoint,
|
192
|
-
endpoint: endpoint,
|
150
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
193
151
|
)
|
194
152
|
end
|
195
153
|
end
|
196
154
|
|
197
155
|
class DeleteDataSource
|
198
156
|
def self.build(context)
|
199
|
-
unless context.config.regional_endpoint
|
200
|
-
endpoint = context.config.endpoint.to_s
|
201
|
-
end
|
202
157
|
Aws::QBusiness::EndpointParameters.new(
|
203
158
|
region: context.config.region,
|
204
159
|
use_fips: context.config.use_fips_endpoint,
|
205
|
-
endpoint: endpoint,
|
160
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
206
161
|
)
|
207
162
|
end
|
208
163
|
end
|
209
164
|
|
210
165
|
class DeleteGroup
|
211
166
|
def self.build(context)
|
212
|
-
unless context.config.regional_endpoint
|
213
|
-
endpoint = context.config.endpoint.to_s
|
214
|
-
end
|
215
167
|
Aws::QBusiness::EndpointParameters.new(
|
216
168
|
region: context.config.region,
|
217
169
|
use_fips: context.config.use_fips_endpoint,
|
218
|
-
endpoint: endpoint,
|
170
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
219
171
|
)
|
220
172
|
end
|
221
173
|
end
|
222
174
|
|
223
175
|
class DeleteIndex
|
224
176
|
def self.build(context)
|
225
|
-
unless context.config.regional_endpoint
|
226
|
-
endpoint = context.config.endpoint.to_s
|
227
|
-
end
|
228
177
|
Aws::QBusiness::EndpointParameters.new(
|
229
178
|
region: context.config.region,
|
230
179
|
use_fips: context.config.use_fips_endpoint,
|
231
|
-
endpoint: endpoint,
|
180
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
232
181
|
)
|
233
182
|
end
|
234
183
|
end
|
235
184
|
|
236
185
|
class DeletePlugin
|
237
186
|
def self.build(context)
|
238
|
-
unless context.config.regional_endpoint
|
239
|
-
endpoint = context.config.endpoint.to_s
|
240
|
-
end
|
241
187
|
Aws::QBusiness::EndpointParameters.new(
|
242
188
|
region: context.config.region,
|
243
189
|
use_fips: context.config.use_fips_endpoint,
|
244
|
-
endpoint: endpoint,
|
190
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
245
191
|
)
|
246
192
|
end
|
247
193
|
end
|
248
194
|
|
249
195
|
class DeleteRetriever
|
250
196
|
def self.build(context)
|
251
|
-
unless context.config.regional_endpoint
|
252
|
-
endpoint = context.config.endpoint.to_s
|
253
|
-
end
|
254
197
|
Aws::QBusiness::EndpointParameters.new(
|
255
198
|
region: context.config.region,
|
256
199
|
use_fips: context.config.use_fips_endpoint,
|
257
|
-
endpoint: endpoint,
|
200
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
258
201
|
)
|
259
202
|
end
|
260
203
|
end
|
261
204
|
|
262
205
|
class DeleteUser
|
263
206
|
def self.build(context)
|
264
|
-
unless context.config.regional_endpoint
|
265
|
-
endpoint = context.config.endpoint.to_s
|
266
|
-
end
|
267
207
|
Aws::QBusiness::EndpointParameters.new(
|
268
208
|
region: context.config.region,
|
269
209
|
use_fips: context.config.use_fips_endpoint,
|
270
|
-
endpoint: endpoint,
|
210
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
271
211
|
)
|
272
212
|
end
|
273
213
|
end
|
274
214
|
|
275
215
|
class DeleteWebExperience
|
276
216
|
def self.build(context)
|
277
|
-
unless context.config.regional_endpoint
|
278
|
-
endpoint = context.config.endpoint.to_s
|
279
|
-
end
|
280
217
|
Aws::QBusiness::EndpointParameters.new(
|
281
218
|
region: context.config.region,
|
282
219
|
use_fips: context.config.use_fips_endpoint,
|
283
|
-
endpoint: endpoint,
|
220
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
284
221
|
)
|
285
222
|
end
|
286
223
|
end
|
287
224
|
|
288
225
|
class GetApplication
|
289
226
|
def self.build(context)
|
290
|
-
unless context.config.regional_endpoint
|
291
|
-
endpoint = context.config.endpoint.to_s
|
292
|
-
end
|
293
227
|
Aws::QBusiness::EndpointParameters.new(
|
294
228
|
region: context.config.region,
|
295
229
|
use_fips: context.config.use_fips_endpoint,
|
296
|
-
endpoint: endpoint,
|
230
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
297
231
|
)
|
298
232
|
end
|
299
233
|
end
|
300
234
|
|
301
235
|
class GetChatControlsConfiguration
|
302
236
|
def self.build(context)
|
303
|
-
unless context.config.regional_endpoint
|
304
|
-
endpoint = context.config.endpoint.to_s
|
305
|
-
end
|
306
237
|
Aws::QBusiness::EndpointParameters.new(
|
307
238
|
region: context.config.region,
|
308
239
|
use_fips: context.config.use_fips_endpoint,
|
309
|
-
endpoint: endpoint,
|
240
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
310
241
|
)
|
311
242
|
end
|
312
243
|
end
|
313
244
|
|
314
245
|
class GetDataSource
|
315
246
|
def self.build(context)
|
316
|
-
unless context.config.regional_endpoint
|
317
|
-
endpoint = context.config.endpoint.to_s
|
318
|
-
end
|
319
247
|
Aws::QBusiness::EndpointParameters.new(
|
320
248
|
region: context.config.region,
|
321
249
|
use_fips: context.config.use_fips_endpoint,
|
322
|
-
endpoint: endpoint,
|
250
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
323
251
|
)
|
324
252
|
end
|
325
253
|
end
|
326
254
|
|
327
255
|
class GetGroup
|
328
256
|
def self.build(context)
|
329
|
-
unless context.config.regional_endpoint
|
330
|
-
endpoint = context.config.endpoint.to_s
|
331
|
-
end
|
332
257
|
Aws::QBusiness::EndpointParameters.new(
|
333
258
|
region: context.config.region,
|
334
259
|
use_fips: context.config.use_fips_endpoint,
|
335
|
-
endpoint: endpoint,
|
260
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
336
261
|
)
|
337
262
|
end
|
338
263
|
end
|
339
264
|
|
340
265
|
class GetIndex
|
341
266
|
def self.build(context)
|
342
|
-
unless context.config.regional_endpoint
|
343
|
-
endpoint = context.config.endpoint.to_s
|
344
|
-
end
|
345
267
|
Aws::QBusiness::EndpointParameters.new(
|
346
268
|
region: context.config.region,
|
347
269
|
use_fips: context.config.use_fips_endpoint,
|
348
|
-
endpoint: endpoint,
|
270
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
349
271
|
)
|
350
272
|
end
|
351
273
|
end
|
352
274
|
|
353
275
|
class GetPlugin
|
354
276
|
def self.build(context)
|
355
|
-
unless context.config.regional_endpoint
|
356
|
-
endpoint = context.config.endpoint.to_s
|
357
|
-
end
|
358
277
|
Aws::QBusiness::EndpointParameters.new(
|
359
278
|
region: context.config.region,
|
360
279
|
use_fips: context.config.use_fips_endpoint,
|
361
|
-
endpoint: endpoint,
|
280
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
362
281
|
)
|
363
282
|
end
|
364
283
|
end
|
365
284
|
|
366
285
|
class GetRetriever
|
367
286
|
def self.build(context)
|
368
|
-
unless context.config.regional_endpoint
|
369
|
-
endpoint = context.config.endpoint.to_s
|
370
|
-
end
|
371
287
|
Aws::QBusiness::EndpointParameters.new(
|
372
288
|
region: context.config.region,
|
373
289
|
use_fips: context.config.use_fips_endpoint,
|
374
|
-
endpoint: endpoint,
|
290
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
375
291
|
)
|
376
292
|
end
|
377
293
|
end
|
378
294
|
|
379
295
|
class GetUser
|
380
296
|
def self.build(context)
|
381
|
-
unless context.config.regional_endpoint
|
382
|
-
endpoint = context.config.endpoint.to_s
|
383
|
-
end
|
384
297
|
Aws::QBusiness::EndpointParameters.new(
|
385
298
|
region: context.config.region,
|
386
299
|
use_fips: context.config.use_fips_endpoint,
|
387
|
-
endpoint: endpoint,
|
300
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
388
301
|
)
|
389
302
|
end
|
390
303
|
end
|
391
304
|
|
392
305
|
class GetWebExperience
|
393
306
|
def self.build(context)
|
394
|
-
unless context.config.regional_endpoint
|
395
|
-
endpoint = context.config.endpoint.to_s
|
396
|
-
end
|
397
307
|
Aws::QBusiness::EndpointParameters.new(
|
398
308
|
region: context.config.region,
|
399
309
|
use_fips: context.config.use_fips_endpoint,
|
400
|
-
endpoint: endpoint,
|
310
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
401
311
|
)
|
402
312
|
end
|
403
313
|
end
|
404
314
|
|
405
315
|
class ListApplications
|
406
316
|
def self.build(context)
|
407
|
-
unless context.config.regional_endpoint
|
408
|
-
endpoint = context.config.endpoint.to_s
|
409
|
-
end
|
410
317
|
Aws::QBusiness::EndpointParameters.new(
|
411
318
|
region: context.config.region,
|
412
319
|
use_fips: context.config.use_fips_endpoint,
|
413
|
-
endpoint: endpoint,
|
320
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
414
321
|
)
|
415
322
|
end
|
416
323
|
end
|
417
324
|
|
418
325
|
class ListConversations
|
419
326
|
def self.build(context)
|
420
|
-
unless context.config.regional_endpoint
|
421
|
-
endpoint = context.config.endpoint.to_s
|
422
|
-
end
|
423
327
|
Aws::QBusiness::EndpointParameters.new(
|
424
328
|
region: context.config.region,
|
425
329
|
use_fips: context.config.use_fips_endpoint,
|
426
|
-
endpoint: endpoint,
|
330
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
427
331
|
)
|
428
332
|
end
|
429
333
|
end
|
430
334
|
|
431
335
|
class ListDataSourceSyncJobs
|
432
336
|
def self.build(context)
|
433
|
-
unless context.config.regional_endpoint
|
434
|
-
endpoint = context.config.endpoint.to_s
|
435
|
-
end
|
436
337
|
Aws::QBusiness::EndpointParameters.new(
|
437
338
|
region: context.config.region,
|
438
339
|
use_fips: context.config.use_fips_endpoint,
|
439
|
-
endpoint: endpoint,
|
340
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
440
341
|
)
|
441
342
|
end
|
442
343
|
end
|
443
344
|
|
444
345
|
class ListDataSources
|
445
346
|
def self.build(context)
|
446
|
-
unless context.config.regional_endpoint
|
447
|
-
endpoint = context.config.endpoint.to_s
|
448
|
-
end
|
449
347
|
Aws::QBusiness::EndpointParameters.new(
|
450
348
|
region: context.config.region,
|
451
349
|
use_fips: context.config.use_fips_endpoint,
|
452
|
-
endpoint: endpoint,
|
350
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
453
351
|
)
|
454
352
|
end
|
455
353
|
end
|
456
354
|
|
457
355
|
class ListDocuments
|
458
356
|
def self.build(context)
|
459
|
-
unless context.config.regional_endpoint
|
460
|
-
endpoint = context.config.endpoint.to_s
|
461
|
-
end
|
462
357
|
Aws::QBusiness::EndpointParameters.new(
|
463
358
|
region: context.config.region,
|
464
359
|
use_fips: context.config.use_fips_endpoint,
|
465
|
-
endpoint: endpoint,
|
360
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
466
361
|
)
|
467
362
|
end
|
468
363
|
end
|
469
364
|
|
470
365
|
class ListGroups
|
471
366
|
def self.build(context)
|
472
|
-
unless context.config.regional_endpoint
|
473
|
-
endpoint = context.config.endpoint.to_s
|
474
|
-
end
|
475
367
|
Aws::QBusiness::EndpointParameters.new(
|
476
368
|
region: context.config.region,
|
477
369
|
use_fips: context.config.use_fips_endpoint,
|
478
|
-
endpoint: endpoint,
|
370
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
479
371
|
)
|
480
372
|
end
|
481
373
|
end
|
482
374
|
|
483
375
|
class ListIndices
|
484
376
|
def self.build(context)
|
485
|
-
unless context.config.regional_endpoint
|
486
|
-
endpoint = context.config.endpoint.to_s
|
487
|
-
end
|
488
377
|
Aws::QBusiness::EndpointParameters.new(
|
489
378
|
region: context.config.region,
|
490
379
|
use_fips: context.config.use_fips_endpoint,
|
491
|
-
endpoint: endpoint,
|
380
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
492
381
|
)
|
493
382
|
end
|
494
383
|
end
|
495
384
|
|
496
385
|
class ListMessages
|
497
386
|
def self.build(context)
|
498
|
-
unless context.config.regional_endpoint
|
499
|
-
endpoint = context.config.endpoint.to_s
|
500
|
-
end
|
501
387
|
Aws::QBusiness::EndpointParameters.new(
|
502
388
|
region: context.config.region,
|
503
389
|
use_fips: context.config.use_fips_endpoint,
|
504
|
-
endpoint: endpoint,
|
390
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
505
391
|
)
|
506
392
|
end
|
507
393
|
end
|
508
394
|
|
509
395
|
class ListPlugins
|
510
396
|
def self.build(context)
|
511
|
-
unless context.config.regional_endpoint
|
512
|
-
endpoint = context.config.endpoint.to_s
|
513
|
-
end
|
514
397
|
Aws::QBusiness::EndpointParameters.new(
|
515
398
|
region: context.config.region,
|
516
399
|
use_fips: context.config.use_fips_endpoint,
|
517
|
-
endpoint: endpoint,
|
400
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
518
401
|
)
|
519
402
|
end
|
520
403
|
end
|
521
404
|
|
522
405
|
class ListRetrievers
|
523
406
|
def self.build(context)
|
524
|
-
unless context.config.regional_endpoint
|
525
|
-
endpoint = context.config.endpoint.to_s
|
526
|
-
end
|
527
407
|
Aws::QBusiness::EndpointParameters.new(
|
528
408
|
region: context.config.region,
|
529
409
|
use_fips: context.config.use_fips_endpoint,
|
530
|
-
endpoint: endpoint,
|
410
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
531
411
|
)
|
532
412
|
end
|
533
413
|
end
|
534
414
|
|
535
415
|
class ListTagsForResource
|
536
416
|
def self.build(context)
|
537
|
-
unless context.config.regional_endpoint
|
538
|
-
endpoint = context.config.endpoint.to_s
|
539
|
-
end
|
540
417
|
Aws::QBusiness::EndpointParameters.new(
|
541
418
|
region: context.config.region,
|
542
419
|
use_fips: context.config.use_fips_endpoint,
|
543
|
-
endpoint: endpoint,
|
420
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
544
421
|
)
|
545
422
|
end
|
546
423
|
end
|
547
424
|
|
548
425
|
class ListWebExperiences
|
549
426
|
def self.build(context)
|
550
|
-
unless context.config.regional_endpoint
|
551
|
-
endpoint = context.config.endpoint.to_s
|
552
|
-
end
|
553
427
|
Aws::QBusiness::EndpointParameters.new(
|
554
428
|
region: context.config.region,
|
555
429
|
use_fips: context.config.use_fips_endpoint,
|
556
|
-
endpoint: endpoint,
|
430
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
557
431
|
)
|
558
432
|
end
|
559
433
|
end
|
560
434
|
|
561
435
|
class PutFeedback
|
562
436
|
def self.build(context)
|
563
|
-
unless context.config.regional_endpoint
|
564
|
-
endpoint = context.config.endpoint.to_s
|
565
|
-
end
|
566
437
|
Aws::QBusiness::EndpointParameters.new(
|
567
438
|
region: context.config.region,
|
568
439
|
use_fips: context.config.use_fips_endpoint,
|
569
|
-
endpoint: endpoint,
|
440
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
570
441
|
)
|
571
442
|
end
|
572
443
|
end
|
573
444
|
|
574
445
|
class PutGroup
|
575
446
|
def self.build(context)
|
576
|
-
unless context.config.regional_endpoint
|
577
|
-
endpoint = context.config.endpoint.to_s
|
578
|
-
end
|
579
447
|
Aws::QBusiness::EndpointParameters.new(
|
580
448
|
region: context.config.region,
|
581
449
|
use_fips: context.config.use_fips_endpoint,
|
582
|
-
endpoint: endpoint,
|
450
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
583
451
|
)
|
584
452
|
end
|
585
453
|
end
|
586
454
|
|
587
455
|
class StartDataSourceSyncJob
|
588
456
|
def self.build(context)
|
589
|
-
unless context.config.regional_endpoint
|
590
|
-
endpoint = context.config.endpoint.to_s
|
591
|
-
end
|
592
457
|
Aws::QBusiness::EndpointParameters.new(
|
593
458
|
region: context.config.region,
|
594
459
|
use_fips: context.config.use_fips_endpoint,
|
595
|
-
endpoint: endpoint,
|
460
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
596
461
|
)
|
597
462
|
end
|
598
463
|
end
|
599
464
|
|
600
465
|
class StopDataSourceSyncJob
|
601
466
|
def self.build(context)
|
602
|
-
unless context.config.regional_endpoint
|
603
|
-
endpoint = context.config.endpoint.to_s
|
604
|
-
end
|
605
467
|
Aws::QBusiness::EndpointParameters.new(
|
606
468
|
region: context.config.region,
|
607
469
|
use_fips: context.config.use_fips_endpoint,
|
608
|
-
endpoint: endpoint,
|
470
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
609
471
|
)
|
610
472
|
end
|
611
473
|
end
|
612
474
|
|
613
475
|
class TagResource
|
614
476
|
def self.build(context)
|
615
|
-
unless context.config.regional_endpoint
|
616
|
-
endpoint = context.config.endpoint.to_s
|
617
|
-
end
|
618
477
|
Aws::QBusiness::EndpointParameters.new(
|
619
478
|
region: context.config.region,
|
620
479
|
use_fips: context.config.use_fips_endpoint,
|
621
|
-
endpoint: endpoint,
|
480
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
622
481
|
)
|
623
482
|
end
|
624
483
|
end
|
625
484
|
|
626
485
|
class UntagResource
|
627
486
|
def self.build(context)
|
628
|
-
unless context.config.regional_endpoint
|
629
|
-
endpoint = context.config.endpoint.to_s
|
630
|
-
end
|
631
487
|
Aws::QBusiness::EndpointParameters.new(
|
632
488
|
region: context.config.region,
|
633
489
|
use_fips: context.config.use_fips_endpoint,
|
634
|
-
endpoint: endpoint,
|
490
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
635
491
|
)
|
636
492
|
end
|
637
493
|
end
|
638
494
|
|
639
495
|
class UpdateApplication
|
640
496
|
def self.build(context)
|
641
|
-
unless context.config.regional_endpoint
|
642
|
-
endpoint = context.config.endpoint.to_s
|
643
|
-
end
|
644
497
|
Aws::QBusiness::EndpointParameters.new(
|
645
498
|
region: context.config.region,
|
646
499
|
use_fips: context.config.use_fips_endpoint,
|
647
|
-
endpoint: endpoint,
|
500
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
648
501
|
)
|
649
502
|
end
|
650
503
|
end
|
651
504
|
|
652
505
|
class UpdateChatControlsConfiguration
|
653
506
|
def self.build(context)
|
654
|
-
unless context.config.regional_endpoint
|
655
|
-
endpoint = context.config.endpoint.to_s
|
656
|
-
end
|
657
507
|
Aws::QBusiness::EndpointParameters.new(
|
658
508
|
region: context.config.region,
|
659
509
|
use_fips: context.config.use_fips_endpoint,
|
660
|
-
endpoint: endpoint,
|
510
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
661
511
|
)
|
662
512
|
end
|
663
513
|
end
|
664
514
|
|
665
515
|
class UpdateDataSource
|
666
516
|
def self.build(context)
|
667
|
-
unless context.config.regional_endpoint
|
668
|
-
endpoint = context.config.endpoint.to_s
|
669
|
-
end
|
670
517
|
Aws::QBusiness::EndpointParameters.new(
|
671
518
|
region: context.config.region,
|
672
519
|
use_fips: context.config.use_fips_endpoint,
|
673
|
-
endpoint: endpoint,
|
520
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
674
521
|
)
|
675
522
|
end
|
676
523
|
end
|
677
524
|
|
678
525
|
class UpdateIndex
|
679
526
|
def self.build(context)
|
680
|
-
unless context.config.regional_endpoint
|
681
|
-
endpoint = context.config.endpoint.to_s
|
682
|
-
end
|
683
527
|
Aws::QBusiness::EndpointParameters.new(
|
684
528
|
region: context.config.region,
|
685
529
|
use_fips: context.config.use_fips_endpoint,
|
686
|
-
endpoint: endpoint,
|
530
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
687
531
|
)
|
688
532
|
end
|
689
533
|
end
|
690
534
|
|
691
535
|
class UpdatePlugin
|
692
536
|
def self.build(context)
|
693
|
-
unless context.config.regional_endpoint
|
694
|
-
endpoint = context.config.endpoint.to_s
|
695
|
-
end
|
696
537
|
Aws::QBusiness::EndpointParameters.new(
|
697
538
|
region: context.config.region,
|
698
539
|
use_fips: context.config.use_fips_endpoint,
|
699
|
-
endpoint: endpoint,
|
540
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
700
541
|
)
|
701
542
|
end
|
702
543
|
end
|
703
544
|
|
704
545
|
class UpdateRetriever
|
705
546
|
def self.build(context)
|
706
|
-
unless context.config.regional_endpoint
|
707
|
-
endpoint = context.config.endpoint.to_s
|
708
|
-
end
|
709
547
|
Aws::QBusiness::EndpointParameters.new(
|
710
548
|
region: context.config.region,
|
711
549
|
use_fips: context.config.use_fips_endpoint,
|
712
|
-
endpoint: endpoint,
|
550
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
713
551
|
)
|
714
552
|
end
|
715
553
|
end
|
716
554
|
|
717
555
|
class UpdateUser
|
718
556
|
def self.build(context)
|
719
|
-
unless context.config.regional_endpoint
|
720
|
-
endpoint = context.config.endpoint.to_s
|
721
|
-
end
|
722
557
|
Aws::QBusiness::EndpointParameters.new(
|
723
558
|
region: context.config.region,
|
724
559
|
use_fips: context.config.use_fips_endpoint,
|
725
|
-
endpoint: endpoint,
|
560
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
726
561
|
)
|
727
562
|
end
|
728
563
|
end
|
729
564
|
|
730
565
|
class UpdateWebExperience
|
731
566
|
def self.build(context)
|
732
|
-
unless context.config.regional_endpoint
|
733
|
-
endpoint = context.config.endpoint.to_s
|
734
|
-
end
|
735
567
|
Aws::QBusiness::EndpointParameters.new(
|
736
568
|
region: context.config.region,
|
737
569
|
use_fips: context.config.use_fips_endpoint,
|
738
|
-
endpoint: endpoint,
|
570
|
+
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
739
571
|
)
|
740
572
|
end
|
741
573
|
end
|
@@ -15,11 +15,11 @@ module Aws::QBusiness
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::QBusiness::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::QBusiness::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::QBusiness::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -40,11 +40,23 @@ module Aws::QBusiness
|
|
40
40
|
context[:auth_scheme] =
|
41
41
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
42
42
|
|
43
|
-
@handler.call(context)
|
43
|
+
with_metrics(context) { @handler.call(context) }
|
44
44
|
end
|
45
45
|
|
46
46
|
private
|
47
47
|
|
48
|
+
def with_metrics(context, &block)
|
49
|
+
metrics = []
|
50
|
+
metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
|
51
|
+
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
|
+
metrics << 'SIGV4A_SIGNING'
|
53
|
+
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
57
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
58
|
+
end
|
59
|
+
|
48
60
|
def apply_endpoint_headers(context, headers)
|
49
61
|
headers.each do |key, values|
|
50
62
|
value = values
|
data/lib/aws-sdk-qbusiness.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
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.16.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-09-
|
11
|
+
date: 2024-09-20 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.207.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.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|