aws-sdk-qbusiness 1.14.0 → 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qbusiness/async_client.rb +1 -1
- data/lib/aws-sdk-qbusiness/client.rb +1 -1
- data/lib/aws-sdk-qbusiness/endpoints.rb +56 -224
- data/lib/aws-sdk-qbusiness/plugins/endpoints.rb +10 -1
- data/lib/aws-sdk-qbusiness.rb +1 -1
- 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: 8ceb6111a80cce2c32204a57a3b0974bba6f9cf2b234aed912aee94cd5146e2c
|
4
|
+
data.tar.gz: cc72fffbcf96ae4c3f47b0dcac50107f3718018028ebcd22cb031ebf83ac8a9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e86cf5f9dab7efc7cf2f61348a8740d8c49aa7340998a8b83411aa9f47bbe3aaf824c4e5977abde686fed1728481d861ca4629d8c226cda9f7cac57b1a0258bb
|
7
|
+
data.tar.gz: 9493fbc4ec3f3f6674d61bf2b0b2f0a90775822a0d6c850676630938825d4c060ec960eca882a89b7f37e91345ed0f9c33e2ded1d4999a869a037adc45545cc0
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.15.0
|
@@ -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
|
@@ -40,11 +40,20 @@ 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
|
+
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
|
+
end
|
56
|
+
|
48
57
|
def apply_endpoint_headers(context, headers)
|
49
58
|
headers.each do |key, values|
|
50
59
|
value = values
|
data/lib/aws-sdk-qbusiness.rb
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.15.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-11 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.205.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.205.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|