aws-sdk-connect 1.50.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,7 @@ module Aws::Connect
29
29
  AgentStatusTypes = Shapes::ListShape.new(name: 'AgentStatusTypes')
30
30
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
31
31
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
32
+ AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
32
33
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
33
34
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
34
35
  AssociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigRequest')
@@ -49,11 +50,14 @@ module Aws::Connect
49
50
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
50
51
  BotName = Shapes::StringShape.new(name: 'BotName')
51
52
  BucketName = Shapes::StringShape.new(name: 'BucketName')
53
+ CampaignId = Shapes::StringShape.new(name: 'CampaignId')
52
54
  Channel = Shapes::StringShape.new(name: 'Channel')
53
55
  Channels = Shapes::ListShape.new(name: 'Channels')
54
56
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
55
57
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
56
58
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
59
+ ChatStreamingConfiguration = Shapes::StructureShape.new(name: 'ChatStreamingConfiguration')
60
+ ChatStreamingEndpointARN = Shapes::StringShape.new(name: 'ChatStreamingEndpointARN')
57
61
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
58
62
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
59
63
  Comparison = Shapes::StringShape.new(name: 'Comparison')
@@ -202,6 +206,7 @@ module Aws::Connect
202
206
  InstanceAttributeType = Shapes::StringShape.new(name: 'InstanceAttributeType')
203
207
  InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
204
208
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
209
+ InstanceReference = Shapes::StructureShape.new(name: 'InstanceReference')
205
210
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
206
211
  InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
207
212
  InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
@@ -362,8 +367,10 @@ module Aws::Connect
362
367
  RoutingProfileQueueConfigSummaryList = Shapes::ListShape.new(name: 'RoutingProfileQueueConfigSummaryList')
363
368
  RoutingProfileQueueReference = Shapes::StructureShape.new(name: 'RoutingProfileQueueReference')
364
369
  RoutingProfileQueueReferenceList = Shapes::ListShape.new(name: 'RoutingProfileQueueReferenceList')
370
+ RoutingProfileReference = Shapes::StructureShape.new(name: 'RoutingProfileReference')
365
371
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
366
372
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
373
+ RoutingProfiles = Shapes::ListShape.new(name: 'RoutingProfiles')
367
374
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
368
375
  SecurityKey = Shapes::StructureShape.new(name: 'SecurityKey')
369
376
  SecurityKeysList = Shapes::ListShape.new(name: 'SecurityKeysList')
@@ -380,6 +387,8 @@ module Aws::Connect
380
387
  StartChatContactResponse = Shapes::StructureShape.new(name: 'StartChatContactResponse')
381
388
  StartContactRecordingRequest = Shapes::StructureShape.new(name: 'StartContactRecordingRequest')
382
389
  StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
390
+ StartContactStreamingRequest = Shapes::StructureShape.new(name: 'StartContactStreamingRequest')
391
+ StartContactStreamingResponse = Shapes::StructureShape.new(name: 'StartContactStreamingResponse')
383
392
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
384
393
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
385
394
  StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
@@ -389,7 +398,10 @@ module Aws::Connect
389
398
  StopContactRecordingResponse = Shapes::StructureShape.new(name: 'StopContactRecordingResponse')
390
399
  StopContactRequest = Shapes::StructureShape.new(name: 'StopContactRequest')
391
400
  StopContactResponse = Shapes::StructureShape.new(name: 'StopContactResponse')
401
+ StopContactStreamingRequest = Shapes::StructureShape.new(name: 'StopContactStreamingRequest')
402
+ StopContactStreamingResponse = Shapes::StructureShape.new(name: 'StopContactStreamingResponse')
392
403
  StorageType = Shapes::StringShape.new(name: 'StorageType')
404
+ StreamingId = Shapes::StringShape.new(name: 'StreamingId')
393
405
  String = Shapes::StringShape.new(name: 'String')
394
406
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
395
407
  SuspendContactRecordingResponse = Shapes::StructureShape.new(name: 'SuspendContactRecordingResponse')
@@ -403,6 +415,7 @@ module Aws::Connect
403
415
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
404
416
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
405
417
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
418
+ TrafficType = Shapes::StringShape.new(name: 'TrafficType')
406
419
  URI = Shapes::StringShape.new(name: 'URI')
407
420
  Unit = Shapes::StringShape.new(name: 'Unit')
408
421
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -472,6 +485,10 @@ module Aws::Connect
472
485
 
473
486
  AgentStatusTypes.member = Shapes::ShapeRef.new(shape: AgentStatusType)
474
487
 
488
+ AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableAnswerMachineDetection"))
489
+ AnswerMachineDetectionConfig.add_member(:await_answer_machine_prompt, Shapes::ShapeRef.new(shape: Boolean, location_name: "AwaitAnswerMachinePrompt"))
490
+ AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
491
+
475
492
  AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
476
493
  AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
477
494
  AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
@@ -525,10 +542,13 @@ module Aws::Connect
525
542
 
526
543
  Channels.member = Shapes::ShapeRef.new(shape: Channel)
527
544
 
528
- ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, required: true, location_name: "ContentType"))
529
- ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, required: true, location_name: "Content"))
545
+ ChatMessage.add_member(:content_type, Shapes::ShapeRef.new(shape: ChatContentType, location_name: "ContentType"))
546
+ ChatMessage.add_member(:content, Shapes::ShapeRef.new(shape: ChatContent, location_name: "Content"))
530
547
  ChatMessage.struct_class = Types::ChatMessage
531
548
 
549
+ ChatStreamingConfiguration.add_member(:streaming_endpoint_arn, Shapes::ShapeRef.new(shape: ChatStreamingEndpointARN, required: true, location_name: "StreamingEndpointArn"))
550
+ ChatStreamingConfiguration.struct_class = Types::ChatStreamingConfiguration
551
+
532
552
  ContactFlow.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
533
553
  ContactFlow.add_member(:id, Shapes::ShapeRef.new(shape: ContactFlowId, location_name: "Id"))
534
554
  ContactFlow.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, location_name: "Name"))
@@ -608,9 +628,9 @@ module Aws::Connect
608
628
  CreateIntegrationAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
609
629
  CreateIntegrationAssociationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "IntegrationType"))
610
630
  CreateIntegrationAssociationRequest.add_member(:integration_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "IntegrationArn"))
611
- CreateIntegrationAssociationRequest.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, required: true, location_name: "SourceApplicationUrl"))
612
- CreateIntegrationAssociationRequest.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, required: true, location_name: "SourceApplicationName"))
613
- CreateIntegrationAssociationRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "SourceType"))
631
+ CreateIntegrationAssociationRequest.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, location_name: "SourceApplicationUrl"))
632
+ CreateIntegrationAssociationRequest.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, location_name: "SourceApplicationName"))
633
+ CreateIntegrationAssociationRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
614
634
  CreateIntegrationAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
615
635
  CreateIntegrationAssociationRequest.struct_class = Types::CreateIntegrationAssociationRequest
616
636
 
@@ -831,6 +851,8 @@ module Aws::Connect
831
851
 
832
852
  Dimensions.add_member(:queue, Shapes::ShapeRef.new(shape: QueueReference, location_name: "Queue"))
833
853
  Dimensions.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
854
+ Dimensions.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfileReference, location_name: "RoutingProfile"))
855
+ Dimensions.add_member(:instance_reference, Shapes::ShapeRef.new(shape: InstanceReference, location_name: "InstanceReference"))
834
856
  Dimensions.struct_class = Types::Dimensions
835
857
 
836
858
  DisassociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -878,6 +900,7 @@ module Aws::Connect
878
900
  EncryptionConfig.struct_class = Types::EncryptionConfig
879
901
 
880
902
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
903
+ Filters.add_member(:routing_profiles, Shapes::ShapeRef.new(shape: RoutingProfiles, location_name: "RoutingProfiles"))
881
904
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
882
905
  Filters.struct_class = Types::Filters
883
906
 
@@ -1027,6 +1050,10 @@ module Aws::Connect
1027
1050
  Instance.add_member(:outbound_calls_enabled, Shapes::ShapeRef.new(shape: OutboundCallsEnabled, location_name: "OutboundCallsEnabled"))
1028
1051
  Instance.struct_class = Types::Instance
1029
1052
 
1053
+ InstanceReference.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
1054
+ InstanceReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1055
+ InstanceReference.struct_class = Types::InstanceReference
1056
+
1030
1057
  InstanceStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1031
1058
  InstanceStatusReason.struct_class = Types::InstanceStatusReason
1032
1059
 
@@ -1182,6 +1209,7 @@ module Aws::Connect
1182
1209
  ListInstancesResponse.struct_class = Types::ListInstancesResponse
1183
1210
 
1184
1211
  ListIntegrationAssociationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1212
+ ListIntegrationAssociationsRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location: "querystring", location_name: "integrationType"))
1185
1213
  ListIntegrationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1186
1214
  ListIntegrationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1187
1215
  ListIntegrationAssociationsRequest.struct_class = Types::ListIntegrationAssociationsRequest
@@ -1393,6 +1421,7 @@ module Aws::Connect
1393
1421
 
1394
1422
  QueueReference.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
1395
1423
  QueueReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1424
+ QueueReference.add_member(:queue_type, Shapes::ShapeRef.new(shape: QueueType, location_name: "QueueType"))
1396
1425
  QueueReference.struct_class = Types::QueueReference
1397
1426
 
1398
1427
  QueueSummary.add_member(:id, Shapes::ShapeRef.new(shape: QueueId, location_name: "Id"))
@@ -1488,6 +1517,10 @@ module Aws::Connect
1488
1517
 
1489
1518
  RoutingProfileQueueReferenceList.member = Shapes::ShapeRef.new(shape: RoutingProfileQueueReference)
1490
1519
 
1520
+ RoutingProfileReference.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
1521
+ RoutingProfileReference.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1522
+ RoutingProfileReference.struct_class = Types::RoutingProfileReference
1523
+
1491
1524
  RoutingProfileSummary.add_member(:id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "Id"))
1492
1525
  RoutingProfileSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
1493
1526
  RoutingProfileSummary.add_member(:name, Shapes::ShapeRef.new(shape: RoutingProfileName, location_name: "Name"))
@@ -1495,6 +1528,8 @@ module Aws::Connect
1495
1528
 
1496
1529
  RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
1497
1530
 
1531
+ RoutingProfiles.member = Shapes::ShapeRef.new(shape: RoutingProfileId)
1532
+
1498
1533
  S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
1499
1534
  S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
1500
1535
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -1540,6 +1575,15 @@ module Aws::Connect
1540
1575
 
1541
1576
  StartContactRecordingResponse.struct_class = Types::StartContactRecordingResponse
1542
1577
 
1578
+ StartContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1579
+ StartContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1580
+ StartContactStreamingRequest.add_member(:chat_streaming_configuration, Shapes::ShapeRef.new(shape: ChatStreamingConfiguration, required: true, location_name: "ChatStreamingConfiguration"))
1581
+ StartContactStreamingRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1582
+ StartContactStreamingRequest.struct_class = Types::StartContactStreamingRequest
1583
+
1584
+ StartContactStreamingResponse.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
1585
+ StartContactStreamingResponse.struct_class = Types::StartContactStreamingResponse
1586
+
1543
1587
  StartOutboundVoiceContactRequest.add_member(:destination_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, required: true, location_name: "DestinationPhoneNumber"))
1544
1588
  StartOutboundVoiceContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
1545
1589
  StartOutboundVoiceContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
@@ -1547,6 +1591,9 @@ module Aws::Connect
1547
1591
  StartOutboundVoiceContactRequest.add_member(:source_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "SourcePhoneNumber"))
1548
1592
  StartOutboundVoiceContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
1549
1593
  StartOutboundVoiceContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
1594
+ StartOutboundVoiceContactRequest.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "AnswerMachineDetectionConfig"))
1595
+ StartOutboundVoiceContactRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "CampaignId"))
1596
+ StartOutboundVoiceContactRequest.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "TrafficType"))
1550
1597
  StartOutboundVoiceContactRequest.struct_class = Types::StartOutboundVoiceContactRequest
1551
1598
 
1552
1599
  StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
@@ -1578,6 +1625,13 @@ module Aws::Connect
1578
1625
 
1579
1626
  StopContactResponse.struct_class = Types::StopContactResponse
1580
1627
 
1628
+ StopContactStreamingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1629
+ StopContactStreamingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1630
+ StopContactStreamingRequest.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
1631
+ StopContactStreamingRequest.struct_class = Types::StopContactStreamingRequest
1632
+
1633
+ StopContactStreamingResponse.struct_class = Types::StopContactStreamingResponse
1634
+
1581
1635
  SuspendContactRecordingRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1582
1636
  SuspendContactRecordingRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "ContactId"))
1583
1637
  SuspendContactRecordingRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
@@ -2974,6 +3028,19 @@ module Aws::Connect
2974
3028
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2975
3029
  end)
2976
3030
 
3031
+ api.add_operation(:start_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
3032
+ o.name = "StartContactStreaming"
3033
+ o.http_method = "POST"
3034
+ o.http_request_uri = "/contact/start-streaming"
3035
+ o.input = Shapes::ShapeRef.new(shape: StartContactStreamingRequest)
3036
+ o.output = Shapes::ShapeRef.new(shape: StartContactStreamingResponse)
3037
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3039
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3040
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3041
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3042
+ end)
3043
+
2977
3044
  api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
2978
3045
  o.name = "StartOutboundVoiceContact"
2979
3046
  o.http_method = "PUT"
@@ -3027,6 +3094,18 @@ module Aws::Connect
3027
3094
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3028
3095
  end)
3029
3096
 
3097
+ api.add_operation(:stop_contact_streaming, Seahorse::Model::Operation.new.tap do |o|
3098
+ o.name = "StopContactStreaming"
3099
+ o.http_method = "POST"
3100
+ o.http_request_uri = "/contact/stop-streaming"
3101
+ o.input = Shapes::ShapeRef.new(shape: StopContactStreamingRequest)
3102
+ o.output = Shapes::ShapeRef.new(shape: StopContactStreamingResponse)
3103
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3104
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3105
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3106
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3107
+ end)
3108
+
3030
3109
  api.add_operation(:suspend_contact_recording, Seahorse::Model::Operation.new.tap do |o|
3031
3110
  o.name = "SuspendContactRecording"
3032
3111
  o.http_method = "POST"