aws-sdk-connect 1.30.0 → 1.35.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,25 @@ 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')
50
+ CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
51
+ CreateUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupResponse')
40
52
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
41
53
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
42
54
  Credentials = Shapes::StructureShape.new(name: 'Credentials')
@@ -47,7 +59,13 @@ module Aws::Connect
47
59
  CurrentMetricResult = Shapes::StructureShape.new(name: 'CurrentMetricResult')
48
60
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
49
61
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
62
+ Delay = Shapes::IntegerShape.new(name: 'Delay')
63
+ DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
50
64
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
65
+ DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
66
+ DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
67
+ DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
68
+ DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
51
69
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
52
70
  DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
53
71
  DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
@@ -57,6 +75,7 @@ module Aws::Connect
57
75
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
58
76
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
59
77
  DirectoryUserId = Shapes::StringShape.new(name: 'DirectoryUserId')
78
+ DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
60
79
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
61
80
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
62
81
  Email = Shapes::StringShape.new(name: 'Email')
@@ -79,8 +98,10 @@ module Aws::Connect
79
98
  HierarchyLevel = Shapes::StructureShape.new(name: 'HierarchyLevel')
80
99
  HierarchyLevelId = Shapes::StringShape.new(name: 'HierarchyLevelId')
81
100
  HierarchyLevelName = Shapes::StringShape.new(name: 'HierarchyLevelName')
101
+ HierarchyLevelUpdate = Shapes::StructureShape.new(name: 'HierarchyLevelUpdate')
82
102
  HierarchyPath = Shapes::StructureShape.new(name: 'HierarchyPath')
83
103
  HierarchyStructure = Shapes::StructureShape.new(name: 'HierarchyStructure')
104
+ HierarchyStructureUpdate = Shapes::StructureShape.new(name: 'HierarchyStructureUpdate')
84
105
  HistoricalMetric = Shapes::StructureShape.new(name: 'HistoricalMetric')
85
106
  HistoricalMetricData = Shapes::StructureShape.new(name: 'HistoricalMetricData')
86
107
  HistoricalMetricDataCollections = Shapes::ListShape.new(name: 'HistoricalMetricDataCollections')
@@ -94,6 +115,7 @@ module Aws::Connect
94
115
  HoursOfOperationSummaryList = Shapes::ListShape.new(name: 'HoursOfOperationSummaryList')
95
116
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
96
117
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
118
+ InvalidContactFlowException = Shapes::StructureShape.new(name: 'InvalidContactFlowException')
97
119
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
98
120
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
99
121
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -103,8 +125,12 @@ module Aws::Connect
103
125
  ListHoursOfOperationsResponse = Shapes::StructureShape.new(name: 'ListHoursOfOperationsResponse')
104
126
  ListPhoneNumbersRequest = Shapes::StructureShape.new(name: 'ListPhoneNumbersRequest')
105
127
  ListPhoneNumbersResponse = Shapes::StructureShape.new(name: 'ListPhoneNumbersResponse')
128
+ ListPromptsRequest = Shapes::StructureShape.new(name: 'ListPromptsRequest')
129
+ ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
106
130
  ListQueuesRequest = Shapes::StructureShape.new(name: 'ListQueuesRequest')
107
131
  ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
132
+ ListRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesRequest')
133
+ ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
108
134
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
109
135
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
110
136
  ListSecurityProfilesRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesRequest')
@@ -117,6 +143,8 @@ module Aws::Connect
117
143
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
118
144
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
119
145
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
146
+ MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
147
+ MediaConcurrency = Shapes::StructureShape.new(name: 'MediaConcurrency')
120
148
  Message = Shapes::StringShape.new(name: 'Message')
121
149
  NextToken = Shapes::StringShape.new(name: 'NextToken')
122
150
  OutboundContactNotPermittedException = Shapes::StructureShape.new(name: 'OutboundContactNotPermittedException')
@@ -133,6 +161,14 @@ module Aws::Connect
133
161
  PhoneNumberType = Shapes::StringShape.new(name: 'PhoneNumberType')
134
162
  PhoneNumberTypes = Shapes::ListShape.new(name: 'PhoneNumberTypes')
135
163
  PhoneType = Shapes::StringShape.new(name: 'PhoneType')
164
+ Priority = Shapes::IntegerShape.new(name: 'Priority')
165
+ ProblemDetail = Shapes::StructureShape.new(name: 'ProblemDetail')
166
+ ProblemMessageString = Shapes::StringShape.new(name: 'ProblemMessageString')
167
+ Problems = Shapes::ListShape.new(name: 'Problems')
168
+ PromptId = Shapes::StringShape.new(name: 'PromptId')
169
+ PromptName = Shapes::StringShape.new(name: 'PromptName')
170
+ PromptSummary = Shapes::StructureShape.new(name: 'PromptSummary')
171
+ PromptSummaryList = Shapes::ListShape.new(name: 'PromptSummaryList')
136
172
  QueueId = Shapes::StringShape.new(name: 'QueueId')
137
173
  QueueName = Shapes::StringShape.new(name: 'QueueName')
138
174
  QueueReference = Shapes::StructureShape.new(name: 'QueueReference')
@@ -141,11 +177,21 @@ module Aws::Connect
141
177
  QueueType = Shapes::StringShape.new(name: 'QueueType')
142
178
  QueueTypes = Shapes::ListShape.new(name: 'QueueTypes')
143
179
  Queues = Shapes::ListShape.new(name: 'Queues')
180
+ ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
144
181
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
182
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
145
183
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
146
184
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
185
+ RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
186
+ RoutingProfileDescription = Shapes::StringShape.new(name: 'RoutingProfileDescription')
147
187
  RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
148
188
  RoutingProfileName = Shapes::StringShape.new(name: 'RoutingProfileName')
189
+ RoutingProfileQueueConfig = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfig')
190
+ RoutingProfileQueueConfigList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigList')
191
+ RoutingProfileQueueConfigSummary = Shapes::StructureShape.new(name: 'RoutingProfileQueueConfigSummary')
192
+ RoutingProfileQueueConfigSummaryList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigSummaryList')
193
+ RoutingProfileQueueReference = Shapes::StructureShape.new(name: 'RoutingProfileQueueReference')
194
+ RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
149
195
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
150
196
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
151
197
  SecurityProfileId = Shapes::StringShape.new(name: 'SecurityProfileId')
@@ -179,7 +225,15 @@ module Aws::Connect
179
225
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
180
226
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
181
227
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
228
+ UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
229
+ UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
230
+ UpdateRoutingProfileConcurrencyRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileConcurrencyRequest')
231
+ UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
232
+ UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
233
+ UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
234
+ UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
182
235
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
236
+ UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
183
237
  UpdateUserIdentityInfoRequest = Shapes::StructureShape.new(name: 'UpdateUserIdentityInfoRequest')
184
238
  UpdateUserPhoneConfigRequest = Shapes::StructureShape.new(name: 'UpdateUserPhoneConfigRequest')
185
239
  UpdateUserRoutingProfileRequest = Shapes::StructureShape.new(name: 'UpdateUserRoutingProfileRequest')
@@ -196,6 +250,11 @@ module Aws::Connect
196
250
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
197
251
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
198
252
 
253
+ AssociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
254
+ AssociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
255
+ AssociateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
256
+ AssociateRoutingProfileQueuesRequest.struct_class = Types::AssociateRoutingProfileQueuesRequest
257
+
199
258
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
200
259
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
201
260
 
@@ -205,6 +264,18 @@ module Aws::Connect
205
264
  ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
206
265
  ChatMessage.struct_class = Types::ChatMessage
207
266
 
267
+ ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
268
+ ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
269
+ ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
270
+ ContactFlow.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, location_name: "Type"))
271
+ ContactFlow.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
272
+ ContactFlow.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, location_name: "Content"))
273
+ ContactFlow.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
274
+ ContactFlow.struct_class = Types::ContactFlow
275
+
276
+ ContactFlowNotPublishedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
277
+ ContactFlowNotPublishedException.struct_class = Types::ContactFlowNotPublishedException
278
+
208
279
  ContactFlowSummary.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
209
280
  ContactFlowSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
210
281
  ContactFlowSummary.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -218,6 +289,40 @@ module Aws::Connect
218
289
  ContactNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
219
290
  ContactNotFoundException.struct_class = Types::ContactNotFoundException
220
291
 
292
+ CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
293
+ CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
294
+ CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
295
+ CreateContactFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
296
+ CreateContactFlowRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
297
+ CreateContactFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
298
+ CreateContactFlowRequest.struct_class = Types::CreateContactFlowRequest
299
+
300
+ CreateContactFlowResponse.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
301
+ CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
302
+ CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
303
+
304
+ CreateRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
305
+ CreateRoutingProfileRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, required: true, location_name: "Name"))
306
+ CreateRoutingProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, required: true, location_name: "Description"))
307
+ CreateRoutingProfileRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
308
+ CreateRoutingProfileRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, location_name: "QueueConfigs"))
309
+ CreateRoutingProfileRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
310
+ CreateRoutingProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
311
+ CreateRoutingProfileRequest.struct_class = Types::CreateRoutingProfileRequest
312
+
313
+ CreateRoutingProfileResponse.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
314
+ CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
315
+ CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
316
+
317
+ CreateUserHierarchyGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
318
+ CreateUserHierarchyGroupRequest.add_member(:parent_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "ParentGroupId"))
319
+ CreateUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
320
+ CreateUserHierarchyGroupRequest.struct_class = Types::CreateUserHierarchyGroupRequest
321
+
322
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
323
+ CreateUserHierarchyGroupResponse.add_member(:hierarchy_group_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HierarchyGroupArn"))
324
+ CreateUserHierarchyGroupResponse.struct_class = Types::CreateUserHierarchyGroupResponse
325
+
221
326
  CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: AgentUsername, required: true, location_name: "Username"))
222
327
  CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
223
328
  CreateUserRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, location_name: "IdentityInfo"))
@@ -258,10 +363,28 @@ module Aws::Connect
258
363
 
259
364
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
260
365
 
366
+ DeleteUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
367
+ DeleteUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
368
+ DeleteUserHierarchyGroupRequest.struct_class = Types::DeleteUserHierarchyGroupRequest
369
+
261
370
  DeleteUserRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
262
371
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
263
372
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
264
373
 
374
+ DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
375
+ DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
376
+ DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
377
+
378
+ DescribeContactFlowResponse.add_member(:contact_flow, Shapes::ShapeRef.new(shape: ContactFlow, location_name: "ContactFlow"))
379
+ DescribeContactFlowResponse.struct_class = Types::DescribeContactFlowResponse
380
+
381
+ DescribeRoutingProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
382
+ DescribeRoutingProfileRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
383
+ DescribeRoutingProfileRequest.struct_class = Types::DescribeRoutingProfileRequest
384
+
385
+ DescribeRoutingProfileResponse.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfile, location_name: "RoutingProfile"))
386
+ DescribeRoutingProfileResponse.struct_class = Types::DescribeRoutingProfileResponse
387
+
265
388
  DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
266
389
  DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
267
390
  DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
@@ -289,6 +412,11 @@ module Aws::Connect
289
412
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
290
413
  Dimensions.struct_class = Types::Dimensions
291
414
 
415
+ DisassociateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
416
+ DisassociateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
417
+ DisassociateRoutingProfileQueuesRequest.add_member(:queue_references, Shapes::ShapeRef.new(shape: RoutingProfileQueueReferenceList, required: true, location_name: "QueueReferences"))
418
+ DisassociateRoutingProfileQueuesRequest.struct_class = Types::DisassociateRoutingProfileQueuesRequest
419
+
292
420
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
293
421
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
294
422
 
@@ -357,6 +485,9 @@ module Aws::Connect
357
485
  HierarchyLevel.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, location_name: "Name"))
358
486
  HierarchyLevel.struct_class = Types::HierarchyLevel
359
487
 
488
+ HierarchyLevelUpdate.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyLevelName, required: true, location_name: "Name"))
489
+ HierarchyLevelUpdate.struct_class = Types::HierarchyLevelUpdate
490
+
360
491
  HierarchyPath.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelOne"))
361
492
  HierarchyPath.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelTwo"))
362
493
  HierarchyPath.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyGroupSummary, location_name: "LevelThree"))
@@ -371,6 +502,13 @@ module Aws::Connect
371
502
  HierarchyStructure.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevel, location_name: "LevelFive"))
372
503
  HierarchyStructure.struct_class = Types::HierarchyStructure
373
504
 
505
+ HierarchyStructureUpdate.add_member(:level_one, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelOne"))
506
+ HierarchyStructureUpdate.add_member(:level_two, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelTwo"))
507
+ HierarchyStructureUpdate.add_member(:level_three, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelThree"))
508
+ HierarchyStructureUpdate.add_member(:level_four, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFour"))
509
+ HierarchyStructureUpdate.add_member(:level_five, Shapes::ShapeRef.new(shape: HierarchyLevelUpdate, location_name: "LevelFive"))
510
+ HierarchyStructureUpdate.struct_class = Types::HierarchyStructureUpdate
511
+
374
512
  HistoricalMetric.add_member(:name, Shapes::ShapeRef.new(shape: HistoricalMetricName, location_name: "Name"))
375
513
  HistoricalMetric.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold", metadata: {"box"=>true}))
376
514
  HistoricalMetric.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
@@ -401,6 +539,9 @@ module Aws::Connect
401
539
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
402
540
  InternalServiceException.struct_class = Types::InternalServiceException
403
541
 
542
+ InvalidContactFlowException.add_member(:problems, Shapes::ShapeRef.new(shape: Problems, location_name: "problems"))
543
+ InvalidContactFlowException.struct_class = Types::InvalidContactFlowException
544
+
404
545
  InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
405
546
  InvalidParameterException.struct_class = Types::InvalidParameterException
406
547
 
@@ -440,6 +581,15 @@ module Aws::Connect
440
581
  ListPhoneNumbersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
441
582
  ListPhoneNumbersResponse.struct_class = Types::ListPhoneNumbersResponse
442
583
 
584
+ ListPromptsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
585
+ ListPromptsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
586
+ ListPromptsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
587
+ ListPromptsRequest.struct_class = Types::ListPromptsRequest
588
+
589
+ ListPromptsResponse.add_member(:prompt_summary_list, Shapes::ShapeRef.new(shape: PromptSummaryList, location_name: "PromptSummaryList"))
590
+ ListPromptsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
591
+ ListPromptsResponse.struct_class = Types::ListPromptsResponse
592
+
443
593
  ListQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
444
594
  ListQueuesRequest.add_member(:queue_types, Shapes::ShapeRef.new(shape: QueueTypes, location: "querystring", location_name: "queueTypes"))
445
595
  ListQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -450,6 +600,16 @@ module Aws::Connect
450
600
  ListQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
451
601
  ListQueuesResponse.struct_class = Types::ListQueuesResponse
452
602
 
603
+ ListRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
604
+ ListRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
605
+ ListRoutingProfileQueuesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
606
+ ListRoutingProfileQueuesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
607
+ ListRoutingProfileQueuesRequest.struct_class = Types::ListRoutingProfileQueuesRequest
608
+
609
+ ListRoutingProfileQueuesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
610
+ ListRoutingProfileQueuesResponse.add_member(:routing_profile_queue_config_summary_list, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummaryList, location_name: "RoutingProfileQueueConfigSummaryList"))
611
+ ListRoutingProfileQueuesResponse.struct_class = Types::ListRoutingProfileQueuesResponse
612
+
453
613
  ListRoutingProfilesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
454
614
  ListRoutingProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
455
615
  ListRoutingProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -492,6 +652,12 @@ module Aws::Connect
492
652
  ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
493
653
  ListUsersResponse.struct_class = Types::ListUsersResponse
494
654
 
655
+ MediaConcurrencies.member = Shapes::ShapeRef.new(shape: MediaConcurrency)
656
+
657
+ MediaConcurrency.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
658
+ MediaConcurrency.add_member(:concurrency, Shapes::ShapeRef.new(shape: Concurrency, required: true, location_name: "Concurrency"))
659
+ MediaConcurrency.struct_class = Types::MediaConcurrency
660
+
495
661
  OutboundContactNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
496
662
  OutboundContactNotPermittedException.struct_class = Types::OutboundContactNotPermittedException
497
663
 
@@ -511,6 +677,18 @@ module Aws::Connect
511
677
 
512
678
  PhoneNumberTypes.member = Shapes::ShapeRef.new(shape: PhoneNumberType)
513
679
 
680
+ ProblemDetail.add_member(:message, Shapes::ShapeRef.new(shape: ProblemMessageString, location_name: "message"))
681
+ ProblemDetail.struct_class = Types::ProblemDetail
682
+
683
+ Problems.member = Shapes::ShapeRef.new(shape: ProblemDetail)
684
+
685
+ PromptSummary.add_member(:id, Shapes::ShapeRef.new(shape: PromptId, location_name: "Id"))
686
+ PromptSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
687
+ PromptSummary.add_member(:name, Shapes::ShapeRef.new(shape: PromptName, location_name: "Name"))
688
+ PromptSummary.struct_class = Types::PromptSummary
689
+
690
+ PromptSummaryList.member = Shapes::ShapeRef.new(shape: PromptSummary)
691
+
514
692
  QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
515
693
  QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
516
694
  QueueReference.struct_class = Types::QueueReference
@@ -527,6 +705,11 @@ module Aws::Connect
527
705
 
528
706
  Queues.member = Shapes::ShapeRef.new(shape: QueueId)
529
707
 
708
+ ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
709
+ ResourceInUseException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
710
+ ResourceInUseException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceId"))
711
+ ResourceInUseException.struct_class = Types::ResourceInUseException
712
+
530
713
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
531
714
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
532
715
 
@@ -537,6 +720,39 @@ module Aws::Connect
537
720
 
538
721
  ResumeContactRecordingResponse.struct_class = Types::ResumeContactRecordingResponse
539
722
 
723
+ RoutingProfile.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
724
+ RoutingProfile.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
725
+ RoutingProfile.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
726
+ RoutingProfile.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
727
+ RoutingProfile.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
728
+ RoutingProfile.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, location_name: "MediaConcurrencies"))
729
+ RoutingProfile.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "DefaultOutboundQueueId"))
730
+ RoutingProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
731
+ RoutingProfile.struct_class = Types::RoutingProfile
732
+
733
+ RoutingProfileQueueConfig.add_member(:queue_reference, Shapes::ShapeRef.new(shape: RoutingProfileQueueReference, required: true, location_name: "QueueReference"))
734
+ RoutingProfileQueueConfig.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority", metadata: {"box"=>true}))
735
+ RoutingProfileQueueConfig.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay", metadata: {"box"=>true}))
736
+ RoutingProfileQueueConfig.struct_class = Types::RoutingProfileQueueConfig
737
+
738
+ RoutingProfileQueueConfigList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfig)
739
+
740
+ RoutingProfileQueueConfigSummary.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
741
+ RoutingProfileQueueConfigSummary.add_member(:queue_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "QueueArn"))
742
+ RoutingProfileQueueConfigSummary.add_member(:queue_name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "QueueName"))
743
+ RoutingProfileQueueConfigSummary.add_member(:priority, Shapes::ShapeRef.new(shape: Priority, required: true, location_name: "Priority"))
744
+ RoutingProfileQueueConfigSummary.add_member(:delay, Shapes::ShapeRef.new(shape: Delay, required: true, location_name: "Delay"))
745
+ RoutingProfileQueueConfigSummary.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
746
+ RoutingProfileQueueConfigSummary.struct_class = Types::RoutingProfileQueueConfigSummary
747
+
748
+ RoutingProfileQueueConfigSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigSummary)
749
+
750
+ RoutingProfileQueueReference.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "QueueId"))
751
+ RoutingProfileQueueReference.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, required: true, location_name: "Channel"))
752
+ RoutingProfileQueueReference.struct_class = Types::RoutingProfileQueueReference
753
+
754
+ RoutingProfileQueueReferenceList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueReference)
755
+
540
756
  RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
541
757
  RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
542
758
  RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
@@ -633,11 +849,52 @@ module Aws::Connect
633
849
 
634
850
  UpdateContactAttributesResponse.struct_class = Types::UpdateContactAttributesResponse
635
851
 
852
+ UpdateContactFlowContentRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
853
+ UpdateContactFlowContentRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
854
+ UpdateContactFlowContentRequest.add_member(:content, Shapes::ShapeRef.new(shape: ContactFlowContent, required: true, location_name: "Content"))
855
+ UpdateContactFlowContentRequest.struct_class = Types::UpdateContactFlowContentRequest
856
+
857
+ UpdateContactFlowNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
858
+ UpdateContactFlowNameRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
859
+ UpdateContactFlowNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
860
+ UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
861
+ UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
862
+
863
+ UpdateRoutingProfileConcurrencyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
864
+ UpdateRoutingProfileConcurrencyRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
865
+ UpdateRoutingProfileConcurrencyRequest.add_member(:media_concurrencies, Shapes::ShapeRef.new(shape: MediaConcurrencies, required: true, location_name: "MediaConcurrencies"))
866
+ UpdateRoutingProfileConcurrencyRequest.struct_class = Types::UpdateRoutingProfileConcurrencyRequest
867
+
868
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
869
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
870
+ UpdateRoutingProfileDefaultOutboundQueueRequest.add_member(:default_outbound_queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location_name: "DefaultOutboundQueueId"))
871
+ UpdateRoutingProfileDefaultOutboundQueueRequest.struct_class = Types::UpdateRoutingProfileDefaultOutboundQueueRequest
872
+
873
+ UpdateRoutingProfileNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
874
+ UpdateRoutingProfileNameRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
875
+ UpdateRoutingProfileNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
876
+ UpdateRoutingProfileNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: RoutingProfileDescription, location_name: "Description"))
877
+ UpdateRoutingProfileNameRequest.struct_class = Types::UpdateRoutingProfileNameRequest
878
+
879
+ UpdateRoutingProfileQueuesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
880
+ UpdateRoutingProfileQueuesRequest.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, required: true, location: "uri", location_name: "RoutingProfileId"))
881
+ UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
882
+ UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
883
+
884
+ UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
885
+ UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
886
+ UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
887
+ UpdateUserHierarchyGroupNameRequest.struct_class = Types::UpdateUserHierarchyGroupNameRequest
888
+
636
889
  UpdateUserHierarchyRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "HierarchyGroupId"))
637
890
  UpdateUserHierarchyRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
638
891
  UpdateUserHierarchyRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
639
892
  UpdateUserHierarchyRequest.struct_class = Types::UpdateUserHierarchyRequest
640
893
 
894
+ UpdateUserHierarchyStructureRequest.add_member(:hierarchy_structure, Shapes::ShapeRef.new(shape: HierarchyStructureUpdate, required: true, location_name: "HierarchyStructure"))
895
+ UpdateUserHierarchyStructureRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
896
+ UpdateUserHierarchyStructureRequest.struct_class = Types::UpdateUserHierarchyStructureRequest
897
+
641
898
  UpdateUserIdentityInfoRequest.add_member(:identity_info, Shapes::ShapeRef.new(shape: UserIdentityInfo, required: true, location_name: "IdentityInfo"))
642
899
  UpdateUserIdentityInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
643
900
  UpdateUserIdentityInfoRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -713,6 +970,50 @@ module Aws::Connect
713
970
  "uid" => "connect-2017-08-08",
714
971
  }
715
972
 
973
+ api.add_operation(:associate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
974
+ o.name = "AssociateRoutingProfileQueues"
975
+ o.http_method = "POST"
976
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"
977
+ o.input = Shapes::ShapeRef.new(shape: AssociateRoutingProfileQueuesRequest)
978
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
979
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
980
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
983
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
984
+ end)
985
+
986
+ api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
987
+ o.name = "CreateContactFlow"
988
+ o.http_method = "PUT"
989
+ o.http_request_uri = "/contact-flows/{InstanceId}"
990
+ o.input = Shapes::ShapeRef.new(shape: CreateContactFlowRequest)
991
+ o.output = Shapes::ShapeRef.new(shape: CreateContactFlowResponse)
992
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
993
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
995
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
996
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
998
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
999
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1000
+ end)
1001
+
1002
+ api.add_operation(:create_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1003
+ o.name = "CreateRoutingProfile"
1004
+ o.http_method = "PUT"
1005
+ o.http_request_uri = "/routing-profiles/{InstanceId}"
1006
+ o.input = Shapes::ShapeRef.new(shape: CreateRoutingProfileRequest)
1007
+ o.output = Shapes::ShapeRef.new(shape: CreateRoutingProfileResponse)
1008
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1012
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1015
+ end)
1016
+
716
1017
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
717
1018
  o.name = "CreateUser"
718
1019
  o.http_method = "PUT"
@@ -728,6 +1029,21 @@ module Aws::Connect
728
1029
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
729
1030
  end)
730
1031
 
1032
+ api.add_operation(:create_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1033
+ o.name = "CreateUserHierarchyGroup"
1034
+ o.http_method = "PUT"
1035
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}"
1036
+ o.input = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupRequest)
1037
+ o.output = Shapes::ShapeRef.new(shape: CreateUserHierarchyGroupResponse)
1038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1044
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1045
+ end)
1046
+
731
1047
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
732
1048
  o.name = "DeleteUser"
733
1049
  o.http_method = "DELETE"
@@ -741,6 +1057,47 @@ module Aws::Connect
741
1057
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
742
1058
  end)
743
1059
 
1060
+ api.add_operation(:delete_user_hierarchy_group, Seahorse::Model::Operation.new.tap do |o|
1061
+ o.name = "DeleteUserHierarchyGroup"
1062
+ o.http_method = "DELETE"
1063
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}"
1064
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserHierarchyGroupRequest)
1065
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1066
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1069
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1070
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1072
+ end)
1073
+
1074
+ api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1075
+ o.name = "DescribeContactFlow"
1076
+ o.http_method = "GET"
1077
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}"
1078
+ o.input = Shapes::ShapeRef.new(shape: DescribeContactFlowRequest)
1079
+ o.output = Shapes::ShapeRef.new(shape: DescribeContactFlowResponse)
1080
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ContactFlowNotPublishedException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1086
+ end)
1087
+
1088
+ api.add_operation(:describe_routing_profile, Seahorse::Model::Operation.new.tap do |o|
1089
+ o.name = "DescribeRoutingProfile"
1090
+ o.http_method = "GET"
1091
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}"
1092
+ o.input = Shapes::ShapeRef.new(shape: DescribeRoutingProfileRequest)
1093
+ o.output = Shapes::ShapeRef.new(shape: DescribeRoutingProfileResponse)
1094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1099
+ end)
1100
+
744
1101
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
745
1102
  o.name = "DescribeUser"
746
1103
  o.http_method = "GET"
@@ -780,6 +1137,19 @@ module Aws::Connect
780
1137
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
781
1138
  end)
782
1139
 
1140
+ api.add_operation(:disassociate_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1141
+ o.name = "DisassociateRoutingProfileQueues"
1142
+ o.http_method = "POST"
1143
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues"
1144
+ o.input = Shapes::ShapeRef.new(shape: DisassociateRoutingProfileQueuesRequest)
1145
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1146
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1151
+ end)
1152
+
783
1153
  api.add_operation(:get_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
784
1154
  o.name = "GetContactAttributes"
785
1155
  o.http_method = "GET"
@@ -900,6 +1270,25 @@ module Aws::Connect
900
1270
  )
901
1271
  end)
902
1272
 
1273
+ api.add_operation(:list_prompts, Seahorse::Model::Operation.new.tap do |o|
1274
+ o.name = "ListPrompts"
1275
+ o.http_method = "GET"
1276
+ o.http_request_uri = "/prompts-summary/{InstanceId}"
1277
+ o.input = Shapes::ShapeRef.new(shape: ListPromptsRequest)
1278
+ o.output = Shapes::ShapeRef.new(shape: ListPromptsResponse)
1279
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1281
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1282
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1284
+ o[:pager] = Aws::Pager.new(
1285
+ limit_key: "max_results",
1286
+ tokens: {
1287
+ "next_token" => "next_token"
1288
+ }
1289
+ )
1290
+ end)
1291
+
903
1292
  api.add_operation(:list_queues, Seahorse::Model::Operation.new.tap do |o|
904
1293
  o.name = "ListQueues"
905
1294
  o.http_method = "GET"
@@ -919,6 +1308,25 @@ module Aws::Connect
919
1308
  )
920
1309
  end)
921
1310
 
1311
+ api.add_operation(:list_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1312
+ o.name = "ListRoutingProfileQueues"
1313
+ o.http_method = "GET"
1314
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
1315
+ o.input = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesRequest)
1316
+ o.output = Shapes::ShapeRef.new(shape: ListRoutingProfileQueuesResponse)
1317
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1322
+ o[:pager] = Aws::Pager.new(
1323
+ limit_key: "max_results",
1324
+ tokens: {
1325
+ "next_token" => "next_token"
1326
+ }
1327
+ )
1328
+ end)
1329
+
922
1330
  api.add_operation(:list_routing_profiles, Seahorse::Model::Operation.new.tap do |o|
923
1331
  o.name = "ListRoutingProfiles"
924
1332
  o.http_method = "GET"
@@ -1132,6 +1540,87 @@ module Aws::Connect
1132
1540
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1133
1541
  end)
1134
1542
 
1543
+ api.add_operation(:update_contact_flow_content, Seahorse::Model::Operation.new.tap do |o|
1544
+ o.name = "UpdateContactFlowContent"
1545
+ o.http_method = "POST"
1546
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/content"
1547
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowContentRequest)
1548
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1549
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: InvalidContactFlowException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1555
+ end)
1556
+
1557
+ api.add_operation(:update_contact_flow_name, Seahorse::Model::Operation.new.tap do |o|
1558
+ o.name = "UpdateContactFlowName"
1559
+ o.http_method = "POST"
1560
+ o.http_request_uri = "/contact-flows/{InstanceId}/{ContactFlowId}/name"
1561
+ o.input = Shapes::ShapeRef.new(shape: UpdateContactFlowNameRequest)
1562
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1563
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1565
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1566
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1569
+ end)
1570
+
1571
+ api.add_operation(:update_routing_profile_concurrency, Seahorse::Model::Operation.new.tap do |o|
1572
+ o.name = "UpdateRoutingProfileConcurrency"
1573
+ o.http_method = "POST"
1574
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency"
1575
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileConcurrencyRequest)
1576
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1577
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1578
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1579
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1580
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1581
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1582
+ end)
1583
+
1584
+ api.add_operation(:update_routing_profile_default_outbound_queue, Seahorse::Model::Operation.new.tap do |o|
1585
+ o.name = "UpdateRoutingProfileDefaultOutboundQueue"
1586
+ o.http_method = "POST"
1587
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue"
1588
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileDefaultOutboundQueueRequest)
1589
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1590
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1591
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1592
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1593
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1594
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1595
+ end)
1596
+
1597
+ api.add_operation(:update_routing_profile_name, Seahorse::Model::Operation.new.tap do |o|
1598
+ o.name = "UpdateRoutingProfileName"
1599
+ o.http_method = "POST"
1600
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/name"
1601
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileNameRequest)
1602
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1603
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1605
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1607
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1609
+ end)
1610
+
1611
+ api.add_operation(:update_routing_profile_queues, Seahorse::Model::Operation.new.tap do |o|
1612
+ o.name = "UpdateRoutingProfileQueues"
1613
+ o.http_method = "POST"
1614
+ o.http_request_uri = "/routing-profiles/{InstanceId}/{RoutingProfileId}/queues"
1615
+ o.input = Shapes::ShapeRef.new(shape: UpdateRoutingProfileQueuesRequest)
1616
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1617
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1618
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1619
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1620
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1621
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1622
+ end)
1623
+
1135
1624
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
1136
1625
  o.name = "UpdateUserHierarchy"
1137
1626
  o.http_method = "POST"
@@ -1145,6 +1634,34 @@ module Aws::Connect
1145
1634
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1146
1635
  end)
1147
1636
 
1637
+ api.add_operation(:update_user_hierarchy_group_name, Seahorse::Model::Operation.new.tap do |o|
1638
+ o.name = "UpdateUserHierarchyGroupName"
1639
+ o.http_method = "POST"
1640
+ o.http_request_uri = "/user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name"
1641
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyGroupNameRequest)
1642
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1643
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1644
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1645
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1646
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1649
+ end)
1650
+
1651
+ api.add_operation(:update_user_hierarchy_structure, Seahorse::Model::Operation.new.tap do |o|
1652
+ o.name = "UpdateUserHierarchyStructure"
1653
+ o.http_method = "POST"
1654
+ o.http_request_uri = "/user-hierarchy-structure/{InstanceId}"
1655
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserHierarchyStructureRequest)
1656
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1657
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1658
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1659
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1660
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1661
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1662
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1663
+ end)
1664
+
1148
1665
  api.add_operation(:update_user_identity_info, Seahorse::Model::Operation.new.tap do |o|
1149
1666
  o.name = "UpdateUserIdentityInfo"
1150
1667
  o.http_method = "POST"