aws-sdk-connect 1.79.0 → 1.81.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 +63 -6
- data/lib/aws-sdk-connect/client_api.rb +23 -0
- data/lib/aws-sdk-connect/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-connect/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-connect/endpoints.rb +2283 -0
- data/lib/aws-sdk-connect/plugins/endpoints.rb +392 -0
- data/lib/aws-sdk-connect/types.rb +36 -0
- data/lib/aws-sdk-connect.rb +5 -1
- metadata +8 -4
@@ -0,0 +1,392 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Connect
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::Connect::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::Connect::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::Connect::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :associate_approved_origin
|
60
|
+
Aws::Connect::Endpoints::AssociateApprovedOrigin.build(context)
|
61
|
+
when :associate_bot
|
62
|
+
Aws::Connect::Endpoints::AssociateBot.build(context)
|
63
|
+
when :associate_default_vocabulary
|
64
|
+
Aws::Connect::Endpoints::AssociateDefaultVocabulary.build(context)
|
65
|
+
when :associate_instance_storage_config
|
66
|
+
Aws::Connect::Endpoints::AssociateInstanceStorageConfig.build(context)
|
67
|
+
when :associate_lambda_function
|
68
|
+
Aws::Connect::Endpoints::AssociateLambdaFunction.build(context)
|
69
|
+
when :associate_lex_bot
|
70
|
+
Aws::Connect::Endpoints::AssociateLexBot.build(context)
|
71
|
+
when :associate_phone_number_contact_flow
|
72
|
+
Aws::Connect::Endpoints::AssociatePhoneNumberContactFlow.build(context)
|
73
|
+
when :associate_queue_quick_connects
|
74
|
+
Aws::Connect::Endpoints::AssociateQueueQuickConnects.build(context)
|
75
|
+
when :associate_routing_profile_queues
|
76
|
+
Aws::Connect::Endpoints::AssociateRoutingProfileQueues.build(context)
|
77
|
+
when :associate_security_key
|
78
|
+
Aws::Connect::Endpoints::AssociateSecurityKey.build(context)
|
79
|
+
when :claim_phone_number
|
80
|
+
Aws::Connect::Endpoints::ClaimPhoneNumber.build(context)
|
81
|
+
when :create_agent_status
|
82
|
+
Aws::Connect::Endpoints::CreateAgentStatus.build(context)
|
83
|
+
when :create_contact_flow
|
84
|
+
Aws::Connect::Endpoints::CreateContactFlow.build(context)
|
85
|
+
when :create_contact_flow_module
|
86
|
+
Aws::Connect::Endpoints::CreateContactFlowModule.build(context)
|
87
|
+
when :create_hours_of_operation
|
88
|
+
Aws::Connect::Endpoints::CreateHoursOfOperation.build(context)
|
89
|
+
when :create_instance
|
90
|
+
Aws::Connect::Endpoints::CreateInstance.build(context)
|
91
|
+
when :create_integration_association
|
92
|
+
Aws::Connect::Endpoints::CreateIntegrationAssociation.build(context)
|
93
|
+
when :create_queue
|
94
|
+
Aws::Connect::Endpoints::CreateQueue.build(context)
|
95
|
+
when :create_quick_connect
|
96
|
+
Aws::Connect::Endpoints::CreateQuickConnect.build(context)
|
97
|
+
when :create_routing_profile
|
98
|
+
Aws::Connect::Endpoints::CreateRoutingProfile.build(context)
|
99
|
+
when :create_security_profile
|
100
|
+
Aws::Connect::Endpoints::CreateSecurityProfile.build(context)
|
101
|
+
when :create_task_template
|
102
|
+
Aws::Connect::Endpoints::CreateTaskTemplate.build(context)
|
103
|
+
when :create_traffic_distribution_group
|
104
|
+
Aws::Connect::Endpoints::CreateTrafficDistributionGroup.build(context)
|
105
|
+
when :create_use_case
|
106
|
+
Aws::Connect::Endpoints::CreateUseCase.build(context)
|
107
|
+
when :create_user
|
108
|
+
Aws::Connect::Endpoints::CreateUser.build(context)
|
109
|
+
when :create_user_hierarchy_group
|
110
|
+
Aws::Connect::Endpoints::CreateUserHierarchyGroup.build(context)
|
111
|
+
when :create_vocabulary
|
112
|
+
Aws::Connect::Endpoints::CreateVocabulary.build(context)
|
113
|
+
when :delete_contact_flow
|
114
|
+
Aws::Connect::Endpoints::DeleteContactFlow.build(context)
|
115
|
+
when :delete_contact_flow_module
|
116
|
+
Aws::Connect::Endpoints::DeleteContactFlowModule.build(context)
|
117
|
+
when :delete_hours_of_operation
|
118
|
+
Aws::Connect::Endpoints::DeleteHoursOfOperation.build(context)
|
119
|
+
when :delete_instance
|
120
|
+
Aws::Connect::Endpoints::DeleteInstance.build(context)
|
121
|
+
when :delete_integration_association
|
122
|
+
Aws::Connect::Endpoints::DeleteIntegrationAssociation.build(context)
|
123
|
+
when :delete_quick_connect
|
124
|
+
Aws::Connect::Endpoints::DeleteQuickConnect.build(context)
|
125
|
+
when :delete_security_profile
|
126
|
+
Aws::Connect::Endpoints::DeleteSecurityProfile.build(context)
|
127
|
+
when :delete_task_template
|
128
|
+
Aws::Connect::Endpoints::DeleteTaskTemplate.build(context)
|
129
|
+
when :delete_traffic_distribution_group
|
130
|
+
Aws::Connect::Endpoints::DeleteTrafficDistributionGroup.build(context)
|
131
|
+
when :delete_use_case
|
132
|
+
Aws::Connect::Endpoints::DeleteUseCase.build(context)
|
133
|
+
when :delete_user
|
134
|
+
Aws::Connect::Endpoints::DeleteUser.build(context)
|
135
|
+
when :delete_user_hierarchy_group
|
136
|
+
Aws::Connect::Endpoints::DeleteUserHierarchyGroup.build(context)
|
137
|
+
when :delete_vocabulary
|
138
|
+
Aws::Connect::Endpoints::DeleteVocabulary.build(context)
|
139
|
+
when :describe_agent_status
|
140
|
+
Aws::Connect::Endpoints::DescribeAgentStatus.build(context)
|
141
|
+
when :describe_contact
|
142
|
+
Aws::Connect::Endpoints::DescribeContact.build(context)
|
143
|
+
when :describe_contact_flow
|
144
|
+
Aws::Connect::Endpoints::DescribeContactFlow.build(context)
|
145
|
+
when :describe_contact_flow_module
|
146
|
+
Aws::Connect::Endpoints::DescribeContactFlowModule.build(context)
|
147
|
+
when :describe_hours_of_operation
|
148
|
+
Aws::Connect::Endpoints::DescribeHoursOfOperation.build(context)
|
149
|
+
when :describe_instance
|
150
|
+
Aws::Connect::Endpoints::DescribeInstance.build(context)
|
151
|
+
when :describe_instance_attribute
|
152
|
+
Aws::Connect::Endpoints::DescribeInstanceAttribute.build(context)
|
153
|
+
when :describe_instance_storage_config
|
154
|
+
Aws::Connect::Endpoints::DescribeInstanceStorageConfig.build(context)
|
155
|
+
when :describe_phone_number
|
156
|
+
Aws::Connect::Endpoints::DescribePhoneNumber.build(context)
|
157
|
+
when :describe_queue
|
158
|
+
Aws::Connect::Endpoints::DescribeQueue.build(context)
|
159
|
+
when :describe_quick_connect
|
160
|
+
Aws::Connect::Endpoints::DescribeQuickConnect.build(context)
|
161
|
+
when :describe_routing_profile
|
162
|
+
Aws::Connect::Endpoints::DescribeRoutingProfile.build(context)
|
163
|
+
when :describe_security_profile
|
164
|
+
Aws::Connect::Endpoints::DescribeSecurityProfile.build(context)
|
165
|
+
when :describe_traffic_distribution_group
|
166
|
+
Aws::Connect::Endpoints::DescribeTrafficDistributionGroup.build(context)
|
167
|
+
when :describe_user
|
168
|
+
Aws::Connect::Endpoints::DescribeUser.build(context)
|
169
|
+
when :describe_user_hierarchy_group
|
170
|
+
Aws::Connect::Endpoints::DescribeUserHierarchyGroup.build(context)
|
171
|
+
when :describe_user_hierarchy_structure
|
172
|
+
Aws::Connect::Endpoints::DescribeUserHierarchyStructure.build(context)
|
173
|
+
when :describe_vocabulary
|
174
|
+
Aws::Connect::Endpoints::DescribeVocabulary.build(context)
|
175
|
+
when :disassociate_approved_origin
|
176
|
+
Aws::Connect::Endpoints::DisassociateApprovedOrigin.build(context)
|
177
|
+
when :disassociate_bot
|
178
|
+
Aws::Connect::Endpoints::DisassociateBot.build(context)
|
179
|
+
when :disassociate_instance_storage_config
|
180
|
+
Aws::Connect::Endpoints::DisassociateInstanceStorageConfig.build(context)
|
181
|
+
when :disassociate_lambda_function
|
182
|
+
Aws::Connect::Endpoints::DisassociateLambdaFunction.build(context)
|
183
|
+
when :disassociate_lex_bot
|
184
|
+
Aws::Connect::Endpoints::DisassociateLexBot.build(context)
|
185
|
+
when :disassociate_phone_number_contact_flow
|
186
|
+
Aws::Connect::Endpoints::DisassociatePhoneNumberContactFlow.build(context)
|
187
|
+
when :disassociate_queue_quick_connects
|
188
|
+
Aws::Connect::Endpoints::DisassociateQueueQuickConnects.build(context)
|
189
|
+
when :disassociate_routing_profile_queues
|
190
|
+
Aws::Connect::Endpoints::DisassociateRoutingProfileQueues.build(context)
|
191
|
+
when :disassociate_security_key
|
192
|
+
Aws::Connect::Endpoints::DisassociateSecurityKey.build(context)
|
193
|
+
when :dismiss_user_contact
|
194
|
+
Aws::Connect::Endpoints::DismissUserContact.build(context)
|
195
|
+
when :get_contact_attributes
|
196
|
+
Aws::Connect::Endpoints::GetContactAttributes.build(context)
|
197
|
+
when :get_current_metric_data
|
198
|
+
Aws::Connect::Endpoints::GetCurrentMetricData.build(context)
|
199
|
+
when :get_current_user_data
|
200
|
+
Aws::Connect::Endpoints::GetCurrentUserData.build(context)
|
201
|
+
when :get_federation_token
|
202
|
+
Aws::Connect::Endpoints::GetFederationToken.build(context)
|
203
|
+
when :get_metric_data
|
204
|
+
Aws::Connect::Endpoints::GetMetricData.build(context)
|
205
|
+
when :get_task_template
|
206
|
+
Aws::Connect::Endpoints::GetTaskTemplate.build(context)
|
207
|
+
when :get_traffic_distribution
|
208
|
+
Aws::Connect::Endpoints::GetTrafficDistribution.build(context)
|
209
|
+
when :list_agent_statuses
|
210
|
+
Aws::Connect::Endpoints::ListAgentStatuses.build(context)
|
211
|
+
when :list_approved_origins
|
212
|
+
Aws::Connect::Endpoints::ListApprovedOrigins.build(context)
|
213
|
+
when :list_bots
|
214
|
+
Aws::Connect::Endpoints::ListBots.build(context)
|
215
|
+
when :list_contact_flow_modules
|
216
|
+
Aws::Connect::Endpoints::ListContactFlowModules.build(context)
|
217
|
+
when :list_contact_flows
|
218
|
+
Aws::Connect::Endpoints::ListContactFlows.build(context)
|
219
|
+
when :list_contact_references
|
220
|
+
Aws::Connect::Endpoints::ListContactReferences.build(context)
|
221
|
+
when :list_default_vocabularies
|
222
|
+
Aws::Connect::Endpoints::ListDefaultVocabularies.build(context)
|
223
|
+
when :list_hours_of_operations
|
224
|
+
Aws::Connect::Endpoints::ListHoursOfOperations.build(context)
|
225
|
+
when :list_instance_attributes
|
226
|
+
Aws::Connect::Endpoints::ListInstanceAttributes.build(context)
|
227
|
+
when :list_instance_storage_configs
|
228
|
+
Aws::Connect::Endpoints::ListInstanceStorageConfigs.build(context)
|
229
|
+
when :list_instances
|
230
|
+
Aws::Connect::Endpoints::ListInstances.build(context)
|
231
|
+
when :list_integration_associations
|
232
|
+
Aws::Connect::Endpoints::ListIntegrationAssociations.build(context)
|
233
|
+
when :list_lambda_functions
|
234
|
+
Aws::Connect::Endpoints::ListLambdaFunctions.build(context)
|
235
|
+
when :list_lex_bots
|
236
|
+
Aws::Connect::Endpoints::ListLexBots.build(context)
|
237
|
+
when :list_phone_numbers
|
238
|
+
Aws::Connect::Endpoints::ListPhoneNumbers.build(context)
|
239
|
+
when :list_phone_numbers_v2
|
240
|
+
Aws::Connect::Endpoints::ListPhoneNumbersV2.build(context)
|
241
|
+
when :list_prompts
|
242
|
+
Aws::Connect::Endpoints::ListPrompts.build(context)
|
243
|
+
when :list_queue_quick_connects
|
244
|
+
Aws::Connect::Endpoints::ListQueueQuickConnects.build(context)
|
245
|
+
when :list_queues
|
246
|
+
Aws::Connect::Endpoints::ListQueues.build(context)
|
247
|
+
when :list_quick_connects
|
248
|
+
Aws::Connect::Endpoints::ListQuickConnects.build(context)
|
249
|
+
when :list_routing_profile_queues
|
250
|
+
Aws::Connect::Endpoints::ListRoutingProfileQueues.build(context)
|
251
|
+
when :list_routing_profiles
|
252
|
+
Aws::Connect::Endpoints::ListRoutingProfiles.build(context)
|
253
|
+
when :list_security_keys
|
254
|
+
Aws::Connect::Endpoints::ListSecurityKeys.build(context)
|
255
|
+
when :list_security_profile_permissions
|
256
|
+
Aws::Connect::Endpoints::ListSecurityProfilePermissions.build(context)
|
257
|
+
when :list_security_profiles
|
258
|
+
Aws::Connect::Endpoints::ListSecurityProfiles.build(context)
|
259
|
+
when :list_tags_for_resource
|
260
|
+
Aws::Connect::Endpoints::ListTagsForResource.build(context)
|
261
|
+
when :list_task_templates
|
262
|
+
Aws::Connect::Endpoints::ListTaskTemplates.build(context)
|
263
|
+
when :list_traffic_distribution_groups
|
264
|
+
Aws::Connect::Endpoints::ListTrafficDistributionGroups.build(context)
|
265
|
+
when :list_use_cases
|
266
|
+
Aws::Connect::Endpoints::ListUseCases.build(context)
|
267
|
+
when :list_user_hierarchy_groups
|
268
|
+
Aws::Connect::Endpoints::ListUserHierarchyGroups.build(context)
|
269
|
+
when :list_users
|
270
|
+
Aws::Connect::Endpoints::ListUsers.build(context)
|
271
|
+
when :put_user_status
|
272
|
+
Aws::Connect::Endpoints::PutUserStatus.build(context)
|
273
|
+
when :release_phone_number
|
274
|
+
Aws::Connect::Endpoints::ReleasePhoneNumber.build(context)
|
275
|
+
when :replicate_instance
|
276
|
+
Aws::Connect::Endpoints::ReplicateInstance.build(context)
|
277
|
+
when :resume_contact_recording
|
278
|
+
Aws::Connect::Endpoints::ResumeContactRecording.build(context)
|
279
|
+
when :search_available_phone_numbers
|
280
|
+
Aws::Connect::Endpoints::SearchAvailablePhoneNumbers.build(context)
|
281
|
+
when :search_queues
|
282
|
+
Aws::Connect::Endpoints::SearchQueues.build(context)
|
283
|
+
when :search_routing_profiles
|
284
|
+
Aws::Connect::Endpoints::SearchRoutingProfiles.build(context)
|
285
|
+
when :search_security_profiles
|
286
|
+
Aws::Connect::Endpoints::SearchSecurityProfiles.build(context)
|
287
|
+
when :search_users
|
288
|
+
Aws::Connect::Endpoints::SearchUsers.build(context)
|
289
|
+
when :search_vocabularies
|
290
|
+
Aws::Connect::Endpoints::SearchVocabularies.build(context)
|
291
|
+
when :start_chat_contact
|
292
|
+
Aws::Connect::Endpoints::StartChatContact.build(context)
|
293
|
+
when :start_contact_recording
|
294
|
+
Aws::Connect::Endpoints::StartContactRecording.build(context)
|
295
|
+
when :start_contact_streaming
|
296
|
+
Aws::Connect::Endpoints::StartContactStreaming.build(context)
|
297
|
+
when :start_outbound_voice_contact
|
298
|
+
Aws::Connect::Endpoints::StartOutboundVoiceContact.build(context)
|
299
|
+
when :start_task_contact
|
300
|
+
Aws::Connect::Endpoints::StartTaskContact.build(context)
|
301
|
+
when :stop_contact
|
302
|
+
Aws::Connect::Endpoints::StopContact.build(context)
|
303
|
+
when :stop_contact_recording
|
304
|
+
Aws::Connect::Endpoints::StopContactRecording.build(context)
|
305
|
+
when :stop_contact_streaming
|
306
|
+
Aws::Connect::Endpoints::StopContactStreaming.build(context)
|
307
|
+
when :suspend_contact_recording
|
308
|
+
Aws::Connect::Endpoints::SuspendContactRecording.build(context)
|
309
|
+
when :tag_resource
|
310
|
+
Aws::Connect::Endpoints::TagResource.build(context)
|
311
|
+
when :transfer_contact
|
312
|
+
Aws::Connect::Endpoints::TransferContact.build(context)
|
313
|
+
when :untag_resource
|
314
|
+
Aws::Connect::Endpoints::UntagResource.build(context)
|
315
|
+
when :update_agent_status
|
316
|
+
Aws::Connect::Endpoints::UpdateAgentStatus.build(context)
|
317
|
+
when :update_contact
|
318
|
+
Aws::Connect::Endpoints::UpdateContact.build(context)
|
319
|
+
when :update_contact_attributes
|
320
|
+
Aws::Connect::Endpoints::UpdateContactAttributes.build(context)
|
321
|
+
when :update_contact_flow_content
|
322
|
+
Aws::Connect::Endpoints::UpdateContactFlowContent.build(context)
|
323
|
+
when :update_contact_flow_metadata
|
324
|
+
Aws::Connect::Endpoints::UpdateContactFlowMetadata.build(context)
|
325
|
+
when :update_contact_flow_module_content
|
326
|
+
Aws::Connect::Endpoints::UpdateContactFlowModuleContent.build(context)
|
327
|
+
when :update_contact_flow_module_metadata
|
328
|
+
Aws::Connect::Endpoints::UpdateContactFlowModuleMetadata.build(context)
|
329
|
+
when :update_contact_flow_name
|
330
|
+
Aws::Connect::Endpoints::UpdateContactFlowName.build(context)
|
331
|
+
when :update_contact_schedule
|
332
|
+
Aws::Connect::Endpoints::UpdateContactSchedule.build(context)
|
333
|
+
when :update_hours_of_operation
|
334
|
+
Aws::Connect::Endpoints::UpdateHoursOfOperation.build(context)
|
335
|
+
when :update_instance_attribute
|
336
|
+
Aws::Connect::Endpoints::UpdateInstanceAttribute.build(context)
|
337
|
+
when :update_instance_storage_config
|
338
|
+
Aws::Connect::Endpoints::UpdateInstanceStorageConfig.build(context)
|
339
|
+
when :update_phone_number
|
340
|
+
Aws::Connect::Endpoints::UpdatePhoneNumber.build(context)
|
341
|
+
when :update_queue_hours_of_operation
|
342
|
+
Aws::Connect::Endpoints::UpdateQueueHoursOfOperation.build(context)
|
343
|
+
when :update_queue_max_contacts
|
344
|
+
Aws::Connect::Endpoints::UpdateQueueMaxContacts.build(context)
|
345
|
+
when :update_queue_name
|
346
|
+
Aws::Connect::Endpoints::UpdateQueueName.build(context)
|
347
|
+
when :update_queue_outbound_caller_config
|
348
|
+
Aws::Connect::Endpoints::UpdateQueueOutboundCallerConfig.build(context)
|
349
|
+
when :update_queue_status
|
350
|
+
Aws::Connect::Endpoints::UpdateQueueStatus.build(context)
|
351
|
+
when :update_quick_connect_config
|
352
|
+
Aws::Connect::Endpoints::UpdateQuickConnectConfig.build(context)
|
353
|
+
when :update_quick_connect_name
|
354
|
+
Aws::Connect::Endpoints::UpdateQuickConnectName.build(context)
|
355
|
+
when :update_routing_profile_concurrency
|
356
|
+
Aws::Connect::Endpoints::UpdateRoutingProfileConcurrency.build(context)
|
357
|
+
when :update_routing_profile_default_outbound_queue
|
358
|
+
Aws::Connect::Endpoints::UpdateRoutingProfileDefaultOutboundQueue.build(context)
|
359
|
+
when :update_routing_profile_name
|
360
|
+
Aws::Connect::Endpoints::UpdateRoutingProfileName.build(context)
|
361
|
+
when :update_routing_profile_queues
|
362
|
+
Aws::Connect::Endpoints::UpdateRoutingProfileQueues.build(context)
|
363
|
+
when :update_security_profile
|
364
|
+
Aws::Connect::Endpoints::UpdateSecurityProfile.build(context)
|
365
|
+
when :update_task_template
|
366
|
+
Aws::Connect::Endpoints::UpdateTaskTemplate.build(context)
|
367
|
+
when :update_traffic_distribution
|
368
|
+
Aws::Connect::Endpoints::UpdateTrafficDistribution.build(context)
|
369
|
+
when :update_user_hierarchy
|
370
|
+
Aws::Connect::Endpoints::UpdateUserHierarchy.build(context)
|
371
|
+
when :update_user_hierarchy_group_name
|
372
|
+
Aws::Connect::Endpoints::UpdateUserHierarchyGroupName.build(context)
|
373
|
+
when :update_user_hierarchy_structure
|
374
|
+
Aws::Connect::Endpoints::UpdateUserHierarchyStructure.build(context)
|
375
|
+
when :update_user_identity_info
|
376
|
+
Aws::Connect::Endpoints::UpdateUserIdentityInfo.build(context)
|
377
|
+
when :update_user_phone_config
|
378
|
+
Aws::Connect::Endpoints::UpdateUserPhoneConfig.build(context)
|
379
|
+
when :update_user_routing_profile
|
380
|
+
Aws::Connect::Endpoints::UpdateUserRoutingProfile.build(context)
|
381
|
+
when :update_user_security_profiles
|
382
|
+
Aws::Connect::Endpoints::UpdateUserSecurityProfiles.build(context)
|
383
|
+
end
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
def add_handlers(handlers, _config)
|
388
|
+
handlers.add(Handler, step: :build, priority: 75)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
end
|
392
|
+
end
|
@@ -4133,6 +4133,42 @@ module Aws::Connect
|
|
4133
4133
|
include Aws::Structure
|
4134
4134
|
end
|
4135
4135
|
|
4136
|
+
# @note When making an API call, you may pass DismissUserContactRequest
|
4137
|
+
# data as a hash:
|
4138
|
+
#
|
4139
|
+
# {
|
4140
|
+
# user_id: "UserId", # required
|
4141
|
+
# instance_id: "InstanceId", # required
|
4142
|
+
# contact_id: "ContactId", # required
|
4143
|
+
# }
|
4144
|
+
#
|
4145
|
+
# @!attribute [rw] user_id
|
4146
|
+
# The identifier of the user account.
|
4147
|
+
# @return [String]
|
4148
|
+
#
|
4149
|
+
# @!attribute [rw] instance_id
|
4150
|
+
# The identifier of the Amazon Connect instance. You can find the
|
4151
|
+
# instanceId in the ARN of the instance.
|
4152
|
+
# @return [String]
|
4153
|
+
#
|
4154
|
+
# @!attribute [rw] contact_id
|
4155
|
+
# The identifier of the contact.
|
4156
|
+
# @return [String]
|
4157
|
+
#
|
4158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DismissUserContactRequest AWS API Documentation
|
4159
|
+
#
|
4160
|
+
class DismissUserContactRequest < Struct.new(
|
4161
|
+
:user_id,
|
4162
|
+
:instance_id,
|
4163
|
+
:contact_id)
|
4164
|
+
SENSITIVE = []
|
4165
|
+
include Aws::Structure
|
4166
|
+
end
|
4167
|
+
|
4168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DismissUserContactResponse AWS API Documentation
|
4169
|
+
#
|
4170
|
+
class DismissUserContactResponse < Aws::EmptyStructure; end
|
4171
|
+
|
4136
4172
|
# Information about a traffic distribution.
|
4137
4173
|
#
|
4138
4174
|
# @note When making an API call, you may pass Distribution
|
data/lib/aws-sdk-connect.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-connect/types'
|
15
15
|
require_relative 'aws-sdk-connect/client_api'
|
16
|
+
require_relative 'aws-sdk-connect/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-connect/client'
|
17
18
|
require_relative 'aws-sdk-connect/errors'
|
18
19
|
require_relative 'aws-sdk-connect/resource'
|
20
|
+
require_relative 'aws-sdk-connect/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-connect/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-connect/endpoints'
|
19
23
|
require_relative 'aws-sdk-connect/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Connect Service. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-connect/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Connect
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.81.0'
|
52
56
|
|
53
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.81.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: 2022-10-
|
11
|
+
date: 2022-10-31 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-connect/client.rb
|
60
60
|
- lib/aws-sdk-connect/client_api.rb
|
61
61
|
- lib/aws-sdk-connect/customizations.rb
|
62
|
+
- lib/aws-sdk-connect/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-connect/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-connect/endpoints.rb
|
62
65
|
- lib/aws-sdk-connect/errors.rb
|
66
|
+
- lib/aws-sdk-connect/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-connect/resource.rb
|
64
68
|
- lib/aws-sdk-connect/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|