aws-sdk-connect 1.46.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,16 @@ 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')
22
32
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
@@ -36,6 +46,7 @@ module Aws::Connect
36
46
  Attributes = Shapes::MapShape.new(name: 'Attributes')
37
47
  AttributesList = Shapes::ListShape.new(name: 'AttributesList')
38
48
  AutoAccept = Shapes::BooleanShape.new(name: 'AutoAccept')
49
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
39
50
  BotName = Shapes::StringShape.new(name: 'BotName')
40
51
  BucketName = Shapes::StringShape.new(name: 'BucketName')
41
52
  Channel = Shapes::StringShape.new(name: 'Channel')
@@ -44,7 +55,6 @@ module Aws::Connect
44
55
  ChatContentType = Shapes::StringShape.new(name: 'ChatContentType')
45
56
  ChatMessage = Shapes::StructureShape.new(name: 'ChatMessage')
46
57
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
47
- CommonDescriptionLength250 = Shapes::StringShape.new(name: 'CommonDescriptionLength250')
48
58
  CommonNameLength127 = Shapes::StringShape.new(name: 'CommonNameLength127')
49
59
  Comparison = Shapes::StringShape.new(name: 'Comparison')
50
60
  Concurrency = Shapes::IntegerShape.new(name: 'Concurrency')
@@ -61,8 +71,12 @@ module Aws::Connect
61
71
  ContactId = Shapes::StringShape.new(name: 'ContactId')
62
72
  ContactNotFoundException = Shapes::StructureShape.new(name: 'ContactNotFoundException')
63
73
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
74
+ CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
75
+ CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
64
76
  CreateContactFlowRequest = Shapes::StructureShape.new(name: 'CreateContactFlowRequest')
65
77
  CreateContactFlowResponse = Shapes::StructureShape.new(name: 'CreateContactFlowResponse')
78
+ CreateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'CreateHoursOfOperationRequest')
79
+ CreateHoursOfOperationResponse = Shapes::StructureShape.new(name: 'CreateHoursOfOperationResponse')
66
80
  CreateInstanceRequest = Shapes::StructureShape.new(name: 'CreateInstanceRequest')
67
81
  CreateInstanceResponse = Shapes::StructureShape.new(name: 'CreateInstanceResponse')
68
82
  CreateIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'CreateIntegrationAssociationRequest')
@@ -88,12 +102,15 @@ module Aws::Connect
88
102
  CurrentMetricResults = Shapes::ListShape.new(name: 'CurrentMetricResults')
89
103
  CurrentMetrics = Shapes::ListShape.new(name: 'CurrentMetrics')
90
104
  Delay = Shapes::IntegerShape.new(name: 'Delay')
105
+ DeleteHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DeleteHoursOfOperationRequest')
91
106
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
92
107
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
93
108
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
94
109
  DeleteUseCaseRequest = Shapes::StructureShape.new(name: 'DeleteUseCaseRequest')
95
110
  DeleteUserHierarchyGroupRequest = Shapes::StructureShape.new(name: 'DeleteUserHierarchyGroupRequest')
96
111
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
112
+ DescribeAgentStatusRequest = Shapes::StructureShape.new(name: 'DescribeAgentStatusRequest')
113
+ DescribeAgentStatusResponse = Shapes::StructureShape.new(name: 'DescribeAgentStatusResponse')
97
114
  DescribeContactFlowRequest = Shapes::StructureShape.new(name: 'DescribeContactFlowRequest')
98
115
  DescribeContactFlowResponse = Shapes::StructureShape.new(name: 'DescribeContactFlowResponse')
99
116
  DescribeHoursOfOperationRequest = Shapes::StructureShape.new(name: 'DescribeHoursOfOperationRequest')
@@ -174,6 +191,7 @@ module Aws::Connect
174
191
  HoursOfOperationConfig = Shapes::StructureShape.new(name: 'HoursOfOperationConfig')
175
192
  HoursOfOperationConfigList = Shapes::ListShape.new(name: 'HoursOfOperationConfigList')
176
193
  HoursOfOperationDays = Shapes::StringShape.new(name: 'HoursOfOperationDays')
194
+ HoursOfOperationDescription = Shapes::StringShape.new(name: 'HoursOfOperationDescription')
177
195
  HoursOfOperationId = Shapes::StringShape.new(name: 'HoursOfOperationId')
178
196
  HoursOfOperationName = Shapes::StringShape.new(name: 'HoursOfOperationName')
179
197
  HoursOfOperationSummary = Shapes::StructureShape.new(name: 'HoursOfOperationSummary')
@@ -211,6 +229,8 @@ module Aws::Connect
211
229
  LexV2Bot = Shapes::StructureShape.new(name: 'LexV2Bot')
212
230
  LexVersion = Shapes::StringShape.new(name: 'LexVersion')
213
231
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
232
+ ListAgentStatusRequest = Shapes::StructureShape.new(name: 'ListAgentStatusRequest')
233
+ ListAgentStatusResponse = Shapes::StructureShape.new(name: 'ListAgentStatusResponse')
214
234
  ListApprovedOriginsRequest = Shapes::StructureShape.new(name: 'ListApprovedOriginsRequest')
215
235
  ListApprovedOriginsResponse = Shapes::StructureShape.new(name: 'ListApprovedOriginsResponse')
216
236
  ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
@@ -386,10 +406,14 @@ module Aws::Connect
386
406
  URI = Shapes::StringShape.new(name: 'URI')
387
407
  Unit = Shapes::StringShape.new(name: 'Unit')
388
408
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
409
+ UpdateAgentStatusDescription = Shapes::StringShape.new(name: 'UpdateAgentStatusDescription')
410
+ UpdateAgentStatusRequest = Shapes::StructureShape.new(name: 'UpdateAgentStatusRequest')
389
411
  UpdateContactAttributesRequest = Shapes::StructureShape.new(name: 'UpdateContactAttributesRequest')
390
412
  UpdateContactAttributesResponse = Shapes::StructureShape.new(name: 'UpdateContactAttributesResponse')
391
413
  UpdateContactFlowContentRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowContentRequest')
392
414
  UpdateContactFlowNameRequest = Shapes::StructureShape.new(name: 'UpdateContactFlowNameRequest')
415
+ UpdateHoursOfOperationDescription = Shapes::StringShape.new(name: 'UpdateHoursOfOperationDescription')
416
+ UpdateHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateHoursOfOperationRequest')
393
417
  UpdateInstanceAttributeRequest = Shapes::StructureShape.new(name: 'UpdateInstanceAttributeRequest')
394
418
  UpdateInstanceStorageConfigRequest = Shapes::StructureShape.new(name: 'UpdateInstanceStorageConfigRequest')
395
419
  UpdateQueueHoursOfOperationRequest = Shapes::StructureShape.new(name: 'UpdateQueueHoursOfOperationRequest')
@@ -428,6 +452,26 @@ module Aws::Connect
428
452
  VoiceRecordingTrack = Shapes::StringShape.new(name: 'VoiceRecordingTrack')
429
453
  timestamp = Shapes::TimestampShape.new(name: 'timestamp')
430
454
 
455
+ AgentStatus.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
456
+ AgentStatus.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
457
+ AgentStatus.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
458
+ AgentStatus.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
459
+ AgentStatus.add_member(:type, Shapes::ShapeRef.new(shape: AgentStatusType, location_name: "Type"))
460
+ AgentStatus.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder"))
461
+ AgentStatus.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, location_name: "State"))
462
+ AgentStatus.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
463
+ AgentStatus.struct_class = Types::AgentStatus
464
+
465
+ AgentStatusSummary.add_member(:id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "Id"))
466
+ AgentStatusSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, location_name: "Arn"))
467
+ AgentStatusSummary.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
468
+ AgentStatusSummary.add_member(:type, Shapes::ShapeRef.new(shape: AgentStatusType, location_name: "Type"))
469
+ AgentStatusSummary.struct_class = Types::AgentStatusSummary
470
+
471
+ AgentStatusSummaryList.member = Shapes::ShapeRef.new(shape: AgentStatusSummary)
472
+
473
+ AgentStatusTypes.member = Shapes::ShapeRef.new(shape: AgentStatusType)
474
+
431
475
  AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
432
476
  AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
433
477
  AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
@@ -513,6 +557,18 @@ module Aws::Connect
513
557
  ContactReferences.key = Shapes::ShapeRef.new(shape: ReferenceKey)
514
558
  ContactReferences.value = Shapes::ShapeRef.new(shape: Reference)
515
559
 
560
+ CreateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
561
+ CreateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, required: true, location_name: "Name"))
562
+ CreateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: AgentStatusDescription, location_name: "Description"))
563
+ CreateAgentStatusRequest.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, required: true, location_name: "State"))
564
+ CreateAgentStatusRequest.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder", metadata: {"box"=>true}))
565
+ CreateAgentStatusRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
566
+ CreateAgentStatusRequest.struct_class = Types::CreateAgentStatusRequest
567
+
568
+ CreateAgentStatusResponse.add_member(:agent_status_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "AgentStatusARN"))
569
+ CreateAgentStatusResponse.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, location_name: "AgentStatusId"))
570
+ CreateAgentStatusResponse.struct_class = Types::CreateAgentStatusResponse
571
+
516
572
  CreateContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
517
573
  CreateContactFlowRequest.add_member(:name, Shapes::ShapeRef.new(shape: ContactFlowName, required: true, location_name: "Name"))
518
574
  CreateContactFlowRequest.add_member(:type, Shapes::ShapeRef.new(shape: ContactFlowType, required: true, location_name: "Type"))
@@ -525,6 +581,18 @@ module Aws::Connect
525
581
  CreateContactFlowResponse.add_member(:contact_flow_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactFlowArn"))
526
582
  CreateContactFlowResponse.struct_class = Types::CreateContactFlowResponse
527
583
 
584
+ CreateHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
585
+ CreateHoursOfOperationRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, required: true, location_name: "Name"))
586
+ CreateHoursOfOperationRequest.add_member(:description, Shapes::ShapeRef.new(shape: HoursOfOperationDescription, location_name: "Description"))
587
+ CreateHoursOfOperationRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, required: true, location_name: "TimeZone"))
588
+ CreateHoursOfOperationRequest.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, required: true, location_name: "Config"))
589
+ CreateHoursOfOperationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
590
+ CreateHoursOfOperationRequest.struct_class = Types::CreateHoursOfOperationRequest
591
+
592
+ CreateHoursOfOperationResponse.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, location_name: "HoursOfOperationId"))
593
+ CreateHoursOfOperationResponse.add_member(:hours_of_operation_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HoursOfOperationArn"))
594
+ CreateHoursOfOperationResponse.struct_class = Types::CreateHoursOfOperationResponse
595
+
528
596
  CreateInstanceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
529
597
  CreateInstanceRequest.add_member(:identity_management_type, Shapes::ShapeRef.new(shape: DirectoryType, required: true, location_name: "IdentityManagementType"))
530
598
  CreateInstanceRequest.add_member(:instance_alias, Shapes::ShapeRef.new(shape: DirectoryAlias, location_name: "InstanceAlias"))
@@ -647,6 +715,10 @@ module Aws::Connect
647
715
 
648
716
  CurrentMetrics.member = Shapes::ShapeRef.new(shape: CurrentMetric)
649
717
 
718
+ DeleteHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
719
+ DeleteHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
720
+ DeleteHoursOfOperationRequest.struct_class = Types::DeleteHoursOfOperationRequest
721
+
650
722
  DeleteInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
651
723
  DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
652
724
 
@@ -671,6 +743,13 @@ module Aws::Connect
671
743
  DeleteUserRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, required: true, location: "uri", location_name: "UserId"))
672
744
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
673
745
 
746
+ DescribeAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
747
+ DescribeAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
748
+ DescribeAgentStatusRequest.struct_class = Types::DescribeAgentStatusRequest
749
+
750
+ DescribeAgentStatusResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "AgentStatus"))
751
+ DescribeAgentStatusResponse.struct_class = Types::DescribeAgentStatusResponse
752
+
674
753
  DescribeContactFlowRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
675
754
  DescribeContactFlowRequest.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location: "uri", location_name: "ContactFlowId"))
676
755
  DescribeContactFlowRequest.struct_class = Types::DescribeContactFlowRequest
@@ -912,15 +991,15 @@ module Aws::Connect
912
991
  HoursOfOperation.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, location_name: "HoursOfOperationId"))
913
992
  HoursOfOperation.add_member(:hours_of_operation_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "HoursOfOperationArn"))
914
993
  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"))
994
+ HoursOfOperation.add_member(:description, Shapes::ShapeRef.new(shape: HoursOfOperationDescription, location_name: "Description"))
916
995
  HoursOfOperation.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
917
996
  HoursOfOperation.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, location_name: "Config"))
918
997
  HoursOfOperation.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
919
998
  HoursOfOperation.struct_class = Types::HoursOfOperation
920
999
 
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"))
1000
+ HoursOfOperationConfig.add_member(:day, Shapes::ShapeRef.new(shape: HoursOfOperationDays, required: true, location_name: "Day"))
1001
+ HoursOfOperationConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, required: true, location_name: "StartTime"))
1002
+ HoursOfOperationConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: HoursOfOperationTimeSlice, required: true, location_name: "EndTime"))
924
1003
  HoursOfOperationConfig.struct_class = Types::HoursOfOperationConfig
925
1004
 
926
1005
  HoursOfOperationConfigList.member = Shapes::ShapeRef.new(shape: HoursOfOperationConfig)
@@ -932,8 +1011,8 @@ module Aws::Connect
932
1011
 
933
1012
  HoursOfOperationSummaryList.member = Shapes::ShapeRef.new(shape: HoursOfOperationSummary)
934
1013
 
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"))
1014
+ HoursOfOperationTimeSlice.add_member(:hours, Shapes::ShapeRef.new(shape: Hours24Format, required: true, location_name: "Hours", metadata: {"box"=>true}))
1015
+ HoursOfOperationTimeSlice.add_member(:minutes, Shapes::ShapeRef.new(shape: MinutesLimit60, required: true, location_name: "Minutes", metadata: {"box"=>true}))
937
1016
  HoursOfOperationTimeSlice.struct_class = Types::HoursOfOperationTimeSlice
938
1017
 
939
1018
  Instance.add_member(:id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "Id"))
@@ -1027,6 +1106,16 @@ module Aws::Connect
1027
1106
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1028
1107
  LimitExceededException.struct_class = Types::LimitExceededException
1029
1108
 
1109
+ ListAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1110
+ ListAgentStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1111
+ ListAgentStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult1000, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
1112
+ ListAgentStatusRequest.add_member(:agent_status_types, Shapes::ShapeRef.new(shape: AgentStatusTypes, location: "querystring", location_name: "AgentStatusTypes"))
1113
+ ListAgentStatusRequest.struct_class = Types::ListAgentStatusRequest
1114
+
1115
+ ListAgentStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1116
+ ListAgentStatusResponse.add_member(:agent_status_summary_list, Shapes::ShapeRef.new(shape: AgentStatusSummaryList, location_name: "AgentStatusSummaryList"))
1117
+ ListAgentStatusResponse.struct_class = Types::ListAgentStatusResponse
1118
+
1030
1119
  ListApprovedOriginsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1031
1120
  ListApprovedOriginsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1032
1121
  ListApprovedOriginsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult25, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -1516,6 +1605,15 @@ module Aws::Connect
1516
1605
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1517
1606
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
1518
1607
 
1608
+ UpdateAgentStatusRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1609
+ UpdateAgentStatusRequest.add_member(:agent_status_id, Shapes::ShapeRef.new(shape: AgentStatusId, required: true, location: "uri", location_name: "AgentStatusId"))
1610
+ UpdateAgentStatusRequest.add_member(:name, Shapes::ShapeRef.new(shape: AgentStatusName, location_name: "Name"))
1611
+ UpdateAgentStatusRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateAgentStatusDescription, location_name: "Description"))
1612
+ UpdateAgentStatusRequest.add_member(:state, Shapes::ShapeRef.new(shape: AgentStatusState, location_name: "State"))
1613
+ UpdateAgentStatusRequest.add_member(:display_order, Shapes::ShapeRef.new(shape: AgentStatusOrderNumber, location_name: "DisplayOrder", metadata: {"box"=>true}))
1614
+ UpdateAgentStatusRequest.add_member(:reset_order_number, Shapes::ShapeRef.new(shape: Boolean, location_name: "ResetOrderNumber"))
1615
+ UpdateAgentStatusRequest.struct_class = Types::UpdateAgentStatusRequest
1616
+
1519
1617
  UpdateContactAttributesRequest.add_member(:initial_contact_id, Shapes::ShapeRef.new(shape: ContactId, required: true, location_name: "InitialContactId"))
1520
1618
  UpdateContactAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
1521
1619
  UpdateContactAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "Attributes"))
@@ -1534,6 +1632,14 @@ module Aws::Connect
1534
1632
  UpdateContactFlowNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: ContactFlowDescription, location_name: "Description"))
1535
1633
  UpdateContactFlowNameRequest.struct_class = Types::UpdateContactFlowNameRequest
1536
1634
 
1635
+ UpdateHoursOfOperationRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1636
+ UpdateHoursOfOperationRequest.add_member(:hours_of_operation_id, Shapes::ShapeRef.new(shape: HoursOfOperationId, required: true, location: "uri", location_name: "HoursOfOperationId"))
1637
+ UpdateHoursOfOperationRequest.add_member(:name, Shapes::ShapeRef.new(shape: CommonNameLength127, location_name: "Name"))
1638
+ UpdateHoursOfOperationRequest.add_member(:description, Shapes::ShapeRef.new(shape: UpdateHoursOfOperationDescription, location_name: "Description"))
1639
+ UpdateHoursOfOperationRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
1640
+ UpdateHoursOfOperationRequest.add_member(:config, Shapes::ShapeRef.new(shape: HoursOfOperationConfigList, location_name: "Config"))
1641
+ UpdateHoursOfOperationRequest.struct_class = Types::UpdateHoursOfOperationRequest
1642
+
1537
1643
  UpdateInstanceAttributeRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1538
1644
  UpdateInstanceAttributeRequest.add_member(:attribute_type, Shapes::ShapeRef.new(shape: InstanceAttributeType, required: true, location: "uri", location_name: "AttributeType"))
1539
1645
  UpdateInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: InstanceAttributeValue, required: true, location_name: "Value"))
@@ -1819,6 +1925,21 @@ module Aws::Connect
1819
1925
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1820
1926
  end)
1821
1927
 
1928
+ api.add_operation(:create_agent_status, Seahorse::Model::Operation.new.tap do |o|
1929
+ o.name = "CreateAgentStatus"
1930
+ o.http_method = "PUT"
1931
+ o.http_request_uri = "/agent-status/{InstanceId}"
1932
+ o.input = Shapes::ShapeRef.new(shape: CreateAgentStatusRequest)
1933
+ o.output = Shapes::ShapeRef.new(shape: CreateAgentStatusResponse)
1934
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1936
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1937
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1938
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1939
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1940
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1941
+ end)
1942
+
1822
1943
  api.add_operation(:create_contact_flow, Seahorse::Model::Operation.new.tap do |o|
1823
1944
  o.name = "CreateContactFlow"
1824
1945
  o.http_method = "PUT"
@@ -1835,6 +1956,21 @@ module Aws::Connect
1835
1956
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1836
1957
  end)
1837
1958
 
1959
+ api.add_operation(:create_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
1960
+ o.name = "CreateHoursOfOperation"
1961
+ o.http_method = "PUT"
1962
+ o.http_request_uri = "/hours-of-operations/{InstanceId}"
1963
+ o.input = Shapes::ShapeRef.new(shape: CreateHoursOfOperationRequest)
1964
+ o.output = Shapes::ShapeRef.new(shape: CreateHoursOfOperationResponse)
1965
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1966
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1967
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1968
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1969
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1970
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1972
+ end)
1973
+
1838
1974
  api.add_operation(:create_instance, Seahorse::Model::Operation.new.tap do |o|
1839
1975
  o.name = "CreateInstance"
1840
1976
  o.http_method = "PUT"
@@ -1949,6 +2085,19 @@ module Aws::Connect
1949
2085
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1950
2086
  end)
1951
2087
 
2088
+ api.add_operation(:delete_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
2089
+ o.name = "DeleteHoursOfOperation"
2090
+ o.http_method = "DELETE"
2091
+ o.http_request_uri = "/hours-of-operations/{InstanceId}/{HoursOfOperationId}"
2092
+ o.input = Shapes::ShapeRef.new(shape: DeleteHoursOfOperationRequest)
2093
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2095
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2096
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2097
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2098
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2099
+ end)
2100
+
1952
2101
  api.add_operation(:delete_instance, Seahorse::Model::Operation.new.tap do |o|
1953
2102
  o.name = "DeleteInstance"
1954
2103
  o.http_method = "DELETE"
@@ -2024,6 +2173,19 @@ module Aws::Connect
2024
2173
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2025
2174
  end)
2026
2175
 
2176
+ api.add_operation(:describe_agent_status, Seahorse::Model::Operation.new.tap do |o|
2177
+ o.name = "DescribeAgentStatus"
2178
+ o.http_method = "GET"
2179
+ o.http_request_uri = "/agent-status/{InstanceId}/{AgentStatusId}"
2180
+ o.input = Shapes::ShapeRef.new(shape: DescribeAgentStatusRequest)
2181
+ o.output = Shapes::ShapeRef.new(shape: DescribeAgentStatusResponse)
2182
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2183
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2184
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2185
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2186
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2187
+ end)
2188
+
2027
2189
  api.add_operation(:describe_contact_flow, Seahorse::Model::Operation.new.tap do |o|
2028
2190
  o.name = "DescribeContactFlow"
2029
2191
  o.http_method = "GET"
@@ -2332,6 +2494,25 @@ module Aws::Connect
2332
2494
  )
2333
2495
  end)
2334
2496
 
2497
+ api.add_operation(:list_agent_statuses, Seahorse::Model::Operation.new.tap do |o|
2498
+ o.name = "ListAgentStatuses"
2499
+ o.http_method = "GET"
2500
+ o.http_request_uri = "/agent-status/{InstanceId}"
2501
+ o.input = Shapes::ShapeRef.new(shape: ListAgentStatusRequest)
2502
+ o.output = Shapes::ShapeRef.new(shape: ListAgentStatusResponse)
2503
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2504
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2505
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2506
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2507
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2508
+ o[:pager] = Aws::Pager.new(
2509
+ limit_key: "max_results",
2510
+ tokens: {
2511
+ "next_token" => "next_token"
2512
+ }
2513
+ )
2514
+ end)
2515
+
2335
2516
  api.add_operation(:list_approved_origins, Seahorse::Model::Operation.new.tap do |o|
2336
2517
  o.name = "ListApprovedOrigins"
2337
2518
  o.http_method = "GET"
@@ -2883,6 +3064,21 @@ module Aws::Connect
2883
3064
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2884
3065
  end)
2885
3066
 
3067
+ api.add_operation(:update_agent_status, Seahorse::Model::Operation.new.tap do |o|
3068
+ o.name = "UpdateAgentStatus"
3069
+ o.http_method = "POST"
3070
+ o.http_request_uri = "/agent-status/{InstanceId}/{AgentStatusId}"
3071
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentStatusRequest)
3072
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3074
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3075
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3076
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3077
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3078
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3079
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3080
+ end)
3081
+
2886
3082
  api.add_operation(:update_contact_attributes, Seahorse::Model::Operation.new.tap do |o|
2887
3083
  o.name = "UpdateContactAttributes"
2888
3084
  o.http_method = "POST"
@@ -2923,6 +3119,20 @@ module Aws::Connect
2923
3119
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2924
3120
  end)
2925
3121
 
3122
+ api.add_operation(:update_hours_of_operation, Seahorse::Model::Operation.new.tap do |o|
3123
+ o.name = "UpdateHoursOfOperation"
3124
+ o.http_method = "POST"
3125
+ o.http_request_uri = "/hours-of-operations/{InstanceId}/{HoursOfOperationId}"
3126
+ o.input = Shapes::ShapeRef.new(shape: UpdateHoursOfOperationRequest)
3127
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3128
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
3129
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3130
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
3131
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3132
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3133
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3134
+ end)
3135
+
2926
3136
  api.add_operation(:update_instance_attribute, Seahorse::Model::Operation.new.tap do |o|
2927
3137
  o.name = "UpdateInstanceAttribute"
2928
3138
  o.http_method = "POST"
@@ -10,6 +10,84 @@
10
10
  module Aws::Connect
11
11
  module Types
12
12
 
13
+ # Contains information about an agent status.
14
+ #
15
+ # @!attribute [rw] agent_status_arn
16
+ # The Amazon Resource Name (ARN) of the agent status.
17
+ # @return [String]
18
+ #
19
+ # @!attribute [rw] agent_status_id
20
+ # The identifier of the agent status.
21
+ # @return [String]
22
+ #
23
+ # @!attribute [rw] name
24
+ # The name of the agent status.
25
+ # @return [String]
26
+ #
27
+ # @!attribute [rw] description
28
+ # The description of the agent status.
29
+ # @return [String]
30
+ #
31
+ # @!attribute [rw] type
32
+ # The type of agent status.
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] display_order
36
+ # The display order of the agent status.
37
+ # @return [Integer]
38
+ #
39
+ # @!attribute [rw] state
40
+ # The state of the agent status.
41
+ # @return [String]
42
+ #
43
+ # @!attribute [rw] tags
44
+ # One or more tags.
45
+ # @return [Hash<String,String>]
46
+ #
47
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentStatus AWS API Documentation
48
+ #
49
+ class AgentStatus < Struct.new(
50
+ :agent_status_arn,
51
+ :agent_status_id,
52
+ :name,
53
+ :description,
54
+ :type,
55
+ :display_order,
56
+ :state,
57
+ :tags)
58
+ SENSITIVE = []
59
+ include Aws::Structure
60
+ end
61
+
62
+ # Summary information for an agent status.
63
+ #
64
+ # @!attribute [rw] id
65
+ # The identifier for an agent status.
66
+ # @return [String]
67
+ #
68
+ # @!attribute [rw] arn
69
+ # The Amazon Resource Name (ARN) for the agent status.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] name
73
+ # The name of the agent status.
74
+ # @return [String]
75
+ #
76
+ # @!attribute [rw] type
77
+ # The type of the agent status.
78
+ # @return [String]
79
+ #
80
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AgentStatusSummary AWS API Documentation
81
+ #
82
+ class AgentStatusSummary < Struct.new(
83
+ :id,
84
+ :arn,
85
+ :name,
86
+ :type)
87
+ SENSITIVE = []
88
+ include Aws::Structure
89
+ end
90
+
13
91
  # @note When making an API call, you may pass AssociateApprovedOriginRequest
14
92
  # data as a hash:
15
93
  #
@@ -470,6 +548,75 @@ module Aws::Connect
470
548
  include Aws::Structure
471
549
  end
472
550
 
551
+ # @note When making an API call, you may pass CreateAgentStatusRequest
552
+ # data as a hash:
553
+ #
554
+ # {
555
+ # instance_id: "InstanceId", # required
556
+ # name: "AgentStatusName", # required
557
+ # description: "AgentStatusDescription",
558
+ # state: "ENABLED", # required, accepts ENABLED, DISABLED
559
+ # display_order: 1,
560
+ # tags: {
561
+ # "TagKey" => "TagValue",
562
+ # },
563
+ # }
564
+ #
565
+ # @!attribute [rw] instance_id
566
+ # The identifier of the Amazon Connect instance. You can find the
567
+ # instanceId in the ARN of the instance.
568
+ # @return [String]
569
+ #
570
+ # @!attribute [rw] name
571
+ # The name of the status.
572
+ # @return [String]
573
+ #
574
+ # @!attribute [rw] description
575
+ # The description of the status.
576
+ # @return [String]
577
+ #
578
+ # @!attribute [rw] state
579
+ # The state of the status.
580
+ # @return [String]
581
+ #
582
+ # @!attribute [rw] display_order
583
+ # The display order of the status.
584
+ # @return [Integer]
585
+ #
586
+ # @!attribute [rw] tags
587
+ # One or more tags.
588
+ # @return [Hash<String,String>]
589
+ #
590
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAgentStatusRequest AWS API Documentation
591
+ #
592
+ class CreateAgentStatusRequest < Struct.new(
593
+ :instance_id,
594
+ :name,
595
+ :description,
596
+ :state,
597
+ :display_order,
598
+ :tags)
599
+ SENSITIVE = []
600
+ include Aws::Structure
601
+ end
602
+
603
+ # @!attribute [rw] agent_status_arn
604
+ # The Amazon Resource Name (ARN) of the agent status.
605
+ # @return [String]
606
+ #
607
+ # @!attribute [rw] agent_status_id
608
+ # The identifier of the agent status.
609
+ # @return [String]
610
+ #
611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAgentStatusResponse AWS API Documentation
612
+ #
613
+ class CreateAgentStatusResponse < Struct.new(
614
+ :agent_status_arn,
615
+ :agent_status_id)
616
+ SENSITIVE = []
617
+ include Aws::Structure
618
+ end
619
+
473
620
  # @note When making an API call, you may pass CreateContactFlowRequest
474
621
  # data as a hash:
475
622
  #
@@ -544,6 +691,88 @@ module Aws::Connect
544
691
  include Aws::Structure
545
692
  end
546
693
 
694
+ # @note When making an API call, you may pass CreateHoursOfOperationRequest
695
+ # data as a hash:
696
+ #
697
+ # {
698
+ # instance_id: "InstanceId", # required
699
+ # name: "CommonNameLength127", # required
700
+ # description: "HoursOfOperationDescription",
701
+ # time_zone: "TimeZone", # required
702
+ # config: [ # required
703
+ # {
704
+ # day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
705
+ # start_time: { # required
706
+ # hours: 1, # required
707
+ # minutes: 1, # required
708
+ # },
709
+ # end_time: { # required
710
+ # hours: 1, # required
711
+ # minutes: 1, # required
712
+ # },
713
+ # },
714
+ # ],
715
+ # tags: {
716
+ # "TagKey" => "TagValue",
717
+ # },
718
+ # }
719
+ #
720
+ # @!attribute [rw] instance_id
721
+ # The identifier of the Amazon Connect instance. You can find the
722
+ # instanceId in the ARN of the instance.
723
+ # @return [String]
724
+ #
725
+ # @!attribute [rw] name
726
+ # The name of the hours of operation.
727
+ # @return [String]
728
+ #
729
+ # @!attribute [rw] description
730
+ # The description of the hours of operation.
731
+ # @return [String]
732
+ #
733
+ # @!attribute [rw] time_zone
734
+ # The time zone of the hours of operation.
735
+ # @return [String]
736
+ #
737
+ # @!attribute [rw] config
738
+ # Configuration information for the hours of operation: day, start
739
+ # time, and end time.
740
+ # @return [Array<Types::HoursOfOperationConfig>]
741
+ #
742
+ # @!attribute [rw] tags
743
+ # One or more tags.
744
+ # @return [Hash<String,String>]
745
+ #
746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperationRequest AWS API Documentation
747
+ #
748
+ class CreateHoursOfOperationRequest < Struct.new(
749
+ :instance_id,
750
+ :name,
751
+ :description,
752
+ :time_zone,
753
+ :config,
754
+ :tags)
755
+ SENSITIVE = []
756
+ include Aws::Structure
757
+ end
758
+
759
+ # @!attribute [rw] hours_of_operation_id
760
+ # The identifier for the hours of operation.
761
+ # @return [String]
762
+ #
763
+ # @!attribute [rw] hours_of_operation_arn
764
+ # The Amazon Resource Name (ARN) for the hours of operation.
765
+ # @return [String]
766
+ #
767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperationResponse AWS API Documentation
768
+ #
769
+ class CreateHoursOfOperationResponse < Struct.new(
770
+ :hours_of_operation_id,
771
+ :hours_of_operation_arn)
772
+ SENSITIVE = []
773
+ include Aws::Structure
774
+ end
775
+
547
776
  # @note When making an API call, you may pass CreateInstanceRequest
548
777
  # data as a hash:
549
778
  #
@@ -1271,6 +1500,32 @@ module Aws::Connect
1271
1500
  include Aws::Structure
1272
1501
  end
1273
1502
 
1503
+ # @note When making an API call, you may pass DeleteHoursOfOperationRequest
1504
+ # data as a hash:
1505
+ #
1506
+ # {
1507
+ # instance_id: "InstanceId", # required
1508
+ # hours_of_operation_id: "HoursOfOperationId", # required
1509
+ # }
1510
+ #
1511
+ # @!attribute [rw] instance_id
1512
+ # The identifier of the Amazon Connect instance. You can find the
1513
+ # instanceId in the ARN of the instance.
1514
+ # @return [String]
1515
+ #
1516
+ # @!attribute [rw] hours_of_operation_id
1517
+ # The identifier for the hours of operation.
1518
+ # @return [String]
1519
+ #
1520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperationRequest AWS API Documentation
1521
+ #
1522
+ class DeleteHoursOfOperationRequest < Struct.new(
1523
+ :instance_id,
1524
+ :hours_of_operation_id)
1525
+ SENSITIVE = []
1526
+ include Aws::Structure
1527
+ end
1528
+
1274
1529
  # @note When making an API call, you may pass DeleteInstanceRequest
1275
1530
  # data as a hash:
1276
1531
  #
@@ -1427,6 +1682,44 @@ module Aws::Connect
1427
1682
  include Aws::Structure
1428
1683
  end
1429
1684
 
1685
+ # @note When making an API call, you may pass DescribeAgentStatusRequest
1686
+ # data as a hash:
1687
+ #
1688
+ # {
1689
+ # instance_id: "InstanceId", # required
1690
+ # agent_status_id: "AgentStatusId", # required
1691
+ # }
1692
+ #
1693
+ # @!attribute [rw] instance_id
1694
+ # The identifier of the Amazon Connect instance. You can find the
1695
+ # instanceId in the ARN of the instance.
1696
+ # @return [String]
1697
+ #
1698
+ # @!attribute [rw] agent_status_id
1699
+ # The identifier for the agent status.
1700
+ # @return [String]
1701
+ #
1702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatusRequest AWS API Documentation
1703
+ #
1704
+ class DescribeAgentStatusRequest < Struct.new(
1705
+ :instance_id,
1706
+ :agent_status_id)
1707
+ SENSITIVE = []
1708
+ include Aws::Structure
1709
+ end
1710
+
1711
+ # @!attribute [rw] agent_status
1712
+ # The agent status.
1713
+ # @return [Types::AgentStatus]
1714
+ #
1715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatusResponse AWS API Documentation
1716
+ #
1717
+ class DescribeAgentStatusResponse < Struct.new(
1718
+ :agent_status)
1719
+ SENSITIVE = []
1720
+ include Aws::Structure
1721
+ end
1722
+
1430
1723
  # @note When making an API call, you may pass DescribeContactFlowRequest
1431
1724
  # data as a hash:
1432
1725
  #
@@ -3125,6 +3418,21 @@ module Aws::Connect
3125
3418
 
3126
3419
  # Contains information about the hours of operation.
3127
3420
  #
3421
+ # @note When making an API call, you may pass HoursOfOperationConfig
3422
+ # data as a hash:
3423
+ #
3424
+ # {
3425
+ # day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
3426
+ # start_time: { # required
3427
+ # hours: 1, # required
3428
+ # minutes: 1, # required
3429
+ # },
3430
+ # end_time: { # required
3431
+ # hours: 1, # required
3432
+ # minutes: 1, # required
3433
+ # },
3434
+ # }
3435
+ #
3128
3436
  # @!attribute [rw] day
3129
3437
  # The day that the hours of operation applies to.
3130
3438
  # @return [String]
@@ -3174,6 +3482,14 @@ module Aws::Connect
3174
3482
 
3175
3483
  # The start time or end time for an hours of operation.
3176
3484
  #
3485
+ # @note When making an API call, you may pass HoursOfOperationTimeSlice
3486
+ # data as a hash:
3487
+ #
3488
+ # {
3489
+ # hours: 1, # required
3490
+ # minutes: 1, # required
3491
+ # }
3492
+ #
3177
3493
  # @!attribute [rw] hours
3178
3494
  # The hours.
3179
3495
  # @return [Integer]
@@ -3660,6 +3976,64 @@ module Aws::Connect
3660
3976
  include Aws::Structure
3661
3977
  end
3662
3978
 
3979
+ # @note When making an API call, you may pass ListAgentStatusRequest
3980
+ # data as a hash:
3981
+ #
3982
+ # {
3983
+ # instance_id: "InstanceId", # required
3984
+ # next_token: "NextToken",
3985
+ # max_results: 1,
3986
+ # agent_status_types: ["ROUTABLE"], # accepts ROUTABLE, CUSTOM, OFFLINE
3987
+ # }
3988
+ #
3989
+ # @!attribute [rw] instance_id
3990
+ # The identifier of the Amazon Connect instance. You can find the
3991
+ # instanceId in the ARN of the instance.
3992
+ # @return [String]
3993
+ #
3994
+ # @!attribute [rw] next_token
3995
+ # The token for the next set of results. Use the value returned in the
3996
+ # previous response in the next request to retrieve the next set of
3997
+ # results.
3998
+ # @return [String]
3999
+ #
4000
+ # @!attribute [rw] max_results
4001
+ # The maximum number of results to return per page.
4002
+ # @return [Integer]
4003
+ #
4004
+ # @!attribute [rw] agent_status_types
4005
+ # Available agent status types.
4006
+ # @return [Array<String>]
4007
+ #
4008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatusRequest AWS API Documentation
4009
+ #
4010
+ class ListAgentStatusRequest < Struct.new(
4011
+ :instance_id,
4012
+ :next_token,
4013
+ :max_results,
4014
+ :agent_status_types)
4015
+ SENSITIVE = []
4016
+ include Aws::Structure
4017
+ end
4018
+
4019
+ # @!attribute [rw] next_token
4020
+ # If there are additional results, this is the token for the next set
4021
+ # of results.
4022
+ # @return [String]
4023
+ #
4024
+ # @!attribute [rw] agent_status_summary_list
4025
+ # A summary of agent statuses.
4026
+ # @return [Array<Types::AgentStatusSummary>]
4027
+ #
4028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatusResponse AWS API Documentation
4029
+ #
4030
+ class ListAgentStatusResponse < Struct.new(
4031
+ :next_token,
4032
+ :agent_status_summary_list)
4033
+ SENSITIVE = []
4034
+ include Aws::Structure
4035
+ end
4036
+
3663
4037
  # @note When making an API call, you may pass ListApprovedOriginsRequest
3664
4038
  # data as a hash:
3665
4039
  #
@@ -6309,6 +6683,62 @@ module Aws::Connect
6309
6683
  include Aws::Structure
6310
6684
  end
6311
6685
 
6686
+ # @note When making an API call, you may pass UpdateAgentStatusRequest
6687
+ # data as a hash:
6688
+ #
6689
+ # {
6690
+ # instance_id: "InstanceId", # required
6691
+ # agent_status_id: "AgentStatusId", # required
6692
+ # name: "AgentStatusName",
6693
+ # description: "UpdateAgentStatusDescription",
6694
+ # state: "ENABLED", # accepts ENABLED, DISABLED
6695
+ # display_order: 1,
6696
+ # reset_order_number: false,
6697
+ # }
6698
+ #
6699
+ # @!attribute [rw] instance_id
6700
+ # The identifier of the Amazon Connect instance. You can find the
6701
+ # instanceId in the ARN of the instance.
6702
+ # @return [String]
6703
+ #
6704
+ # @!attribute [rw] agent_status_id
6705
+ # The identifier of the agent status.
6706
+ # @return [String]
6707
+ #
6708
+ # @!attribute [rw] name
6709
+ # The name of the agent status.
6710
+ # @return [String]
6711
+ #
6712
+ # @!attribute [rw] description
6713
+ # The description of the agent status.
6714
+ # @return [String]
6715
+ #
6716
+ # @!attribute [rw] state
6717
+ # The state of the agent status.
6718
+ # @return [String]
6719
+ #
6720
+ # @!attribute [rw] display_order
6721
+ # The display order of the agent status.
6722
+ # @return [Integer]
6723
+ #
6724
+ # @!attribute [rw] reset_order_number
6725
+ # A number indicating the reset order of the agent status.
6726
+ # @return [Boolean]
6727
+ #
6728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAgentStatusRequest AWS API Documentation
6729
+ #
6730
+ class UpdateAgentStatusRequest < Struct.new(
6731
+ :instance_id,
6732
+ :agent_status_id,
6733
+ :name,
6734
+ :description,
6735
+ :state,
6736
+ :display_order,
6737
+ :reset_order_number)
6738
+ SENSITIVE = []
6739
+ include Aws::Structure
6740
+ end
6741
+
6312
6742
  # @note When making an API call, you may pass UpdateContactAttributesRequest
6313
6743
  # data as a hash:
6314
6744
  #
@@ -6427,6 +6857,68 @@ module Aws::Connect
6427
6857
  include Aws::Structure
6428
6858
  end
6429
6859
 
6860
+ # @note When making an API call, you may pass UpdateHoursOfOperationRequest
6861
+ # data as a hash:
6862
+ #
6863
+ # {
6864
+ # instance_id: "InstanceId", # required
6865
+ # hours_of_operation_id: "HoursOfOperationId", # required
6866
+ # name: "CommonNameLength127",
6867
+ # description: "UpdateHoursOfOperationDescription",
6868
+ # time_zone: "TimeZone",
6869
+ # config: [
6870
+ # {
6871
+ # day: "SUNDAY", # required, accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
6872
+ # start_time: { # required
6873
+ # hours: 1, # required
6874
+ # minutes: 1, # required
6875
+ # },
6876
+ # end_time: { # required
6877
+ # hours: 1, # required
6878
+ # minutes: 1, # required
6879
+ # },
6880
+ # },
6881
+ # ],
6882
+ # }
6883
+ #
6884
+ # @!attribute [rw] instance_id
6885
+ # The identifier of the Amazon Connect instance. You can find the
6886
+ # instanceId in the ARN of the instance.
6887
+ # @return [String]
6888
+ #
6889
+ # @!attribute [rw] hours_of_operation_id
6890
+ # The identifier of the hours of operation.
6891
+ # @return [String]
6892
+ #
6893
+ # @!attribute [rw] name
6894
+ # The name of the hours of operation.
6895
+ # @return [String]
6896
+ #
6897
+ # @!attribute [rw] description
6898
+ # The description of the hours of operation.
6899
+ # @return [String]
6900
+ #
6901
+ # @!attribute [rw] time_zone
6902
+ # The time zone of the hours of operation.
6903
+ # @return [String]
6904
+ #
6905
+ # @!attribute [rw] config
6906
+ # Configuration information of the hours of operation.
6907
+ # @return [Array<Types::HoursOfOperationConfig>]
6908
+ #
6909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperationRequest AWS API Documentation
6910
+ #
6911
+ class UpdateHoursOfOperationRequest < Struct.new(
6912
+ :instance_id,
6913
+ :hours_of_operation_id,
6914
+ :name,
6915
+ :description,
6916
+ :time_zone,
6917
+ :config)
6918
+ SENSITIVE = []
6919
+ include Aws::Structure
6920
+ end
6921
+
6430
6922
  # @note When making an API call, you may pass UpdateInstanceAttributeRequest
6431
6923
  # data as a hash:
6432
6924
  #