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