aws-sdk-connect 1.143.0 → 1.145.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-connect/client.rb +793 -13
- data/lib/aws-sdk-connect/client_api.rb +576 -0
- data/lib/aws-sdk-connect/endpoints.rb +196 -0
- data/lib/aws-sdk-connect/errors.rb +16 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +28 -0
- data/lib/aws-sdk-connect/types.rb +1223 -12
- data/lib/aws-sdk-connect.rb +1 -1
- metadata +2 -2
@@ -208,6 +208,20 @@ module Aws::Connect
|
|
208
208
|
end
|
209
209
|
end
|
210
210
|
|
211
|
+
class AssociateUserProficiencies
|
212
|
+
def self.build(context)
|
213
|
+
unless context.config.regional_endpoint
|
214
|
+
endpoint = context.config.endpoint.to_s
|
215
|
+
end
|
216
|
+
Aws::Connect::EndpointParameters.new(
|
217
|
+
region: context.config.region,
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
220
|
+
endpoint: endpoint,
|
221
|
+
)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
211
225
|
class BatchAssociateAnalyticsDataSet
|
212
226
|
def self.build(context)
|
213
227
|
unless context.config.regional_endpoint
|
@@ -404,6 +418,20 @@ module Aws::Connect
|
|
404
418
|
end
|
405
419
|
end
|
406
420
|
|
421
|
+
class CreatePredefinedAttribute
|
422
|
+
def self.build(context)
|
423
|
+
unless context.config.regional_endpoint
|
424
|
+
endpoint = context.config.endpoint.to_s
|
425
|
+
end
|
426
|
+
Aws::Connect::EndpointParameters.new(
|
427
|
+
region: context.config.region,
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
430
|
+
endpoint: endpoint,
|
431
|
+
)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
407
435
|
class CreatePrompt
|
408
436
|
def self.build(context)
|
409
437
|
unless context.config.regional_endpoint
|
@@ -712,6 +740,20 @@ module Aws::Connect
|
|
712
740
|
end
|
713
741
|
end
|
714
742
|
|
743
|
+
class DeletePredefinedAttribute
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::Connect::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
715
757
|
class DeletePrompt
|
716
758
|
def self.build(context)
|
717
759
|
unless context.config.regional_endpoint
|
@@ -1062,6 +1104,20 @@ module Aws::Connect
|
|
1062
1104
|
end
|
1063
1105
|
end
|
1064
1106
|
|
1107
|
+
class DescribePredefinedAttribute
|
1108
|
+
def self.build(context)
|
1109
|
+
unless context.config.regional_endpoint
|
1110
|
+
endpoint = context.config.endpoint.to_s
|
1111
|
+
end
|
1112
|
+
Aws::Connect::EndpointParameters.new(
|
1113
|
+
region: context.config.region,
|
1114
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1115
|
+
use_fips: context.config.use_fips_endpoint,
|
1116
|
+
endpoint: endpoint,
|
1117
|
+
)
|
1118
|
+
end
|
1119
|
+
end
|
1120
|
+
|
1065
1121
|
class DescribePrompt
|
1066
1122
|
def self.build(context)
|
1067
1123
|
unless context.config.regional_endpoint
|
@@ -1398,6 +1454,20 @@ module Aws::Connect
|
|
1398
1454
|
end
|
1399
1455
|
end
|
1400
1456
|
|
1457
|
+
class DisassociateUserProficiencies
|
1458
|
+
def self.build(context)
|
1459
|
+
unless context.config.regional_endpoint
|
1460
|
+
endpoint = context.config.endpoint.to_s
|
1461
|
+
end
|
1462
|
+
Aws::Connect::EndpointParameters.new(
|
1463
|
+
region: context.config.region,
|
1464
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1465
|
+
use_fips: context.config.use_fips_endpoint,
|
1466
|
+
endpoint: endpoint,
|
1467
|
+
)
|
1468
|
+
end
|
1469
|
+
end
|
1470
|
+
|
1401
1471
|
class DismissUserContact
|
1402
1472
|
def self.build(context)
|
1403
1473
|
unless context.config.regional_endpoint
|
@@ -1860,6 +1930,20 @@ module Aws::Connect
|
|
1860
1930
|
end
|
1861
1931
|
end
|
1862
1932
|
|
1933
|
+
class ListPredefinedAttributes
|
1934
|
+
def self.build(context)
|
1935
|
+
unless context.config.regional_endpoint
|
1936
|
+
endpoint = context.config.endpoint.to_s
|
1937
|
+
end
|
1938
|
+
Aws::Connect::EndpointParameters.new(
|
1939
|
+
region: context.config.region,
|
1940
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1941
|
+
use_fips: context.config.use_fips_endpoint,
|
1942
|
+
endpoint: endpoint,
|
1943
|
+
)
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1863
1947
|
class ListPrompts
|
1864
1948
|
def self.build(context)
|
1865
1949
|
unless context.config.regional_endpoint
|
@@ -2112,6 +2196,20 @@ module Aws::Connect
|
|
2112
2196
|
end
|
2113
2197
|
end
|
2114
2198
|
|
2199
|
+
class ListUserProficiencies
|
2200
|
+
def self.build(context)
|
2201
|
+
unless context.config.regional_endpoint
|
2202
|
+
endpoint = context.config.endpoint.to_s
|
2203
|
+
end
|
2204
|
+
Aws::Connect::EndpointParameters.new(
|
2205
|
+
region: context.config.region,
|
2206
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2207
|
+
use_fips: context.config.use_fips_endpoint,
|
2208
|
+
endpoint: endpoint,
|
2209
|
+
)
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
|
2115
2213
|
class ListUsers
|
2116
2214
|
def self.build(context)
|
2117
2215
|
unless context.config.regional_endpoint
|
@@ -2168,6 +2266,20 @@ module Aws::Connect
|
|
2168
2266
|
end
|
2169
2267
|
end
|
2170
2268
|
|
2269
|
+
class PauseContact
|
2270
|
+
def self.build(context)
|
2271
|
+
unless context.config.regional_endpoint
|
2272
|
+
endpoint = context.config.endpoint.to_s
|
2273
|
+
end
|
2274
|
+
Aws::Connect::EndpointParameters.new(
|
2275
|
+
region: context.config.region,
|
2276
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2277
|
+
use_fips: context.config.use_fips_endpoint,
|
2278
|
+
endpoint: endpoint,
|
2279
|
+
)
|
2280
|
+
end
|
2281
|
+
end
|
2282
|
+
|
2171
2283
|
class PutUserStatus
|
2172
2284
|
def self.build(context)
|
2173
2285
|
unless context.config.regional_endpoint
|
@@ -2210,6 +2322,20 @@ module Aws::Connect
|
|
2210
2322
|
end
|
2211
2323
|
end
|
2212
2324
|
|
2325
|
+
class ResumeContact
|
2326
|
+
def self.build(context)
|
2327
|
+
unless context.config.regional_endpoint
|
2328
|
+
endpoint = context.config.endpoint.to_s
|
2329
|
+
end
|
2330
|
+
Aws::Connect::EndpointParameters.new(
|
2331
|
+
region: context.config.region,
|
2332
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2333
|
+
use_fips: context.config.use_fips_endpoint,
|
2334
|
+
endpoint: endpoint,
|
2335
|
+
)
|
2336
|
+
end
|
2337
|
+
end
|
2338
|
+
|
2213
2339
|
class ResumeContactRecording
|
2214
2340
|
def self.build(context)
|
2215
2341
|
unless context.config.regional_endpoint
|
@@ -2238,6 +2364,20 @@ module Aws::Connect
|
|
2238
2364
|
end
|
2239
2365
|
end
|
2240
2366
|
|
2367
|
+
class SearchContacts
|
2368
|
+
def self.build(context)
|
2369
|
+
unless context.config.regional_endpoint
|
2370
|
+
endpoint = context.config.endpoint.to_s
|
2371
|
+
end
|
2372
|
+
Aws::Connect::EndpointParameters.new(
|
2373
|
+
region: context.config.region,
|
2374
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2375
|
+
use_fips: context.config.use_fips_endpoint,
|
2376
|
+
endpoint: endpoint,
|
2377
|
+
)
|
2378
|
+
end
|
2379
|
+
end
|
2380
|
+
|
2241
2381
|
class SearchHoursOfOperations
|
2242
2382
|
def self.build(context)
|
2243
2383
|
unless context.config.regional_endpoint
|
@@ -2252,6 +2392,20 @@ module Aws::Connect
|
|
2252
2392
|
end
|
2253
2393
|
end
|
2254
2394
|
|
2395
|
+
class SearchPredefinedAttributes
|
2396
|
+
def self.build(context)
|
2397
|
+
unless context.config.regional_endpoint
|
2398
|
+
endpoint = context.config.endpoint.to_s
|
2399
|
+
end
|
2400
|
+
Aws::Connect::EndpointParameters.new(
|
2401
|
+
region: context.config.region,
|
2402
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2403
|
+
use_fips: context.config.use_fips_endpoint,
|
2404
|
+
endpoint: endpoint,
|
2405
|
+
)
|
2406
|
+
end
|
2407
|
+
end
|
2408
|
+
|
2255
2409
|
class SearchPrompts
|
2256
2410
|
def self.build(context)
|
2257
2411
|
unless context.config.regional_endpoint
|
@@ -2742,6 +2896,20 @@ module Aws::Connect
|
|
2742
2896
|
end
|
2743
2897
|
end
|
2744
2898
|
|
2899
|
+
class UpdateContactRoutingData
|
2900
|
+
def self.build(context)
|
2901
|
+
unless context.config.regional_endpoint
|
2902
|
+
endpoint = context.config.endpoint.to_s
|
2903
|
+
end
|
2904
|
+
Aws::Connect::EndpointParameters.new(
|
2905
|
+
region: context.config.region,
|
2906
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
2907
|
+
use_fips: context.config.use_fips_endpoint,
|
2908
|
+
endpoint: endpoint,
|
2909
|
+
)
|
2910
|
+
end
|
2911
|
+
end
|
2912
|
+
|
2745
2913
|
class UpdateContactSchedule
|
2746
2914
|
def self.build(context)
|
2747
2915
|
unless context.config.regional_endpoint
|
@@ -2854,6 +3022,20 @@ module Aws::Connect
|
|
2854
3022
|
end
|
2855
3023
|
end
|
2856
3024
|
|
3025
|
+
class UpdatePredefinedAttribute
|
3026
|
+
def self.build(context)
|
3027
|
+
unless context.config.regional_endpoint
|
3028
|
+
endpoint = context.config.endpoint.to_s
|
3029
|
+
end
|
3030
|
+
Aws::Connect::EndpointParameters.new(
|
3031
|
+
region: context.config.region,
|
3032
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3033
|
+
use_fips: context.config.use_fips_endpoint,
|
3034
|
+
endpoint: endpoint,
|
3035
|
+
)
|
3036
|
+
end
|
3037
|
+
end
|
3038
|
+
|
2857
3039
|
class UpdatePrompt
|
2858
3040
|
def self.build(context)
|
2859
3041
|
unless context.config.regional_endpoint
|
@@ -3162,6 +3344,20 @@ module Aws::Connect
|
|
3162
3344
|
end
|
3163
3345
|
end
|
3164
3346
|
|
3347
|
+
class UpdateUserProficiencies
|
3348
|
+
def self.build(context)
|
3349
|
+
unless context.config.regional_endpoint
|
3350
|
+
endpoint = context.config.endpoint.to_s
|
3351
|
+
end
|
3352
|
+
Aws::Connect::EndpointParameters.new(
|
3353
|
+
region: context.config.region,
|
3354
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
3355
|
+
use_fips: context.config.use_fips_endpoint,
|
3356
|
+
endpoint: endpoint,
|
3357
|
+
)
|
3358
|
+
end
|
3359
|
+
end
|
3360
|
+
|
3165
3361
|
class UpdateUserRoutingProfile
|
3166
3362
|
def self.build(context)
|
3167
3363
|
unless context.config.regional_endpoint
|
@@ -28,6 +28,7 @@ module Aws::Connect
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
|
+
# * {ConflictException}
|
31
32
|
# * {ContactFlowNotPublishedException}
|
32
33
|
# * {ContactNotFoundException}
|
33
34
|
# * {DestinationNotAllowedException}
|
@@ -73,6 +74,21 @@ module Aws::Connect
|
|
73
74
|
end
|
74
75
|
end
|
75
76
|
|
77
|
+
class ConflictException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::Connect::Types::ConflictException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
76
92
|
class ContactFlowNotPublishedException < ServiceError
|
77
93
|
|
78
94
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -85,6 +85,8 @@ module Aws::Connect
|
|
85
85
|
Aws::Connect::Endpoints::AssociateSecurityKey.build(context)
|
86
86
|
when :associate_traffic_distribution_group_user
|
87
87
|
Aws::Connect::Endpoints::AssociateTrafficDistributionGroupUser.build(context)
|
88
|
+
when :associate_user_proficiencies
|
89
|
+
Aws::Connect::Endpoints::AssociateUserProficiencies.build(context)
|
88
90
|
when :batch_associate_analytics_data_set
|
89
91
|
Aws::Connect::Endpoints::BatchAssociateAnalyticsDataSet.build(context)
|
90
92
|
when :batch_disassociate_analytics_data_set
|
@@ -113,6 +115,8 @@ module Aws::Connect
|
|
113
115
|
Aws::Connect::Endpoints::CreateParticipant.build(context)
|
114
116
|
when :create_persistent_contact_association
|
115
117
|
Aws::Connect::Endpoints::CreatePersistentContactAssociation.build(context)
|
118
|
+
when :create_predefined_attribute
|
119
|
+
Aws::Connect::Endpoints::CreatePredefinedAttribute.build(context)
|
116
120
|
when :create_prompt
|
117
121
|
Aws::Connect::Endpoints::CreatePrompt.build(context)
|
118
122
|
when :create_queue
|
@@ -157,6 +161,8 @@ module Aws::Connect
|
|
157
161
|
Aws::Connect::Endpoints::DeleteInstance.build(context)
|
158
162
|
when :delete_integration_association
|
159
163
|
Aws::Connect::Endpoints::DeleteIntegrationAssociation.build(context)
|
164
|
+
when :delete_predefined_attribute
|
165
|
+
Aws::Connect::Endpoints::DeletePredefinedAttribute.build(context)
|
160
166
|
when :delete_prompt
|
161
167
|
Aws::Connect::Endpoints::DeletePrompt.build(context)
|
162
168
|
when :delete_queue
|
@@ -207,6 +213,8 @@ module Aws::Connect
|
|
207
213
|
Aws::Connect::Endpoints::DescribeInstanceStorageConfig.build(context)
|
208
214
|
when :describe_phone_number
|
209
215
|
Aws::Connect::Endpoints::DescribePhoneNumber.build(context)
|
216
|
+
when :describe_predefined_attribute
|
217
|
+
Aws::Connect::Endpoints::DescribePredefinedAttribute.build(context)
|
210
218
|
when :describe_prompt
|
211
219
|
Aws::Connect::Endpoints::DescribePrompt.build(context)
|
212
220
|
when :describe_queue
|
@@ -255,6 +263,8 @@ module Aws::Connect
|
|
255
263
|
Aws::Connect::Endpoints::DisassociateSecurityKey.build(context)
|
256
264
|
when :disassociate_traffic_distribution_group_user
|
257
265
|
Aws::Connect::Endpoints::DisassociateTrafficDistributionGroupUser.build(context)
|
266
|
+
when :disassociate_user_proficiencies
|
267
|
+
Aws::Connect::Endpoints::DisassociateUserProficiencies.build(context)
|
258
268
|
when :dismiss_user_contact
|
259
269
|
Aws::Connect::Endpoints::DismissUserContact.build(context)
|
260
270
|
when :get_contact_attributes
|
@@ -321,6 +331,8 @@ module Aws::Connect
|
|
321
331
|
Aws::Connect::Endpoints::ListPhoneNumbers.build(context)
|
322
332
|
when :list_phone_numbers_v2
|
323
333
|
Aws::Connect::Endpoints::ListPhoneNumbersV2.build(context)
|
334
|
+
when :list_predefined_attributes
|
335
|
+
Aws::Connect::Endpoints::ListPredefinedAttributes.build(context)
|
324
336
|
when :list_prompts
|
325
337
|
Aws::Connect::Endpoints::ListPrompts.build(context)
|
326
338
|
when :list_queue_quick_connects
|
@@ -357,6 +369,8 @@ module Aws::Connect
|
|
357
369
|
Aws::Connect::Endpoints::ListUseCases.build(context)
|
358
370
|
when :list_user_hierarchy_groups
|
359
371
|
Aws::Connect::Endpoints::ListUserHierarchyGroups.build(context)
|
372
|
+
when :list_user_proficiencies
|
373
|
+
Aws::Connect::Endpoints::ListUserProficiencies.build(context)
|
360
374
|
when :list_users
|
361
375
|
Aws::Connect::Endpoints::ListUsers.build(context)
|
362
376
|
when :list_view_versions
|
@@ -365,18 +379,26 @@ module Aws::Connect
|
|
365
379
|
Aws::Connect::Endpoints::ListViews.build(context)
|
366
380
|
when :monitor_contact
|
367
381
|
Aws::Connect::Endpoints::MonitorContact.build(context)
|
382
|
+
when :pause_contact
|
383
|
+
Aws::Connect::Endpoints::PauseContact.build(context)
|
368
384
|
when :put_user_status
|
369
385
|
Aws::Connect::Endpoints::PutUserStatus.build(context)
|
370
386
|
when :release_phone_number
|
371
387
|
Aws::Connect::Endpoints::ReleasePhoneNumber.build(context)
|
372
388
|
when :replicate_instance
|
373
389
|
Aws::Connect::Endpoints::ReplicateInstance.build(context)
|
390
|
+
when :resume_contact
|
391
|
+
Aws::Connect::Endpoints::ResumeContact.build(context)
|
374
392
|
when :resume_contact_recording
|
375
393
|
Aws::Connect::Endpoints::ResumeContactRecording.build(context)
|
376
394
|
when :search_available_phone_numbers
|
377
395
|
Aws::Connect::Endpoints::SearchAvailablePhoneNumbers.build(context)
|
396
|
+
when :search_contacts
|
397
|
+
Aws::Connect::Endpoints::SearchContacts.build(context)
|
378
398
|
when :search_hours_of_operations
|
379
399
|
Aws::Connect::Endpoints::SearchHoursOfOperations.build(context)
|
400
|
+
when :search_predefined_attributes
|
401
|
+
Aws::Connect::Endpoints::SearchPredefinedAttributes.build(context)
|
380
402
|
when :search_prompts
|
381
403
|
Aws::Connect::Endpoints::SearchPrompts.build(context)
|
382
404
|
when :search_queues
|
@@ -447,6 +469,8 @@ module Aws::Connect
|
|
447
469
|
Aws::Connect::Endpoints::UpdateContactFlowModuleMetadata.build(context)
|
448
470
|
when :update_contact_flow_name
|
449
471
|
Aws::Connect::Endpoints::UpdateContactFlowName.build(context)
|
472
|
+
when :update_contact_routing_data
|
473
|
+
Aws::Connect::Endpoints::UpdateContactRoutingData.build(context)
|
450
474
|
when :update_contact_schedule
|
451
475
|
Aws::Connect::Endpoints::UpdateContactSchedule.build(context)
|
452
476
|
when :update_evaluation_form
|
@@ -463,6 +487,8 @@ module Aws::Connect
|
|
463
487
|
Aws::Connect::Endpoints::UpdatePhoneNumber.build(context)
|
464
488
|
when :update_phone_number_metadata
|
465
489
|
Aws::Connect::Endpoints::UpdatePhoneNumberMetadata.build(context)
|
490
|
+
when :update_predefined_attribute
|
491
|
+
Aws::Connect::Endpoints::UpdatePredefinedAttribute.build(context)
|
466
492
|
when :update_prompt
|
467
493
|
Aws::Connect::Endpoints::UpdatePrompt.build(context)
|
468
494
|
when :update_queue_hours_of_operation
|
@@ -507,6 +533,8 @@ module Aws::Connect
|
|
507
533
|
Aws::Connect::Endpoints::UpdateUserIdentityInfo.build(context)
|
508
534
|
when :update_user_phone_config
|
509
535
|
Aws::Connect::Endpoints::UpdateUserPhoneConfig.build(context)
|
536
|
+
when :update_user_proficiencies
|
537
|
+
Aws::Connect::Endpoints::UpdateUserProficiencies.build(context)
|
510
538
|
when :update_user_routing_profile
|
511
539
|
Aws::Connect::Endpoints::UpdateUserRoutingProfile.build(context)
|
512
540
|
when :update_user_security_profiles
|