aws-sdk-connect 1.77.0 → 1.79.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,7 @@ module Aws::Connect
60
60
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
61
61
  AvailableNumberSummary = Shapes::StructureShape.new(name: 'AvailableNumberSummary')
62
62
  AvailableNumbersList = Shapes::ListShape.new(name: 'AvailableNumbersList')
63
+ AwsRegion = Shapes::StringShape.new(name: 'AwsRegion')
63
64
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
64
65
  BotName = Shapes::StringShape.new(name: 'BotName')
65
66
  BucketName = Shapes::StringShape.new(name: 'BucketName')
@@ -131,6 +132,8 @@ module Aws::Connect
131
132
  CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
132
133
  CreateTaskTemplateRequest = Shapes::StructureShape.new(name: 'CreateTaskTemplateRequest')
133
134
  CreateTaskTemplateResponse = Shapes::StructureShape.new(name: 'CreateTaskTemplateResponse')
135
+ CreateTrafficDistributionGroupRequest = Shapes::StructureShape.new(name: 'CreateTrafficDistributionGroupRequest')
136
+ CreateTrafficDistributionGroupResponse = Shapes::StructureShape.new(name: 'CreateTrafficDistributionGroupResponse')
134
137
  CreateUseCaseRequest = Shapes::StructureShape.new(name: 'CreateUseCaseRequest')
135
138
  CreateUseCaseResponse = Shapes::StructureShape.new(name: 'CreateUseCaseResponse')
136
139
  CreateUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'CreateUserHierarchyGroupRequest')
@@ -161,6 +164,8 @@ module Aws::Connect
161
164
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
162
165
  DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
163
166
  DeleteTaskTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTaskTemplateResponse')
167
+ DeleteTrafficDistributionGroupRequest = Shapes::StructureShape.new(name: 'DeleteTrafficDistributionGroupRequest')
168
+ DeleteTrafficDistributionGroupResponse = Shapes::StructureShape.new(name: 'DeleteTrafficDistributionGroupResponse')
164
169
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
165
170
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
166
171
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
@@ -192,6 +197,8 @@ module Aws::Connect
192
197
  DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
193
198
  DescribeSecurityProfileRequest = Shapes::StructureShape.new(name: 'DescribeSecurityProfileRequest')
194
199
  DescribeSecurityProfileResponse = Shapes::StructureShape.new(name: 'DescribeSecurityProfileResponse')
200
+ DescribeTrafficDistributionGroupRequest = Shapes::StructureShape.new(name: 'DescribeTrafficDistributionGroupRequest')
201
+ DescribeTrafficDistributionGroupResponse = Shapes::StructureShape.new(name: 'DescribeTrafficDistributionGroupResponse')
195
202
  DescribeUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupRequest')
196
203
  DescribeUserHierarchyGroupResponse = Shapes::StructureShape.new(name: 'DescribeUserHierarchyGroupResponse')
197
204
  DescribeUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'DescribeUserHierarchyStructureRequest')
@@ -201,6 +208,7 @@ module Aws::Connect
201
208
  DescribeVocabularyRequest = Shapes::StructureShape.new(name: 'DescribeVocabularyRequest')
202
209
  DescribeVocabularyResponse = Shapes::StructureShape.new(name: 'DescribeVocabularyResponse')
203
210
  Description = Shapes::StringShape.new(name: 'Description')
211
+ Description250 = Shapes::StringShape.new(name: 'Description250')
204
212
  DestinationNotAllowedException = Shapes::StructureShape.new(name: 'DestinationNotAllowedException')
205
213
  Dimensions = Shapes::StructureShape.new(name: 'Dimensions')
206
214
  DirectoryAlias = Shapes::StringShape.new(name: 'DirectoryAlias')
@@ -217,6 +225,8 @@ module Aws::Connect
217
225
  DisassociateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'DisassociateRoutingProfileQueuesRequest')
218
226
  DisassociateSecurityKeyRequest = Shapes::StructureShape.new(name: 'DisassociateSecurityKeyRequest')
219
227
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
228
+ Distribution = Shapes::StructureShape.new(name: 'Distribution')
229
+ DistributionList = Shapes::ListShape.new(name: 'DistributionList')
220
230
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
221
231
  Email = Shapes::StringShape.new(name: 'Email')
222
232
  EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
@@ -237,6 +247,8 @@ module Aws::Connect
237
247
  GetMetricDataResponse = Shapes::StructureShape.new(name: 'GetMetricDataResponse')
238
248
  GetTaskTemplateRequest = Shapes::StructureShape.new(name: 'GetTaskTemplateRequest')
239
249
  GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
250
+ GetTrafficDistributionRequest = Shapes::StructureShape.new(name: 'GetTrafficDistributionRequest')
251
+ GetTrafficDistributionResponse = Shapes::StructureShape.new(name: 'GetTrafficDistributionResponse')
240
252
  Grouping = Shapes::StringShape.new(name: 'Grouping')
241
253
  Groupings = Shapes::ListShape.new(name: 'Groupings')
242
254
  HierarchyGroup = Shapes::StructureShape.new(name: 'HierarchyGroup')
@@ -277,9 +289,11 @@ module Aws::Connect
277
289
  IdempotencyException = Shapes::StructureShape.new(name: 'IdempotencyException')
278
290
  InboundCallsEnabled = Shapes::BooleanShape.new(name: 'InboundCallsEnabled')
279
291
  Instance = Shapes::StructureShape.new(name: 'Instance')
292
+ InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
280
293
  InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
281
294
  InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
282
295
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
296
+ InstanceIdOrArn = Shapes::StringShape.new(name: 'InstanceIdOrArn')
283
297
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
284
298
  InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
285
299
  InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
@@ -368,6 +382,8 @@ module Aws::Connect
368
382
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
369
383
  ListTaskTemplatesRequest = Shapes::StructureShape.new(name: 'ListTaskTemplatesRequest')
370
384
  ListTaskTemplatesResponse = Shapes::StructureShape.new(name: 'ListTaskTemplatesResponse')
385
+ ListTrafficDistributionGroupsRequest = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupsRequest')
386
+ ListTrafficDistributionGroupsResponse = Shapes::StructureShape.new(name: 'ListTrafficDistributionGroupsResponse')
371
387
  ListUseCasesRequest = Shapes::StructureShape.new(name: 'ListUseCasesRequest')
372
388
  ListUseCasesResponse = Shapes::StructureShape.new(name: 'ListUseCasesResponse')
373
389
  ListUserHierarchyGroupsRequest = Shapes::StructureShape.new(name: 'ListUserHierarchyGroupsRequest')
@@ -386,6 +402,7 @@ module Aws::Connect
386
402
  Message = Shapes::StringShape.new(name: 'Message')
387
403
  MinutesLimit60 = Shapes::IntegerShape.new(name: 'MinutesLimit60')
388
404
  Name = Shapes::StringShape.new(name: 'Name')
405
+ Name128 = Shapes::StringShape.new(name: 'Name128')
389
406
  NextToken = Shapes::StringShape.new(name: 'NextToken')
390
407
  NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
391
408
  NumberReference = Shapes::StructureShape.new(name: 'NumberReference')
@@ -400,6 +417,7 @@ module Aws::Connect
400
417
  ParticipantId = Shapes::StringShape.new(name: 'ParticipantId')
401
418
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
402
419
  Password = Shapes::StringShape.new(name: 'Password')
420
+ Percentage = Shapes::IntegerShape.new(name: 'Percentage')
403
421
  PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
404
422
  PhoneNumber = Shapes::StringShape.new(name: 'PhoneNumber')
405
423
  PhoneNumberCountryCode = Shapes::StringShape.new(name: 'PhoneNumberCountryCode')
@@ -470,11 +488,14 @@ module Aws::Connect
470
488
  ReferenceTypes = Shapes::ListShape.new(name: 'ReferenceTypes')
471
489
  ReferenceValue = Shapes::StringShape.new(name: 'ReferenceValue')
472
490
  ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
491
+ ReplicateInstanceRequest = Shapes::StructureShape.new(name: 'ReplicateInstanceRequest')
492
+ ReplicateInstanceResponse = Shapes::StructureShape.new(name: 'ReplicateInstanceResponse')
473
493
  RequiredFieldInfo = Shapes::StructureShape.new(name: 'RequiredFieldInfo')
474
494
  RequiredTaskTemplateFields = Shapes::ListShape.new(name: 'RequiredTaskTemplateFields')
475
495
  ResourceConflictException = Shapes::StructureShape.new(name: 'ResourceConflictException')
476
496
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
477
497
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
498
+ ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
478
499
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
479
500
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
480
501
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
@@ -584,11 +605,19 @@ module Aws::Connect
584
605
  TaskTemplateName = Shapes::StringShape.new(name: 'TaskTemplateName')
585
606
  TaskTemplateSingleSelectOption = Shapes::StringShape.new(name: 'TaskTemplateSingleSelectOption')
586
607
  TaskTemplateStatus = Shapes::StringShape.new(name: 'TaskTemplateStatus')
608
+ TelephonyConfig = Shapes::StructureShape.new(name: 'TelephonyConfig')
587
609
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
588
610
  ThresholdValue = Shapes::FloatShape.new(name: 'ThresholdValue')
589
611
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
590
612
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
591
613
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
614
+ TrafficDistributionGroup = Shapes::StructureShape.new(name: 'TrafficDistributionGroup')
615
+ TrafficDistributionGroupArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupArn')
616
+ TrafficDistributionGroupId = Shapes::StringShape.new(name: 'TrafficDistributionGroupId')
617
+ TrafficDistributionGroupIdOrArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupIdOrArn')
618
+ TrafficDistributionGroupStatus = Shapes::StringShape.new(name: 'TrafficDistributionGroupStatus')
619
+ TrafficDistributionGroupSummary = Shapes::StructureShape.new(name: 'TrafficDistributionGroupSummary')
620
+ TrafficDistributionGroupSummaryList = Shapes::ListShape.new(name: 'TrafficDistributionGroupSummaryList')
592
621
  TrafficType = Shapes::StringShape.new(name: 'TrafficType')
593
622
  TransferContactRequest = Shapes::StructureShape.new(name: 'TransferContactRequest')
594
623
  TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
@@ -631,6 +660,8 @@ module Aws::Connect
631
660
  UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
632
661
  UpdateTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTaskTemplateRequest')
633
662
  UpdateTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTaskTemplateResponse')
663
+ UpdateTrafficDistributionRequest = Shapes::StructureShape.new(name: 'UpdateTrafficDistributionRequest')
664
+ UpdateTrafficDistributionResponse = Shapes::StructureShape.new(name: 'UpdateTrafficDistributionResponse')
634
665
  UpdateUserHierarchyGroupNameRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyGroupNameRequest')
635
666
  UpdateUserHierarchyRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyRequest')
636
667
  UpdateUserHierarchyStructureRequest = Shapes::StructureShape.new(name: 'UpdateUserHierarchyStructureRequest')
@@ -1043,6 +1074,17 @@ module Aws::Connect
1043
1074
  CreateTaskTemplateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TaskTemplateArn, required: true, location_name: "Arn"))
1044
1075
  CreateTaskTemplateResponse.struct_class = Types::CreateTaskTemplateResponse
1045
1076
 
1077
+ CreateTrafficDistributionGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name128, required: true, location_name: "Name"))
1078
+ CreateTrafficDistributionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description250, location_name: "Description"))
1079
+ CreateTrafficDistributionGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location_name: "InstanceId"))
1080
+ CreateTrafficDistributionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1081
+ CreateTrafficDistributionGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1082
+ CreateTrafficDistributionGroupRequest.struct_class = Types::CreateTrafficDistributionGroupRequest
1083
+
1084
+ CreateTrafficDistributionGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
1085
+ CreateTrafficDistributionGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
1086
+ CreateTrafficDistributionGroupResponse.struct_class = Types::CreateTrafficDistributionGroupResponse
1087
+
1046
1088
  CreateUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1047
1089
  CreateUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1048
1090
  CreateUseCaseRequest.add_member(:use_case_type, Shapes::ShapeRef.new(shape: UseCaseType, required: true, location_name: "UseCaseType"))
@@ -1163,6 +1205,11 @@ module Aws::Connect
1163
1205
 
1164
1206
  DeleteTaskTemplateResponse.struct_class = Types::DeleteTaskTemplateResponse
1165
1207
 
1208
+ DeleteTrafficDistributionGroupRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
1209
+ DeleteTrafficDistributionGroupRequest.struct_class = Types::DeleteTrafficDistributionGroupRequest
1210
+
1211
+ DeleteTrafficDistributionGroupResponse.struct_class = Types::DeleteTrafficDistributionGroupResponse
1212
+
1166
1213
  DeleteUseCaseRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1167
1214
  DeleteUseCaseRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1168
1215
  DeleteUseCaseRequest.add_member(:use_case_id, Shapes::ShapeRef.new(shape: UseCaseId, required: true, location: "uri", location_name: "UseCaseId"))
@@ -1275,6 +1322,12 @@ module Aws::Connect
1275
1322
  DescribeSecurityProfileResponse.add_member(:security_profile, Shapes::ShapeRef.new(shape: SecurityProfile, location_name: "SecurityProfile"))
1276
1323
  DescribeSecurityProfileResponse.struct_class = Types::DescribeSecurityProfileResponse
1277
1324
 
1325
+ DescribeTrafficDistributionGroupRequest.add_member(:traffic_distribution_group_id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "TrafficDistributionGroupId"))
1326
+ DescribeTrafficDistributionGroupRequest.struct_class = Types::DescribeTrafficDistributionGroupRequest
1327
+
1328
+ DescribeTrafficDistributionGroupResponse.add_member(:traffic_distribution_group, Shapes::ShapeRef.new(shape: TrafficDistributionGroup, location_name: "TrafficDistributionGroup"))
1329
+ DescribeTrafficDistributionGroupResponse.struct_class = Types::DescribeTrafficDistributionGroupResponse
1330
+
1278
1331
  DescribeUserHierarchyGroupRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
1279
1332
  DescribeUserHierarchyGroupRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1280
1333
  DescribeUserHierarchyGroupRequest.struct_class = Types::DescribeUserHierarchyGroupRequest
@@ -1350,6 +1403,12 @@ module Aws::Connect
1350
1403
  DisassociateSecurityKeyRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: AssociationId, required: true, location: "uri", location_name: "AssociationId"))
1351
1404
  DisassociateSecurityKeyRequest.struct_class = Types::DisassociateSecurityKeyRequest
1352
1405
 
1406
+ Distribution.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "Region"))
1407
+ Distribution.add_member(:percentage, Shapes::ShapeRef.new(shape: Percentage, required: true, location_name: "Percentage"))
1408
+ Distribution.struct_class = Types::Distribution
1409
+
1410
+ DistributionList.member = Shapes::ShapeRef.new(shape: Distribution)
1411
+
1353
1412
  DuplicateResourceException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1354
1413
  DuplicateResourceException.struct_class = Types::DuplicateResourceException
1355
1414
 
@@ -1437,6 +1496,14 @@ module Aws::Connect
1437
1496
  GetTaskTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1438
1497
  GetTaskTemplateResponse.struct_class = Types::GetTaskTemplateResponse
1439
1498
 
1499
+ GetTrafficDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "Id"))
1500
+ GetTrafficDistributionRequest.struct_class = Types::GetTrafficDistributionRequest
1501
+
1502
+ GetTrafficDistributionResponse.add_member(:telephony_config, Shapes::ShapeRef.new(shape: TelephonyConfig, location_name: "TelephonyConfig"))
1503
+ GetTrafficDistributionResponse.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
1504
+ GetTrafficDistributionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
1505
+ GetTrafficDistributionResponse.struct_class = Types::GetTrafficDistributionResponse
1506
+
1440
1507
  Groupings.member = Shapes::ShapeRef.new(shape: Grouping)
1441
1508
 
1442
1509
  HierarchyGroup.add_member(:id, Shapes::ShapeRef.new(shape: HierarchyGroupId, location_name: "Id"))
@@ -1916,6 +1983,15 @@ module Aws::Connect
1916
1983
  ListTaskTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1917
1984
  ListTaskTemplatesResponse.struct_class = Types::ListTaskTemplatesResponse
1918
1985
 
1986
+ ListTrafficDistributionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult10, location: "querystring", location_name: "maxResults"))
1987
+ ListTrafficDistributionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1988
+ ListTrafficDistributionGroupsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, location: "querystring", location_name: "instanceId"))
1989
+ ListTrafficDistributionGroupsRequest.struct_class = Types::ListTrafficDistributionGroupsRequest
1990
+
1991
+ ListTrafficDistributionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1992
+ ListTrafficDistributionGroupsResponse.add_member(:traffic_distribution_group_summary_list, Shapes::ShapeRef.new(shape: TrafficDistributionGroupSummaryList, location_name: "TrafficDistributionGroupSummaryList"))
1993
+ ListTrafficDistributionGroupsResponse.struct_class = Types::ListTrafficDistributionGroupsResponse
1994
+
1919
1995
  ListUseCasesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1920
1996
  ListUseCasesRequest.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, required: true, location: "uri", location_name: "IntegrationAssociationId"))
1921
1997
  ListUseCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -2126,6 +2202,16 @@ module Aws::Connect
2126
2202
  ReleasePhoneNumberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
2127
2203
  ReleasePhoneNumberRequest.struct_class = Types::ReleasePhoneNumberRequest
2128
2204
 
2205
+ ReplicateInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceIdOrArn, required: true, location: "uri", location_name: "InstanceId"))
2206
+ ReplicateInstanceRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: AwsRegion, required: true, location_name: "ReplicaRegion"))
2207
+ ReplicateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
2208
+ ReplicateInstanceRequest.add_member(:replica_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, required: true, location_name: "ReplicaAlias"))
2209
+ ReplicateInstanceRequest.struct_class = Types::ReplicateInstanceRequest
2210
+
2211
+ ReplicateInstanceResponse.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
2212
+ ReplicateInstanceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
2213
+ ReplicateInstanceResponse.struct_class = Types::ReplicateInstanceResponse
2214
+
2129
2215
  RequiredFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
2130
2216
  RequiredFieldInfo.struct_class = Types::RequiredFieldInfo
2131
2217
 
@@ -2142,6 +2228,9 @@ module Aws::Connect
2142
2228
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2143
2229
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
2144
2230
 
2231
+ ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2232
+ ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
2233
+
2145
2234
  ResumeContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2146
2235
  ResumeContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
2147
2236
  ResumeContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
@@ -2487,6 +2576,9 @@ module Aws::Connect
2487
2576
  TaskTemplateMetadata.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
2488
2577
  TaskTemplateMetadata.struct_class = Types::TaskTemplateMetadata
2489
2578
 
2579
+ TelephonyConfig.add_member(:distributions, Shapes::ShapeRef.new(shape: DistributionList, required: true, location_name: "Distributions"))
2580
+ TelephonyConfig.struct_class = Types::TelephonyConfig
2581
+
2490
2582
  Threshold.add_member(:comparison, Shapes::ShapeRef.new(shape: Comparison, location_name: "Comparison"))
2491
2583
  Threshold.add_member(:threshold_value, Shapes::ShapeRef.new(shape: ThresholdValue, location_name: "ThresholdValue", metadata: {"box"=>true}))
2492
2584
  Threshold.struct_class = Types::Threshold
@@ -2494,6 +2586,24 @@ module Aws::Connect
2494
2586
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2495
2587
  ThrottlingException.struct_class = Types::ThrottlingException
2496
2588
 
2589
+ TrafficDistributionGroup.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
2590
+ TrafficDistributionGroup.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
2591
+ TrafficDistributionGroup.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
2592
+ TrafficDistributionGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description250, location_name: "Description"))
2593
+ TrafficDistributionGroup.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
2594
+ TrafficDistributionGroup.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
2595
+ TrafficDistributionGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2596
+ TrafficDistributionGroup.struct_class = Types::TrafficDistributionGroup
2597
+
2598
+ TrafficDistributionGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupId, location_name: "Id"))
2599
+ TrafficDistributionGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TrafficDistributionGroupArn, location_name: "Arn"))
2600
+ TrafficDistributionGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name128, location_name: "Name"))
2601
+ TrafficDistributionGroupSummary.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "InstanceArn"))
2602
+ TrafficDistributionGroupSummary.add_member(:status, Shapes::ShapeRef.new(shape: TrafficDistributionGroupStatus, location_name: "Status"))
2603
+ TrafficDistributionGroupSummary.struct_class = Types::TrafficDistributionGroupSummary
2604
+
2605
+ TrafficDistributionGroupSummaryList.member = Shapes::ShapeRef.new(shape: TrafficDistributionGroupSummary)
2606
+
2497
2607
  TransferContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
2498
2608
  TransferContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
2499
2609
  TransferContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
@@ -2693,6 +2803,12 @@ module Aws::Connect
2693
2803
  UpdateTaskTemplateResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedTime"))
2694
2804
  UpdateTaskTemplateResponse.struct_class = Types::UpdateTaskTemplateResponse
2695
2805
 
2806
+ UpdateTrafficDistributionRequest.add_member(:id, Shapes::ShapeRef.new(shape: TrafficDistributionGroupIdOrArn, required: true, location: "uri", location_name: "Id"))
2807
+ UpdateTrafficDistributionRequest.add_member(:telephony_config, Shapes::ShapeRef.new(shape: TelephonyConfig, location_name: "TelephonyConfig"))
2808
+ UpdateTrafficDistributionRequest.struct_class = Types::UpdateTrafficDistributionRequest
2809
+
2810
+ UpdateTrafficDistributionResponse.struct_class = Types::UpdateTrafficDistributionResponse
2811
+
2696
2812
  UpdateUserHierarchyGroupNameRequest.add_member(:name, Shapes::ShapeRef.new(shape: HierarchyGroupName, required: true, location_name: "Name"))
2697
2813
  UpdateUserHierarchyGroupNameRequest.add_member(:hierarchy_group_id, Shapes::ShapeRef.new(shape: HierarchyGroupId, required: true, location: "uri", location_name: "HierarchyGroupId"))
2698
2814
  UpdateUserHierarchyGroupNameRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -2769,6 +2885,8 @@ module Aws::Connect
2769
2885
  UserIdentityInfo.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
2770
2886
  UserIdentityInfo.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
2771
2887
  UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
2888
+ UserIdentityInfo.add_member(:secondary_email, Shapes::ShapeRef.new(shape: Email, location_name: "SecondaryEmail"))
2889
+ UserIdentityInfo.add_member(:mobile, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "Mobile"))
2772
2890
  UserIdentityInfo.struct_class = Types::UserIdentityInfo
2773
2891
 
2774
2892
  UserIdentityInfoLite.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
@@ -3188,6 +3306,22 @@ module Aws::Connect
3188
3306
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3189
3307
  end)
3190
3308
 
3309
+ api.add_operation(:create_traffic_distribution_group, Seahorse::Model::Operation.new.tap do |o|
3310
+ o.name = "CreateTrafficDistributionGroup"
3311
+ o.http_method = "PUT"
3312
+ o.http_request_uri = "/traffic-distribution-group"
3313
+ o.input = Shapes::ShapeRef.new(shape: CreateTrafficDistributionGroupRequest)
3314
+ o.output = Shapes::ShapeRef.new(shape: CreateTrafficDistributionGroupResponse)
3315
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3316
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3317
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3318
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3319
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3321
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3322
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
3323
+ end)
3324
+
3191
3325
  api.add_operation(:create_use_case, Seahorse::Model::Operation.new.tap do |o|
3192
3326
  o.name = "CreateUseCase"
3193
3327
  o.http_method = "PUT"
@@ -3351,6 +3485,19 @@ module Aws::Connect
3351
3485
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3352
3486
  end)
3353
3487
 
3488
+ api.add_operation(:delete_traffic_distribution_group, Seahorse::Model::Operation.new.tap do |o|
3489
+ o.name = "DeleteTrafficDistributionGroup"
3490
+ o.http_method = "DELETE"
3491
+ o.http_request_uri = "/traffic-distribution-group/{TrafficDistributionGroupId}"
3492
+ o.input = Shapes::ShapeRef.new(shape: DeleteTrafficDistributionGroupRequest)
3493
+ o.output = Shapes::ShapeRef.new(shape: DeleteTrafficDistributionGroupResponse)
3494
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3495
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3496
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
3497
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3498
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3499
+ end)
3500
+
3354
3501
  api.add_operation(:delete_use_case, Seahorse::Model::Operation.new.tap do |o|
3355
3502
  o.name = "DeleteUseCase"
3356
3503
  o.http_method = "DELETE"
@@ -3573,6 +3720,19 @@ module Aws::Connect
3573
3720
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3574
3721
  end)
3575
3722
 
3723
+ api.add_operation(:describe_traffic_distribution_group, Seahorse::Model::Operation.new.tap do |o|
3724
+ o.name = "DescribeTrafficDistributionGroup"
3725
+ o.http_method = "GET"
3726
+ o.http_request_uri = "/traffic-distribution-group/{TrafficDistributionGroupId}"
3727
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrafficDistributionGroupRequest)
3728
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrafficDistributionGroupResponse)
3729
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3730
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3732
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3733
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3734
+ end)
3735
+
3576
3736
  api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
3577
3737
  o.name = "DescribeUser"
3578
3738
  o.http_method = "GET"
@@ -3836,6 +3996,19 @@ module Aws::Connect
3836
3996
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3837
3997
  end)
3838
3998
 
3999
+ api.add_operation(:get_traffic_distribution, Seahorse::Model::Operation.new.tap do |o|
4000
+ o.name = "GetTrafficDistribution"
4001
+ o.http_method = "GET"
4002
+ o.http_request_uri = "/traffic-distribution/{Id}"
4003
+ o.input = Shapes::ShapeRef.new(shape: GetTrafficDistributionRequest)
4004
+ o.output = Shapes::ShapeRef.new(shape: GetTrafficDistributionResponse)
4005
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4006
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4007
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4008
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4009
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4010
+ end)
4011
+
3839
4012
  api.add_operation(:list_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
3840
4013
  o.name = "ListAgentStatuses"
3841
4014
  o.http_method = "GET"
@@ -4337,6 +4510,24 @@ module Aws::Connect
4337
4510
  )
4338
4511
  end)
4339
4512
 
4513
+ api.add_operation(:list_traffic_distribution_groups, Seahorse::Model::Operation.new.tap do |o|
4514
+ o.name = "ListTrafficDistributionGroups"
4515
+ o.http_method = "GET"
4516
+ o.http_request_uri = "/traffic-distribution-groups"
4517
+ o.input = Shapes::ShapeRef.new(shape: ListTrafficDistributionGroupsRequest)
4518
+ o.output = Shapes::ShapeRef.new(shape: ListTrafficDistributionGroupsResponse)
4519
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4520
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4521
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4522
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4523
+ o[:pager] = Aws::Pager.new(
4524
+ limit_key: "max_results",
4525
+ tokens: {
4526
+ "next_token" => "next_token"
4527
+ }
4528
+ )
4529
+ end)
4530
+
4340
4531
  api.add_operation(:list_use_cases, Seahorse::Model::Operation.new.tap do |o|
4341
4532
  o.name = "ListUseCases"
4342
4533
  o.http_method = "GET"
@@ -4422,6 +4613,22 @@ module Aws::Connect
4422
4613
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4423
4614
  end)
4424
4615
 
4616
+ api.add_operation(:replicate_instance, Seahorse::Model::Operation.new.tap do |o|
4617
+ o.name = "ReplicateInstance"
4618
+ o.http_method = "POST"
4619
+ o.http_request_uri = "/instance/{InstanceId}/replicate"
4620
+ o.input = Shapes::ShapeRef.new(shape: ReplicateInstanceRequest)
4621
+ o.output = Shapes::ShapeRef.new(shape: ReplicateInstanceResponse)
4622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4623
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4624
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4625
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4626
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4627
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4628
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
4629
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
4630
+ end)
4631
+
4425
4632
  api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
4426
4633
  o.name = "ResumeContactRecording"
4427
4634
  o.http_method = "POST"
@@ -5052,6 +5259,20 @@ module Aws::Connect
5052
5259
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5053
5260
  end)
5054
5261
 
5262
+ api.add_operation(:update_traffic_distribution, Seahorse::Model::Operation.new.tap do |o|
5263
+ o.name = "UpdateTrafficDistribution"
5264
+ o.http_method = "PUT"
5265
+ o.http_request_uri = "/traffic-distribution/{Id}"
5266
+ o.input = Shapes::ShapeRef.new(shape: UpdateTrafficDistributionRequest)
5267
+ o.output = Shapes::ShapeRef.new(shape: UpdateTrafficDistributionResponse)
5268
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5269
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5270
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5271
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
5272
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5273
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5274
+ end)
5275
+
5055
5276
  api.add_operation(:update_user_hierarchy, Seahorse::Model::Operation.new.tap do |o|
5056
5277
  o.name = "UpdateUserHierarchy"
5057
5278
  o.http_method = "POST"
@@ -44,6 +44,7 @@ module Aws::Connect
44
44
  # * {ResourceConflictException}
45
45
  # * {ResourceInUseException}
46
46
  # * {ResourceNotFoundException}
47
+ # * {ResourceNotReadyException}
47
48
  # * {ServiceQuotaExceededException}
48
49
  # * {ThrottlingException}
49
50
  # * {UserNotFoundException}
@@ -324,6 +325,21 @@ module Aws::Connect
324
325
  end
325
326
  end
326
327
 
328
+ class ResourceNotReadyException < ServiceError
329
+
330
+ # @param [Seahorse::Client::RequestContext] context
331
+ # @param [String] message
332
+ # @param [Aws::Connect::Types::ResourceNotReadyException] data
333
+ def initialize(context, message, data = Aws::EmptyStructure.new)
334
+ super(context, message, data)
335
+ end
336
+
337
+ # @return [String]
338
+ def message
339
+ @message || @data[:message]
340
+ end
341
+ end
342
+
327
343
  class ServiceQuotaExceededException < ServiceError
328
344
 
329
345
  # @param [Seahorse::Client::RequestContext] context