aws-sdk-connect 1.27.0 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ module Aws::Connect
18
18
  AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
19
19
  AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
20
20
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
21
+ AssociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'AssociateRoutingProfileQueuesRequest')
21
22
  AttributeName = Shapes::StringShape.new(name: 'AttributeName')
22
23
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
23
24
  Attributes = Shapes::MapShape.new(name: 'Attributes')
@@ -29,14 +30,23 @@ module Aws::Connect
29
30
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
30
31
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
31
32
  Comparison = Shapes::StringShape.new(name: 'Comparison')
33
+ Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
34
+ ContactFlow = Shapes::StructureShape.new(name: 'ContactFlow')
35
+ ContactFlowContent = Shapes::StringShape.new(name: 'ContactFlowContent')
36
+ ContactFlowDescription = Shapes::StringShape.new(name: 'ContactFlowDescription')
32
37
  ContactFlowId = Shapes::StringShape.new(name: 'ContactFlowId')
33
38
  ContactFlowName = Shapes::StringShape.new(name: 'ContactFlowName')
39
+ ContactFlowNotPublishedException = Shapes::StructureShape.new(name: 'ContactFlowNotPublishedException')
34
40
  ContactFlowSummary = Shapes::StructureShape.new(name: 'ContactFlowSummary')
35
41
  ContactFlowSummaryList = Shapes::ListShape.new(name: 'ContactFlowSummaryList')
36
42
  ContactFlowType = Shapes::StringShape.new(name: 'ContactFlowType')
37
43
  ContactFlowTypes = Shapes::ListShape.new(name: 'ContactFlowTypes')
38
44
  ContactId = Shapes::StringShape.new(name: 'ContactId')
39
45
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
46
+ CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
47
+ CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
48
+ CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
49
+ CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
40
50
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
41
51
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
42
52
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
@@ -47,7 +57,12 @@ module Aws::Connect
47
57
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
48
58
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
49
59
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
60
+ Delay = Shapes::IntegerShape.new(name: 'Delay')
50
61
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
62
+ DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
63
+ DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
64
+ DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
65
+ DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
51
66
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
52
67
  DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
53
68
  DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
@@ -57,6 +72,7 @@ module Aws::Connect
57
72
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
58
73
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
59
74
  DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
75
+ DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
60
76
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
61
77
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
62
78
  Email = Shapes::StringShape.new(name: 'Email')
@@ -94,6 +110,7 @@ module Aws::Connect
94
110
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
95
111
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
96
112
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
113
+ InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
97
114
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
98
115
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
99
116
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -103,8 +120,12 @@ module Aws::Connect
103
120
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
104
121
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
105
122
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
123
+ ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
124
+ ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
106
125
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
107
126
  ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
127
+ ListRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesRequest')
128
+ ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
108
129
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
109
130
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
110
131
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
@@ -117,6 +138,8 @@ module Aws::Connect
117
138
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
118
139
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
119
140
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
141
+ MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
142
+ MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
120
143
  Message = Shapes::StringShape.new(name: 'Message')
121
144
  NextToken = Shapes::StringShape.new(name: 'NextToken')
122
145
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
@@ -133,6 +156,14 @@ module Aws::Connect
133
156
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
134
157
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
135
158
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
159
+ Priority = Shapes::IntegerShape.new(name: 'Priority')
160
+ ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
161
+ ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
162
+ Problems = Shapes::ListShape.new(name: 'Problems')
163
+ PromptId = Shapes::StringShape.new(name: 'PromptId')
164
+ PromptName = Shapes::StringShape.new(name: 'PromptName')
165
+ PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
166
+ PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
136
167
  QueueId = Shapes::StringShape.new(name: 'QueueId')
137
168
  QueueName = Shapes::StringShape.new(name: 'QueueName')
138
169
  QueueReference = Shapes::StructureShape.new(name: 'QueueReference')
@@ -142,8 +173,18 @@ module Aws::Connect
142
173
  QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
143
174
  Queues = Shapes::ListShape.new(name: 'Queues')
144
175
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
176
+ ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
177
+ ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
178
+ RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
179
+ RoutingProfileDescription = Shapes::StringShape.new(name: 'RoutingProfileDescription')
145
180
  RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
146
181
  RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
182
+ RoutingProfileQueueConfig = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfig')
183
+ RoutingProfileQueueConfigList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigList')
184
+ RoutingProfileQueueConfigSummary = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfigSummary')
185
+ RoutingProfileQueueConfigSummaryList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigSummaryList')
186
+ RoutingProfileQueueReference = Shapes::StructureShape.new(name: 'RoutingProfileQueueReference')
187
+ RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
147
188
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
148
189
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
149
190
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
@@ -154,11 +195,17 @@ module Aws::Connect
154
195
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
155
196
  StartChatContactRequest = Shapes::StructureShape.new(name: 'StartChatContactRequest')
156
197
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
198
+ StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
199
+ StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
157
200
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
158
201
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
159
202
  Statistic = Shapes::StringShape.new(name: 'Statistic')
203
+ StopContactRecordingRequest = Shapes::StructureShape.new(name: 'StopContactRecordingRequest')
204
+ StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
160
205
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
161
206
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
207
+ SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
208
+ SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
162
209
  TagKey = Shapes::StringShape.new(name: 'TagKey')
163
210
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
164
211
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -171,6 +218,12 @@ module Aws::Connect
171
218
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
172
219
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
173
220
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
221
+ UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
222
+ UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
223
+ UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
224
+ UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
225
+ UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
226
+ UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
174
227
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
175
228
  UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
176
229
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
@@ -184,8 +237,15 @@ module Aws::Connect
184
237
  UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
185
238
  UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
186
239
  Value = Shapes::FloatShape.new(name: 'Value')
240
+ VoiceRecordingConfiguration = Shapes::StructureShape.new(name: 'VoiceRecordingConfiguration')
241
+ VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
187
242
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
188
243
 
244
+ AssociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
245
+ AssociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
246
+ AssociateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
247
+ AssociateRoutingProfileQueuesRequest.struct_class = Types::AssociateRoutingProfileQueuesRequest
248
+
189
249
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
190
250
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
191
251
 
@@ -195,6 +255,18 @@ module Aws::Connect
195
255
  ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
196
256
  ChatMessage.struct_class = Types::ChatMessage
197
257
 
258
+ ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
259
+ ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
260
+ ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
261
+ ContactFlow.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "Type"))
262
+ ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
263
+ ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
264
+ ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
265
+ ContactFlow.struct_class = Types::ContactFlow
266
+
267
+ ContactFlowNotPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
268
+ ContactFlowNotPublishedException.struct_class = Types::ContactFlowNotPublishedException
269
+
198
270
  ContactFlowSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
199
271
  ContactFlowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
200
272
  ContactFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -208,6 +280,31 @@ module Aws::Connect
208
280
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
209
281
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
210
282
 
283
+ CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
284
+ CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
285
+ CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
286
+ CreateContactFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
287
+ CreateContactFlowRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
288
+ CreateContactFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
289
+ CreateContactFlowRequest.struct_class = Types::CreateContactFlowRequest
290
+
291
+ CreateContactFlowResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
292
+ CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
293
+ CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
294
+
295
+ CreateRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
296
+ CreateRoutingProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, required: true, location_name: "Name"))
297
+ CreateRoutingProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, required: true, location_name: "Description"))
298
+ CreateRoutingProfileRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
299
+ CreateRoutingProfileRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, location_name: "QueueConfigs"))
300
+ CreateRoutingProfileRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
301
+ CreateRoutingProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
302
+ CreateRoutingProfileRequest.struct_class = Types::CreateRoutingProfileRequest
303
+
304
+ CreateRoutingProfileResponse.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
305
+ CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
306
+ CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
307
+
211
308
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
212
309
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
213
310
  CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
@@ -252,6 +349,20 @@ module Aws::Connect
252
349
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
253
350
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
254
351
 
352
+ DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
353
+ DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
354
+ DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
355
+
356
+ DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
357
+ DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
358
+
359
+ DescribeRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
360
+ DescribeRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
361
+ DescribeRoutingProfileRequest.struct_class = Types::DescribeRoutingProfileRequest
362
+
363
+ DescribeRoutingProfileResponse.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfile, location_name: "RoutingProfile"))
364
+ DescribeRoutingProfileResponse.struct_class = Types::DescribeRoutingProfileResponse
365
+
255
366
  DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
256
367
  DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
257
368
  DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
@@ -279,6 +390,11 @@ module Aws::Connect
279
390
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
280
391
  Dimensions.struct_class = Types::Dimensions
281
392
 
393
+ DisassociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
394
+ DisassociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
395
+ DisassociateRoutingProfileQueuesRequest.add_member(:queue_references, Shapes::ShapeRef.new(shape: RoutingProfileQueueReferenceList, required: true, location_name: "QueueReferences"))
396
+ DisassociateRoutingProfileQueuesRequest.struct_class = Types::DisassociateRoutingProfileQueuesRequest
397
+
282
398
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
283
399
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
284
400
 
@@ -391,6 +507,9 @@ module Aws::Connect
391
507
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
392
508
  InternalServiceException.struct_class = Types::InternalServiceException
393
509
 
510
+ InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
511
+ InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
512
+
394
513
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
395
514
  InvalidParameterException.struct_class = Types::InvalidParameterException
396
515
 
@@ -430,6 +549,15 @@ module Aws::Connect
430
549
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
431
550
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
432
551
 
552
+ ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
553
+ ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
554
+ ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
555
+ ListPromptsRequest.struct_class = Types::ListPromptsRequest
556
+
557
+ ListPromptsResponse.add_member(:prompt_summary_list, Shapes::ShapeRef.new(shape: PromptSummaryList, location_name: "PromptSummaryList"))
558
+ ListPromptsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
559
+ ListPromptsResponse.struct_class = Types::ListPromptsResponse
560
+
433
561
  ListQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
434
562
  ListQueuesRequest.add_member(:queue_types, Shapes::ShapeRef.new(shape: QueueTypes, location: "querystring", location_name: "queueTypes"))
435
563
  ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -440,6 +568,16 @@ module Aws::Connect
440
568
  ListQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
441
569
  ListQueuesResponse.struct_class = Types::ListQueuesResponse
442
570
 
571
+ ListRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
572
+ ListRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
573
+ ListRoutingProfileQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
574
+ ListRoutingProfileQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
575
+ ListRoutingProfileQueuesRequest.struct_class = Types::ListRoutingProfileQueuesRequest
576
+
577
+ ListRoutingProfileQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
578
+ ListRoutingProfileQueuesResponse.add_member(:routing_profile_queue_config_summary_list, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummaryList, location_name: "RoutingProfileQueueConfigSummaryList"))
579
+ ListRoutingProfileQueuesResponse.struct_class = Types::ListRoutingProfileQueuesResponse
580
+
443
581
  ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
444
582
  ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
445
583
  ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -482,6 +620,12 @@ module Aws::Connect
482
620
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
483
621
  ListUsersResponse.struct_class = Types::ListUsersResponse
484
622
 
623
+ MediaConcurrencies.member = Shapes::ShapeRef.new(shape: MediaConcurrency)
624
+
625
+ MediaConcurrency.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
626
+ MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
627
+ MediaConcurrency.struct_class = Types::MediaConcurrency
628
+
485
629
  OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
486
630
  OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
487
631
 
@@ -501,6 +645,18 @@ module Aws::Connect
501
645
 
502
646
  PhoneNumberTypes.member = Shapes::ShapeRef.new(shape: PhoneNumberType)
503
647
 
648
+ ProblemDetail.add_member(:message, Shapes::ShapeRef.new(shape: ProblemMessageString, location_name: "message"))
649
+ ProblemDetail.struct_class = Types::ProblemDetail
650
+
651
+ Problems.member = Shapes::ShapeRef.new(shape: ProblemDetail)
652
+
653
+ PromptSummary.add_member(:id, Shapes::ShapeRef.new(shape: PromptId, location_name: "Id"))
654
+ PromptSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
655
+ PromptSummary.add_member(:name, Shapes::ShapeRef.new(shape: PromptName, location_name: "Name"))
656
+ PromptSummary.struct_class = Types::PromptSummary
657
+
658
+ PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
659
+
504
660
  QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
505
661
  QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
506
662
  QueueReference.struct_class = Types::QueueReference
@@ -520,6 +676,46 @@ module Aws::Connect
520
676
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
521
677
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
522
678
 
679
+ ResumeContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
680
+ ResumeContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
681
+ ResumeContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
682
+ ResumeContactRecordingRequest.struct_class = Types::ResumeContactRecordingRequest
683
+
684
+ ResumeContactRecordingResponse.struct_class = Types::ResumeContactRecordingResponse
685
+
686
+ RoutingProfile.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
687
+ RoutingProfile.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
688
+ RoutingProfile.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
689
+ RoutingProfile.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
690
+ RoutingProfile.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
691
+ RoutingProfile.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, location_name: "MediaConcurrencies"))
692
+ RoutingProfile.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "DefaultOutboundQueueId"))
693
+ RoutingProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
694
+ RoutingProfile.struct_class = Types::RoutingProfile
695
+
696
+ RoutingProfileQueueConfig.add_member(:queue_reference, Shapes::ShapeRef.new(shape: RoutingProfileQueueReference, required: true, location_name: "QueueReference"))
697
+ RoutingProfileQueueConfig.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority", metadata: {"box"=>true}))
698
+ RoutingProfileQueueConfig.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay", metadata: {"box"=>true}))
699
+ RoutingProfileQueueConfig.struct_class = Types::RoutingProfileQueueConfig
700
+
701
+ RoutingProfileQueueConfigList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfig)
702
+
703
+ RoutingProfileQueueConfigSummary.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
704
+ RoutingProfileQueueConfigSummary.add_member(:queue_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "QueueArn"))
705
+ RoutingProfileQueueConfigSummary.add_member(:queue_name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "QueueName"))
706
+ RoutingProfileQueueConfigSummary.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority"))
707
+ RoutingProfileQueueConfigSummary.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay"))
708
+ RoutingProfileQueueConfigSummary.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
709
+ RoutingProfileQueueConfigSummary.struct_class = Types::RoutingProfileQueueConfigSummary
710
+
711
+ RoutingProfileQueueConfigSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummary)
712
+
713
+ RoutingProfileQueueReference.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
714
+ RoutingProfileQueueReference.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
715
+ RoutingProfileQueueReference.struct_class = Types::RoutingProfileQueueReference
716
+
717
+ RoutingProfileQueueReferenceList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueReference)
718
+
523
719
  RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
524
720
  RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
525
721
  RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
@@ -549,6 +745,14 @@ module Aws::Connect
549
745
  StartChatContactResponse.add_member(:participant_token, Shapes::ShapeRef.new(shape: ParticipantToken, location_name: "ParticipantToken"))
550
746
  StartChatContactResponse.struct_class = Types::StartChatContactResponse
551
747
 
748
+ StartContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
749
+ StartContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
750
+ StartContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
751
+ StartContactRecordingRequest.add_member(:voice_recording_configuration, Shapes::ShapeRef.new(shape: VoiceRecordingConfiguration, required: true, location_name: "VoiceRecordingConfiguration"))
752
+ StartContactRecordingRequest.struct_class = Types::StartContactRecordingRequest
753
+
754
+ StartContactRecordingResponse.struct_class = Types::StartContactRecordingResponse
755
+
552
756
  StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
553
757
  StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
554
758
  StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -561,12 +765,26 @@ module Aws::Connect
561
765
  StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
562
766
  StartOutboundVoiceContactResponse.struct_class = Types::StartOutboundVoiceContactResponse
563
767
 
768
+ StopContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
769
+ StopContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
770
+ StopContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
771
+ StopContactRecordingRequest.struct_class = Types::StopContactRecordingRequest
772
+
773
+ StopContactRecordingResponse.struct_class = Types::StopContactRecordingResponse
774
+
564
775
  StopContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
565
776
  StopContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
566
777
  StopContactRequest.struct_class = Types::StopContactRequest
567
778
 
568
779
  StopContactResponse.struct_class = Types::StopContactResponse
569
780
 
781
+ SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
782
+ SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
783
+ SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
784
+ SuspendContactRecordingRequest.struct_class = Types::SuspendContactRecordingRequest
785
+
786
+ SuspendContactRecordingResponse.struct_class = Types::SuspendContactRecordingResponse
787
+
570
788
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
571
789
 
572
790
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -594,6 +812,38 @@ module Aws::Connect
594
812
 
595
813
  UpdateContactAttributesResponse.struct_class = Types::UpdateContactAttributesResponse
596
814
 
815
+ UpdateContactFlowContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
816
+ UpdateContactFlowContentRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
817
+ UpdateContactFlowContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
818
+ UpdateContactFlowContentRequest.struct_class = Types::UpdateContactFlowContentRequest
819
+
820
+ UpdateContactFlowNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
821
+ UpdateContactFlowNameRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
822
+ UpdateContactFlowNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
823
+ UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
824
+ UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
825
+
826
+ UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
827
+ UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
828
+ UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
829
+ UpdateRoutingProfileConcurrencyRequest.struct_class = Types::UpdateRoutingProfileConcurrencyRequest
830
+
831
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
832
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
833
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
834
+ UpdateRoutingProfileDefaultOutboundQueueRequest.struct_class = Types::UpdateRoutingProfileDefaultOutboundQueueRequest
835
+
836
+ UpdateRoutingProfileNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
837
+ UpdateRoutingProfileNameRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
838
+ UpdateRoutingProfileNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
839
+ UpdateRoutingProfileNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
840
+ UpdateRoutingProfileNameRequest.struct_class = Types::UpdateRoutingProfileNameRequest
841
+
842
+ UpdateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
843
+ UpdateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
844
+ UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
845
+ UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
846
+
597
847
  UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
598
848
  UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
599
849
  UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -652,6 +902,9 @@ module Aws::Connect
652
902
 
653
903
  UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
654
904
 
905
+ VoiceRecordingConfiguration.add_member(:voice_recording_track, Shapes::ShapeRef.new(shape: VoiceRecordingTrack, location_name: "VoiceRecordingTrack"))
906
+ VoiceRecordingConfiguration.struct_class = Types::VoiceRecordingConfiguration
907
+
655
908
 
656
909
  # @api private
657
910
  API = Seahorse::Model::Api.new.tap do |api|
@@ -671,6 +924,50 @@ module Aws::Connect
671
924
  "uid" => "connect-2017-08-08",
672
925
  }
673
926
 
927
+ api.add_operation(:associate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
928
+ o.name = "AssociateRoutingProfileQueues"
929
+ o.http_method = "POST"
930
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"
931
+ o.input = Shapes::ShapeRef.new(shape: AssociateRoutingProfileQueuesRequest)
932
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
933
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
934
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
935
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
936
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
937
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
938
+ end)
939
+
940
+ api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
941
+ o.name = "CreateContactFlow"
942
+ o.http_method = "PUT"
943
+ o.http_request_uri = "/contact-flows/{InstanceId}"
944
+ o.input = Shapes::ShapeRef.new(shape: CreateContactFlowRequest)
945
+ o.output = Shapes::ShapeRef.new(shape: CreateContactFlowResponse)
946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
948
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
949
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
950
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
951
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
952
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
953
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
954
+ end)
955
+
956
+ api.add_operation(:create_routing_profile, Seahorse::Model::Operation.new.tap do |o|
957
+ o.name = "CreateRoutingProfile"
958
+ o.http_method = "PUT"
959
+ o.http_request_uri = "/routing-profiles/{InstanceId}"
960
+ o.input = Shapes::ShapeRef.new(shape: CreateRoutingProfileRequest)
961
+ o.output = Shapes::ShapeRef.new(shape: CreateRoutingProfileResponse)
962
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
963
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
964
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
965
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
966
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
968
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
969
+ end)
970
+
674
971
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
675
972
  o.name = "CreateUser"
676
973
  o.http_method = "PUT"
@@ -699,6 +996,33 @@ module Aws::Connect
699
996
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
700
997
  end)
701
998
 
999
+ api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1000
+ o.name = "DescribeContactFlow"
1001
+ o.http_method = "GET"
1002
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}"
1003
+ o.input = Shapes::ShapeRef.new(shape: DescribeContactFlowRequest)
1004
+ o.output = Shapes::ShapeRef.new(shape: DescribeContactFlowResponse)
1005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: ContactFlowNotPublishedException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1011
+ end)
1012
+
1013
+ api.add_operation(:describe_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1014
+ o.name = "DescribeRoutingProfile"
1015
+ o.http_method = "GET"
1016
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}"
1017
+ o.input = Shapes::ShapeRef.new(shape: DescribeRoutingProfileRequest)
1018
+ o.output = Shapes::ShapeRef.new(shape: DescribeRoutingProfileResponse)
1019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1024
+ end)
1025
+
702
1026
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
703
1027
  o.name = "DescribeUser"
704
1028
  o.http_method = "GET"
@@ -738,6 +1062,19 @@ module Aws::Connect
738
1062
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
739
1063
  end)
740
1064
 
1065
+ api.add_operation(:disassociate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1066
+ o.name = "DisassociateRoutingProfileQueues"
1067
+ o.http_method = "POST"
1068
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues"
1069
+ o.input = Shapes::ShapeRef.new(shape: DisassociateRoutingProfileQueuesRequest)
1070
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1071
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1076
+ end)
1077
+
741
1078
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
742
1079
  o.name = "GetContactAttributes"
743
1080
  o.http_method = "GET"
@@ -858,6 +1195,25 @@ module Aws::Connect
858
1195
  )
859
1196
  end)
860
1197
 
1198
+ api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
1199
+ o.name = "ListPrompts"
1200
+ o.http_method = "GET"
1201
+ o.http_request_uri = "/prompts-summary/{InstanceId}"
1202
+ o.input = Shapes::ShapeRef.new(shape: ListPromptsRequest)
1203
+ o.output = Shapes::ShapeRef.new(shape: ListPromptsResponse)
1204
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1207
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1208
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1209
+ o[:pager] = Aws::Pager.new(
1210
+ limit_key: "max_results",
1211
+ tokens: {
1212
+ "next_token" => "next_token"
1213
+ }
1214
+ )
1215
+ end)
1216
+
861
1217
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
862
1218
  o.name = "ListQueues"
863
1219
  o.http_method = "GET"
@@ -877,6 +1233,25 @@ module Aws::Connect
877
1233
  )
878
1234
  end)
879
1235
 
1236
+ api.add_operation(:list_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1237
+ o.name = "ListRoutingProfileQueues"
1238
+ o.http_method = "GET"
1239
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
1240
+ o.input = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesRequest)
1241
+ o.output = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesResponse)
1242
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1243
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1244
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1245
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1246
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1247
+ o[:pager] = Aws::Pager.new(
1248
+ limit_key: "max_results",
1249
+ tokens: {
1250
+ "next_token" => "next_token"
1251
+ }
1252
+ )
1253
+ end)
1254
+
880
1255
  api.add_operation(:list_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
881
1256
  o.name = "ListRoutingProfiles"
882
1257
  o.http_method = "GET"
@@ -966,6 +1341,17 @@ module Aws::Connect
966
1341
  )
967
1342
  end)
968
1343
 
1344
+ api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
1345
+ o.name = "ResumeContactRecording"
1346
+ o.http_method = "POST"
1347
+ o.http_request_uri = "/contact/resume-recording"
1348
+ o.input = Shapes::ShapeRef.new(shape: ResumeContactRecordingRequest)
1349
+ o.output = Shapes::ShapeRef.new(shape: ResumeContactRecordingResponse)
1350
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1353
+ end)
1354
+
969
1355
  api.add_operation(:start_chat_contact, Seahorse::Model::Operation.new.tap do |o|
970
1356
  o.name = "StartChatContact"
971
1357
  o.http_method = "PUT"
@@ -979,6 +1365,18 @@ module Aws::Connect
979
1365
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
980
1366
  end)
981
1367
 
1368
+ api.add_operation(:start_contact_recording, Seahorse::Model::Operation.new.tap do |o|
1369
+ o.name = "StartContactRecording"
1370
+ o.http_method = "POST"
1371
+ o.http_request_uri = "/contact/start-recording"
1372
+ o.input = Shapes::ShapeRef.new(shape: StartContactRecordingRequest)
1373
+ o.output = Shapes::ShapeRef.new(shape: StartContactRecordingResponse)
1374
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1378
+ end)
1379
+
982
1380
  api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
983
1381
  o.name = "StartOutboundVoiceContact"
984
1382
  o.http_method = "PUT"
@@ -1007,6 +1405,28 @@ module Aws::Connect
1007
1405
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1008
1406
  end)
1009
1407
 
1408
+ api.add_operation(:stop_contact_recording, Seahorse::Model::Operation.new.tap do |o|
1409
+ o.name = "StopContactRecording"
1410
+ o.http_method = "POST"
1411
+ o.http_request_uri = "/contact/stop-recording"
1412
+ o.input = Shapes::ShapeRef.new(shape: StopContactRecordingRequest)
1413
+ o.output = Shapes::ShapeRef.new(shape: StopContactRecordingResponse)
1414
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1417
+ end)
1418
+
1419
+ api.add_operation(:suspend_contact_recording, Seahorse::Model::Operation.new.tap do |o|
1420
+ o.name = "SuspendContactRecording"
1421
+ o.http_method = "POST"
1422
+ o.http_request_uri = "/contact/suspend-recording"
1423
+ o.input = Shapes::ShapeRef.new(shape: SuspendContactRecordingRequest)
1424
+ o.output = Shapes::ShapeRef.new(shape: SuspendContactRecordingResponse)
1425
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1426
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1427
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1428
+ end)
1429
+
1010
1430
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1011
1431
  o.name = "TagResource"
1012
1432
  o.http_method = "POST"
@@ -1045,6 +1465,87 @@ module Aws::Connect
1045
1465
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1046
1466
  end)
1047
1467
 
1468
+ api.add_operation(:update_contact_flow_content, Seahorse::Model::Operation.new.tap do |o|
1469
+ o.name = "UpdateContactFlowContent"
1470
+ o.http_method = "POST"
1471
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/content"
1472
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowContentRequest)
1473
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1474
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1479
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1480
+ end)
1481
+
1482
+ api.add_operation(:update_contact_flow_name, Seahorse::Model::Operation.new.tap do |o|
1483
+ o.name = "UpdateContactFlowName"
1484
+ o.http_method = "POST"
1485
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/name"
1486
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowNameRequest)
1487
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1488
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1491
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1492
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1493
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1494
+ end)
1495
+
1496
+ api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
1497
+ o.name = "UpdateRoutingProfileConcurrency"
1498
+ o.http_method = "POST"
1499
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency"
1500
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileConcurrencyRequest)
1501
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1504
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1506
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1507
+ end)
1508
+
1509
+ api.add_operation(:update_routing_profile_default_outbound_queue, Seahorse::Model::Operation.new.tap do |o|
1510
+ o.name = "UpdateRoutingProfileDefaultOutboundQueue"
1511
+ o.http_method = "POST"
1512
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue"
1513
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileDefaultOutboundQueueRequest)
1514
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1515
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1516
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1518
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1519
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1520
+ end)
1521
+
1522
+ api.add_operation(:update_routing_profile_name, Seahorse::Model::Operation.new.tap do |o|
1523
+ o.name = "UpdateRoutingProfileName"
1524
+ o.http_method = "POST"
1525
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/name"
1526
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileNameRequest)
1527
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1528
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1534
+ end)
1535
+
1536
+ api.add_operation(:update_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1537
+ o.name = "UpdateRoutingProfileQueues"
1538
+ o.http_method = "POST"
1539
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
1540
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileQueuesRequest)
1541
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1542
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1544
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1547
+ end)
1548
+
1048
1549
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
1049
1550
  o.name = "UpdateUserHierarchy"
1050
1551
  o.http_method = "POST"