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