mypy-boto3-connectcases 1.35.0__py3-none-any.whl → 1.36.15__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.
@@ -1,7 +1,9 @@
1
1
  """
2
- Type annotations for connectcases service client.
2
+ Type annotations for connectcases service Client.
3
3
 
4
- [Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/)
4
+ [Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/)
5
+
6
+ Copyright 2025 Vlad Emelianov
5
7
 
6
8
  Usage::
7
9
 
@@ -14,69 +16,101 @@ Usage::
14
16
  ```
15
17
  """
16
18
 
19
+ from __future__ import annotations
20
+
17
21
  import sys
18
- from typing import Any, Dict, Mapping, Sequence, Type, overload
22
+ from typing import Any, overload
19
23
 
20
24
  from botocore.client import BaseClient, ClientMeta
25
+ from botocore.errorfactory import BaseClientExceptions
26
+ from botocore.exceptions import ClientError as BotocoreClientError
21
27
 
22
- from .literals import FieldTypeType, RelatedItemTypeType, TemplateStatusType
23
- from .paginator import SearchCasesPaginator, SearchRelatedItemsPaginator
28
+ from .paginator import ListCaseRulesPaginator, SearchCasesPaginator, SearchRelatedItemsPaginator
24
29
  from .type_defs import (
30
+ BatchGetCaseRuleRequestTypeDef,
31
+ BatchGetCaseRuleResponseTypeDef,
32
+ BatchGetFieldRequestTypeDef,
25
33
  BatchGetFieldResponseTypeDef,
34
+ BatchPutFieldOptionsRequestTypeDef,
26
35
  BatchPutFieldOptionsResponseTypeDef,
27
- CaseFilterTypeDef,
36
+ CreateCaseRequestTypeDef,
28
37
  CreateCaseResponseTypeDef,
38
+ CreateCaseRuleRequestTypeDef,
39
+ CreateCaseRuleResponseTypeDef,
40
+ CreateDomainRequestTypeDef,
29
41
  CreateDomainResponseTypeDef,
42
+ CreateFieldRequestTypeDef,
30
43
  CreateFieldResponseTypeDef,
44
+ CreateLayoutRequestTypeDef,
31
45
  CreateLayoutResponseTypeDef,
46
+ CreateRelatedItemRequestTypeDef,
32
47
  CreateRelatedItemResponseTypeDef,
48
+ CreateTemplateRequestTypeDef,
33
49
  CreateTemplateResponseTypeDef,
50
+ DeleteCaseRuleRequestTypeDef,
51
+ DeleteDomainRequestTypeDef,
52
+ DeleteFieldRequestTypeDef,
53
+ DeleteLayoutRequestTypeDef,
54
+ DeleteTemplateRequestTypeDef,
34
55
  EmptyResponseMetadataTypeDef,
35
- EventBridgeConfigurationUnionTypeDef,
36
- FieldIdentifierTypeDef,
37
- FieldOptionTypeDef,
38
- FieldValueExtraUnionTypeDef,
56
+ GetCaseAuditEventsRequestTypeDef,
39
57
  GetCaseAuditEventsResponseTypeDef,
58
+ GetCaseEventConfigurationRequestTypeDef,
40
59
  GetCaseEventConfigurationResponseTypeDef,
60
+ GetCaseRequestTypeDef,
41
61
  GetCaseResponseTypeDef,
62
+ GetDomainRequestTypeDef,
42
63
  GetDomainResponseTypeDef,
64
+ GetLayoutRequestTypeDef,
43
65
  GetLayoutResponseTypeDef,
66
+ GetTemplateRequestTypeDef,
44
67
  GetTemplateResponseTypeDef,
45
- LayoutConfigurationTypeDef,
46
- LayoutContentUnionTypeDef,
68
+ ListCaseRulesRequestTypeDef,
69
+ ListCaseRulesResponseTypeDef,
70
+ ListCasesForContactRequestTypeDef,
47
71
  ListCasesForContactResponseTypeDef,
72
+ ListDomainsRequestTypeDef,
48
73
  ListDomainsResponseTypeDef,
74
+ ListFieldOptionsRequestTypeDef,
49
75
  ListFieldOptionsResponseTypeDef,
76
+ ListFieldsRequestTypeDef,
50
77
  ListFieldsResponseTypeDef,
78
+ ListLayoutsRequestTypeDef,
51
79
  ListLayoutsResponseTypeDef,
80
+ ListTagsForResourceRequestTypeDef,
52
81
  ListTagsForResourceResponseTypeDef,
82
+ ListTemplatesRequestTypeDef,
53
83
  ListTemplatesResponseTypeDef,
54
- RelatedItemInputContentTypeDef,
55
- RelatedItemTypeFilterTypeDef,
56
- RequiredFieldTypeDef,
84
+ PutCaseEventConfigurationRequestTypeDef,
85
+ SearchCasesRequestTypeDef,
57
86
  SearchCasesResponseTypeDef,
87
+ SearchRelatedItemsRequestTypeDef,
58
88
  SearchRelatedItemsResponseTypeDef,
59
- SortTypeDef,
60
- UserUnionTypeDef,
89
+ TagResourceRequestTypeDef,
90
+ UntagResourceRequestTypeDef,
91
+ UpdateCaseRequestTypeDef,
92
+ UpdateCaseRuleRequestTypeDef,
93
+ UpdateFieldRequestTypeDef,
94
+ UpdateLayoutRequestTypeDef,
95
+ UpdateTemplateRequestTypeDef,
61
96
  )
62
97
 
98
+ if sys.version_info >= (3, 9):
99
+ from builtins import dict as Dict
100
+ from builtins import type as Type
101
+ from collections.abc import Mapping
102
+ else:
103
+ from typing import Dict, Mapping, Type
63
104
  if sys.version_info >= (3, 12):
64
- from typing import Literal
105
+ from typing import Literal, Unpack
65
106
  else:
66
- from typing_extensions import Literal
67
-
68
- __all__ = ("ConnectCasesClient",)
69
-
107
+ from typing_extensions import Literal, Unpack
70
108
 
71
- class BotocoreClientError(Exception):
72
- MSG_TEMPLATE: str
73
109
 
74
- def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
75
- self.response: Dict[str, Any]
76
- self.operation_name: str
110
+ __all__ = ("ConnectCasesClient",)
77
111
 
78
112
 
79
- class Exceptions:
113
+ class Exceptions(BaseClientExceptions):
80
114
  AccessDeniedException: Type[BotocoreClientError]
81
115
  ClientError: Type[BotocoreClientError]
82
116
  ConflictException: Type[BotocoreClientError]
@@ -100,441 +134,426 @@ class ConnectCasesClient(BaseClient):
100
134
  """
101
135
  ConnectCasesClient exceptions.
102
136
 
103
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.exceptions)
137
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client)
104
138
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#exceptions)
105
139
  """
106
140
 
141
+ def can_paginate(self, operation_name: str) -> bool:
142
+ """
143
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/can_paginate.html)
144
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#can_paginate)
145
+ """
146
+
147
+ def generate_presigned_url(
148
+ self,
149
+ ClientMethod: str,
150
+ Params: Mapping[str, Any] = ...,
151
+ ExpiresIn: int = 3600,
152
+ HttpMethod: str = ...,
153
+ ) -> str:
154
+ """
155
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/generate_presigned_url.html)
156
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#generate_presigned_url)
157
+ """
158
+
159
+ def batch_get_case_rule(
160
+ self, **kwargs: Unpack[BatchGetCaseRuleRequestTypeDef]
161
+ ) -> BatchGetCaseRuleResponseTypeDef:
162
+ """
163
+ Gets a batch of case rules.
164
+
165
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/batch_get_case_rule.html)
166
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#batch_get_case_rule)
167
+ """
168
+
107
169
  def batch_get_field(
108
- self, *, domainId: str, fields: Sequence[FieldIdentifierTypeDef]
170
+ self, **kwargs: Unpack[BatchGetFieldRequestTypeDef]
109
171
  ) -> BatchGetFieldResponseTypeDef:
110
172
  """
111
173
  Returns the description for the list of fields in the request parameters.
112
174
 
113
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.batch_get_field)
175
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/batch_get_field.html)
114
176
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#batch_get_field)
115
177
  """
116
178
 
117
179
  def batch_put_field_options(
118
- self, *, domainId: str, fieldId: str, options: Sequence[FieldOptionTypeDef]
180
+ self, **kwargs: Unpack[BatchPutFieldOptionsRequestTypeDef]
119
181
  ) -> BatchPutFieldOptionsResponseTypeDef:
120
182
  """
121
183
  Creates and updates a set of field options for a single select field in a Cases
122
184
  domain.
123
185
 
124
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.batch_put_field_options)
186
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/batch_put_field_options.html)
125
187
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#batch_put_field_options)
126
188
  """
127
189
 
128
- def can_paginate(self, operation_name: str) -> bool:
129
- """
130
- Check if an operation can be paginated.
131
-
132
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.can_paginate)
133
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#can_paginate)
134
- """
135
-
136
- def close(self) -> None:
190
+ def create_case(self, **kwargs: Unpack[CreateCaseRequestTypeDef]) -> CreateCaseResponseTypeDef:
137
191
  """
138
- Closes underlying endpoint connections.
192
+ If you provide a value for <code>PerformedBy.UserArn</code> you must also have
193
+ <a
194
+ href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a>
195
+ permission on the User ARN resource that you provide.
139
196
 
140
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.close)
141
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#close)
197
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_case.html)
198
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_case)
142
199
  """
143
200
 
144
- def create_case(
145
- self,
146
- *,
147
- domainId: str,
148
- fields: Sequence[FieldValueExtraUnionTypeDef],
149
- templateId: str,
150
- clientToken: str = ...,
151
- performedBy: UserUnionTypeDef = ...,
152
- ) -> CreateCaseResponseTypeDef:
201
+ def create_case_rule(
202
+ self, **kwargs: Unpack[CreateCaseRuleRequestTypeDef]
203
+ ) -> CreateCaseRuleResponseTypeDef:
153
204
  """
154
- .
205
+ Creates a new case rule.
155
206
 
156
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_case)
157
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_case)
207
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_case_rule.html)
208
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_case_rule)
158
209
  """
159
210
 
160
- def create_domain(self, *, name: str) -> CreateDomainResponseTypeDef:
211
+ def create_domain(
212
+ self, **kwargs: Unpack[CreateDomainRequestTypeDef]
213
+ ) -> CreateDomainResponseTypeDef:
161
214
  """
162
215
  Creates a domain, which is a container for all case data, such as cases,
163
- fields, templates and
164
- layouts.
216
+ fields, templates and layouts.
165
217
 
166
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_domain)
218
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_domain.html)
167
219
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_domain)
168
220
  """
169
221
 
170
222
  def create_field(
171
- self, *, domainId: str, name: str, type: FieldTypeType, description: str = ...
223
+ self, **kwargs: Unpack[CreateFieldRequestTypeDef]
172
224
  ) -> CreateFieldResponseTypeDef:
173
225
  """
174
226
  Creates a field in the Cases domain.
175
227
 
176
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_field)
228
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_field.html)
177
229
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_field)
178
230
  """
179
231
 
180
232
  def create_layout(
181
- self, *, content: LayoutContentUnionTypeDef, domainId: str, name: str
233
+ self, **kwargs: Unpack[CreateLayoutRequestTypeDef]
182
234
  ) -> CreateLayoutResponseTypeDef:
183
235
  """
184
236
  Creates a layout in the Cases domain.
185
237
 
186
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_layout)
238
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_layout.html)
187
239
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_layout)
188
240
  """
189
241
 
190
242
  def create_related_item(
191
- self,
192
- *,
193
- caseId: str,
194
- content: RelatedItemInputContentTypeDef,
195
- domainId: str,
196
- type: RelatedItemTypeType,
197
- performedBy: UserUnionTypeDef = ...,
243
+ self, **kwargs: Unpack[CreateRelatedItemRequestTypeDef]
198
244
  ) -> CreateRelatedItemResponseTypeDef:
199
245
  """
200
246
  Creates a related item (comments, tasks, and contacts) and associates it with a
201
247
  case.
202
248
 
203
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_related_item)
249
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_related_item.html)
204
250
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_related_item)
205
251
  """
206
252
 
207
253
  def create_template(
208
- self,
209
- *,
210
- domainId: str,
211
- name: str,
212
- description: str = ...,
213
- layoutConfiguration: LayoutConfigurationTypeDef = ...,
214
- requiredFields: Sequence[RequiredFieldTypeDef] = ...,
215
- status: TemplateStatusType = ...,
254
+ self, **kwargs: Unpack[CreateTemplateRequestTypeDef]
216
255
  ) -> CreateTemplateResponseTypeDef:
217
256
  """
218
257
  Creates a template in the Cases domain.
219
258
 
220
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_template)
259
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/create_template.html)
221
260
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_template)
222
261
  """
223
262
 
224
- def delete_domain(self, *, domainId: str) -> Dict[str, Any]:
263
+ def delete_case_rule(self, **kwargs: Unpack[DeleteCaseRuleRequestTypeDef]) -> Dict[str, Any]:
264
+ """
265
+ Deletes a case rule.
266
+
267
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/delete_case_rule.html)
268
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_case_rule)
269
+ """
270
+
271
+ def delete_domain(self, **kwargs: Unpack[DeleteDomainRequestTypeDef]) -> Dict[str, Any]:
225
272
  """
226
273
  Deletes a Cases domain.
227
274
 
228
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_domain)
275
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/delete_domain.html)
229
276
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_domain)
230
277
  """
231
278
 
232
- def delete_field(self, *, domainId: str, fieldId: str) -> Dict[str, Any]:
279
+ def delete_field(self, **kwargs: Unpack[DeleteFieldRequestTypeDef]) -> Dict[str, Any]:
233
280
  """
234
281
  Deletes a field from a cases template.
235
282
 
236
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_field)
283
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/delete_field.html)
237
284
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_field)
238
285
  """
239
286
 
240
- def delete_layout(self, *, domainId: str, layoutId: str) -> Dict[str, Any]:
287
+ def delete_layout(self, **kwargs: Unpack[DeleteLayoutRequestTypeDef]) -> Dict[str, Any]:
241
288
  """
242
289
  Deletes a layout from a cases template.
243
290
 
244
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_layout)
291
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/delete_layout.html)
245
292
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_layout)
246
293
  """
247
294
 
248
- def delete_template(self, *, domainId: str, templateId: str) -> Dict[str, Any]:
295
+ def delete_template(self, **kwargs: Unpack[DeleteTemplateRequestTypeDef]) -> Dict[str, Any]:
249
296
  """
250
297
  Deletes a cases template.
251
298
 
252
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_template)
299
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/delete_template.html)
253
300
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_template)
254
301
  """
255
302
 
256
- def generate_presigned_url(
257
- self,
258
- ClientMethod: str,
259
- Params: Mapping[str, Any] = ...,
260
- ExpiresIn: int = 3600,
261
- HttpMethod: str = ...,
262
- ) -> str:
263
- """
264
- Generate a presigned url given a client, its method, and arguments.
265
-
266
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.generate_presigned_url)
267
- [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#generate_presigned_url)
268
- """
269
-
270
- def get_case(
271
- self,
272
- *,
273
- caseId: str,
274
- domainId: str,
275
- fields: Sequence[FieldIdentifierTypeDef],
276
- nextToken: str = ...,
277
- ) -> GetCaseResponseTypeDef:
303
+ def get_case(self, **kwargs: Unpack[GetCaseRequestTypeDef]) -> GetCaseResponseTypeDef:
278
304
  """
279
305
  Returns information about a specific case if it exists.
280
306
 
281
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_case)
307
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_case.html)
282
308
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case)
283
309
  """
284
310
 
285
311
  def get_case_audit_events(
286
- self, *, caseId: str, domainId: str, maxResults: int = ..., nextToken: str = ...
312
+ self, **kwargs: Unpack[GetCaseAuditEventsRequestTypeDef]
287
313
  ) -> GetCaseAuditEventsResponseTypeDef:
288
314
  """
289
315
  Returns the audit history about a specific case if it exists.
290
316
 
291
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_case_audit_events)
317
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_case_audit_events.html)
292
318
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case_audit_events)
293
319
  """
294
320
 
295
321
  def get_case_event_configuration(
296
- self, *, domainId: str
322
+ self, **kwargs: Unpack[GetCaseEventConfigurationRequestTypeDef]
297
323
  ) -> GetCaseEventConfigurationResponseTypeDef:
298
324
  """
299
325
  Returns the case event publishing configuration.
300
326
 
301
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_case_event_configuration)
327
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_case_event_configuration.html)
302
328
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case_event_configuration)
303
329
  """
304
330
 
305
- def get_domain(self, *, domainId: str) -> GetDomainResponseTypeDef:
331
+ def get_domain(self, **kwargs: Unpack[GetDomainRequestTypeDef]) -> GetDomainResponseTypeDef:
306
332
  """
307
333
  Returns information about a specific domain if it exists.
308
334
 
309
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_domain)
335
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_domain.html)
310
336
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_domain)
311
337
  """
312
338
 
313
- def get_layout(self, *, domainId: str, layoutId: str) -> GetLayoutResponseTypeDef:
339
+ def get_layout(self, **kwargs: Unpack[GetLayoutRequestTypeDef]) -> GetLayoutResponseTypeDef:
314
340
  """
315
341
  Returns the details for the requested layout.
316
342
 
317
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_layout)
343
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_layout.html)
318
344
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_layout)
319
345
  """
320
346
 
321
- def get_template(self, *, domainId: str, templateId: str) -> GetTemplateResponseTypeDef:
347
+ def get_template(
348
+ self, **kwargs: Unpack[GetTemplateRequestTypeDef]
349
+ ) -> GetTemplateResponseTypeDef:
322
350
  """
323
351
  Returns the details for the requested template.
324
352
 
325
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_template)
353
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_template.html)
326
354
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_template)
327
355
  """
328
356
 
357
+ def list_case_rules(
358
+ self, **kwargs: Unpack[ListCaseRulesRequestTypeDef]
359
+ ) -> ListCaseRulesResponseTypeDef:
360
+ """
361
+ Lists all case rules in a Cases domain.
362
+
363
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_case_rules.html)
364
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_case_rules)
365
+ """
366
+
329
367
  def list_cases_for_contact(
330
- self, *, contactArn: str, domainId: str, maxResults: int = ..., nextToken: str = ...
368
+ self, **kwargs: Unpack[ListCasesForContactRequestTypeDef]
331
369
  ) -> ListCasesForContactResponseTypeDef:
332
370
  """
333
371
  Lists cases for a given contact.
334
372
 
335
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_cases_for_contact)
373
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_cases_for_contact.html)
336
374
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_cases_for_contact)
337
375
  """
338
376
 
339
377
  def list_domains(
340
- self, *, maxResults: int = ..., nextToken: str = ...
378
+ self, **kwargs: Unpack[ListDomainsRequestTypeDef]
341
379
  ) -> ListDomainsResponseTypeDef:
342
380
  """
343
381
  Lists all cases domains in the Amazon Web Services account.
344
382
 
345
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_domains)
383
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_domains.html)
346
384
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_domains)
347
385
  """
348
386
 
349
387
  def list_field_options(
350
- self,
351
- *,
352
- domainId: str,
353
- fieldId: str,
354
- maxResults: int = ...,
355
- nextToken: str = ...,
356
- values: Sequence[str] = ...,
388
+ self, **kwargs: Unpack[ListFieldOptionsRequestTypeDef]
357
389
  ) -> ListFieldOptionsResponseTypeDef:
358
390
  """
359
391
  Lists all of the field options for a field identifier in the domain.
360
392
 
361
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_field_options)
393
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_field_options.html)
362
394
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_field_options)
363
395
  """
364
396
 
365
- def list_fields(
366
- self, *, domainId: str, maxResults: int = ..., nextToken: str = ...
367
- ) -> ListFieldsResponseTypeDef:
397
+ def list_fields(self, **kwargs: Unpack[ListFieldsRequestTypeDef]) -> ListFieldsResponseTypeDef:
368
398
  """
369
399
  Lists all fields in a Cases domain.
370
400
 
371
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_fields)
401
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_fields.html)
372
402
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_fields)
373
403
  """
374
404
 
375
405
  def list_layouts(
376
- self, *, domainId: str, maxResults: int = ..., nextToken: str = ...
406
+ self, **kwargs: Unpack[ListLayoutsRequestTypeDef]
377
407
  ) -> ListLayoutsResponseTypeDef:
378
408
  """
379
409
  Lists all layouts in the given cases domain.
380
410
 
381
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_layouts)
411
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_layouts.html)
382
412
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_layouts)
383
413
  """
384
414
 
385
- def list_tags_for_resource(self, *, arn: str) -> ListTagsForResourceResponseTypeDef:
415
+ def list_tags_for_resource(
416
+ self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
417
+ ) -> ListTagsForResourceResponseTypeDef:
386
418
  """
387
419
  Lists tags for a resource.
388
420
 
389
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_tags_for_resource)
421
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_tags_for_resource.html)
390
422
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_tags_for_resource)
391
423
  """
392
424
 
393
425
  def list_templates(
394
- self,
395
- *,
396
- domainId: str,
397
- maxResults: int = ...,
398
- nextToken: str = ...,
399
- status: Sequence[TemplateStatusType] = ...,
426
+ self, **kwargs: Unpack[ListTemplatesRequestTypeDef]
400
427
  ) -> ListTemplatesResponseTypeDef:
401
428
  """
402
429
  Lists all of the templates in a Cases domain.
403
430
 
404
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.list_templates)
431
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/list_templates.html)
405
432
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#list_templates)
406
433
  """
407
434
 
408
435
  def put_case_event_configuration(
409
- self, *, domainId: str, eventBridge: EventBridgeConfigurationUnionTypeDef
436
+ self, **kwargs: Unpack[PutCaseEventConfigurationRequestTypeDef]
410
437
  ) -> Dict[str, Any]:
411
438
  """
412
439
  Adds case event publishing configuration.
413
440
 
414
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.put_case_event_configuration)
441
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/put_case_event_configuration.html)
415
442
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#put_case_event_configuration)
416
443
  """
417
444
 
418
445
  def search_cases(
419
- self,
420
- *,
421
- domainId: str,
422
- fields: Sequence[FieldIdentifierTypeDef] = ...,
423
- filter: "CaseFilterTypeDef" = ...,
424
- maxResults: int = ...,
425
- nextToken: str = ...,
426
- searchTerm: str = ...,
427
- sorts: Sequence[SortTypeDef] = ...,
446
+ self, **kwargs: Unpack[SearchCasesRequestTypeDef]
428
447
  ) -> SearchCasesResponseTypeDef:
429
448
  """
430
449
  Searches for cases within their associated Cases domain.
431
450
 
432
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.search_cases)
451
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/search_cases.html)
433
452
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#search_cases)
434
453
  """
435
454
 
436
455
  def search_related_items(
437
- self,
438
- *,
439
- caseId: str,
440
- domainId: str,
441
- filters: Sequence[RelatedItemTypeFilterTypeDef] = ...,
442
- maxResults: int = ...,
443
- nextToken: str = ...,
456
+ self, **kwargs: Unpack[SearchRelatedItemsRequestTypeDef]
444
457
  ) -> SearchRelatedItemsResponseTypeDef:
445
458
  """
446
459
  Searches for related items that are associated with a case.
447
460
 
448
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.search_related_items)
461
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/search_related_items.html)
449
462
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#search_related_items)
450
463
  """
451
464
 
452
- def tag_resource(self, *, arn: str, tags: Mapping[str, str]) -> EmptyResponseMetadataTypeDef:
465
+ def tag_resource(
466
+ self, **kwargs: Unpack[TagResourceRequestTypeDef]
467
+ ) -> EmptyResponseMetadataTypeDef:
453
468
  """
454
469
  Adds tags to a resource.
455
470
 
456
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.tag_resource)
471
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/tag_resource.html)
457
472
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#tag_resource)
458
473
  """
459
474
 
460
- def untag_resource(self, *, arn: str, tagKeys: Sequence[str]) -> EmptyResponseMetadataTypeDef:
475
+ def untag_resource(
476
+ self, **kwargs: Unpack[UntagResourceRequestTypeDef]
477
+ ) -> EmptyResponseMetadataTypeDef:
461
478
  """
462
479
  Untags a resource.
463
480
 
464
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.untag_resource)
481
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/untag_resource.html)
465
482
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#untag_resource)
466
483
  """
467
484
 
468
- def update_case(
469
- self,
470
- *,
471
- caseId: str,
472
- domainId: str,
473
- fields: Sequence[FieldValueExtraUnionTypeDef],
474
- performedBy: UserUnionTypeDef = ...,
475
- ) -> Dict[str, Any]:
485
+ def update_case(self, **kwargs: Unpack[UpdateCaseRequestTypeDef]) -> Dict[str, Any]:
476
486
  """
477
- .
487
+ If you provide a value for <code>PerformedBy.UserArn</code> you must also have
488
+ <a
489
+ href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html">connect:DescribeUser</a>
490
+ permission on the User ARN resource that you provide.
478
491
 
479
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_case)
492
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/update_case.html)
480
493
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_case)
481
494
  """
482
495
 
483
- def update_field(
484
- self, *, domainId: str, fieldId: str, description: str = ..., name: str = ...
485
- ) -> Dict[str, Any]:
496
+ def update_case_rule(self, **kwargs: Unpack[UpdateCaseRuleRequestTypeDef]) -> Dict[str, Any]:
497
+ """
498
+ Updates a case rule.
499
+
500
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/update_case_rule.html)
501
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_case_rule)
502
+ """
503
+
504
+ def update_field(self, **kwargs: Unpack[UpdateFieldRequestTypeDef]) -> Dict[str, Any]:
486
505
  """
487
506
  Updates the properties of an existing field.
488
507
 
489
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_field)
508
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/update_field.html)
490
509
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_field)
491
510
  """
492
511
 
493
- def update_layout(
494
- self,
495
- *,
496
- domainId: str,
497
- layoutId: str,
498
- content: LayoutContentUnionTypeDef = ...,
499
- name: str = ...,
500
- ) -> Dict[str, Any]:
512
+ def update_layout(self, **kwargs: Unpack[UpdateLayoutRequestTypeDef]) -> Dict[str, Any]:
501
513
  """
502
514
  Updates the attributes of an existing layout.
503
515
 
504
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_layout)
516
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/update_layout.html)
505
517
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_layout)
506
518
  """
507
519
 
508
- def update_template(
509
- self,
510
- *,
511
- domainId: str,
512
- templateId: str,
513
- description: str = ...,
514
- layoutConfiguration: LayoutConfigurationTypeDef = ...,
515
- name: str = ...,
516
- requiredFields: Sequence[RequiredFieldTypeDef] = ...,
517
- status: TemplateStatusType = ...,
518
- ) -> Dict[str, Any]:
520
+ def update_template(self, **kwargs: Unpack[UpdateTemplateRequestTypeDef]) -> Dict[str, Any]:
519
521
  """
520
522
  Updates the attributes of an existing template.
521
523
 
522
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_template)
524
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/update_template.html)
523
525
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_template)
524
526
  """
525
527
 
526
- @overload
527
- def get_paginator(self, operation_name: Literal["search_cases"]) -> SearchCasesPaginator:
528
+ @overload # type: ignore[override]
529
+ def get_paginator( # type: ignore[override]
530
+ self, operation_name: Literal["list_case_rules"]
531
+ ) -> ListCaseRulesPaginator:
532
+ """
533
+ Create a paginator for an operation.
534
+
535
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_paginator.html)
536
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_paginator)
537
+ """
538
+
539
+ @overload # type: ignore[override]
540
+ def get_paginator( # type: ignore[override]
541
+ self, operation_name: Literal["search_cases"]
542
+ ) -> SearchCasesPaginator:
528
543
  """
529
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_paginator)
544
+ Create a paginator for an operation.
545
+
546
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_paginator.html)
530
547
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_paginator)
531
548
  """
532
549
 
533
- @overload
534
- def get_paginator(
550
+ @overload # type: ignore[override]
551
+ def get_paginator( # type: ignore[override]
535
552
  self, operation_name: Literal["search_related_items"]
536
553
  ) -> SearchRelatedItemsPaginator:
537
554
  """
538
- [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_paginator)
555
+ Create a paginator for an operation.
556
+
557
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases/client/get_paginator.html)
539
558
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_paginator)
540
559
  """