mypy-boto3-connectcases 1.34.2__tar.gz → 1.34.98__tar.gz
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.
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/LICENSE +1 -1
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/PKG-INFO +11 -11
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/README.md +6 -6
- mypy-boto3-connectcases-1.34.2/mypy_boto3_connectcases/__init__.py → mypy_boto3_connectcases-1.34.98/mypy_boto3_connectcases/__init__.pyi +0 -1
- mypy_boto3_connectcases-1.34.98/mypy_boto3_connectcases/__main__.py +40 -0
- mypy-boto3-connectcases-1.34.2/mypy_boto3_connectcases/client.pyi → mypy_boto3_connectcases-1.34.98/mypy_boto3_connectcases/client.py +68 -19
- mypy-boto3-connectcases-1.34.2/mypy_boto3_connectcases/client.py → mypy_boto3_connectcases-1.34.98/mypy_boto3_connectcases/client.pyi +65 -23
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/literals.py +15 -7
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/literals.pyi +15 -5
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/paginator.py +2 -3
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/paginator.pyi +2 -2
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/type_defs.py +338 -120
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/type_defs.pyi +338 -119
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/version.py +1 -1
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/PKG-INFO +11 -11
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/setup.py +4 -8
- mypy-boto3-connectcases-1.34.2/mypy_boto3_connectcases/__main__.py +0 -39
- /mypy-boto3-connectcases-1.34.2/mypy_boto3_connectcases/__init__.pyi → /mypy_boto3_connectcases-1.34.98/mypy_boto3_connectcases/__init__.py +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases/py.typed +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/SOURCES.txt +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/dependency_links.txt +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/not-zip-safe +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/requires.txt +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/mypy_boto3_connectcases.egg-info/top_level.txt +0 -0
- {mypy-boto3-connectcases-1.34.2 → mypy_boto3_connectcases-1.34.98}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-connectcases
|
|
3
|
-
Version: 1.34.
|
|
4
|
-
Summary: Type annotations for boto3.ConnectCases 1.34.
|
|
3
|
+
Version: 1.34.98
|
|
4
|
+
Summary: Type annotations for boto3.ConnectCases 1.34.98 service generated with mypy-boto3-builder 7.24.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -17,7 +17,6 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
17
17
|
Classifier: Natural Language :: English
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -26,10 +25,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
27
26
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
28
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
-
Classifier: Typing ::
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Classifier: Typing :: Stubs Only
|
|
29
|
+
Requires-Python: >=3.8
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
32
31
|
License-File: LICENSE
|
|
32
|
+
Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
33
33
|
|
|
34
34
|
<a id="mypy-boto3-connectcases"></a>
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@ License-File: LICENSE
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3.ConnectCases 1.34.
|
|
46
|
+
[boto3.ConnectCases 1.34.98](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases)
|
|
47
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -307,10 +307,10 @@ Full list of `ConnectCases` Literals can be found in
|
|
|
307
307
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/literals/).
|
|
308
308
|
|
|
309
309
|
```python
|
|
310
|
-
from mypy_boto3_connectcases.literals import
|
|
310
|
+
from mypy_boto3_connectcases.literals import AuditEventTypeType
|
|
311
311
|
|
|
312
312
|
|
|
313
|
-
def check_value(value:
|
|
313
|
+
def check_value(value: AuditEventTypeType) -> bool: ...
|
|
314
314
|
```
|
|
315
315
|
|
|
316
316
|
<a id="type-definitions"></a>
|
|
@@ -324,10 +324,10 @@ Full list of `ConnectCases` TypeDefs can be found in
|
|
|
324
324
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/type_defs/).
|
|
325
325
|
|
|
326
326
|
```python
|
|
327
|
-
from mypy_boto3_connectcases.type_defs import
|
|
327
|
+
from mypy_boto3_connectcases.type_defs import AuditEventFieldValueUnionTypeDef
|
|
328
328
|
|
|
329
329
|
|
|
330
|
-
def get_value() ->
|
|
330
|
+
def get_value() -> AuditEventFieldValueUnionTypeDef:
|
|
331
331
|
return {...}
|
|
332
332
|
```
|
|
333
333
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.ConnectCases 1.34.
|
|
13
|
+
[boto3.ConnectCases 1.34.98](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 7.
|
|
22
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -274,10 +274,10 @@ Full list of `ConnectCases` Literals can be found in
|
|
|
274
274
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/literals/).
|
|
275
275
|
|
|
276
276
|
```python
|
|
277
|
-
from mypy_boto3_connectcases.literals import
|
|
277
|
+
from mypy_boto3_connectcases.literals import AuditEventTypeType
|
|
278
278
|
|
|
279
279
|
|
|
280
|
-
def check_value(value:
|
|
280
|
+
def check_value(value: AuditEventTypeType) -> bool: ...
|
|
281
281
|
```
|
|
282
282
|
|
|
283
283
|
<a id="type-definitions"></a>
|
|
@@ -291,10 +291,10 @@ Full list of `ConnectCases` TypeDefs can be found in
|
|
|
291
291
|
[docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/type_defs/).
|
|
292
292
|
|
|
293
293
|
```python
|
|
294
|
-
from mypy_boto3_connectcases.type_defs import
|
|
294
|
+
from mypy_boto3_connectcases.type_defs import AuditEventFieldValueUnionTypeDef
|
|
295
295
|
|
|
296
296
|
|
|
297
|
-
def get_value() ->
|
|
297
|
+
def get_value() -> AuditEventFieldValueUnionTypeDef:
|
|
298
298
|
return {...}
|
|
299
299
|
```
|
|
300
300
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def print_info() -> None:
|
|
9
|
+
"""
|
|
10
|
+
Print package info to stdout.
|
|
11
|
+
"""
|
|
12
|
+
print(
|
|
13
|
+
"Type annotations for boto3.ConnectCases 1.34.98\n"
|
|
14
|
+
"Version: 1.34.98\n"
|
|
15
|
+
"Builder version: 7.24.0\n"
|
|
16
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases//\n"
|
|
17
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases\n"
|
|
18
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def print_version() -> None:
|
|
24
|
+
"""
|
|
25
|
+
Print package version to stdout.
|
|
26
|
+
"""
|
|
27
|
+
print("1.34.98")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def main() -> None:
|
|
31
|
+
"""
|
|
32
|
+
Main CLI entrypoint.
|
|
33
|
+
"""
|
|
34
|
+
if "--version" in sys.argv:
|
|
35
|
+
return print_version()
|
|
36
|
+
print_info()
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
if __name__ == "__main__":
|
|
40
|
+
main()
|
|
@@ -32,17 +32,18 @@ from .type_defs import (
|
|
|
32
32
|
CreateRelatedItemResponseTypeDef,
|
|
33
33
|
CreateTemplateResponseTypeDef,
|
|
34
34
|
EmptyResponseMetadataTypeDef,
|
|
35
|
-
|
|
35
|
+
EventBridgeConfigurationUnionTypeDef,
|
|
36
36
|
FieldIdentifierTypeDef,
|
|
37
37
|
FieldOptionTypeDef,
|
|
38
|
-
|
|
38
|
+
FieldValueExtraUnionTypeDef,
|
|
39
|
+
GetCaseAuditEventsResponseTypeDef,
|
|
39
40
|
GetCaseEventConfigurationResponseTypeDef,
|
|
40
41
|
GetCaseResponseTypeDef,
|
|
41
42
|
GetDomainResponseTypeDef,
|
|
42
43
|
GetLayoutResponseTypeDef,
|
|
43
44
|
GetTemplateResponseTypeDef,
|
|
44
45
|
LayoutConfigurationTypeDef,
|
|
45
|
-
|
|
46
|
+
LayoutContentUnionTypeDef,
|
|
46
47
|
ListCasesForContactResponseTypeDef,
|
|
47
48
|
ListDomainsResponseTypeDef,
|
|
48
49
|
ListFieldOptionsResponseTypeDef,
|
|
@@ -66,6 +67,7 @@ else:
|
|
|
66
67
|
|
|
67
68
|
__all__ = ("ConnectCasesClient",)
|
|
68
69
|
|
|
70
|
+
|
|
69
71
|
class BotocoreClientError(Exception):
|
|
70
72
|
MSG_TEMPLATE: str
|
|
71
73
|
|
|
@@ -73,6 +75,7 @@ class BotocoreClientError(Exception):
|
|
|
73
75
|
self.response: Dict[str, Any]
|
|
74
76
|
self.operation_name: str
|
|
75
77
|
|
|
78
|
+
|
|
76
79
|
class Exceptions:
|
|
77
80
|
AccessDeniedException: Type[BotocoreClientError]
|
|
78
81
|
ClientError: Type[BotocoreClientError]
|
|
@@ -83,6 +86,7 @@ class Exceptions:
|
|
|
83
86
|
ThrottlingException: Type[BotocoreClientError]
|
|
84
87
|
ValidationException: Type[BotocoreClientError]
|
|
85
88
|
|
|
89
|
+
|
|
86
90
|
class ConnectCasesClient(BaseClient):
|
|
87
91
|
"""
|
|
88
92
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client)
|
|
@@ -141,12 +145,13 @@ class ConnectCasesClient(BaseClient):
|
|
|
141
145
|
self,
|
|
142
146
|
*,
|
|
143
147
|
domainId: str,
|
|
144
|
-
fields: Sequence[
|
|
148
|
+
fields: Sequence[FieldValueExtraUnionTypeDef],
|
|
145
149
|
templateId: str,
|
|
146
|
-
clientToken: str =
|
|
150
|
+
clientToken: str = ...,
|
|
151
|
+
performedBy: UserUnionTypeDef = ...,
|
|
147
152
|
) -> CreateCaseResponseTypeDef:
|
|
148
153
|
"""
|
|
149
|
-
|
|
154
|
+
.
|
|
150
155
|
|
|
151
156
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_case)
|
|
152
157
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_case)
|
|
@@ -173,7 +178,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
173
178
|
"""
|
|
174
179
|
|
|
175
180
|
def create_layout(
|
|
176
|
-
self, *, content:
|
|
181
|
+
self, *, content: LayoutContentUnionTypeDef, domainId: str, name: str
|
|
177
182
|
) -> CreateLayoutResponseTypeDef:
|
|
178
183
|
"""
|
|
179
184
|
Creates a layout in the Cases domain.
|
|
@@ -189,7 +194,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
189
194
|
content: RelatedItemInputContentTypeDef,
|
|
190
195
|
domainId: str,
|
|
191
196
|
type: RelatedItemTypeType,
|
|
192
|
-
performedBy: UserUnionTypeDef =
|
|
197
|
+
performedBy: UserUnionTypeDef = ...,
|
|
193
198
|
) -> CreateRelatedItemResponseTypeDef:
|
|
194
199
|
"""
|
|
195
200
|
Creates a related item (comments, tasks, and contacts) and associates it with a
|
|
@@ -207,7 +212,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
207
212
|
description: str = ...,
|
|
208
213
|
layoutConfiguration: LayoutConfigurationTypeDef = ...,
|
|
209
214
|
requiredFields: Sequence[RequiredFieldTypeDef] = ...,
|
|
210
|
-
status: TemplateStatusType =
|
|
215
|
+
status: TemplateStatusType = ...,
|
|
211
216
|
) -> CreateTemplateResponseTypeDef:
|
|
212
217
|
"""
|
|
213
218
|
Creates a template in the Cases domain.
|
|
@@ -224,6 +229,30 @@ class ConnectCasesClient(BaseClient):
|
|
|
224
229
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_domain)
|
|
225
230
|
"""
|
|
226
231
|
|
|
232
|
+
def delete_field(self, *, domainId: str, fieldId: str) -> Dict[str, Any]:
|
|
233
|
+
"""
|
|
234
|
+
Deletes a field from a cases template.
|
|
235
|
+
|
|
236
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_field)
|
|
237
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_field)
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
def delete_layout(self, *, domainId: str, layoutId: str) -> Dict[str, Any]:
|
|
241
|
+
"""
|
|
242
|
+
Deletes a layout from a cases template.
|
|
243
|
+
|
|
244
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_layout)
|
|
245
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_layout)
|
|
246
|
+
"""
|
|
247
|
+
|
|
248
|
+
def delete_template(self, *, domainId: str, templateId: str) -> Dict[str, Any]:
|
|
249
|
+
"""
|
|
250
|
+
Deletes a cases template.
|
|
251
|
+
|
|
252
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_template)
|
|
253
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_template)
|
|
254
|
+
"""
|
|
255
|
+
|
|
227
256
|
def generate_presigned_url(
|
|
228
257
|
self,
|
|
229
258
|
ClientMethod: str,
|
|
@@ -244,7 +273,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
244
273
|
caseId: str,
|
|
245
274
|
domainId: str,
|
|
246
275
|
fields: Sequence[FieldIdentifierTypeDef],
|
|
247
|
-
nextToken: str =
|
|
276
|
+
nextToken: str = ...,
|
|
248
277
|
) -> GetCaseResponseTypeDef:
|
|
249
278
|
"""
|
|
250
279
|
Returns information about a specific case if it exists.
|
|
@@ -253,6 +282,16 @@ class ConnectCasesClient(BaseClient):
|
|
|
253
282
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case)
|
|
254
283
|
"""
|
|
255
284
|
|
|
285
|
+
def get_case_audit_events(
|
|
286
|
+
self, *, caseId: str, domainId: str, maxResults: int = ..., nextToken: str = ...
|
|
287
|
+
) -> GetCaseAuditEventsResponseTypeDef:
|
|
288
|
+
"""
|
|
289
|
+
Returns the audit history about a specific case if it exists.
|
|
290
|
+
|
|
291
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_case_audit_events)
|
|
292
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case_audit_events)
|
|
293
|
+
"""
|
|
294
|
+
|
|
256
295
|
def get_case_event_configuration(
|
|
257
296
|
self, *, domainId: str
|
|
258
297
|
) -> GetCaseEventConfigurationResponseTypeDef:
|
|
@@ -314,7 +353,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
314
353
|
fieldId: str,
|
|
315
354
|
maxResults: int = ...,
|
|
316
355
|
nextToken: str = ...,
|
|
317
|
-
values: Sequence[str] =
|
|
356
|
+
values: Sequence[str] = ...,
|
|
318
357
|
) -> ListFieldOptionsResponseTypeDef:
|
|
319
358
|
"""
|
|
320
359
|
Lists all of the field options for a field identifier in the domain.
|
|
@@ -357,7 +396,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
357
396
|
domainId: str,
|
|
358
397
|
maxResults: int = ...,
|
|
359
398
|
nextToken: str = ...,
|
|
360
|
-
status: Sequence[TemplateStatusType] =
|
|
399
|
+
status: Sequence[TemplateStatusType] = ...,
|
|
361
400
|
) -> ListTemplatesResponseTypeDef:
|
|
362
401
|
"""
|
|
363
402
|
Lists all of the templates in a Cases domain.
|
|
@@ -367,7 +406,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
367
406
|
"""
|
|
368
407
|
|
|
369
408
|
def put_case_event_configuration(
|
|
370
|
-
self, *, domainId: str, eventBridge:
|
|
409
|
+
self, *, domainId: str, eventBridge: EventBridgeConfigurationUnionTypeDef
|
|
371
410
|
) -> Dict[str, Any]:
|
|
372
411
|
"""
|
|
373
412
|
Adds case event publishing configuration.
|
|
@@ -385,7 +424,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
385
424
|
maxResults: int = ...,
|
|
386
425
|
nextToken: str = ...,
|
|
387
426
|
searchTerm: str = ...,
|
|
388
|
-
sorts: Sequence[SortTypeDef] =
|
|
427
|
+
sorts: Sequence[SortTypeDef] = ...,
|
|
389
428
|
) -> SearchCasesResponseTypeDef:
|
|
390
429
|
"""
|
|
391
430
|
Searches for cases within their associated Cases domain.
|
|
@@ -401,7 +440,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
401
440
|
domainId: str,
|
|
402
441
|
filters: Sequence[RelatedItemTypeFilterTypeDef] = ...,
|
|
403
442
|
maxResults: int = ...,
|
|
404
|
-
nextToken: str =
|
|
443
|
+
nextToken: str = ...,
|
|
405
444
|
) -> SearchRelatedItemsResponseTypeDef:
|
|
406
445
|
"""
|
|
407
446
|
Searches for related items that are associated with a case.
|
|
@@ -427,10 +466,15 @@ class ConnectCasesClient(BaseClient):
|
|
|
427
466
|
"""
|
|
428
467
|
|
|
429
468
|
def update_case(
|
|
430
|
-
self,
|
|
469
|
+
self,
|
|
470
|
+
*,
|
|
471
|
+
caseId: str,
|
|
472
|
+
domainId: str,
|
|
473
|
+
fields: Sequence[FieldValueExtraUnionTypeDef],
|
|
474
|
+
performedBy: UserUnionTypeDef = ...,
|
|
431
475
|
) -> Dict[str, Any]:
|
|
432
476
|
"""
|
|
433
|
-
|
|
477
|
+
.
|
|
434
478
|
|
|
435
479
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_case)
|
|
436
480
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_case)
|
|
@@ -447,7 +491,12 @@ class ConnectCasesClient(BaseClient):
|
|
|
447
491
|
"""
|
|
448
492
|
|
|
449
493
|
def update_layout(
|
|
450
|
-
self,
|
|
494
|
+
self,
|
|
495
|
+
*,
|
|
496
|
+
domainId: str,
|
|
497
|
+
layoutId: str,
|
|
498
|
+
content: LayoutContentUnionTypeDef = ...,
|
|
499
|
+
name: str = ...,
|
|
451
500
|
) -> Dict[str, Any]:
|
|
452
501
|
"""
|
|
453
502
|
Updates the attributes of an existing layout.
|
|
@@ -465,7 +514,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
465
514
|
layoutConfiguration: LayoutConfigurationTypeDef = ...,
|
|
466
515
|
name: str = ...,
|
|
467
516
|
requiredFields: Sequence[RequiredFieldTypeDef] = ...,
|
|
468
|
-
status: TemplateStatusType =
|
|
517
|
+
status: TemplateStatusType = ...,
|
|
469
518
|
) -> Dict[str, Any]:
|
|
470
519
|
"""
|
|
471
520
|
Updates the attributes of an existing template.
|
|
@@ -32,17 +32,18 @@ from .type_defs import (
|
|
|
32
32
|
CreateRelatedItemResponseTypeDef,
|
|
33
33
|
CreateTemplateResponseTypeDef,
|
|
34
34
|
EmptyResponseMetadataTypeDef,
|
|
35
|
-
|
|
35
|
+
EventBridgeConfigurationUnionTypeDef,
|
|
36
36
|
FieldIdentifierTypeDef,
|
|
37
37
|
FieldOptionTypeDef,
|
|
38
|
-
|
|
38
|
+
FieldValueExtraUnionTypeDef,
|
|
39
|
+
GetCaseAuditEventsResponseTypeDef,
|
|
39
40
|
GetCaseEventConfigurationResponseTypeDef,
|
|
40
41
|
GetCaseResponseTypeDef,
|
|
41
42
|
GetDomainResponseTypeDef,
|
|
42
43
|
GetLayoutResponseTypeDef,
|
|
43
44
|
GetTemplateResponseTypeDef,
|
|
44
45
|
LayoutConfigurationTypeDef,
|
|
45
|
-
|
|
46
|
+
LayoutContentUnionTypeDef,
|
|
46
47
|
ListCasesForContactResponseTypeDef,
|
|
47
48
|
ListDomainsResponseTypeDef,
|
|
48
49
|
ListFieldOptionsResponseTypeDef,
|
|
@@ -64,10 +65,8 @@ if sys.version_info >= (3, 12):
|
|
|
64
65
|
else:
|
|
65
66
|
from typing_extensions import Literal
|
|
66
67
|
|
|
67
|
-
|
|
68
68
|
__all__ = ("ConnectCasesClient",)
|
|
69
69
|
|
|
70
|
-
|
|
71
70
|
class BotocoreClientError(Exception):
|
|
72
71
|
MSG_TEMPLATE: str
|
|
73
72
|
|
|
@@ -75,7 +74,6 @@ class BotocoreClientError(Exception):
|
|
|
75
74
|
self.response: Dict[str, Any]
|
|
76
75
|
self.operation_name: str
|
|
77
76
|
|
|
78
|
-
|
|
79
77
|
class Exceptions:
|
|
80
78
|
AccessDeniedException: Type[BotocoreClientError]
|
|
81
79
|
ClientError: Type[BotocoreClientError]
|
|
@@ -86,7 +84,6 @@ class Exceptions:
|
|
|
86
84
|
ThrottlingException: Type[BotocoreClientError]
|
|
87
85
|
ValidationException: Type[BotocoreClientError]
|
|
88
86
|
|
|
89
|
-
|
|
90
87
|
class ConnectCasesClient(BaseClient):
|
|
91
88
|
"""
|
|
92
89
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client)
|
|
@@ -145,12 +142,13 @@ class ConnectCasesClient(BaseClient):
|
|
|
145
142
|
self,
|
|
146
143
|
*,
|
|
147
144
|
domainId: str,
|
|
148
|
-
fields: Sequence[
|
|
145
|
+
fields: Sequence[FieldValueExtraUnionTypeDef],
|
|
149
146
|
templateId: str,
|
|
150
|
-
clientToken: str =
|
|
147
|
+
clientToken: str = ...,
|
|
148
|
+
performedBy: UserUnionTypeDef = ...,
|
|
151
149
|
) -> CreateCaseResponseTypeDef:
|
|
152
150
|
"""
|
|
153
|
-
|
|
151
|
+
.
|
|
154
152
|
|
|
155
153
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.create_case)
|
|
156
154
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#create_case)
|
|
@@ -177,7 +175,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
177
175
|
"""
|
|
178
176
|
|
|
179
177
|
def create_layout(
|
|
180
|
-
self, *, content:
|
|
178
|
+
self, *, content: LayoutContentUnionTypeDef, domainId: str, name: str
|
|
181
179
|
) -> CreateLayoutResponseTypeDef:
|
|
182
180
|
"""
|
|
183
181
|
Creates a layout in the Cases domain.
|
|
@@ -193,7 +191,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
193
191
|
content: RelatedItemInputContentTypeDef,
|
|
194
192
|
domainId: str,
|
|
195
193
|
type: RelatedItemTypeType,
|
|
196
|
-
performedBy: UserUnionTypeDef =
|
|
194
|
+
performedBy: UserUnionTypeDef = ...,
|
|
197
195
|
) -> CreateRelatedItemResponseTypeDef:
|
|
198
196
|
"""
|
|
199
197
|
Creates a related item (comments, tasks, and contacts) and associates it with a
|
|
@@ -211,7 +209,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
211
209
|
description: str = ...,
|
|
212
210
|
layoutConfiguration: LayoutConfigurationTypeDef = ...,
|
|
213
211
|
requiredFields: Sequence[RequiredFieldTypeDef] = ...,
|
|
214
|
-
status: TemplateStatusType =
|
|
212
|
+
status: TemplateStatusType = ...,
|
|
215
213
|
) -> CreateTemplateResponseTypeDef:
|
|
216
214
|
"""
|
|
217
215
|
Creates a template in the Cases domain.
|
|
@@ -228,6 +226,30 @@ class ConnectCasesClient(BaseClient):
|
|
|
228
226
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_domain)
|
|
229
227
|
"""
|
|
230
228
|
|
|
229
|
+
def delete_field(self, *, domainId: str, fieldId: str) -> Dict[str, Any]:
|
|
230
|
+
"""
|
|
231
|
+
Deletes a field from a cases template.
|
|
232
|
+
|
|
233
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_field)
|
|
234
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_field)
|
|
235
|
+
"""
|
|
236
|
+
|
|
237
|
+
def delete_layout(self, *, domainId: str, layoutId: str) -> Dict[str, Any]:
|
|
238
|
+
"""
|
|
239
|
+
Deletes a layout from a cases template.
|
|
240
|
+
|
|
241
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_layout)
|
|
242
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_layout)
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
def delete_template(self, *, domainId: str, templateId: str) -> Dict[str, Any]:
|
|
246
|
+
"""
|
|
247
|
+
Deletes a cases template.
|
|
248
|
+
|
|
249
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.delete_template)
|
|
250
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#delete_template)
|
|
251
|
+
"""
|
|
252
|
+
|
|
231
253
|
def generate_presigned_url(
|
|
232
254
|
self,
|
|
233
255
|
ClientMethod: str,
|
|
@@ -248,7 +270,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
248
270
|
caseId: str,
|
|
249
271
|
domainId: str,
|
|
250
272
|
fields: Sequence[FieldIdentifierTypeDef],
|
|
251
|
-
nextToken: str =
|
|
273
|
+
nextToken: str = ...,
|
|
252
274
|
) -> GetCaseResponseTypeDef:
|
|
253
275
|
"""
|
|
254
276
|
Returns information about a specific case if it exists.
|
|
@@ -257,6 +279,16 @@ class ConnectCasesClient(BaseClient):
|
|
|
257
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case)
|
|
258
280
|
"""
|
|
259
281
|
|
|
282
|
+
def get_case_audit_events(
|
|
283
|
+
self, *, caseId: str, domainId: str, maxResults: int = ..., nextToken: str = ...
|
|
284
|
+
) -> GetCaseAuditEventsResponseTypeDef:
|
|
285
|
+
"""
|
|
286
|
+
Returns the audit history about a specific case if it exists.
|
|
287
|
+
|
|
288
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.get_case_audit_events)
|
|
289
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#get_case_audit_events)
|
|
290
|
+
"""
|
|
291
|
+
|
|
260
292
|
def get_case_event_configuration(
|
|
261
293
|
self, *, domainId: str
|
|
262
294
|
) -> GetCaseEventConfigurationResponseTypeDef:
|
|
@@ -318,7 +350,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
318
350
|
fieldId: str,
|
|
319
351
|
maxResults: int = ...,
|
|
320
352
|
nextToken: str = ...,
|
|
321
|
-
values: Sequence[str] =
|
|
353
|
+
values: Sequence[str] = ...,
|
|
322
354
|
) -> ListFieldOptionsResponseTypeDef:
|
|
323
355
|
"""
|
|
324
356
|
Lists all of the field options for a field identifier in the domain.
|
|
@@ -361,7 +393,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
361
393
|
domainId: str,
|
|
362
394
|
maxResults: int = ...,
|
|
363
395
|
nextToken: str = ...,
|
|
364
|
-
status: Sequence[TemplateStatusType] =
|
|
396
|
+
status: Sequence[TemplateStatusType] = ...,
|
|
365
397
|
) -> ListTemplatesResponseTypeDef:
|
|
366
398
|
"""
|
|
367
399
|
Lists all of the templates in a Cases domain.
|
|
@@ -371,7 +403,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
371
403
|
"""
|
|
372
404
|
|
|
373
405
|
def put_case_event_configuration(
|
|
374
|
-
self, *, domainId: str, eventBridge:
|
|
406
|
+
self, *, domainId: str, eventBridge: EventBridgeConfigurationUnionTypeDef
|
|
375
407
|
) -> Dict[str, Any]:
|
|
376
408
|
"""
|
|
377
409
|
Adds case event publishing configuration.
|
|
@@ -389,7 +421,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
389
421
|
maxResults: int = ...,
|
|
390
422
|
nextToken: str = ...,
|
|
391
423
|
searchTerm: str = ...,
|
|
392
|
-
sorts: Sequence[SortTypeDef] =
|
|
424
|
+
sorts: Sequence[SortTypeDef] = ...,
|
|
393
425
|
) -> SearchCasesResponseTypeDef:
|
|
394
426
|
"""
|
|
395
427
|
Searches for cases within their associated Cases domain.
|
|
@@ -405,7 +437,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
405
437
|
domainId: str,
|
|
406
438
|
filters: Sequence[RelatedItemTypeFilterTypeDef] = ...,
|
|
407
439
|
maxResults: int = ...,
|
|
408
|
-
nextToken: str =
|
|
440
|
+
nextToken: str = ...,
|
|
409
441
|
) -> SearchRelatedItemsResponseTypeDef:
|
|
410
442
|
"""
|
|
411
443
|
Searches for related items that are associated with a case.
|
|
@@ -431,10 +463,15 @@ class ConnectCasesClient(BaseClient):
|
|
|
431
463
|
"""
|
|
432
464
|
|
|
433
465
|
def update_case(
|
|
434
|
-
self,
|
|
466
|
+
self,
|
|
467
|
+
*,
|
|
468
|
+
caseId: str,
|
|
469
|
+
domainId: str,
|
|
470
|
+
fields: Sequence[FieldValueExtraUnionTypeDef],
|
|
471
|
+
performedBy: UserUnionTypeDef = ...,
|
|
435
472
|
) -> Dict[str, Any]:
|
|
436
473
|
"""
|
|
437
|
-
|
|
474
|
+
.
|
|
438
475
|
|
|
439
476
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/connectcases.html#ConnectCases.Client.update_case)
|
|
440
477
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_connectcases/client/#update_case)
|
|
@@ -451,7 +488,12 @@ class ConnectCasesClient(BaseClient):
|
|
|
451
488
|
"""
|
|
452
489
|
|
|
453
490
|
def update_layout(
|
|
454
|
-
self,
|
|
491
|
+
self,
|
|
492
|
+
*,
|
|
493
|
+
domainId: str,
|
|
494
|
+
layoutId: str,
|
|
495
|
+
content: LayoutContentUnionTypeDef = ...,
|
|
496
|
+
name: str = ...,
|
|
455
497
|
) -> Dict[str, Any]:
|
|
456
498
|
"""
|
|
457
499
|
Updates the attributes of an existing layout.
|
|
@@ -469,7 +511,7 @@ class ConnectCasesClient(BaseClient):
|
|
|
469
511
|
layoutConfiguration: LayoutConfigurationTypeDef = ...,
|
|
470
512
|
name: str = ...,
|
|
471
513
|
requiredFields: Sequence[RequiredFieldTypeDef] = ...,
|
|
472
|
-
status: TemplateStatusType =
|
|
514
|
+
status: TemplateStatusType = ...,
|
|
473
515
|
) -> Dict[str, Any]:
|
|
474
516
|
"""
|
|
475
517
|
Updates the attributes of an existing template.
|