aws-sdk-connect 1.142.0 → 1.144.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,6 +29,7 @@ module Aws::Connect
29
29
  AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
30
30
  AgentInfo = Shapes::StructureShape.new(name: 'AgentInfo')
31
31
  AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
32
+ AgentPauseDurationInSeconds = Shapes::IntegerShape.new(name: 'AgentPauseDurationInSeconds')
32
33
  AgentResourceId = Shapes::StringShape.new(name: 'AgentResourceId')
33
34
  AgentStatus = Shapes::StructureShape.new(name: 'AgentStatus')
34
35
  AgentStatusDescription = Shapes::StringShape.new(name: 'AgentStatusDescription')
@@ -125,6 +126,7 @@ module Aws::Connect
125
126
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
126
127
  Comparison = Shapes::StringShape.new(name: 'Comparison')
127
128
  Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
129
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
128
130
  ConnectionData = Shapes::StructureShape.new(name: 'ConnectionData')
129
131
  Contact = Shapes::StructureShape.new(name: 'Contact')
130
132
  ContactDataRequest = Shapes::StructureShape.new(name: 'ContactDataRequest')
@@ -156,11 +158,16 @@ module Aws::Connect
156
158
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
157
159
  ContactState = Shapes::StringShape.new(name: 'ContactState')
158
160
  ContactStates = Shapes::ListShape.new(name: 'ContactStates')
161
+ ContactTagKey = Shapes::StringShape.new(name: 'ContactTagKey')
162
+ ContactTagKeys = Shapes::ListShape.new(name: 'ContactTagKeys')
163
+ ContactTagMap = Shapes::MapShape.new(name: 'ContactTagMap')
164
+ ContactTagValue = Shapes::StringShape.new(name: 'ContactTagValue')
159
165
  Content = Shapes::StringShape.new(name: 'Content')
160
166
  ContentType = Shapes::StringShape.new(name: 'ContentType')
161
167
  ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
162
168
  CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
163
169
  CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
170
+ CreateCaseActionDefinition = Shapes::StructureShape.new(name: 'CreateCaseActionDefinition')
164
171
  CreateContactFlowModuleRequest = Shapes::StructureShape.new(name: 'CreateContactFlowModuleRequest')
165
172
  CreateContactFlowModuleResponse = Shapes::StructureShape.new(name: 'CreateContactFlowModuleResponse')
166
173
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
@@ -332,11 +339,14 @@ module Aws::Connect
332
339
  DisplayName = Shapes::StringShape.new(name: 'DisplayName')
333
340
  Distribution = Shapes::StructureShape.new(name: 'Distribution')
334
341
  DistributionList = Shapes::ListShape.new(name: 'DistributionList')
342
+ Double = Shapes::FloatShape.new(name: 'Double')
335
343
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
336
344
  Email = Shapes::StringShape.new(name: 'Email')
337
345
  EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
346
+ EmptyFieldValue = Shapes::StructureShape.new(name: 'EmptyFieldValue')
338
347
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
339
348
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
349
+ EndAssociatedTasksActionDefinition = Shapes::StructureShape.new(name: 'EndAssociatedTasksActionDefinition')
340
350
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
341
351
  EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
342
352
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
@@ -402,6 +412,11 @@ module Aws::Connect
402
412
  FailedRequest = Shapes::StructureShape.new(name: 'FailedRequest')
403
413
  FailedRequestList = Shapes::ListShape.new(name: 'FailedRequestList')
404
414
  FailureReasonCode = Shapes::StringShape.new(name: 'FailureReasonCode')
415
+ FieldStringValue = Shapes::StringShape.new(name: 'FieldStringValue')
416
+ FieldValue = Shapes::StructureShape.new(name: 'FieldValue')
417
+ FieldValueId = Shapes::StringShape.new(name: 'FieldValueId')
418
+ FieldValueUnion = Shapes::StructureShape.new(name: 'FieldValueUnion')
419
+ FieldValues = Shapes::ListShape.new(name: 'FieldValues')
405
420
  FilterV2 = Shapes::StructureShape.new(name: 'FilterV2')
406
421
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
407
422
  Filters = Shapes::StructureShape.new(name: 'Filters')
@@ -677,6 +692,8 @@ module Aws::Connect
677
692
  ParticipantToken = Shapes::StringShape.new(name: 'ParticipantToken')
678
693
  ParticipantTokenCredentials = Shapes::StructureShape.new(name: 'ParticipantTokenCredentials')
679
694
  Password = Shapes::StringShape.new(name: 'Password')
695
+ PauseContactRequest = Shapes::StructureShape.new(name: 'PauseContactRequest')
696
+ PauseContactResponse = Shapes::StructureShape.new(name: 'PauseContactResponse')
680
697
  Percentage = Shapes::IntegerShape.new(name: 'Percentage')
681
698
  Permission = Shapes::StringShape.new(name: 'Permission')
682
699
  PermissionsList = Shapes::ListShape.new(name: 'PermissionsList')
@@ -816,6 +833,8 @@ module Aws::Connect
816
833
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
817
834
  ResumeContactRecordingRequest = Shapes::StructureShape.new(name: 'ResumeContactRecordingRequest')
818
835
  ResumeContactRecordingResponse = Shapes::StructureShape.new(name: 'ResumeContactRecordingResponse')
836
+ ResumeContactRequest = Shapes::StructureShape.new(name: 'ResumeContactRequest')
837
+ ResumeContactResponse = Shapes::StructureShape.new(name: 'ResumeContactResponse')
819
838
  RoutingProfile = Shapes::StructureShape.new(name: 'RoutingProfile')
820
839
  RoutingProfileDescription = Shapes::StringShape.new(name: 'RoutingProfileDescription')
821
840
  RoutingProfileId = Shapes::StringShape.new(name: 'RoutingProfileId')
@@ -944,6 +963,8 @@ module Aws::Connect
944
963
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
945
964
  TagAndConditionList = Shapes::ListShape.new(name: 'TagAndConditionList')
946
965
  TagCondition = Shapes::StructureShape.new(name: 'TagCondition')
966
+ TagContactRequest = Shapes::StructureShape.new(name: 'TagContactRequest')
967
+ TagContactResponse = Shapes::StructureShape.new(name: 'TagContactResponse')
947
968
  TagKey = Shapes::StringShape.new(name: 'TagKey')
948
969
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
949
970
  TagKeyString = Shapes::StringShape.new(name: 'TagKeyString')
@@ -980,6 +1001,7 @@ module Aws::Connect
980
1001
  TaskTemplateSingleSelectOption = Shapes::StringShape.new(name: 'TaskTemplateSingleSelectOption')
981
1002
  TaskTemplateStatus = Shapes::StringShape.new(name: 'TaskTemplateStatus')
982
1003
  TelephonyConfig = Shapes::StructureShape.new(name: 'TelephonyConfig')
1004
+ TemplateId = Shapes::StringShape.new(name: 'TemplateId')
983
1005
  Threshold = Shapes::StructureShape.new(name: 'Threshold')
984
1006
  ThresholdCollections = Shapes::ListShape.new(name: 'ThresholdCollections')
985
1007
  ThresholdV2 = Shapes::StructureShape.new(name: 'ThresholdV2')
@@ -989,6 +1011,8 @@ module Aws::Connect
989
1011
  TimerEligibleParticipantRoles = Shapes::StringShape.new(name: 'TimerEligibleParticipantRoles')
990
1012
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
991
1013
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
1014
+ TotalPauseCount = Shapes::IntegerShape.new(name: 'TotalPauseCount')
1015
+ TotalPauseDurationInSeconds = Shapes::IntegerShape.new(name: 'TotalPauseDurationInSeconds')
992
1016
  TrafficDistributionGroup = Shapes::StructureShape.new(name: 'TrafficDistributionGroup')
993
1017
  TrafficDistributionGroupArn = Shapes::StringShape.new(name: 'TrafficDistributionGroupArn')
994
1018
  TrafficDistributionGroupId = Shapes::StringShape.new(name: 'TrafficDistributionGroupId')
@@ -1003,9 +1027,12 @@ module Aws::Connect
1003
1027
  TransferContactResponse = Shapes::StructureShape.new(name: 'TransferContactResponse')
1004
1028
  URI = Shapes::StringShape.new(name: 'URI')
1005
1029
  Unit = Shapes::StringShape.new(name: 'Unit')
1030
+ UntagContactRequest = Shapes::StructureShape.new(name: 'UntagContactRequest')
1031
+ UntagContactResponse = Shapes::StructureShape.new(name: 'UntagContactResponse')
1006
1032
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
1007
1033
  UpdateAgentStatusDescription = Shapes::StringShape.new(name: 'UpdateAgentStatusDescription')
1008
1034
  UpdateAgentStatusRequest = Shapes::StructureShape.new(name: 'UpdateAgentStatusRequest')
1035
+ UpdateCaseActionDefinition = Shapes::StructureShape.new(name: 'UpdateCaseActionDefinition')
1009
1036
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
1010
1037
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
1011
1038
  UpdateContactEvaluationRequest = Shapes::StructureShape.new(name: 'UpdateContactEvaluationRequest')
@@ -1170,6 +1197,7 @@ module Aws::Connect
1170
1197
 
1171
1198
  AgentInfo.add_member(:id, Shapes::ShapeRef.new(shape: AgentResourceId, location_name: "Id"))
1172
1199
  AgentInfo.add_member(:connected_to_agent_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ConnectedToAgentTimestamp"))
1200
+ AgentInfo.add_member(:agent_pause_duration_in_seconds, Shapes::ShapeRef.new(shape: AgentPauseDurationInSeconds, location_name: "AgentPauseDurationInSeconds"))
1173
1201
  AgentInfo.struct_class = Types::AgentInfo
1174
1202
 
1175
1203
  AgentStatus.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
@@ -1425,6 +1453,9 @@ module Aws::Connect
1425
1453
  ClaimedPhoneNumberSummary.add_member(:source_phone_number_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourcePhoneNumberArn"))
1426
1454
  ClaimedPhoneNumberSummary.struct_class = Types::ClaimedPhoneNumberSummary
1427
1455
 
1456
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1457
+ ConflictException.struct_class = Types::ConflictException
1458
+
1428
1459
  ConnectionData.add_member(:attendee, Shapes::ShapeRef.new(shape: Attendee, location_name: "Attendee"))
1429
1460
  ConnectionData.add_member(:meeting, Shapes::ShapeRef.new(shape: Meeting, location_name: "Meeting"))
1430
1461
  ConnectionData.struct_class = Types::ConnectionData
@@ -1442,9 +1473,14 @@ module Aws::Connect
1442
1473
  Contact.add_member(:initiation_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "InitiationTimestamp"))
1443
1474
  Contact.add_member(:disconnect_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "DisconnectTimestamp"))
1444
1475
  Contact.add_member(:last_update_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdateTimestamp"))
1476
+ Contact.add_member(:last_paused_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastPausedTimestamp"))
1477
+ Contact.add_member(:last_resumed_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastResumedTimestamp"))
1478
+ Contact.add_member(:total_pause_count, Shapes::ShapeRef.new(shape: TotalPauseCount, location_name: "TotalPauseCount"))
1479
+ Contact.add_member(:total_pause_duration_in_seconds, Shapes::ShapeRef.new(shape: TotalPauseDurationInSeconds, location_name: "TotalPauseDurationInSeconds"))
1445
1480
  Contact.add_member(:scheduled_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "ScheduledTimestamp"))
1446
1481
  Contact.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
1447
1482
  Contact.add_member(:wisdom_info, Shapes::ShapeRef.new(shape: WisdomInfo, location_name: "WisdomInfo"))
1483
+ Contact.add_member(:tags, Shapes::ShapeRef.new(shape: ContactTagMap, location_name: "Tags"))
1448
1484
  Contact.struct_class = Types::Contact
1449
1485
 
1450
1486
  ContactDataRequest.add_member(:system_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "SystemEndpoint"))
@@ -1510,6 +1546,11 @@ module Aws::Connect
1510
1546
 
1511
1547
  ContactStates.member = Shapes::ShapeRef.new(shape: ContactState)
1512
1548
 
1549
+ ContactTagKeys.member = Shapes::ShapeRef.new(shape: ContactTagKey)
1550
+
1551
+ ContactTagMap.key = Shapes::ShapeRef.new(shape: ContactTagKey)
1552
+ ContactTagMap.value = Shapes::ShapeRef.new(shape: ContactTagValue)
1553
+
1513
1554
  ControlPlaneTagFilter.add_member(:or_conditions, Shapes::ShapeRef.new(shape: TagOrConditionList, location_name: "OrConditions"))
1514
1555
  ControlPlaneTagFilter.add_member(:and_conditions, Shapes::ShapeRef.new(shape: TagAndConditionList, location_name: "AndConditions"))
1515
1556
  ControlPlaneTagFilter.add_member(:tag_condition, Shapes::ShapeRef.new(shape: TagCondition, location_name: "TagCondition"))
@@ -1527,6 +1568,10 @@ module Aws::Connect
1527
1568
  CreateAgentStatusResponse.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
1528
1569
  CreateAgentStatusResponse.struct_class = Types::CreateAgentStatusResponse
1529
1570
 
1571
+ CreateCaseActionDefinition.add_member(:fields, Shapes::ShapeRef.new(shape: FieldValues, required: true, location_name: "Fields"))
1572
+ CreateCaseActionDefinition.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location_name: "TemplateId"))
1573
+ CreateCaseActionDefinition.struct_class = Types::CreateCaseActionDefinition
1574
+
1530
1575
  CreateContactFlowModuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1531
1576
  CreateContactFlowModuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowModuleName, required: true, location_name: "Name"))
1532
1577
  CreateContactFlowModuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowModuleDescription, location_name: "Description"))
@@ -2207,10 +2252,14 @@ module Aws::Connect
2207
2252
  EmailReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
2208
2253
  EmailReference.struct_class = Types::EmailReference
2209
2254
 
2255
+ EmptyFieldValue.struct_class = Types::EmptyFieldValue
2256
+
2210
2257
  EncryptionConfig.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "EncryptionType"))
2211
2258
  EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
2212
2259
  EncryptionConfig.struct_class = Types::EncryptionConfig
2213
2260
 
2261
+ EndAssociatedTasksActionDefinition.struct_class = Types::EndAssociatedTasksActionDefinition
2262
+
2214
2263
  Endpoint.add_member(:type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "Type"))
2215
2264
  Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: EndpointAddress, location_name: "Address"))
2216
2265
  Endpoint.struct_class = Types::Endpoint
@@ -2435,6 +2484,18 @@ module Aws::Connect
2435
2484
 
2436
2485
  FailedRequestList.member = Shapes::ShapeRef.new(shape: FailedRequest)
2437
2486
 
2487
+ FieldValue.add_member(:id, Shapes::ShapeRef.new(shape: FieldValueId, required: true, location_name: "Id"))
2488
+ FieldValue.add_member(:value, Shapes::ShapeRef.new(shape: FieldValueUnion, required: true, location_name: "Value"))
2489
+ FieldValue.struct_class = Types::FieldValue
2490
+
2491
+ FieldValueUnion.add_member(:boolean_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "BooleanValue"))
2492
+ FieldValueUnion.add_member(:double_value, Shapes::ShapeRef.new(shape: Double, location_name: "DoubleValue"))
2493
+ FieldValueUnion.add_member(:empty_value, Shapes::ShapeRef.new(shape: EmptyFieldValue, location_name: "EmptyValue"))
2494
+ FieldValueUnion.add_member(:string_value, Shapes::ShapeRef.new(shape: FieldStringValue, location_name: "StringValue"))
2495
+ FieldValueUnion.struct_class = Types::FieldValueUnion
2496
+
2497
+ FieldValues.member = Shapes::ShapeRef.new(shape: FieldValue)
2498
+
2438
2499
  FilterV2.add_member(:filter_key, Shapes::ShapeRef.new(shape: ResourceArnOrId, location_name: "FilterKey"))
2439
2500
  FilterV2.add_member(:filter_values, Shapes::ShapeRef.new(shape: FilterValueList, location_name: "FilterValues"))
2440
2501
  FilterV2.struct_class = Types::FilterV2
@@ -3390,6 +3451,13 @@ module Aws::Connect
3390
3451
  ParticipantTokenCredentials.add_member(:expiry, Shapes::ShapeRef.new(shape: ISO8601Datetime, location_name: "Expiry"))
3391
3452
  ParticipantTokenCredentials.struct_class = Types::ParticipantTokenCredentials
3392
3453
 
3454
+ PauseContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
3455
+ PauseContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
3456
+ PauseContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
3457
+ PauseContactRequest.struct_class = Types::PauseContactRequest
3458
+
3459
+ PauseContactResponse.struct_class = Types::PauseContactResponse
3460
+
3393
3461
  PermissionsList.member = Shapes::ShapeRef.new(shape: SecurityProfilePermission)
3394
3462
 
3395
3463
  PersistentChat.add_member(:rehydration_type, Shapes::ShapeRef.new(shape: RehydrationType, location_name: "RehydrationType"))
@@ -3740,6 +3808,13 @@ module Aws::Connect
3740
3808
 
3741
3809
  ResumeContactRecordingResponse.struct_class = Types::ResumeContactRecordingResponse
3742
3810
 
3811
+ ResumeContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
3812
+ ResumeContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
3813
+ ResumeContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "ContactFlowId"))
3814
+ ResumeContactRequest.struct_class = Types::ResumeContactRequest
3815
+
3816
+ ResumeContactResponse.struct_class = Types::ResumeContactResponse
3817
+
3743
3818
  RoutingProfile.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
3744
3819
  RoutingProfile.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
3745
3820
  RoutingProfile.add_member(:routing_profile_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RoutingProfileArn"))
@@ -3824,6 +3899,9 @@ module Aws::Connect
3824
3899
  RuleAction.add_member(:event_bridge_action, Shapes::ShapeRef.new(shape: EventBridgeActionDefinition, location_name: "EventBridgeAction"))
3825
3900
  RuleAction.add_member(:assign_contact_category_action, Shapes::ShapeRef.new(shape: AssignContactCategoryActionDefinition, location_name: "AssignContactCategoryAction"))
3826
3901
  RuleAction.add_member(:send_notification_action, Shapes::ShapeRef.new(shape: SendNotificationActionDefinition, location_name: "SendNotificationAction"))
3902
+ RuleAction.add_member(:create_case_action, Shapes::ShapeRef.new(shape: CreateCaseActionDefinition, location_name: "CreateCaseAction"))
3903
+ RuleAction.add_member(:update_case_action, Shapes::ShapeRef.new(shape: UpdateCaseActionDefinition, location_name: "UpdateCaseAction"))
3904
+ RuleAction.add_member(:end_associated_tasks_action, Shapes::ShapeRef.new(shape: EndAssociatedTasksActionDefinition, location_name: "EndAssociatedTasksAction"))
3827
3905
  RuleAction.struct_class = Types::RuleAction
3828
3906
 
3829
3907
  RuleActions.member = Shapes::ShapeRef.new(shape: RuleAction)
@@ -4108,6 +4186,10 @@ module Aws::Connect
4108
4186
  StartContactStreamingResponse.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
4109
4187
  StartContactStreamingResponse.struct_class = Types::StartContactStreamingResponse
4110
4188
 
4189
+ StartOutboundVoiceContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
4190
+ StartOutboundVoiceContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
4191
+ StartOutboundVoiceContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
4192
+ StartOutboundVoiceContactRequest.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
4111
4193
  StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
4112
4194
  StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
4113
4195
  StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -4218,6 +4300,13 @@ module Aws::Connect
4218
4300
  TagCondition.add_member(:tag_value, Shapes::ShapeRef.new(shape: String, location_name: "TagValue"))
4219
4301
  TagCondition.struct_class = Types::TagCondition
4220
4302
 
4303
+ TagContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
4304
+ TagContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4305
+ TagContactRequest.add_member(:tags, Shapes::ShapeRef.new(shape: ContactTagMap, required: true, location_name: "Tags"))
4306
+ TagContactRequest.struct_class = Types::TagContactRequest
4307
+
4308
+ TagContactResponse.struct_class = Types::TagContactResponse
4309
+
4221
4310
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
4222
4311
 
4223
4312
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -4341,6 +4430,13 @@ module Aws::Connect
4341
4430
  TransferContactResponse.add_member(:contact_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactArn"))
4342
4431
  TransferContactResponse.struct_class = Types::TransferContactResponse
4343
4432
 
4433
+ UntagContactRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
4434
+ UntagContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
4435
+ UntagContactRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ContactTagKeys, required: true, location: "querystring", location_name: "TagKeys"))
4436
+ UntagContactRequest.struct_class = Types::UntagContactRequest
4437
+
4438
+ UntagContactResponse.struct_class = Types::UntagContactResponse
4439
+
4344
4440
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
4345
4441
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
4346
4442
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -4354,6 +4450,9 @@ module Aws::Connect
4354
4450
  UpdateAgentStatusRequest.add_member(:reset_order_number, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResetOrderNumber"))
4355
4451
  UpdateAgentStatusRequest.struct_class = Types::UpdateAgentStatusRequest
4356
4452
 
4453
+ UpdateCaseActionDefinition.add_member(:fields, Shapes::ShapeRef.new(shape: FieldValues, required: true, location_name: "Fields"))
4454
+ UpdateCaseActionDefinition.struct_class = Types::UpdateCaseActionDefinition
4455
+
4357
4456
  UpdateContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
4358
4457
  UpdateContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4359
4458
  UpdateContactAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
@@ -7204,6 +7303,22 @@ module Aws::Connect
7204
7303
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7205
7304
  end)
7206
7305
 
7306
+ api.add_operation(:pause_contact, Seahorse::Model::Operation.new.tap do |o|
7307
+ o.name = "PauseContact"
7308
+ o.http_method = "POST"
7309
+ o.http_request_uri = "/contact/pause"
7310
+ o.input = Shapes::ShapeRef.new(shape: PauseContactRequest)
7311
+ o.output = Shapes::ShapeRef.new(shape: PauseContactResponse)
7312
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7313
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7314
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7315
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7316
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7317
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7318
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
7319
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
7320
+ end)
7321
+
7207
7322
  api.add_operation(:put_user_status, Seahorse::Model::Operation.new.tap do |o|
7208
7323
  o.name = "PutUserStatus"
7209
7324
  o.http_method = "PUT"
@@ -7249,6 +7364,21 @@ module Aws::Connect
7249
7364
  o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
7250
7365
  end)
7251
7366
 
7367
+ api.add_operation(:resume_contact, Seahorse::Model::Operation.new.tap do |o|
7368
+ o.name = "ResumeContact"
7369
+ o.http_method = "POST"
7370
+ o.http_request_uri = "/contact/resume"
7371
+ o.input = Shapes::ShapeRef.new(shape: ResumeContactRequest)
7372
+ o.output = Shapes::ShapeRef.new(shape: ResumeContactResponse)
7373
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
7374
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7375
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7376
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7377
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7378
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7379
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
7380
+ end)
7381
+
7252
7382
  api.add_operation(:resume_contact_recording, Seahorse::Model::Operation.new.tap do |o|
7253
7383
  o.name = "ResumeContactRecording"
7254
7384
  o.http_method = "POST"
@@ -7616,6 +7746,19 @@ module Aws::Connect
7616
7746
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7617
7747
  end)
7618
7748
 
7749
+ api.add_operation(:tag_contact, Seahorse::Model::Operation.new.tap do |o|
7750
+ o.name = "TagContact"
7751
+ o.http_method = "POST"
7752
+ o.http_request_uri = "/contact/tags"
7753
+ o.input = Shapes::ShapeRef.new(shape: TagContactRequest)
7754
+ o.output = Shapes::ShapeRef.new(shape: TagContactResponse)
7755
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7756
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7757
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7758
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7759
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7760
+ end)
7761
+
7619
7762
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
7620
7763
  o.name = "TagResource"
7621
7764
  o.http_method = "POST"
@@ -7644,6 +7787,19 @@ module Aws::Connect
7644
7787
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7645
7788
  end)
7646
7789
 
7790
+ api.add_operation(:untag_contact, Seahorse::Model::Operation.new.tap do |o|
7791
+ o.name = "UntagContact"
7792
+ o.http_method = "DELETE"
7793
+ o.http_request_uri = "/contact/tags/{InstanceId}/{ContactId}"
7794
+ o.input = Shapes::ShapeRef.new(shape: UntagContactRequest)
7795
+ o.output = Shapes::ShapeRef.new(shape: UntagContactResponse)
7796
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7797
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7798
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
7799
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
7800
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7801
+ end)
7802
+
7647
7803
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
7648
7804
  o.name = "UntagResource"
7649
7805
  o.http_method = "DELETE"
@@ -2168,6 +2168,20 @@ module Aws::Connect
2168
2168
  end
2169
2169
  end
2170
2170
 
2171
+ class PauseContact
2172
+ def self.build(context)
2173
+ unless context.config.regional_endpoint
2174
+ endpoint = context.config.endpoint.to_s
2175
+ end
2176
+ Aws::Connect::EndpointParameters.new(
2177
+ region: context.config.region,
2178
+ use_dual_stack: context.config.use_dualstack_endpoint,
2179
+ use_fips: context.config.use_fips_endpoint,
2180
+ endpoint: endpoint,
2181
+ )
2182
+ end
2183
+ end
2184
+
2171
2185
  class PutUserStatus
2172
2186
  def self.build(context)
2173
2187
  unless context.config.regional_endpoint
@@ -2210,6 +2224,20 @@ module Aws::Connect
2210
2224
  end
2211
2225
  end
2212
2226
 
2227
+ class ResumeContact
2228
+ def self.build(context)
2229
+ unless context.config.regional_endpoint
2230
+ endpoint = context.config.endpoint.to_s
2231
+ end
2232
+ Aws::Connect::EndpointParameters.new(
2233
+ region: context.config.region,
2234
+ use_dual_stack: context.config.use_dualstack_endpoint,
2235
+ use_fips: context.config.use_fips_endpoint,
2236
+ endpoint: endpoint,
2237
+ )
2238
+ end
2239
+ end
2240
+
2213
2241
  class ResumeContactRecording
2214
2242
  def self.build(context)
2215
2243
  unless context.config.regional_endpoint
@@ -2546,6 +2574,20 @@ module Aws::Connect
2546
2574
  end
2547
2575
  end
2548
2576
 
2577
+ class TagContact
2578
+ def self.build(context)
2579
+ unless context.config.regional_endpoint
2580
+ endpoint = context.config.endpoint.to_s
2581
+ end
2582
+ Aws::Connect::EndpointParameters.new(
2583
+ region: context.config.region,
2584
+ use_dual_stack: context.config.use_dualstack_endpoint,
2585
+ use_fips: context.config.use_fips_endpoint,
2586
+ endpoint: endpoint,
2587
+ )
2588
+ end
2589
+ end
2590
+
2549
2591
  class TagResource
2550
2592
  def self.build(context)
2551
2593
  unless context.config.regional_endpoint
@@ -2574,6 +2616,20 @@ module Aws::Connect
2574
2616
  end
2575
2617
  end
2576
2618
 
2619
+ class UntagContact
2620
+ def self.build(context)
2621
+ unless context.config.regional_endpoint
2622
+ endpoint = context.config.endpoint.to_s
2623
+ end
2624
+ Aws::Connect::EndpointParameters.new(
2625
+ region: context.config.region,
2626
+ use_dual_stack: context.config.use_dualstack_endpoint,
2627
+ use_fips: context.config.use_fips_endpoint,
2628
+ endpoint: endpoint,
2629
+ )
2630
+ end
2631
+ end
2632
+
2577
2633
  class UntagResource
2578
2634
  def self.build(context)
2579
2635
  unless context.config.regional_endpoint
@@ -28,6 +28,7 @@ module Aws::Connect
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {ContactFlowNotPublishedException}
32
33
  # * {ContactNotFoundException}
33
34
  # * {DestinationNotAllowedException}
@@ -73,6 +74,21 @@ module Aws::Connect
73
74
  end
74
75
  end
75
76
 
77
+ class ConflictException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::Connect::Types::ConflictException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+ end
91
+
76
92
  class ContactFlowNotPublishedException < ServiceError
77
93
 
78
94
  # @param [Seahorse::Client::RequestContext] context
@@ -365,12 +365,16 @@ module Aws::Connect
365
365
  Aws::Connect::Endpoints::ListViews.build(context)
366
366
  when :monitor_contact
367
367
  Aws::Connect::Endpoints::MonitorContact.build(context)
368
+ when :pause_contact
369
+ Aws::Connect::Endpoints::PauseContact.build(context)
368
370
  when :put_user_status
369
371
  Aws::Connect::Endpoints::PutUserStatus.build(context)
370
372
  when :release_phone_number
371
373
  Aws::Connect::Endpoints::ReleasePhoneNumber.build(context)
372
374
  when :replicate_instance
373
375
  Aws::Connect::Endpoints::ReplicateInstance.build(context)
376
+ when :resume_contact
377
+ Aws::Connect::Endpoints::ResumeContact.build(context)
374
378
  when :resume_contact_recording
375
379
  Aws::Connect::Endpoints::ResumeContactRecording.build(context)
376
380
  when :search_available_phone_numbers
@@ -419,10 +423,14 @@ module Aws::Connect
419
423
  Aws::Connect::Endpoints::SubmitContactEvaluation.build(context)
420
424
  when :suspend_contact_recording
421
425
  Aws::Connect::Endpoints::SuspendContactRecording.build(context)
426
+ when :tag_contact
427
+ Aws::Connect::Endpoints::TagContact.build(context)
422
428
  when :tag_resource
423
429
  Aws::Connect::Endpoints::TagResource.build(context)
424
430
  when :transfer_contact
425
431
  Aws::Connect::Endpoints::TransferContact.build(context)
432
+ when :untag_contact
433
+ Aws::Connect::Endpoints::UntagContact.build(context)
426
434
  when :untag_resource
427
435
  Aws::Connect::Endpoints::UntagResource.build(context)
428
436
  when :update_agent_status