aws-sdk-connect 1.84.0 → 1.86.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.
@@ -15,6 +15,9 @@ module Aws::Connect
15
15
 
16
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActionSummaries = Shapes::ListShape.new(name: 'ActionSummaries')
19
+ ActionSummary = Shapes::StructureShape.new(name: 'ActionSummary')
20
+ ActionType = Shapes::StringShape.new(name: 'ActionType')
18
21
  AfterContactWorkTimeLimit = Shapes::IntegerShape.new(name: 'AfterContactWorkTimeLimit')
19
22
  AgentContactReference = Shapes::StructureShape.new(name: 'AgentContactReference')
20
23
  AgentContactReferenceList = Shapes::ListShape.new(name: 'AgentContactReferenceList')
@@ -35,9 +38,11 @@ module Aws::Connect
35
38
  AgentStatusTypes = Shapes::ListShape.new(name: 'AgentStatusTypes')
36
39
  AgentUsername = Shapes::StringShape.new(name: 'AgentUsername')
37
40
  AliasArn = Shapes::StringShape.new(name: 'AliasArn')
41
+ AllowedAccessControlTags = Shapes::MapShape.new(name: 'AllowedAccessControlTags')
38
42
  AllowedMonitorCapabilities = Shapes::ListShape.new(name: 'AllowedMonitorCapabilities')
39
43
  AnswerMachineDetectionConfig = Shapes::StructureShape.new(name: 'AnswerMachineDetectionConfig')
40
44
  ApproximateTotalCount = Shapes::IntegerShape.new(name: 'ApproximateTotalCount')
45
+ AssignContactCategoryActionDefinition = Shapes::StructureShape.new(name: 'AssignContactCategoryActionDefinition')
41
46
  AssociateApprovedOriginRequest = Shapes::StructureShape.new(name: 'AssociateApprovedOriginRequest')
42
47
  AssociateBotRequest = Shapes::StructureShape.new(name: 'AssociateBotRequest')
43
48
  AssociateDefaultVocabularyRequest = Shapes::StructureShape.new(name: 'AssociateDefaultVocabularyRequest')
@@ -110,6 +115,7 @@ module Aws::Connect
110
115
  ContactReferences = Shapes::MapShape.new(name: 'ContactReferences')
111
116
  ContactState = Shapes::StringShape.new(name: 'ContactState')
112
117
  ContactStates = Shapes::ListShape.new(name: 'ContactStates')
118
+ Content = Shapes::StringShape.new(name: 'Content')
113
119
  ControlPlaneTagFilter = Shapes::StructureShape.new(name: 'ControlPlaneTagFilter')
114
120
  CreateAgentStatusRequest = Shapes::StructureShape.new(name: 'CreateAgentStatusRequest')
115
121
  CreateAgentStatusResponse = Shapes::StructureShape.new(name: 'CreateAgentStatusResponse')
@@ -129,6 +135,9 @@ module Aws::Connect
129
135
  CreateQuickConnectResponse = Shapes::StructureShape.new(name: 'CreateQuickConnectResponse')
130
136
  CreateRoutingProfileRequest = Shapes::StructureShape.new(name: 'CreateRoutingProfileRequest')
131
137
  CreateRoutingProfileResponse = Shapes::StructureShape.new(name: 'CreateRoutingProfileResponse')
138
+ CreateRuleRequest = Shapes::StructureShape.new(name: 'CreateRuleRequest')
139
+ CreateRuleResponse = Shapes::StructureShape.new(name: 'CreateRuleResponse')
140
+ CreateSecurityProfileName = Shapes::StringShape.new(name: 'CreateSecurityProfileName')
132
141
  CreateSecurityProfileRequest = Shapes::StructureShape.new(name: 'CreateSecurityProfileRequest')
133
142
  CreateSecurityProfileResponse = Shapes::StructureShape.new(name: 'CreateSecurityProfileResponse')
134
143
  CreateTaskTemplateRequest = Shapes::StructureShape.new(name: 'CreateTaskTemplateRequest')
@@ -162,6 +171,7 @@ module Aws::Connect
162
171
  DeleteInstanceRequest = Shapes::StructureShape.new(name: 'DeleteInstanceRequest')
163
172
  DeleteIntegrationAssociationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationAssociationRequest')
164
173
  DeleteQuickConnectRequest = Shapes::StructureShape.new(name: 'DeleteQuickConnectRequest')
174
+ DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
165
175
  DeleteSecurityProfileRequest = Shapes::StructureShape.new(name: 'DeleteSecurityProfileRequest')
166
176
  DeleteTaskTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTaskTemplateRequest')
167
177
  DeleteTaskTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTaskTemplateResponse')
@@ -196,6 +206,8 @@ module Aws::Connect
196
206
  DescribeQuickConnectResponse = Shapes::StructureShape.new(name: 'DescribeQuickConnectResponse')
197
207
  DescribeRoutingProfileRequest = Shapes::StructureShape.new(name: 'DescribeRoutingProfileRequest')
198
208
  DescribeRoutingProfileResponse = Shapes::StructureShape.new(name: 'DescribeRoutingProfileResponse')
209
+ DescribeRuleRequest = Shapes::StructureShape.new(name: 'DescribeRuleRequest')
210
+ DescribeRuleResponse = Shapes::StructureShape.new(name: 'DescribeRuleResponse')
199
211
  DescribeSecurityProfileRequest = Shapes::StructureShape.new(name: 'DescribeSecurityProfileRequest')
200
212
  DescribeSecurityProfileResponse = Shapes::StructureShape.new(name: 'DescribeSecurityProfileResponse')
201
213
  DescribeTrafficDistributionGroupRequest = Shapes::StructureShape.new(name: 'DescribeTrafficDistributionGroupRequest')
@@ -235,6 +247,9 @@ module Aws::Connect
235
247
  EmailReference = Shapes::StructureShape.new(name: 'EmailReference')
236
248
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
237
249
  EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
250
+ EventBridgeActionDefinition = Shapes::StructureShape.new(name: 'EventBridgeActionDefinition')
251
+ EventBridgeActionName = Shapes::StringShape.new(name: 'EventBridgeActionName')
252
+ EventSourceName = Shapes::StringShape.new(name: 'EventSourceName')
238
253
  Filters = Shapes::StructureShape.new(name: 'Filters')
239
254
  FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
240
255
  FunctionArnsList = Shapes::ListShape.new(name: 'FunctionArnsList')
@@ -375,6 +390,8 @@ module Aws::Connect
375
390
  ListRoutingProfileQueuesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfileQueuesResponse')
376
391
  ListRoutingProfilesRequest = Shapes::StructureShape.new(name: 'ListRoutingProfilesRequest')
377
392
  ListRoutingProfilesResponse = Shapes::StructureShape.new(name: 'ListRoutingProfilesResponse')
393
+ ListRulesRequest = Shapes::StructureShape.new(name: 'ListRulesRequest')
394
+ ListRulesResponse = Shapes::StructureShape.new(name: 'ListRulesResponse')
378
395
  ListSecurityKeysRequest = Shapes::StructureShape.new(name: 'ListSecurityKeysRequest')
379
396
  ListSecurityKeysResponse = Shapes::StructureShape.new(name: 'ListSecurityKeysResponse')
380
397
  ListSecurityProfilePermissionsRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilePermissionsRequest')
@@ -398,6 +415,7 @@ module Aws::Connect
398
415
  MaxResult100 = Shapes::IntegerShape.new(name: 'MaxResult100')
399
416
  MaxResult1000 = Shapes::IntegerShape.new(name: 'MaxResult1000')
400
417
  MaxResult2 = Shapes::IntegerShape.new(name: 'MaxResult2')
418
+ MaxResult200 = Shapes::IntegerShape.new(name: 'MaxResult200')
401
419
  MaxResult25 = Shapes::IntegerShape.new(name: 'MaxResult25')
402
420
  MaxResult7 = Shapes::IntegerShape.new(name: 'MaxResult7')
403
421
  MediaConcurrencies = Shapes::ListShape.new(name: 'MediaConcurrencies')
@@ -411,6 +429,9 @@ module Aws::Connect
411
429
  Name128 = Shapes::StringShape.new(name: 'Name128')
412
430
  NextToken = Shapes::StringShape.new(name: 'NextToken')
413
431
  NextToken2500 = Shapes::StringShape.new(name: 'NextToken2500')
432
+ NotificationContentType = Shapes::StringShape.new(name: 'NotificationContentType')
433
+ NotificationDeliveryType = Shapes::StringShape.new(name: 'NotificationDeliveryType')
434
+ NotificationRecipientType = Shapes::StructureShape.new(name: 'NotificationRecipientType')
414
435
  NumberReference = Shapes::StructureShape.new(name: 'NumberReference')
415
436
  Origin = Shapes::StringShape.new(name: 'Origin')
416
437
  OriginsList = Shapes::ListShape.new(name: 'OriginsList')
@@ -522,6 +543,16 @@ module Aws::Connect
522
543
  RoutingProfileSearchFilter = Shapes::StructureShape.new(name: 'RoutingProfileSearchFilter')
523
544
  RoutingProfileSummary = Shapes::StructureShape.new(name: 'RoutingProfileSummary')
524
545
  RoutingProfileSummaryList = Shapes::ListShape.new(name: 'RoutingProfileSummaryList')
546
+ Rule = Shapes::StructureShape.new(name: 'Rule')
547
+ RuleAction = Shapes::StructureShape.new(name: 'RuleAction')
548
+ RuleActions = Shapes::ListShape.new(name: 'RuleActions')
549
+ RuleFunction = Shapes::StringShape.new(name: 'RuleFunction')
550
+ RuleId = Shapes::StringShape.new(name: 'RuleId')
551
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
552
+ RulePublishStatus = Shapes::StringShape.new(name: 'RulePublishStatus')
553
+ RuleSummary = Shapes::StructureShape.new(name: 'RuleSummary')
554
+ RuleSummaryList = Shapes::ListShape.new(name: 'RuleSummaryList')
555
+ RuleTriggerEventSource = Shapes::StructureShape.new(name: 'RuleTriggerEventSource')
525
556
  S3Config = Shapes::StructureShape.new(name: 'S3Config')
526
557
  SearchAvailablePhoneNumbersRequest = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersRequest')
527
558
  SearchAvailablePhoneNumbersResponse = Shapes::StructureShape.new(name: 'SearchAvailablePhoneNumbersResponse')
@@ -544,6 +575,8 @@ module Aws::Connect
544
575
  SecurityProfileIds = Shapes::ListShape.new(name: 'SecurityProfileIds')
545
576
  SecurityProfileName = Shapes::StringShape.new(name: 'SecurityProfileName')
546
577
  SecurityProfilePermission = Shapes::StringShape.new(name: 'SecurityProfilePermission')
578
+ SecurityProfilePolicyKey = Shapes::StringShape.new(name: 'SecurityProfilePolicyKey')
579
+ SecurityProfilePolicyValue = Shapes::StringShape.new(name: 'SecurityProfilePolicyValue')
547
580
  SecurityProfileSearchConditionList = Shapes::ListShape.new(name: 'SecurityProfileSearchConditionList')
548
581
  SecurityProfileSearchCriteria = Shapes::StructureShape.new(name: 'SecurityProfileSearchCriteria')
549
582
  SecurityProfileSearchSummary = Shapes::StructureShape.new(name: 'SecurityProfileSearchSummary')
@@ -552,6 +585,7 @@ module Aws::Connect
552
585
  SecurityProfilesSearchFilter = Shapes::StructureShape.new(name: 'SecurityProfilesSearchFilter')
553
586
  SecurityProfilesSearchSummaryList = Shapes::ListShape.new(name: 'SecurityProfilesSearchSummaryList')
554
587
  SecurityToken = Shapes::StringShape.new(name: 'SecurityToken')
588
+ SendNotificationActionDefinition = Shapes::StructureShape.new(name: 'SendNotificationActionDefinition')
555
589
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
556
590
  SingleSelectOptions = Shapes::ListShape.new(name: 'SingleSelectOptions')
557
591
  SnapshotVersion = Shapes::StringShape.new(name: 'SnapshotVersion')
@@ -580,6 +614,7 @@ module Aws::Connect
580
614
  StringComparisonType = Shapes::StringShape.new(name: 'StringComparisonType')
581
615
  StringCondition = Shapes::StructureShape.new(name: 'StringCondition')
582
616
  StringReference = Shapes::StructureShape.new(name: 'StringReference')
617
+ Subject = Shapes::StringShape.new(name: 'Subject')
583
618
  SupportedMessagingContentType = Shapes::StringShape.new(name: 'SupportedMessagingContentType')
584
619
  SupportedMessagingContentTypes = Shapes::ListShape.new(name: 'SupportedMessagingContentTypes')
585
620
  SuspendContactRecordingRequest = Shapes::StructureShape.new(name: 'SuspendContactRecordingRequest')
@@ -591,7 +626,12 @@ module Aws::Connect
591
626
  TagMap = Shapes::MapShape.new(name: 'TagMap')
592
627
  TagOrConditionList = Shapes::ListShape.new(name: 'TagOrConditionList')
593
628
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
629
+ TagRestrictedResourceList = Shapes::ListShape.new(name: 'TagRestrictedResourceList')
630
+ TagRestrictedResourceName = Shapes::StringShape.new(name: 'TagRestrictedResourceName')
594
631
  TagValue = Shapes::StringShape.new(name: 'TagValue')
632
+ TaskActionDefinition = Shapes::StructureShape.new(name: 'TaskActionDefinition')
633
+ TaskDescriptionExpression = Shapes::StringShape.new(name: 'TaskDescriptionExpression')
634
+ TaskNameExpression = Shapes::StringShape.new(name: 'TaskNameExpression')
595
635
  TaskTemplateArn = Shapes::StringShape.new(name: 'TaskTemplateArn')
596
636
  TaskTemplateConstraints = Shapes::StructureShape.new(name: 'TaskTemplateConstraints')
597
637
  TaskTemplateDefaultFieldValue = Shapes::StructureShape.new(name: 'TaskTemplateDefaultFieldValue')
@@ -663,6 +703,7 @@ module Aws::Connect
663
703
  UpdateRoutingProfileDefaultOutboundQueueRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileDefaultOutboundQueueRequest')
664
704
  UpdateRoutingProfileNameRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileNameRequest')
665
705
  UpdateRoutingProfileQueuesRequest = Shapes::StructureShape.new(name: 'UpdateRoutingProfileQueuesRequest')
706
+ UpdateRuleRequest = Shapes::StructureShape.new(name: 'UpdateRuleRequest')
666
707
  UpdateSecurityProfileRequest = Shapes::StructureShape.new(name: 'UpdateSecurityProfileRequest')
667
708
  UpdateTaskTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTaskTemplateRequest')
668
709
  UpdateTaskTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTaskTemplateResponse')
@@ -686,6 +727,7 @@ module Aws::Connect
686
727
  UserDataFilters = Shapes::StructureShape.new(name: 'UserDataFilters')
687
728
  UserDataList = Shapes::ListShape.new(name: 'UserDataList')
688
729
  UserId = Shapes::StringShape.new(name: 'UserId')
730
+ UserIdList = Shapes::ListShape.new(name: 'UserIdList')
689
731
  UserIdentityInfo = Shapes::StructureShape.new(name: 'UserIdentityInfo')
690
732
  UserIdentityInfoLite = Shapes::StructureShape.new(name: 'UserIdentityInfoLite')
691
733
  UserNotFoundException = Shapes::StructureShape.new(name: 'UserNotFoundException')
@@ -699,6 +741,7 @@ module Aws::Connect
699
741
  UserSearchSummaryList = Shapes::ListShape.new(name: 'UserSearchSummaryList')
700
742
  UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
701
743
  UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
744
+ UserTagMap = Shapes::MapShape.new(name: 'UserTagMap')
702
745
  Value = Shapes::FloatShape.new(name: 'Value')
703
746
  Vocabulary = Shapes::StructureShape.new(name: 'Vocabulary')
704
747
  VocabularyContent = Shapes::StringShape.new(name: 'VocabularyContent')
@@ -718,6 +761,11 @@ module Aws::Connect
718
761
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
719
762
  AccessDeniedException.struct_class = Types::AccessDeniedException
720
763
 
764
+ ActionSummaries.member = Shapes::ShapeRef.new(shape: ActionSummary)
765
+
766
+ ActionSummary.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
767
+ ActionSummary.struct_class = Types::ActionSummary
768
+
721
769
  AgentContactReference.add_member(:contact_id, Shapes::ShapeRef.new(shape: ContactId, location_name: "ContactId"))
722
770
  AgentContactReference.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "Channel"))
723
771
  AgentContactReference.add_member(:initiation_method, Shapes::ShapeRef.new(shape: ContactInitiationMethod, location_name: "InitiationMethod"))
@@ -757,12 +805,17 @@ module Aws::Connect
757
805
 
758
806
  AgentStatusTypes.member = Shapes::ShapeRef.new(shape: AgentStatusType)
759
807
 
808
+ AllowedAccessControlTags.key = Shapes::ShapeRef.new(shape: SecurityProfilePolicyKey)
809
+ AllowedAccessControlTags.value = Shapes::ShapeRef.new(shape: SecurityProfilePolicyValue)
810
+
760
811
  AllowedMonitorCapabilities.member = Shapes::ShapeRef.new(shape: MonitorCapability)
761
812
 
762
813
  AnswerMachineDetectionConfig.add_member(:enable_answer_machine_detection, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableAnswerMachineDetection"))
763
814
  AnswerMachineDetectionConfig.add_member(:await_answer_machine_prompt, Shapes::ShapeRef.new(shape: Boolean, location_name: "AwaitAnswerMachinePrompt"))
764
815
  AnswerMachineDetectionConfig.struct_class = Types::AnswerMachineDetectionConfig
765
816
 
817
+ AssignContactCategoryActionDefinition.struct_class = Types::AssignContactCategoryActionDefinition
818
+
766
819
  AssociateApprovedOriginRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
767
820
  AssociateApprovedOriginRequest.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
768
821
  AssociateApprovedOriginRequest.struct_class = Types::AssociateApprovedOriginRequest
@@ -1057,11 +1110,26 @@ module Aws::Connect
1057
1110
  CreateRoutingProfileResponse.add_member(:routing_profile_id, Shapes::ShapeRef.new(shape: RoutingProfileId, location_name: "RoutingProfileId"))
1058
1111
  CreateRoutingProfileResponse.struct_class = Types::CreateRoutingProfileResponse
1059
1112
 
1060
- CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, required: true, location_name: "SecurityProfileName"))
1113
+ CreateRuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1114
+ CreateRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
1115
+ CreateRuleRequest.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
1116
+ CreateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
1117
+ CreateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
1118
+ CreateRuleRequest.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
1119
+ CreateRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
1120
+ CreateRuleRequest.struct_class = Types::CreateRuleRequest
1121
+
1122
+ CreateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
1123
+ CreateRuleResponse.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
1124
+ CreateRuleResponse.struct_class = Types::CreateRuleResponse
1125
+
1126
+ CreateSecurityProfileRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: CreateSecurityProfileName, required: true, location_name: "SecurityProfileName"))
1061
1127
  CreateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
1062
1128
  CreateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
1063
1129
  CreateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1064
1130
  CreateSecurityProfileRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1131
+ CreateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
1132
+ CreateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
1065
1133
  CreateSecurityProfileRequest.struct_class = Types::CreateSecurityProfileRequest
1066
1134
 
1067
1135
  CreateSecurityProfileResponse.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, location_name: "SecurityProfileId"))
@@ -1204,6 +1272,10 @@ module Aws::Connect
1204
1272
  DeleteQuickConnectRequest.add_member(:quick_connect_id, Shapes::ShapeRef.new(shape: QuickConnectId, required: true, location: "uri", location_name: "QuickConnectId"))
1205
1273
  DeleteQuickConnectRequest.struct_class = Types::DeleteQuickConnectRequest
1206
1274
 
1275
+ DeleteRuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1276
+ DeleteRuleRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "RuleId"))
1277
+ DeleteRuleRequest.struct_class = Types::DeleteRuleRequest
1278
+
1207
1279
  DeleteSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1208
1280
  DeleteSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1209
1281
  DeleteSecurityProfileRequest.struct_class = Types::DeleteSecurityProfileRequest
@@ -1324,6 +1396,13 @@ module Aws::Connect
1324
1396
  DescribeRoutingProfileResponse.add_member(:routing_profile, Shapes::ShapeRef.new(shape: RoutingProfile, location_name: "RoutingProfile"))
1325
1397
  DescribeRoutingProfileResponse.struct_class = Types::DescribeRoutingProfileResponse
1326
1398
 
1399
+ DescribeRuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1400
+ DescribeRuleRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "RuleId"))
1401
+ DescribeRuleRequest.struct_class = Types::DescribeRuleRequest
1402
+
1403
+ DescribeRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: Rule, required: true, location_name: "Rule"))
1404
+ DescribeRuleResponse.struct_class = Types::DescribeRuleResponse
1405
+
1327
1406
  DescribeSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
1328
1407
  DescribeSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1329
1408
  DescribeSecurityProfileRequest.struct_class = Types::DescribeSecurityProfileRequest
@@ -1436,6 +1515,9 @@ module Aws::Connect
1436
1515
  EncryptionConfig.add_member(:key_id, Shapes::ShapeRef.new(shape: KeyId, required: true, location_name: "KeyId"))
1437
1516
  EncryptionConfig.struct_class = Types::EncryptionConfig
1438
1517
 
1518
+ EventBridgeActionDefinition.add_member(:name, Shapes::ShapeRef.new(shape: EventBridgeActionName, required: true, location_name: "Name"))
1519
+ EventBridgeActionDefinition.struct_class = Types::EventBridgeActionDefinition
1520
+
1439
1521
  Filters.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
1440
1522
  Filters.add_member(:channels, Shapes::ShapeRef.new(shape: Channels, location_name: "Channels"))
1441
1523
  Filters.struct_class = Types::Filters
@@ -1957,6 +2039,17 @@ module Aws::Connect
1957
2039
  ListRoutingProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1958
2040
  ListRoutingProfilesResponse.struct_class = Types::ListRoutingProfilesResponse
1959
2041
 
2042
+ ListRulesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2043
+ ListRulesRequest.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, location: "querystring", location_name: "publishStatus"))
2044
+ ListRulesRequest.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, location: "querystring", location_name: "eventSourceName"))
2045
+ ListRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult200, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
2046
+ ListRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2047
+ ListRulesRequest.struct_class = Types::ListRulesRequest
2048
+
2049
+ ListRulesResponse.add_member(:rule_summary_list, Shapes::ShapeRef.new(shape: RuleSummaryList, required: true, location_name: "RuleSummaryList"))
2050
+ ListRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
2051
+ ListRulesResponse.struct_class = Types::ListRulesResponse
2052
+
1960
2053
  ListSecurityKeysRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
1961
2054
  ListSecurityKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1962
2055
  ListSecurityKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResult2, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
@@ -2056,6 +2149,10 @@ module Aws::Connect
2056
2149
  MonitorContactResponse.add_member(:contact_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ContactArn"))
2057
2150
  MonitorContactResponse.struct_class = Types::MonitorContactResponse
2058
2151
 
2152
+ NotificationRecipientType.add_member(:user_tags, Shapes::ShapeRef.new(shape: UserTagMap, location_name: "UserTags"))
2153
+ NotificationRecipientType.add_member(:user_ids, Shapes::ShapeRef.new(shape: UserIdList, location_name: "UserIds"))
2154
+ NotificationRecipientType.struct_class = Types::NotificationRecipientType
2155
+
2059
2156
  NumberReference.add_member(:name, Shapes::ShapeRef.new(shape: ReferenceKey, location_name: "Name"))
2060
2157
  NumberReference.add_member(:value, Shapes::ShapeRef.new(shape: ReferenceValue, location_name: "Value"))
2061
2158
  NumberReference.struct_class = Types::NumberReference
@@ -2326,6 +2423,44 @@ module Aws::Connect
2326
2423
 
2327
2424
  RoutingProfileSummaryList.member = Shapes::ShapeRef.new(shape: RoutingProfileSummary)
2328
2425
 
2426
+ Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
2427
+ Rule.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
2428
+ Rule.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
2429
+ Rule.add_member(:trigger_event_source, Shapes::ShapeRef.new(shape: RuleTriggerEventSource, required: true, location_name: "TriggerEventSource"))
2430
+ Rule.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
2431
+ Rule.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
2432
+ Rule.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
2433
+ Rule.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
2434
+ Rule.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
2435
+ Rule.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "LastUpdatedBy"))
2436
+ Rule.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2437
+ Rule.struct_class = Types::Rule
2438
+
2439
+ RuleAction.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
2440
+ RuleAction.add_member(:task_action, Shapes::ShapeRef.new(shape: TaskActionDefinition, location_name: "TaskAction"))
2441
+ RuleAction.add_member(:event_bridge_action, Shapes::ShapeRef.new(shape: EventBridgeActionDefinition, location_name: "EventBridgeAction"))
2442
+ RuleAction.add_member(:assign_contact_category_action, Shapes::ShapeRef.new(shape: AssignContactCategoryActionDefinition, location_name: "AssignContactCategoryAction"))
2443
+ RuleAction.add_member(:send_notification_action, Shapes::ShapeRef.new(shape: SendNotificationActionDefinition, location_name: "SendNotificationAction"))
2444
+ RuleAction.struct_class = Types::RuleAction
2445
+
2446
+ RuleActions.member = Shapes::ShapeRef.new(shape: RuleAction)
2447
+
2448
+ RuleSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
2449
+ RuleSummary.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location_name: "RuleId"))
2450
+ RuleSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "RuleArn"))
2451
+ RuleSummary.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
2452
+ RuleSummary.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
2453
+ RuleSummary.add_member(:action_summaries, Shapes::ShapeRef.new(shape: ActionSummaries, required: true, location_name: "ActionSummaries"))
2454
+ RuleSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime"))
2455
+ RuleSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime"))
2456
+ RuleSummary.struct_class = Types::RuleSummary
2457
+
2458
+ RuleSummaryList.member = Shapes::ShapeRef.new(shape: RuleSummary)
2459
+
2460
+ RuleTriggerEventSource.add_member(:event_source_name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "EventSourceName"))
2461
+ RuleTriggerEventSource.add_member(:integration_association_id, Shapes::ShapeRef.new(shape: IntegrationAssociationId, location_name: "IntegrationAssociationId"))
2462
+ RuleTriggerEventSource.struct_class = Types::RuleTriggerEventSource
2463
+
2329
2464
  S3Config.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "BucketName"))
2330
2465
  S3Config.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: Prefix, required: true, location_name: "BucketPrefix"))
2331
2466
  S3Config.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
@@ -2416,6 +2551,8 @@ module Aws::Connect
2416
2551
  SecurityProfile.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "SecurityProfileName"))
2417
2552
  SecurityProfile.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
2418
2553
  SecurityProfile.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2554
+ SecurityProfile.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
2555
+ SecurityProfile.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
2419
2556
  SecurityProfile.struct_class = Types::SecurityProfile
2420
2557
 
2421
2558
  SecurityProfileIds.member = Shapes::ShapeRef.new(shape: SecurityProfileId)
@@ -2447,6 +2584,13 @@ module Aws::Connect
2447
2584
 
2448
2585
  SecurityProfilesSearchSummaryList.member = Shapes::ShapeRef.new(shape: SecurityProfileSearchSummary)
2449
2586
 
2587
+ SendNotificationActionDefinition.add_member(:delivery_method, Shapes::ShapeRef.new(shape: NotificationDeliveryType, required: true, location_name: "DeliveryMethod"))
2588
+ SendNotificationActionDefinition.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, location_name: "Subject"))
2589
+ SendNotificationActionDefinition.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "Content"))
2590
+ SendNotificationActionDefinition.add_member(:content_type, Shapes::ShapeRef.new(shape: NotificationContentType, required: true, location_name: "ContentType"))
2591
+ SendNotificationActionDefinition.add_member(:recipient, Shapes::ShapeRef.new(shape: NotificationRecipientType, required: true, location_name: "Recipient"))
2592
+ SendNotificationActionDefinition.struct_class = Types::SendNotificationActionDefinition
2593
+
2450
2594
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
2451
2595
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
2452
2596
 
@@ -2570,6 +2714,14 @@ module Aws::Connect
2570
2714
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
2571
2715
  TagResourceRequest.struct_class = Types::TagResourceRequest
2572
2716
 
2717
+ TagRestrictedResourceList.member = Shapes::ShapeRef.new(shape: TagRestrictedResourceName)
2718
+
2719
+ TaskActionDefinition.add_member(:name, Shapes::ShapeRef.new(shape: TaskNameExpression, required: true, location_name: "Name"))
2720
+ TaskActionDefinition.add_member(:description, Shapes::ShapeRef.new(shape: TaskDescriptionExpression, location_name: "Description"))
2721
+ TaskActionDefinition.add_member(:contact_flow_id, Shapes::ShapeRef.new(shape: ContactFlowId, required: true, location_name: "ContactFlowId"))
2722
+ TaskActionDefinition.add_member(:references, Shapes::ShapeRef.new(shape: ContactReferences, location_name: "References"))
2723
+ TaskActionDefinition.struct_class = Types::TaskActionDefinition
2724
+
2573
2725
  TaskTemplateConstraints.add_member(:required_fields, Shapes::ShapeRef.new(shape: RequiredTaskTemplateFields, location_name: "RequiredFields"))
2574
2726
  TaskTemplateConstraints.add_member(:read_only_fields, Shapes::ShapeRef.new(shape: ReadOnlyTaskTemplateFields, location_name: "ReadOnlyFields"))
2575
2727
  TaskTemplateConstraints.add_member(:invisible_fields, Shapes::ShapeRef.new(shape: InvisibleTaskTemplateFields, location_name: "InvisibleFields"))
@@ -2802,10 +2954,20 @@ module Aws::Connect
2802
2954
  UpdateRoutingProfileQueuesRequest.add_member(:queue_configs, Shapes::ShapeRef.new(shape: RoutingProfileQueueConfigList, required: true, location_name: "QueueConfigs"))
2803
2955
  UpdateRoutingProfileQueuesRequest.struct_class = Types::UpdateRoutingProfileQueuesRequest
2804
2956
 
2957
+ UpdateRuleRequest.add_member(:rule_id, Shapes::ShapeRef.new(shape: RuleId, required: true, location: "uri", location_name: "RuleId"))
2958
+ UpdateRuleRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2959
+ UpdateRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, required: true, location_name: "Name"))
2960
+ UpdateRuleRequest.add_member(:function, Shapes::ShapeRef.new(shape: RuleFunction, required: true, location_name: "Function"))
2961
+ UpdateRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: RuleActions, required: true, location_name: "Actions"))
2962
+ UpdateRuleRequest.add_member(:publish_status, Shapes::ShapeRef.new(shape: RulePublishStatus, required: true, location_name: "PublishStatus"))
2963
+ UpdateRuleRequest.struct_class = Types::UpdateRuleRequest
2964
+
2805
2965
  UpdateSecurityProfileRequest.add_member(:description, Shapes::ShapeRef.new(shape: SecurityProfileDescription, location_name: "Description"))
2806
2966
  UpdateSecurityProfileRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionsList, location_name: "Permissions"))
2807
2967
  UpdateSecurityProfileRequest.add_member(:security_profile_id, Shapes::ShapeRef.new(shape: SecurityProfileId, required: true, location: "uri", location_name: "SecurityProfileId"))
2808
2968
  UpdateSecurityProfileRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "uri", location_name: "InstanceId"))
2969
+ UpdateSecurityProfileRequest.add_member(:allowed_access_control_tags, Shapes::ShapeRef.new(shape: AllowedAccessControlTags, location_name: "AllowedAccessControlTags"))
2970
+ UpdateSecurityProfileRequest.add_member(:tag_restricted_resources, Shapes::ShapeRef.new(shape: TagRestrictedResourceList, location_name: "TagRestrictedResources"))
2809
2971
  UpdateSecurityProfileRequest.struct_class = Types::UpdateSecurityProfileRequest
2810
2972
 
2811
2973
  UpdateTaskTemplateRequest.add_member(:task_template_id, Shapes::ShapeRef.new(shape: TaskTemplateId, required: true, location: "uri", location_name: "TaskTemplateId"))
@@ -2912,6 +3074,8 @@ module Aws::Connect
2912
3074
 
2913
3075
  UserDataList.member = Shapes::ShapeRef.new(shape: UserData)
2914
3076
 
3077
+ UserIdList.member = Shapes::ShapeRef.new(shape: UserId)
3078
+
2915
3079
  UserIdentityInfo.add_member(:first_name, Shapes::ShapeRef.new(shape: AgentFirstName, location_name: "FirstName"))
2916
3080
  UserIdentityInfo.add_member(:last_name, Shapes::ShapeRef.new(shape: AgentLastName, location_name: "LastName"))
2917
3081
  UserIdentityInfo.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "Email"))
@@ -2972,6 +3136,9 @@ module Aws::Connect
2972
3136
 
2973
3137
  UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
2974
3138
 
3139
+ UserTagMap.key = Shapes::ShapeRef.new(shape: String)
3140
+ UserTagMap.value = Shapes::ShapeRef.new(shape: String)
3141
+
2975
3142
  Vocabulary.add_member(:name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "Name"))
2976
3143
  Vocabulary.add_member(:id, Shapes::ShapeRef.new(shape: VocabularyId, required: true, location_name: "Id"))
2977
3144
  Vocabulary.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "Arn"))
@@ -3307,6 +3474,21 @@ module Aws::Connect
3307
3474
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3308
3475
  end)
3309
3476
 
3477
+ api.add_operation(:create_rule, Seahorse::Model::Operation.new.tap do |o|
3478
+ o.name = "CreateRule"
3479
+ o.http_method = "POST"
3480
+ o.http_request_uri = "/rules/{InstanceId}"
3481
+ o.input = Shapes::ShapeRef.new(shape: CreateRuleRequest)
3482
+ o.output = Shapes::ShapeRef.new(shape: CreateRuleResponse)
3483
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3484
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3485
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3486
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3487
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3488
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
3489
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3490
+ end)
3491
+
3310
3492
  api.add_operation(:create_security_profile, Seahorse::Model::Operation.new.tap do |o|
3311
3493
  o.name = "CreateSecurityProfile"
3312
3494
  o.http_method = "PUT"
@@ -3487,6 +3669,19 @@ module Aws::Connect
3487
3669
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3488
3670
  end)
3489
3671
 
3672
+ api.add_operation(:delete_rule, Seahorse::Model::Operation.new.tap do |o|
3673
+ o.name = "DeleteRule"
3674
+ o.http_method = "DELETE"
3675
+ o.http_request_uri = "/rules/{InstanceId}/{RuleId}"
3676
+ o.input = Shapes::ShapeRef.new(shape: DeleteRuleRequest)
3677
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3678
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3679
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3680
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3681
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3682
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3683
+ end)
3684
+
3490
3685
  api.add_operation(:delete_security_profile, Seahorse::Model::Operation.new.tap do |o|
3491
3686
  o.name = "DeleteSecurityProfile"
3492
3687
  o.http_method = "DELETE"
@@ -3737,6 +3932,19 @@ module Aws::Connect
3737
3932
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3738
3933
  end)
3739
3934
 
3935
+ api.add_operation(:describe_rule, Seahorse::Model::Operation.new.tap do |o|
3936
+ o.name = "DescribeRule"
3937
+ o.http_method = "GET"
3938
+ o.http_request_uri = "/rules/{InstanceId}/{RuleId}"
3939
+ o.input = Shapes::ShapeRef.new(shape: DescribeRuleRequest)
3940
+ o.output = Shapes::ShapeRef.new(shape: DescribeRuleResponse)
3941
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3942
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3943
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
3944
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3945
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3946
+ end)
3947
+
3740
3948
  api.add_operation(:describe_security_profile, Seahorse::Model::Operation.new.tap do |o|
3741
3949
  o.name = "DescribeSecurityProfile"
3742
3950
  o.http_method = "GET"
@@ -4465,6 +4673,25 @@ module Aws::Connect
4465
4673
  )
4466
4674
  end)
4467
4675
 
4676
+ api.add_operation(:list_rules, Seahorse::Model::Operation.new.tap do |o|
4677
+ o.name = "ListRules"
4678
+ o.http_method = "GET"
4679
+ o.http_request_uri = "/rules/{InstanceId}"
4680
+ o.input = Shapes::ShapeRef.new(shape: ListRulesRequest)
4681
+ o.output = Shapes::ShapeRef.new(shape: ListRulesResponse)
4682
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
4683
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
4684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4685
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4686
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4687
+ o[:pager] = Aws::Pager.new(
4688
+ limit_key: "max_results",
4689
+ tokens: {
4690
+ "next_token" => "next_token"
4691
+ }
4692
+ )
4693
+ end)
4694
+
4468
4695
  api.add_operation(:list_security_keys, Seahorse::Model::Operation.new.tap do |o|
4469
4696
  o.name = "ListSecurityKeys"
4470
4697
  o.http_method = "GET"
@@ -5291,6 +5518,20 @@ module Aws::Connect
5291
5518
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5292
5519
  end)
5293
5520
 
5521
+ api.add_operation(:update_rule, Seahorse::Model::Operation.new.tap do |o|
5522
+ o.name = "UpdateRule"
5523
+ o.http_method = "PUT"
5524
+ o.http_request_uri = "/rules/{InstanceId}/{RuleId}"
5525
+ o.input = Shapes::ShapeRef.new(shape: UpdateRuleRequest)
5526
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
5527
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5528
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5529
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
5530
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5531
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
5533
+ end)
5534
+
5294
5535
  api.add_operation(:update_security_profile, Seahorse::Model::Operation.new.tap do |o|
5295
5536
  o.name = "UpdateSecurityProfile"
5296
5537
  o.http_method = "POST"
@@ -50,6 +50,9 @@ module Aws::Connect
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?