aws-sdk-connect 1.169.0 → 1.179.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::Connect
11
12
  # @api private
12
13
  module ClientApi
@@ -534,6 +535,7 @@ module Aws::Connect
534
535
  GetTaskTemplateResponse = Shapes::StructureShape.new(name: 'GetTaskTemplateResponse')
535
536
  GetTrafficDistributionRequest = Shapes::StructureShape.new(name: 'GetTrafficDistributionRequest')
536
537
  GetTrafficDistributionResponse = Shapes::StructureShape.new(name: 'GetTrafficDistributionResponse')
538
+ GlobalSignInEndpoint = Shapes::StringShape.new(name: 'GlobalSignInEndpoint')
537
539
  Grouping = Shapes::StringShape.new(name: 'Grouping')
538
540
  GroupingV2 = Shapes::StringShape.new(name: 'GroupingV2')
539
541
  Groupings = Shapes::ListShape.new(name: 'Groupings')
@@ -594,6 +596,7 @@ module Aws::Connect
594
596
  InstanceAttributeValue = Shapes::StringShape.new(name: 'InstanceAttributeValue')
595
597
  InstanceId = Shapes::StringShape.new(name: 'InstanceId')
596
598
  InstanceIdOrArn = Shapes::StringShape.new(name: 'InstanceIdOrArn')
599
+ InstanceReplicationStatus = Shapes::StringShape.new(name: 'InstanceReplicationStatus')
597
600
  InstanceStatus = Shapes::StringShape.new(name: 'InstanceStatus')
598
601
  InstanceStatusReason = Shapes::StructureShape.new(name: 'InstanceStatusReason')
599
602
  InstanceStorageConfig = Shapes::StructureShape.new(name: 'InstanceStorageConfig')
@@ -957,6 +960,10 @@ module Aws::Connect
957
960
  ReleasePhoneNumberRequest = Shapes::StructureShape.new(name: 'ReleasePhoneNumberRequest')
958
961
  ReplicateInstanceRequest = Shapes::StructureShape.new(name: 'ReplicateInstanceRequest')
959
962
  ReplicateInstanceResponse = Shapes::StructureShape.new(name: 'ReplicateInstanceResponse')
963
+ ReplicationConfiguration = Shapes::StructureShape.new(name: 'ReplicationConfiguration')
964
+ ReplicationStatusReason = Shapes::StringShape.new(name: 'ReplicationStatusReason')
965
+ ReplicationStatusSummary = Shapes::StructureShape.new(name: 'ReplicationStatusSummary')
966
+ ReplicationStatusSummaryList = Shapes::ListShape.new(name: 'ReplicationStatusSummaryList')
960
967
  RequestIdentifier = Shapes::StringShape.new(name: 'RequestIdentifier')
961
968
  RequiredFieldInfo = Shapes::StructureShape.new(name: 'RequiredFieldInfo')
962
969
  RequiredTaskTemplateFields = Shapes::ListShape.new(name: 'RequiredTaskTemplateFields')
@@ -974,6 +981,10 @@ module Aws::Connect
974
981
  ResumeContactRequest = Shapes::StructureShape.new(name: 'ResumeContactRequest')
975
982
  ResumeContactResponse = Shapes::StructureShape.new(name: 'ResumeContactResponse')
976
983
  RoutingCriteria = Shapes::StructureShape.new(name: 'RoutingCriteria')
984
+ RoutingCriteriaInput = Shapes::StructureShape.new(name: 'RoutingCriteriaInput')
985
+ RoutingCriteriaInputStep = Shapes::StructureShape.new(name: 'RoutingCriteriaInputStep')
986
+ RoutingCriteriaInputStepExpiry = Shapes::StructureShape.new(name: 'RoutingCriteriaInputStepExpiry')
987
+ RoutingCriteriaInputSteps = Shapes::ListShape.new(name: 'RoutingCriteriaInputSteps')
977
988
  RoutingCriteriaStepStatus = Shapes::StringShape.new(name: 'RoutingCriteriaStepStatus')
978
989
  RoutingExpression = Shapes::StringShape.new(name: 'RoutingExpression')
979
990
  RoutingExpressions = Shapes::ListShape.new(name: 'RoutingExpressions')
@@ -1102,6 +1113,8 @@ module Aws::Connect
1102
1113
  StartContactRecordingResponse = Shapes::StructureShape.new(name: 'StartContactRecordingResponse')
1103
1114
  StartContactStreamingRequest = Shapes::StructureShape.new(name: 'StartContactStreamingRequest')
1104
1115
  StartContactStreamingResponse = Shapes::StructureShape.new(name: 'StartContactStreamingResponse')
1116
+ StartOutboundChatContactRequest = Shapes::StructureShape.new(name: 'StartOutboundChatContactRequest')
1117
+ StartOutboundChatContactResponse = Shapes::StructureShape.new(name: 'StartOutboundChatContactResponse')
1105
1118
  StartOutboundVoiceContactRequest = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactRequest')
1106
1119
  StartOutboundVoiceContactResponse = Shapes::StructureShape.new(name: 'StartOutboundVoiceContactResponse')
1107
1120
  StartTaskContactRequest = Shapes::StructureShape.new(name: 'StartTaskContactRequest')
@@ -2511,6 +2524,7 @@ module Aws::Connect
2511
2524
  DescribeInstanceRequest.struct_class = Types::DescribeInstanceRequest
2512
2525
 
2513
2526
  DescribeInstanceResponse.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "Instance"))
2527
+ DescribeInstanceResponse.add_member(:replication_configuration, Shapes::ShapeRef.new(shape: ReplicationConfiguration, location_name: "ReplicationConfiguration"))
2514
2528
  DescribeInstanceResponse.struct_class = Types::DescribeInstanceResponse
2515
2529
 
2516
2530
  DescribeInstanceStorageConfigRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
@@ -4396,6 +4410,18 @@ module Aws::Connect
4396
4410
  ReplicateInstanceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
4397
4411
  ReplicateInstanceResponse.struct_class = Types::ReplicateInstanceResponse
4398
4412
 
4413
+ ReplicationConfiguration.add_member(:replication_status_summary_list, Shapes::ShapeRef.new(shape: ReplicationStatusSummaryList, location_name: "ReplicationStatusSummaryList"))
4414
+ ReplicationConfiguration.add_member(:source_region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "SourceRegion"))
4415
+ ReplicationConfiguration.add_member(:global_sign_in_endpoint, Shapes::ShapeRef.new(shape: GlobalSignInEndpoint, location_name: "GlobalSignInEndpoint"))
4416
+ ReplicationConfiguration.struct_class = Types::ReplicationConfiguration
4417
+
4418
+ ReplicationStatusSummary.add_member(:region, Shapes::ShapeRef.new(shape: AwsRegion, location_name: "Region"))
4419
+ ReplicationStatusSummary.add_member(:replication_status, Shapes::ShapeRef.new(shape: InstanceReplicationStatus, location_name: "ReplicationStatus"))
4420
+ ReplicationStatusSummary.add_member(:replication_status_reason, Shapes::ShapeRef.new(shape: ReplicationStatusReason, location_name: "ReplicationStatusReason"))
4421
+ ReplicationStatusSummary.struct_class = Types::ReplicationStatusSummary
4422
+
4423
+ ReplicationStatusSummaryList.member = Shapes::ShapeRef.new(shape: ReplicationStatusSummary)
4424
+
4399
4425
  RequiredFieldInfo.add_member(:id, Shapes::ShapeRef.new(shape: TaskTemplateFieldIdentifier, location_name: "Id"))
4400
4426
  RequiredFieldInfo.struct_class = Types::RequiredFieldInfo
4401
4427
 
@@ -4439,6 +4465,18 @@ module Aws::Connect
4439
4465
  RoutingCriteria.add_member(:index, Shapes::ShapeRef.new(shape: Index, location_name: "Index"))
4440
4466
  RoutingCriteria.struct_class = Types::RoutingCriteria
4441
4467
 
4468
+ RoutingCriteriaInput.add_member(:steps, Shapes::ShapeRef.new(shape: RoutingCriteriaInputSteps, location_name: "Steps"))
4469
+ RoutingCriteriaInput.struct_class = Types::RoutingCriteriaInput
4470
+
4471
+ RoutingCriteriaInputStep.add_member(:expiry, Shapes::ShapeRef.new(shape: RoutingCriteriaInputStepExpiry, location_name: "Expiry"))
4472
+ RoutingCriteriaInputStep.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, location_name: "Expression"))
4473
+ RoutingCriteriaInputStep.struct_class = Types::RoutingCriteriaInputStep
4474
+
4475
+ RoutingCriteriaInputStepExpiry.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: DurationInSeconds, location_name: "DurationInSeconds"))
4476
+ RoutingCriteriaInputStepExpiry.struct_class = Types::RoutingCriteriaInputStepExpiry
4477
+
4478
+ RoutingCriteriaInputSteps.member = Shapes::ShapeRef.new(shape: RoutingCriteriaInputStep)
4479
+
4442
4480
  RoutingExpressions.member = Shapes::ShapeRef.new(shape: RoutingExpression)
4443
4481
 
4444
4482
  RoutingProfile.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
@@ -4939,6 +4977,23 @@ module Aws::Connect
4939
4977
  StartContactStreamingResponse.add_member(:streaming_id, Shapes::ShapeRef.new(shape: StreamingId, required: true, location_name: "StreamingId"))
4940
4978
  StartContactStreamingResponse.struct_class = Types::StartContactStreamingResponse
4941
4979
 
4980
+ StartOutboundChatContactRequest.add_member(:source_endpoint, Shapes::ShapeRef.new(shape: Endpoint, required: true, location_name: "SourceEndpoint"))
4981
+ StartOutboundChatContactRequest.add_member(:destination_endpoint, Shapes::ShapeRef.new(shape: Endpoint, required: true, location_name: "DestinationEndpoint"))
4982
+ StartOutboundChatContactRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
4983
+ StartOutboundChatContactRequest.add_member(:segment_attributes, Shapes::ShapeRef.new(shape: SegmentAttributes, required: true, location_name: "SegmentAttributes"))
4984
+ StartOutboundChatContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
4985
+ StartOutboundChatContactRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
4986
+ StartOutboundChatContactRequest.add_member(:chat_duration_in_minutes, Shapes::ShapeRef.new(shape: ChatDurationInMinutes, location_name: "ChatDurationInMinutes"))
4987
+ StartOutboundChatContactRequest.add_member(:participant_details, Shapes::ShapeRef.new(shape: ParticipantDetails, location_name: "ParticipantDetails"))
4988
+ StartOutboundChatContactRequest.add_member(:initial_system_message, Shapes::ShapeRef.new(shape: ChatMessage, location_name: "InitialSystemMessage"))
4989
+ StartOutboundChatContactRequest.add_member(:related_contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "RelatedContactId"))
4990
+ StartOutboundChatContactRequest.add_member(:supported_messaging_content_types, Shapes::ShapeRef.new(shape: SupportedMessagingContentTypes, location_name: "SupportedMessagingContentTypes"))
4991
+ StartOutboundChatContactRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
4992
+ StartOutboundChatContactRequest.struct_class = Types::StartOutboundChatContactRequest
4993
+
4994
+ StartOutboundChatContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
4995
+ StartOutboundChatContactResponse.struct_class = Types::StartOutboundChatContactResponse
4996
+
4942
4997
  StartOutboundVoiceContactRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
4943
4998
  StartOutboundVoiceContactRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
4944
4999
  StartOutboundVoiceContactRequest.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
@@ -5306,6 +5361,7 @@ module Aws::Connect
5306
5361
  UpdateContactRoutingDataRequest.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location: "uri", location_name: "ContactId"))
5307
5362
  UpdateContactRoutingDataRequest.add_member(:queue_time_adjustment_seconds, Shapes::ShapeRef.new(shape: QueueTimeAdjustmentSeconds, location_name: "QueueTimeAdjustmentSeconds"))
5308
5363
  UpdateContactRoutingDataRequest.add_member(:queue_priority, Shapes::ShapeRef.new(shape: QueuePriority, location_name: "QueuePriority"))
5364
+ UpdateContactRoutingDataRequest.add_member(:routing_criteria, Shapes::ShapeRef.new(shape: RoutingCriteriaInput, location_name: "RoutingCriteria"))
5309
5365
  UpdateContactRoutingDataRequest.struct_class = Types::UpdateContactRoutingDataRequest
5310
5366
 
5311
5367
  UpdateContactRoutingDataResponse.struct_class = Types::UpdateContactRoutingDataResponse
@@ -8802,6 +8858,21 @@ module Aws::Connect
8802
8858
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
8803
8859
  end)
8804
8860
 
8861
+ api.add_operation(:start_outbound_chat_contact, Seahorse::Model::Operation.new.tap do |o|
8862
+ o.name = "StartOutboundChatContact"
8863
+ o.http_method = "PUT"
8864
+ o.http_request_uri = "/contact/outbound-chat"
8865
+ o.input = Shapes::ShapeRef.new(shape: StartOutboundChatContactRequest)
8866
+ o.output = Shapes::ShapeRef.new(shape: StartOutboundChatContactResponse)
8867
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
8868
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
8869
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
8870
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
8871
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
8872
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
8873
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
8874
+ end)
8875
+
8805
8876
  api.add_operation(:start_outbound_voice_contact, Seahorse::Model::Operation.new.tap do |o|
8806
8877
  o.name = "StartOutboundVoiceContact"
8807
8878
  o.http_method = "PUT"