aws-sdk-connect 1.48.0 → 1.52.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.
@@ -17,8 +17,19 @@ module Aws::Connect
17
17
  AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
18
18
  AgentFirstName = Shapes::StringShape.new(name: 'AgentFirstName')
19
19
  AgentLastName = Shapes::StringShape.new(name: 'AgentLastName')
20
+ AgentStatus = Shapes::StructureShape.new(name: 'AgentStatus')
21
+ AgentStatusDescription = Shapes::StringShape.new(name: 'AgentStatusDescription')
22
+ AgentStatusId = Shapes::StringShape.new(name: 'AgentStatusId')
23
+ AgentStatusName = Shapes::StringShape.new(name: 'AgentStatusName')
24
+ AgentStatusOrderNumber = Shapes::IntegerShape.new(name: 'AgentStatusOrderNumber')
25
+ AgentStatusState = Shapes::StringShape.new(name: 'AgentStatusState')
26
+ AgentStatusSummary = Shapes::StructureShape.new(name: 'AgentStatusSummary')
27
+ AgentStatusSummaryList = Shapes::ListShape.new(name: 'AgentStatusSummaryList')
28
+ AgentStatusType = Shapes::StringShape.new(name: 'AgentStatusType')
29
+ AgentStatusTypes = Shapes::ListShape.new(name: 'AgentStatusTypes')
20
30
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
21
31
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
32
+ AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
22
33
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
23
34
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
24
35
  AssociateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'AssociateInstanceStorageConfigRequest')
@@ -36,15 +47,16 @@ module Aws::Connect
36
47
  Attributes = Shapes::MapShape.new(name: 'Attributes')
37
48
  AttributesList = Shapes::ListShape.new(name: 'AttributesList')
38
49
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
50
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
39
51
  BotName = Shapes::StringShape.new(name: 'BotName')
40
52
  BucketName = Shapes::StringShape.new(name: 'BucketName')
53
+ CampaignId = Shapes::StringShape.new(name: 'CampaignId')
41
54
  Channel = Shapes::StringShape.new(name: 'Channel')
42
55
  Channels = Shapes::ListShape.new(name: 'Channels')
43
56
  ChatContent = Shapes::StringShape.new(name: 'ChatContent')
44
57
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
45
58
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
46
59
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
47
- CommonDescriptionLength250 = Shapes::StringShape.new(name: 'CommonDescriptionLength250')
48
60
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
49
61
  Comparison = Shapes::StringShape.new(name: 'Comparison')
50
62
  Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
@@ -61,8 +73,12 @@ module Aws::Connect
61
73
  ContactId = Shapes::StringShape.new(name: 'ContactId')
62
74
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
63
75
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
76
+ CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
77
+ CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
64
78
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
65
79
  CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
80
+ CreateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'CreateHoursOfOperationRequest')
81
+ CreateHoursOfOperationResponse = Shapes::StructureShape.new(name: 'CreateHoursOfOperationResponse')
66
82
  CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
67
83
  CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
68
84
  CreateIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationRequest')
@@ -88,12 +104,15 @@ module Aws::Connect
88
104
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
89
105
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
90
106
  Delay = Shapes::IntegerShape.new(name: 'Delay')
107
+ DeleteHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DeleteHoursOfOperationRequest')
91
108
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
92
109
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
93
110
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
94
111
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
95
112
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
96
113
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
114
+ DescribeAgentStatusRequest = Shapes::StructureShape.new(name: 'DescribeAgentStatusRequest')
115
+ DescribeAgentStatusResponse = Shapes::StructureShape.new(name: 'DescribeAgentStatusResponse')
97
116
  DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
98
117
  DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
99
118
  DescribeHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DescribeHoursOfOperationRequest')
@@ -174,6 +193,7 @@ module Aws::Connect
174
193
  HoursOfOperationConfig = Shapes::StructureShape.new(name: 'HoursOfOperationConfig')
175
194
  HoursOfOperationConfigList = Shapes::ListShape.new(name: 'HoursOfOperationConfigList')
176
195
  HoursOfOperationDays = Shapes::StringShape.new(name: 'HoursOfOperationDays')
196
+ HoursOfOperationDescription = Shapes::StringShape.new(name: 'HoursOfOperationDescription')
177
197
  HoursOfOperationId = Shapes::StringShape.new(name: 'HoursOfOperationId')
178
198
  HoursOfOperationName = Shapes::StringShape.new(name: 'HoursOfOperationName')
179
199
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
@@ -211,6 +231,8 @@ module Aws::Connect
211
231
  LexV2Bot = Shapes::StructureShape.new(name: 'LexV2Bot')
212
232
  LexVersion = Shapes::StringShape.new(name: 'LexVersion')
213
233
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
234
+ ListAgentStatusRequest = Shapes::StructureShape.new(name: 'ListAgentStatusRequest')
235
+ ListAgentStatusResponse = Shapes::StructureShape.new(name: 'ListAgentStatusResponse')
214
236
  ListApprovedOriginsRequest = Shapes::StructureShape.new(name: 'ListApprovedOriginsRequest')
215
237
  ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
216
238
  ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
@@ -383,13 +405,18 @@ module Aws::Connect
383
405
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
384
406
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
385
407
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
408
+ TrafficType = Shapes::StringShape.new(name: 'TrafficType')
386
409
  URI = Shapes::StringShape.new(name: 'URI')
387
410
  Unit = Shapes::StringShape.new(name: 'Unit')
388
411
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
412
+ UpdateAgentStatusDescription = Shapes::StringShape.new(name: 'UpdateAgentStatusDescription')
413
+ UpdateAgentStatusRequest = Shapes::StructureShape.new(name: 'UpdateAgentStatusRequest')
389
414
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
390
415
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
391
416
  UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
392
417
  UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
418
+ UpdateHoursOfOperationDescription = Shapes::StringShape.new(name: 'UpdateHoursOfOperationDescription')
419
+ UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
393
420
  UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
394
421
  UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
395
422
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
@@ -428,6 +455,30 @@ module Aws::Connect
428
455
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
429
456
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
430
457
 
458
+ AgentStatus.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
459
+ AgentStatus.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
460
+ AgentStatus.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
461
+ AgentStatus.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
462
+ AgentStatus.add_member(:type, Shapes::ShapeRef.new(shape: AgentStatusType, location_name: "Type"))
463
+ AgentStatus.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder"))
464
+ AgentStatus.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, location_name: "State"))
465
+ AgentStatus.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
466
+ AgentStatus.struct_class = Types::AgentStatus
467
+
468
+ AgentStatusSummary.add_member(:id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "Id"))
469
+ AgentStatusSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
470
+ AgentStatusSummary.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
471
+ AgentStatusSummary.add_member(:type, Shapes::ShapeRef.new(shape: AgentStatusType, location_name: "Type"))
472
+ AgentStatusSummary.struct_class = Types::AgentStatusSummary
473
+
474
+ AgentStatusSummaryList.member = Shapes::ShapeRef.new(shape: AgentStatusSummary)
475
+
476
+ AgentStatusTypes.member = Shapes::ShapeRef.new(shape: AgentStatusType)
477
+
478
+ AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableAnswerMachineDetection"))
479
+ AnswerMachineDetectionConfig.add_member(:await_answer_machine_prompt, Shapes::ShapeRef.new(shape: Boolean, location_name: "AwaitAnswerMachinePrompt"))
480
+ AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
481
+
431
482
  AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
432
483
  AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
433
484
  AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
@@ -513,6 +564,18 @@ module Aws::Connect
513
564
  ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
514
565
  ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
515
566
 
567
+ CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
568
+ CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
569
+ CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
570
+ CreateAgentStatusRequest.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, required: true, location_name: "State"))
571
+ CreateAgentStatusRequest.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder", metadata: {"box"=>true}))
572
+ CreateAgentStatusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
573
+ CreateAgentStatusRequest.struct_class = Types::CreateAgentStatusRequest
574
+
575
+ CreateAgentStatusResponse.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
576
+ CreateAgentStatusResponse.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
577
+ CreateAgentStatusResponse.struct_class = Types::CreateAgentStatusResponse
578
+
516
579
  CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
517
580
  CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
518
581
  CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
@@ -525,6 +588,18 @@ module Aws::Connect
525
588
  CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
526
589
  CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
527
590
 
591
+ CreateHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
592
+ CreateHoursOfOperationRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, required: true, location_name: "Name"))
593
+ CreateHoursOfOperationRequest.add_member(:description, Shapes::ShapeRef.new(shape: HoursOfOperationDescription, location_name: "Description"))
594
+ CreateHoursOfOperationRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, required: true, location_name: "TimeZone"))
595
+ CreateHoursOfOperationRequest.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, required: true, location_name: "Config"))
596
+ CreateHoursOfOperationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
597
+ CreateHoursOfOperationRequest.struct_class = Types::CreateHoursOfOperationRequest
598
+
599
+ CreateHoursOfOperationResponse.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, location_name: "HoursOfOperationId"))
600
+ CreateHoursOfOperationResponse.add_member(:hours_of_operation_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HoursOfOperationArn"))
601
+ CreateHoursOfOperationResponse.struct_class = Types::CreateHoursOfOperationResponse
602
+
528
603
  CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
529
604
  CreateInstanceRequest.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, required: true, location_name: "IdentityManagementType"))
530
605
  CreateInstanceRequest.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
@@ -540,9 +615,9 @@ module Aws::Connect
540
615
  CreateIntegrationAssociationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
541
616
  CreateIntegrationAssociationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "IntegrationType"))
542
617
  CreateIntegrationAssociationRequest.add_member(:integration_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "IntegrationArn"))
543
- CreateIntegrationAssociationRequest.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, required: true, location_name: "SourceApplicationUrl"))
544
- CreateIntegrationAssociationRequest.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, required: true, location_name: "SourceApplicationName"))
545
- CreateIntegrationAssociationRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "SourceType"))
618
+ CreateIntegrationAssociationRequest.add_member(:source_application_url, Shapes::ShapeRef.new(shape: URI, location_name: "SourceApplicationUrl"))
619
+ CreateIntegrationAssociationRequest.add_member(:source_application_name, Shapes::ShapeRef.new(shape: SourceApplicationName, location_name: "SourceApplicationName"))
620
+ CreateIntegrationAssociationRequest.add_member(:source_type, Shapes::ShapeRef.new(shape: SourceType, location_name: "SourceType"))
546
621
  CreateIntegrationAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
547
622
  CreateIntegrationAssociationRequest.struct_class = Types::CreateIntegrationAssociationRequest
548
623
 
@@ -647,6 +722,10 @@ module Aws::Connect
647
722
 
648
723
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
649
724
 
725
+ DeleteHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
726
+ DeleteHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
727
+ DeleteHoursOfOperationRequest.struct_class = Types::DeleteHoursOfOperationRequest
728
+
650
729
  DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
651
730
  DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
652
731
 
@@ -671,6 +750,13 @@ module Aws::Connect
671
750
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
672
751
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
673
752
 
753
+ DescribeAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
754
+ DescribeAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
755
+ DescribeAgentStatusRequest.struct_class = Types::DescribeAgentStatusRequest
756
+
757
+ DescribeAgentStatusResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "AgentStatus"))
758
+ DescribeAgentStatusResponse.struct_class = Types::DescribeAgentStatusResponse
759
+
674
760
  DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
675
761
  DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
676
762
  DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
@@ -912,15 +998,15 @@ module Aws::Connect
912
998
  HoursOfOperation.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, location_name: "HoursOfOperationId"))
913
999
  HoursOfOperation.add_member(:hours_of_operation_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HoursOfOperationArn"))
914
1000
  HoursOfOperation.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
915
- HoursOfOperation.add_member(:description, Shapes::ShapeRef.new(shape: CommonDescriptionLength250, location_name: "Description"))
1001
+ HoursOfOperation.add_member(:description, Shapes::ShapeRef.new(shape: HoursOfOperationDescription, location_name: "Description"))
916
1002
  HoursOfOperation.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
917
1003
  HoursOfOperation.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, location_name: "Config"))
918
1004
  HoursOfOperation.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
919
1005
  HoursOfOperation.struct_class = Types::HoursOfOperation
920
1006
 
921
- HoursOfOperationConfig.add_member(:day, Shapes::ShapeRef.new(shape: HoursOfOperationDays, location_name: "Day"))
922
- HoursOfOperationConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, location_name: "StartTime"))
923
- HoursOfOperationConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, location_name: "EndTime"))
1007
+ HoursOfOperationConfig.add_member(:day, Shapes::ShapeRef.new(shape: HoursOfOperationDays, required: true, location_name: "Day"))
1008
+ HoursOfOperationConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, required: true, location_name: "StartTime"))
1009
+ HoursOfOperationConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, required: true, location_name: "EndTime"))
924
1010
  HoursOfOperationConfig.struct_class = Types::HoursOfOperationConfig
925
1011
 
926
1012
  HoursOfOperationConfigList.member = Shapes::ShapeRef.new(shape: HoursOfOperationConfig)
@@ -932,8 +1018,8 @@ module Aws::Connect
932
1018
 
933
1019
  HoursOfOperationSummaryList.member = Shapes::ShapeRef.new(shape: HoursOfOperationSummary)
934
1020
 
935
- HoursOfOperationTimeSlice.add_member(:hours, Shapes::ShapeRef.new(shape: Hours24Format, location_name: "Hours"))
936
- HoursOfOperationTimeSlice.add_member(:minutes, Shapes::ShapeRef.new(shape: MinutesLimit60, location_name: "Minutes"))
1021
+ HoursOfOperationTimeSlice.add_member(:hours, Shapes::ShapeRef.new(shape: Hours24Format, required: true, location_name: "Hours", metadata: {"box"=>true}))
1022
+ HoursOfOperationTimeSlice.add_member(:minutes, Shapes::ShapeRef.new(shape: MinutesLimit60, required: true, location_name: "Minutes", metadata: {"box"=>true}))
937
1023
  HoursOfOperationTimeSlice.struct_class = Types::HoursOfOperationTimeSlice
938
1024
 
939
1025
  Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
@@ -1027,6 +1113,16 @@ module Aws::Connect
1027
1113
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1028
1114
  LimitExceededException.struct_class = Types::LimitExceededException
1029
1115
 
1116
+ ListAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1117
+ ListAgentStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1118
+ ListAgentStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1119
+ ListAgentStatusRequest.add_member(:agent_status_types, Shapes::ShapeRef.new(shape: AgentStatusTypes, location: "querystring", location_name: "AgentStatusTypes"))
1120
+ ListAgentStatusRequest.struct_class = Types::ListAgentStatusRequest
1121
+
1122
+ ListAgentStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1123
+ ListAgentStatusResponse.add_member(:agent_status_summary_list, Shapes::ShapeRef.new(shape: AgentStatusSummaryList, location_name: "AgentStatusSummaryList"))
1124
+ ListAgentStatusResponse.struct_class = Types::ListAgentStatusResponse
1125
+
1030
1126
  ListApprovedOriginsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1031
1127
  ListApprovedOriginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1032
1128
  ListApprovedOriginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -1093,6 +1189,7 @@ module Aws::Connect
1093
1189
  ListInstancesResponse.struct_class = Types::ListInstancesResponse
1094
1190
 
1095
1191
  ListIntegrationAssociationsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1192
+ ListIntegrationAssociationsRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location: "querystring", location_name: "integrationType"))
1096
1193
  ListIntegrationAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1097
1194
  ListIntegrationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult100, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1098
1195
  ListIntegrationAssociationsRequest.struct_class = Types::ListIntegrationAssociationsRequest
@@ -1458,6 +1555,9 @@ module Aws::Connect
1458
1555
  StartOutboundVoiceContactRequest.add_member(:source_phone_number, Shapes::ShapeRef.new(shape: PhoneNumber, location_name: "SourcePhoneNumber"))
1459
1556
  StartOutboundVoiceContactRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, location_name: "QueueId"))
1460
1557
  StartOutboundVoiceContactRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
1558
+ StartOutboundVoiceContactRequest.add_member(:answer_machine_detection_config, Shapes::ShapeRef.new(shape: AnswerMachineDetectionConfig, location_name: "AnswerMachineDetectionConfig"))
1559
+ StartOutboundVoiceContactRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: CampaignId, location_name: "CampaignId"))
1560
+ StartOutboundVoiceContactRequest.add_member(:traffic_type, Shapes::ShapeRef.new(shape: TrafficType, location_name: "TrafficType"))
1461
1561
  StartOutboundVoiceContactRequest.struct_class = Types::StartOutboundVoiceContactRequest
1462
1562
 
1463
1563
  StartOutboundVoiceContactResponse.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
@@ -1516,6 +1616,15 @@ module Aws::Connect
1516
1616
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1517
1617
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1518
1618
 
1619
+ UpdateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1620
+ UpdateAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
1621
+ UpdateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
1622
+ UpdateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateAgentStatusDescription, location_name: "Description"))
1623
+ UpdateAgentStatusRequest.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, location_name: "State"))
1624
+ UpdateAgentStatusRequest.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder", metadata: {"box"=>true}))
1625
+ UpdateAgentStatusRequest.add_member(:reset_order_number, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResetOrderNumber"))
1626
+ UpdateAgentStatusRequest.struct_class = Types::UpdateAgentStatusRequest
1627
+
1519
1628
  UpdateContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
1520
1629
  UpdateContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1521
1630
  UpdateContactAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
@@ -1534,6 +1643,14 @@ module Aws::Connect
1534
1643
  UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1535
1644
  UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
1536
1645
 
1646
+ UpdateHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1647
+ UpdateHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
1648
+ UpdateHoursOfOperationRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
1649
+ UpdateHoursOfOperationRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateHoursOfOperationDescription, location_name: "Description"))
1650
+ UpdateHoursOfOperationRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
1651
+ UpdateHoursOfOperationRequest.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, location_name: "Config"))
1652
+ UpdateHoursOfOperationRequest.struct_class = Types::UpdateHoursOfOperationRequest
1653
+
1537
1654
  UpdateInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1538
1655
  UpdateInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
1539
1656
  UpdateInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, required: true, location_name: "Value"))
@@ -1819,6 +1936,21 @@ module Aws::Connect
1819
1936
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1820
1937
  end)
1821
1938
 
1939
+ api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
1940
+ o.name = "CreateAgentStatus"
1941
+ o.http_method = "PUT"
1942
+ o.http_request_uri = "/agent-status/{InstanceId}"
1943
+ o.input = Shapes::ShapeRef.new(shape: CreateAgentStatusRequest)
1944
+ o.output = Shapes::ShapeRef.new(shape: CreateAgentStatusResponse)
1945
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1946
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1952
+ end)
1953
+
1822
1954
  api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1823
1955
  o.name = "CreateContactFlow"
1824
1956
  o.http_method = "PUT"
@@ -1835,6 +1967,21 @@ module Aws::Connect
1835
1967
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1836
1968
  end)
1837
1969
 
1970
+ api.add_operation(:create_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
1971
+ o.name = "CreateHoursOfOperation"
1972
+ o.http_method = "PUT"
1973
+ o.http_request_uri = "/hours-of-operations/{InstanceId}"
1974
+ o.input = Shapes::ShapeRef.new(shape: CreateHoursOfOperationRequest)
1975
+ o.output = Shapes::ShapeRef.new(shape: CreateHoursOfOperationResponse)
1976
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1977
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1978
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1979
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1980
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1982
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1983
+ end)
1984
+
1838
1985
  api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
1839
1986
  o.name = "CreateInstance"
1840
1987
  o.http_method = "PUT"
@@ -1949,6 +2096,19 @@ module Aws::Connect
1949
2096
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1950
2097
  end)
1951
2098
 
2099
+ api.add_operation(:delete_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
2100
+ o.name = "DeleteHoursOfOperation"
2101
+ o.http_method = "DELETE"
2102
+ o.http_request_uri = "/hours-of-operations/{InstanceId}/{HoursOfOperationId}"
2103
+ o.input = Shapes::ShapeRef.new(shape: DeleteHoursOfOperationRequest)
2104
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2105
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2106
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2107
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2108
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2109
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2110
+ end)
2111
+
1952
2112
  api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
1953
2113
  o.name = "DeleteInstance"
1954
2114
  o.http_method = "DELETE"
@@ -2024,6 +2184,19 @@ module Aws::Connect
2024
2184
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2025
2185
  end)
2026
2186
 
2187
+ api.add_operation(:describe_agent_status, Seahorse::Model::Operation.new.tap do |o|
2188
+ o.name = "DescribeAgentStatus"
2189
+ o.http_method = "GET"
2190
+ o.http_request_uri = "/agent-status/{InstanceId}/{AgentStatusId}"
2191
+ o.input = Shapes::ShapeRef.new(shape: DescribeAgentStatusRequest)
2192
+ o.output = Shapes::ShapeRef.new(shape: DescribeAgentStatusResponse)
2193
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2194
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2195
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2196
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2198
+ end)
2199
+
2027
2200
  api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
2028
2201
  o.name = "DescribeContactFlow"
2029
2202
  o.http_method = "GET"
@@ -2332,6 +2505,25 @@ module Aws::Connect
2332
2505
  )
2333
2506
  end)
2334
2507
 
2508
+ api.add_operation(:list_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
2509
+ o.name = "ListAgentStatuses"
2510
+ o.http_method = "GET"
2511
+ o.http_request_uri = "/agent-status/{InstanceId}"
2512
+ o.input = Shapes::ShapeRef.new(shape: ListAgentStatusRequest)
2513
+ o.output = Shapes::ShapeRef.new(shape: ListAgentStatusResponse)
2514
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2515
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2516
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2517
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2518
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2519
+ o[:pager] = Aws::Pager.new(
2520
+ limit_key: "max_results",
2521
+ tokens: {
2522
+ "next_token" => "next_token"
2523
+ }
2524
+ )
2525
+ end)
2526
+
2335
2527
  api.add_operation(:list_approved_origins, Seahorse::Model::Operation.new.tap do |o|
2336
2528
  o.name = "ListApprovedOrigins"
2337
2529
  o.http_method = "GET"
@@ -2883,6 +3075,21 @@ module Aws::Connect
2883
3075
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2884
3076
  end)
2885
3077
 
3078
+ api.add_operation(:update_agent_status, Seahorse::Model::Operation.new.tap do |o|
3079
+ o.name = "UpdateAgentStatus"
3080
+ o.http_method = "POST"
3081
+ o.http_request_uri = "/agent-status/{InstanceId}/{AgentStatusId}"
3082
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentStatusRequest)
3083
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3084
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3085
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3086
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3087
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3088
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3089
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3090
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3091
+ end)
3092
+
2886
3093
  api.add_operation(:update_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
2887
3094
  o.name = "UpdateContactAttributes"
2888
3095
  o.http_method = "POST"
@@ -2923,6 +3130,20 @@ module Aws::Connect
2923
3130
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2924
3131
  end)
2925
3132
 
3133
+ api.add_operation(:update_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
3134
+ o.name = "UpdateHoursOfOperation"
3135
+ o.http_method = "POST"
3136
+ o.http_request_uri = "/hours-of-operations/{InstanceId}/{HoursOfOperationId}"
3137
+ o.input = Shapes::ShapeRef.new(shape: UpdateHoursOfOperationRequest)
3138
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3139
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3140
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3141
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3142
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3143
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3144
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3145
+ end)
3146
+
2926
3147
  api.add_operation(:update_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
2927
3148
  o.name = "UpdateInstanceAttribute"
2928
3149
  o.http_method = "POST"