types-boto3-connectcases 1.40.63__py3-none-any.whl → 1.41.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ Usage::
17
17
  from __future__ import annotations
18
18
 
19
19
  import sys
20
+ from collections.abc import Mapping, Sequence
20
21
  from datetime import datetime
21
22
  from typing import Any, Union
22
23
 
@@ -27,17 +28,12 @@ from .literals import (
27
28
  FieldTypeType,
28
29
  OrderType,
29
30
  RelatedItemTypeType,
31
+ RuleTypeType,
30
32
  SearchAllRelatedItemsSortPropertyType,
31
33
  SlaStatusType,
32
34
  TemplateStatusType,
33
35
  )
34
36
 
35
- if sys.version_info >= (3, 9):
36
- from builtins import dict as Dict
37
- from builtins import list as List
38
- from collections.abc import Mapping, Sequence
39
- else:
40
- from typing import Dict, List, Mapping, Sequence
41
37
  if sys.version_info >= (3, 12):
42
38
  from typing import Literal, NotRequired, TypedDict
43
39
  else:
@@ -121,6 +117,8 @@ __all__ = (
121
117
  "FieldItemTypeDef",
122
118
  "FieldOptionErrorTypeDef",
123
119
  "FieldOptionTypeDef",
120
+ "FieldOptionsCaseRuleOutputTypeDef",
121
+ "FieldOptionsCaseRuleTypeDef",
124
122
  "FieldSummaryTypeDef",
125
123
  "FieldValueOutputTypeDef",
126
124
  "FieldValueTypeDef",
@@ -144,6 +142,8 @@ __all__ = (
144
142
  "GetLayoutResponseTypeDef",
145
143
  "GetTemplateRequestTypeDef",
146
144
  "GetTemplateResponseTypeDef",
145
+ "HiddenCaseRuleOutputTypeDef",
146
+ "HiddenCaseRuleTypeDef",
147
147
  "LayoutConfigurationTypeDef",
148
148
  "LayoutContentOutputTypeDef",
149
149
  "LayoutContentTypeDef",
@@ -172,6 +172,8 @@ __all__ = (
172
172
  "OperandTwoOutputTypeDef",
173
173
  "OperandTwoTypeDef",
174
174
  "PaginatorConfigTypeDef",
175
+ "ParentChildFieldOptionsMappingOutputTypeDef",
176
+ "ParentChildFieldOptionsMappingTypeDef",
175
177
  "PutCaseEventConfigurationRequestTypeDef",
176
178
  "RelatedItemContentTypeDef",
177
179
  "RelatedItemEventIncludedDataTypeDef",
@@ -220,7 +222,7 @@ class AuditEventFieldValueUnionTypeDef(TypedDict):
220
222
  stringValue: NotRequired[str]
221
223
  doubleValue: NotRequired[float]
222
224
  booleanValue: NotRequired[bool]
223
- emptyValue: NotRequired[Dict[str, Any]]
225
+ emptyValue: NotRequired[dict[str, Any]]
224
226
  userArnValue: NotRequired[str]
225
227
 
226
228
 
@@ -248,7 +250,7 @@ CaseRuleErrorTypeDef = TypedDict(
248
250
  class ResponseMetadataTypeDef(TypedDict):
249
251
  RequestId: str
250
252
  HTTPStatusCode: int
251
- HTTPHeaders: Dict[str, str]
253
+ HTTPHeaders: dict[str, str]
252
254
  RetryAttempts: int
253
255
  HostId: NotRequired[str]
254
256
 
@@ -276,7 +278,7 @@ GetFieldResponseTypeDef = TypedDict(
276
278
  "type": FieldTypeType,
277
279
  "namespace": FieldNamespaceType,
278
280
  "description": NotRequired[str],
279
- "tags": NotRequired[Dict[str, str]],
281
+ "tags": NotRequired[dict[str, str]],
280
282
  "deleted": NotRequired[bool],
281
283
  "createdTime": NotRequired[datetime],
282
284
  "lastModifiedTime": NotRequired[datetime],
@@ -304,7 +306,7 @@ class OperandTwoOutputTypeDef(TypedDict):
304
306
  stringValue: NotRequired[str]
305
307
  booleanValue: NotRequired[bool]
306
308
  doubleValue: NotRequired[float]
307
- emptyValue: NotRequired[Dict[str, Any]]
309
+ emptyValue: NotRequired[dict[str, Any]]
308
310
 
309
311
 
310
312
  class OperandTwoTypeDef(TypedDict):
@@ -318,7 +320,7 @@ class CaseRuleSummaryTypeDef(TypedDict):
318
320
  caseRuleId: str
319
321
  name: str
320
322
  caseRuleArn: str
321
- ruleType: Literal["Required"]
323
+ ruleType: RuleTypeType
322
324
  description: NotRequired[str]
323
325
 
324
326
 
@@ -384,7 +386,7 @@ class RequiredFieldTypeDef(TypedDict):
384
386
 
385
387
  class TemplateRuleTypeDef(TypedDict):
386
388
  caseRuleId: str
387
- fieldId: str
389
+ fieldId: NotRequired[str]
388
390
 
389
391
 
390
392
  class DeleteCaseRequestTypeDef(TypedDict):
@@ -438,6 +440,18 @@ FieldItemTypeDef = TypedDict(
438
440
  "id": str,
439
441
  },
440
442
  )
443
+
444
+
445
+ class ParentChildFieldOptionsMappingOutputTypeDef(TypedDict):
446
+ parentFieldOptionValue: str
447
+ childFieldOptionValues: list[str]
448
+
449
+
450
+ class ParentChildFieldOptionsMappingTypeDef(TypedDict):
451
+ parentFieldOptionValue: str
452
+ childFieldOptionValues: Sequence[str]
453
+
454
+
441
455
  FieldSummaryTypeDef = TypedDict(
442
456
  "FieldSummaryTypeDef",
443
457
  {
@@ -454,7 +468,7 @@ class FieldValueUnionOutputTypeDef(TypedDict):
454
468
  stringValue: NotRequired[str]
455
469
  doubleValue: NotRequired[float]
456
470
  booleanValue: NotRequired[bool]
457
- emptyValue: NotRequired[Dict[str, Any]]
471
+ emptyValue: NotRequired[dict[str, Any]]
458
472
  userArnValue: NotRequired[str]
459
473
 
460
474
 
@@ -668,12 +682,12 @@ class GetDomainResponseTypeDef(TypedDict):
668
682
  name: str
669
683
  createdTime: datetime
670
684
  domainStatus: DomainStatusType
671
- tags: Dict[str, str]
685
+ tags: dict[str, str]
672
686
  ResponseMetadata: ResponseMetadataTypeDef
673
687
 
674
688
 
675
689
  class ListTagsForResourceResponseTypeDef(TypedDict):
676
- tags: Dict[str, str]
690
+ tags: dict[str, str]
677
691
  ResponseMetadata: ResponseMetadataTypeDef
678
692
 
679
693
 
@@ -683,7 +697,7 @@ class BatchGetFieldRequestTypeDef(TypedDict):
683
697
 
684
698
 
685
699
  class CaseEventIncludedDataOutputTypeDef(TypedDict):
686
- fields: List[FieldIdentifierTypeDef]
700
+ fields: list[FieldIdentifierTypeDef]
687
701
 
688
702
 
689
703
  class CaseEventIncludedDataTypeDef(TypedDict):
@@ -698,8 +712,8 @@ class GetCaseRequestTypeDef(TypedDict):
698
712
 
699
713
 
700
714
  class BatchGetFieldResponseTypeDef(TypedDict):
701
- fields: List[GetFieldResponseTypeDef]
702
- errors: List[FieldErrorTypeDef]
715
+ fields: list[GetFieldResponseTypeDef]
716
+ errors: list[FieldErrorTypeDef]
703
717
  ResponseMetadata: ResponseMetadataTypeDef
704
718
 
705
719
 
@@ -710,13 +724,13 @@ class BatchPutFieldOptionsRequestTypeDef(TypedDict):
710
724
 
711
725
 
712
726
  class ListFieldOptionsResponseTypeDef(TypedDict):
713
- options: List[FieldOptionTypeDef]
727
+ options: list[FieldOptionTypeDef]
714
728
  ResponseMetadata: ResponseMetadataTypeDef
715
729
  nextToken: NotRequired[str]
716
730
 
717
731
 
718
732
  class BatchPutFieldOptionsResponseTypeDef(TypedDict):
719
- errors: List[FieldOptionErrorTypeDef]
733
+ errors: list[FieldOptionErrorTypeDef]
720
734
  ResponseMetadata: ResponseMetadataTypeDef
721
735
 
722
736
 
@@ -733,13 +747,13 @@ class BooleanOperandsTypeDef(TypedDict):
733
747
 
734
748
 
735
749
  class ListCaseRulesResponseTypeDef(TypedDict):
736
- caseRules: List[CaseRuleSummaryTypeDef]
750
+ caseRules: list[CaseRuleSummaryTypeDef]
737
751
  ResponseMetadata: ResponseMetadataTypeDef
738
752
  nextToken: NotRequired[str]
739
753
 
740
754
 
741
755
  class ListCasesForContactResponseTypeDef(TypedDict):
742
- cases: List[CaseSummaryTypeDef]
756
+ cases: list[CaseSummaryTypeDef]
743
757
  ResponseMetadata: ResponseMetadataTypeDef
744
758
  nextToken: NotRequired[str]
745
759
 
@@ -760,13 +774,13 @@ class GetTemplateResponseTypeDef(TypedDict):
760
774
  name: str
761
775
  description: str
762
776
  layoutConfiguration: LayoutConfigurationTypeDef
763
- requiredFields: List[RequiredFieldTypeDef]
764
- tags: Dict[str, str]
777
+ requiredFields: list[RequiredFieldTypeDef]
778
+ tags: dict[str, str]
765
779
  status: TemplateStatusType
766
780
  deleted: bool
767
781
  createdTime: datetime
768
782
  lastModifiedTime: datetime
769
- rules: List[TemplateRuleTypeDef]
783
+ rules: list[TemplateRuleTypeDef]
770
784
  ResponseMetadata: ResponseMetadataTypeDef
771
785
 
772
786
 
@@ -782,13 +796,13 @@ class UpdateTemplateRequestTypeDef(TypedDict):
782
796
 
783
797
 
784
798
  class ListDomainsResponseTypeDef(TypedDict):
785
- domains: List[DomainSummaryTypeDef]
799
+ domains: list[DomainSummaryTypeDef]
786
800
  ResponseMetadata: ResponseMetadataTypeDef
787
801
  nextToken: NotRequired[str]
788
802
 
789
803
 
790
804
  class FieldGroupOutputTypeDef(TypedDict):
791
- fields: List[FieldItemTypeDef]
805
+ fields: list[FieldItemTypeDef]
792
806
  name: NotRequired[str]
793
807
 
794
808
 
@@ -797,8 +811,20 @@ class FieldGroupTypeDef(TypedDict):
797
811
  name: NotRequired[str]
798
812
 
799
813
 
814
+ class FieldOptionsCaseRuleOutputTypeDef(TypedDict):
815
+ parentChildFieldOptionsMappings: list[ParentChildFieldOptionsMappingOutputTypeDef]
816
+ parentFieldId: NotRequired[str]
817
+ childFieldId: NotRequired[str]
818
+
819
+
820
+ class FieldOptionsCaseRuleTypeDef(TypedDict):
821
+ parentChildFieldOptionsMappings: Sequence[ParentChildFieldOptionsMappingTypeDef]
822
+ parentFieldId: NotRequired[str]
823
+ childFieldId: NotRequired[str]
824
+
825
+
800
826
  class ListFieldsResponseTypeDef(TypedDict):
801
- fields: List[FieldSummaryTypeDef]
827
+ fields: list[FieldSummaryTypeDef]
802
828
  ResponseMetadata: ResponseMetadataTypeDef
803
829
  nextToken: NotRequired[str]
804
830
 
@@ -818,7 +844,7 @@ SlaConfigurationTypeDef = TypedDict(
818
844
  "status": SlaStatusType,
819
845
  "targetTime": datetime,
820
846
  "fieldId": NotRequired[str],
821
- "targetFieldValues": NotRequired[List[FieldValueUnionOutputTypeDef]],
847
+ "targetFieldValues": NotRequired[list[FieldValueUnionOutputTypeDef]],
822
848
  "completionTime": NotRequired[datetime],
823
849
  },
824
850
  )
@@ -826,7 +852,7 @@ FieldValueUnionUnionTypeDef = Union[FieldValueUnionTypeDef, FieldValueUnionOutpu
826
852
 
827
853
 
828
854
  class ListLayoutsResponseTypeDef(TypedDict):
829
- layouts: List[LayoutSummaryTypeDef]
855
+ layouts: list[LayoutSummaryTypeDef]
830
856
  ResponseMetadata: ResponseMetadataTypeDef
831
857
  nextToken: NotRequired[str]
832
858
 
@@ -837,7 +863,7 @@ class ListCaseRulesRequestPaginateTypeDef(TypedDict):
837
863
 
838
864
 
839
865
  class ListTemplatesResponseTypeDef(TypedDict):
840
- templates: List[TemplateSummaryTypeDef]
866
+ templates: list[TemplateSummaryTypeDef]
841
867
  ResponseMetadata: ResponseMetadataTypeDef
842
868
  nextToken: NotRequired[str]
843
869
 
@@ -848,7 +874,7 @@ AuditEventTypeDef = TypedDict(
848
874
  "eventId": str,
849
875
  "type": AuditEventTypeType,
850
876
  "performedTime": datetime,
851
- "fields": List[AuditEventFieldTypeDef],
877
+ "fields": list[AuditEventFieldTypeDef],
852
878
  "relatedItemType": NotRequired[RelatedItemTypeType],
853
879
  "performedBy": NotRequired[AuditEventPerformedByTypeDef],
854
880
  },
@@ -884,13 +910,13 @@ class SectionTypeDef(TypedDict):
884
910
 
885
911
 
886
912
  class CustomContentTypeDef(TypedDict):
887
- fields: List[FieldValueOutputTypeDef]
913
+ fields: list[FieldValueOutputTypeDef]
888
914
 
889
915
 
890
916
  class GetCaseResponseTypeDef(TypedDict):
891
- fields: List[FieldValueOutputTypeDef]
917
+ fields: list[FieldValueOutputTypeDef]
892
918
  templateId: str
893
- tags: Dict[str, str]
919
+ tags: dict[str, str]
894
920
  ResponseMetadata: ResponseMetadataTypeDef
895
921
  nextToken: NotRequired[str]
896
922
 
@@ -898,8 +924,8 @@ class GetCaseResponseTypeDef(TypedDict):
898
924
  class SearchCasesResponseItemTypeDef(TypedDict):
899
925
  caseId: str
900
926
  templateId: str
901
- fields: List[FieldValueOutputTypeDef]
902
- tags: NotRequired[Dict[str, str]]
927
+ fields: list[FieldValueOutputTypeDef]
928
+ tags: NotRequired[dict[str, str]]
903
929
 
904
930
 
905
931
  class SlaContentTypeDef(TypedDict):
@@ -926,7 +952,7 @@ SlaInputConfigurationTypeDef = TypedDict(
926
952
 
927
953
 
928
954
  class GetCaseAuditEventsResponseTypeDef(TypedDict):
929
- auditEvents: List[AuditEventTypeDef]
955
+ auditEvents: list[AuditEventTypeDef]
930
956
  ResponseMetadata: ResponseMetadataTypeDef
931
957
  nextToken: NotRequired[str]
932
958
 
@@ -941,9 +967,19 @@ class EventBridgeConfigurationTypeDef(TypedDict):
941
967
  includedData: NotRequired[EventIncludedDataTypeDef]
942
968
 
943
969
 
970
+ class HiddenCaseRuleOutputTypeDef(TypedDict):
971
+ defaultValue: bool
972
+ conditions: list[BooleanConditionOutputTypeDef]
973
+
974
+
944
975
  class RequiredCaseRuleOutputTypeDef(TypedDict):
945
976
  defaultValue: bool
946
- conditions: List[BooleanConditionOutputTypeDef]
977
+ conditions: list[BooleanConditionOutputTypeDef]
978
+
979
+
980
+ class HiddenCaseRuleTypeDef(TypedDict):
981
+ defaultValue: bool
982
+ conditions: Sequence[BooleanConditionTypeDef]
947
983
 
948
984
 
949
985
  class RequiredCaseRuleTypeDef(TypedDict):
@@ -952,7 +988,7 @@ class RequiredCaseRuleTypeDef(TypedDict):
952
988
 
953
989
 
954
990
  class LayoutSectionsOutputTypeDef(TypedDict):
955
- sections: NotRequired[List[SectionOutputTypeDef]]
991
+ sections: NotRequired[list[SectionOutputTypeDef]]
956
992
 
957
993
 
958
994
  class LayoutSectionsTypeDef(TypedDict):
@@ -960,7 +996,7 @@ class LayoutSectionsTypeDef(TypedDict):
960
996
 
961
997
 
962
998
  class SearchCasesResponseTypeDef(TypedDict):
963
- cases: List[SearchCasesResponseItemTypeDef]
999
+ cases: list[SearchCasesResponseItemTypeDef]
964
1000
  ResponseMetadata: ResponseMetadataTypeDef
965
1001
  nextToken: NotRequired[str]
966
1002
 
@@ -993,10 +1029,14 @@ EventBridgeConfigurationUnionTypeDef = Union[
993
1029
 
994
1030
  class CaseRuleDetailsOutputTypeDef(TypedDict):
995
1031
  required: NotRequired[RequiredCaseRuleOutputTypeDef]
1032
+ fieldOptions: NotRequired[FieldOptionsCaseRuleOutputTypeDef]
1033
+ hidden: NotRequired[HiddenCaseRuleOutputTypeDef]
996
1034
 
997
1035
 
998
1036
  class CaseRuleDetailsTypeDef(TypedDict):
999
1037
  required: NotRequired[RequiredCaseRuleTypeDef]
1038
+ fieldOptions: NotRequired[FieldOptionsCaseRuleTypeDef]
1039
+ hidden: NotRequired[HiddenCaseRuleTypeDef]
1000
1040
 
1001
1041
 
1002
1042
  class BasicLayoutOutputTypeDef(TypedDict):
@@ -1018,7 +1058,7 @@ SearchAllRelatedItemsResponseItemTypeDef = TypedDict(
1018
1058
  "associationTime": datetime,
1019
1059
  "content": RelatedItemContentTypeDef,
1020
1060
  "performedBy": NotRequired[UserUnionTypeDef],
1021
- "tags": NotRequired[Dict[str, str]],
1061
+ "tags": NotRequired[dict[str, str]],
1022
1062
  },
1023
1063
  )
1024
1064
  SearchRelatedItemsResponseItemTypeDef = TypedDict(
@@ -1028,7 +1068,7 @@ SearchRelatedItemsResponseItemTypeDef = TypedDict(
1028
1068
  "type": RelatedItemTypeType,
1029
1069
  "associationTime": datetime,
1030
1070
  "content": RelatedItemContentTypeDef,
1031
- "tags": NotRequired[Dict[str, str]],
1071
+ "tags": NotRequired[dict[str, str]],
1032
1072
  "performedBy": NotRequired[UserUnionTypeDef],
1033
1073
  },
1034
1074
  )
@@ -1076,7 +1116,7 @@ class GetCaseRuleResponseTypeDef(TypedDict):
1076
1116
  deleted: NotRequired[bool]
1077
1117
  createdTime: NotRequired[datetime]
1078
1118
  lastModifiedTime: NotRequired[datetime]
1079
- tags: NotRequired[Dict[str, str]]
1119
+ tags: NotRequired[dict[str, str]]
1080
1120
 
1081
1121
 
1082
1122
  CaseRuleDetailsUnionTypeDef = Union[CaseRuleDetailsTypeDef, CaseRuleDetailsOutputTypeDef]
@@ -1091,13 +1131,13 @@ class LayoutContentTypeDef(TypedDict):
1091
1131
 
1092
1132
 
1093
1133
  class SearchAllRelatedItemsResponseTypeDef(TypedDict):
1094
- relatedItems: List[SearchAllRelatedItemsResponseItemTypeDef]
1134
+ relatedItems: list[SearchAllRelatedItemsResponseItemTypeDef]
1095
1135
  ResponseMetadata: ResponseMetadataTypeDef
1096
1136
  nextToken: NotRequired[str]
1097
1137
 
1098
1138
 
1099
1139
  class SearchRelatedItemsResponseTypeDef(TypedDict):
1100
- relatedItems: List[SearchRelatedItemsResponseItemTypeDef]
1140
+ relatedItems: list[SearchRelatedItemsResponseItemTypeDef]
1101
1141
  ResponseMetadata: ResponseMetadataTypeDef
1102
1142
  nextToken: NotRequired[str]
1103
1143
 
@@ -1150,8 +1190,9 @@ CustomFieldsFilterTypeDef = TypedDict(
1150
1190
 
1151
1191
 
1152
1192
  class BatchGetCaseRuleResponseTypeDef(TypedDict):
1153
- caseRules: List[GetCaseRuleResponseTypeDef]
1154
- errors: List[CaseRuleErrorTypeDef]
1193
+ caseRules: list[GetCaseRuleResponseTypeDef]
1194
+ errors: list[CaseRuleErrorTypeDef]
1195
+ unprocessedCaseRules: list[str]
1155
1196
  ResponseMetadata: ResponseMetadataTypeDef
1156
1197
 
1157
1198
 
@@ -1175,7 +1216,7 @@ class GetLayoutResponseTypeDef(TypedDict):
1175
1216
  layoutArn: str
1176
1217
  name: str
1177
1218
  content: LayoutContentOutputTypeDef
1178
- tags: Dict[str, str]
1219
+ tags: dict[str, str]
1179
1220
  deleted: bool
1180
1221
  createdTime: datetime
1181
1222
  lastModifiedTime: datetime