types-boto3-comprehend 1.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_comprehend/__init__.py +71 -0
- types_boto3_comprehend/__init__.pyi +70 -0
- types_boto3_comprehend/__main__.py +43 -0
- types_boto3_comprehend/client.py +1255 -0
- types_boto3_comprehend/client.pyi +1252 -0
- types_boto3_comprehend/literals.py +694 -0
- types_boto3_comprehend/literals.pyi +692 -0
- types_boto3_comprehend/paginator.py +308 -0
- types_boto3_comprehend/paginator.pyi +277 -0
- types_boto3_comprehend/py.typed +0 -0
- types_boto3_comprehend/type_defs.py +2374 -0
- types_boto3_comprehend/type_defs.pyi +2087 -0
- types_boto3_comprehend/version.py +7 -0
- types_boto3_comprehend-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_comprehend-1.36.0.dist-info/METADATA +517 -0
- types_boto3_comprehend-1.36.0.dist-info/RECORD +18 -0
- types_boto3_comprehend-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_comprehend-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for comprehend service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_comprehend import (
|
|
9
|
+
Client,
|
|
10
|
+
ComprehendClient,
|
|
11
|
+
ListDocumentClassificationJobsPaginator,
|
|
12
|
+
ListDocumentClassifiersPaginator,
|
|
13
|
+
ListDominantLanguageDetectionJobsPaginator,
|
|
14
|
+
ListEndpointsPaginator,
|
|
15
|
+
ListEntitiesDetectionJobsPaginator,
|
|
16
|
+
ListEntityRecognizersPaginator,
|
|
17
|
+
ListKeyPhrasesDetectionJobsPaginator,
|
|
18
|
+
ListPiiEntitiesDetectionJobsPaginator,
|
|
19
|
+
ListSentimentDetectionJobsPaginator,
|
|
20
|
+
ListTopicsDetectionJobsPaginator,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
session = Session()
|
|
24
|
+
client: ComprehendClient = session.client("comprehend")
|
|
25
|
+
|
|
26
|
+
list_document_classification_jobs_paginator: ListDocumentClassificationJobsPaginator = client.get_paginator("list_document_classification_jobs")
|
|
27
|
+
list_document_classifiers_paginator: ListDocumentClassifiersPaginator = client.get_paginator("list_document_classifiers")
|
|
28
|
+
list_dominant_language_detection_jobs_paginator: ListDominantLanguageDetectionJobsPaginator = client.get_paginator("list_dominant_language_detection_jobs")
|
|
29
|
+
list_endpoints_paginator: ListEndpointsPaginator = client.get_paginator("list_endpoints")
|
|
30
|
+
list_entities_detection_jobs_paginator: ListEntitiesDetectionJobsPaginator = client.get_paginator("list_entities_detection_jobs")
|
|
31
|
+
list_entity_recognizers_paginator: ListEntityRecognizersPaginator = client.get_paginator("list_entity_recognizers")
|
|
32
|
+
list_key_phrases_detection_jobs_paginator: ListKeyPhrasesDetectionJobsPaginator = client.get_paginator("list_key_phrases_detection_jobs")
|
|
33
|
+
list_pii_entities_detection_jobs_paginator: ListPiiEntitiesDetectionJobsPaginator = client.get_paginator("list_pii_entities_detection_jobs")
|
|
34
|
+
list_sentiment_detection_jobs_paginator: ListSentimentDetectionJobsPaginator = client.get_paginator("list_sentiment_detection_jobs")
|
|
35
|
+
list_topics_detection_jobs_paginator: ListTopicsDetectionJobsPaginator = client.get_paginator("list_topics_detection_jobs")
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Copyright 2025 Vlad Emelianov
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
from .client import ComprehendClient
|
|
42
|
+
from .paginator import (
|
|
43
|
+
ListDocumentClassificationJobsPaginator,
|
|
44
|
+
ListDocumentClassifiersPaginator,
|
|
45
|
+
ListDominantLanguageDetectionJobsPaginator,
|
|
46
|
+
ListEndpointsPaginator,
|
|
47
|
+
ListEntitiesDetectionJobsPaginator,
|
|
48
|
+
ListEntityRecognizersPaginator,
|
|
49
|
+
ListKeyPhrasesDetectionJobsPaginator,
|
|
50
|
+
ListPiiEntitiesDetectionJobsPaginator,
|
|
51
|
+
ListSentimentDetectionJobsPaginator,
|
|
52
|
+
ListTopicsDetectionJobsPaginator,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
Client = ComprehendClient
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
__all__ = (
|
|
59
|
+
"Client",
|
|
60
|
+
"ComprehendClient",
|
|
61
|
+
"ListDocumentClassificationJobsPaginator",
|
|
62
|
+
"ListDocumentClassifiersPaginator",
|
|
63
|
+
"ListDominantLanguageDetectionJobsPaginator",
|
|
64
|
+
"ListEndpointsPaginator",
|
|
65
|
+
"ListEntitiesDetectionJobsPaginator",
|
|
66
|
+
"ListEntityRecognizersPaginator",
|
|
67
|
+
"ListKeyPhrasesDetectionJobsPaginator",
|
|
68
|
+
"ListPiiEntitiesDetectionJobsPaginator",
|
|
69
|
+
"ListSentimentDetectionJobsPaginator",
|
|
70
|
+
"ListTopicsDetectionJobsPaginator",
|
|
71
|
+
)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for comprehend service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_comprehend import (
|
|
9
|
+
Client,
|
|
10
|
+
ComprehendClient,
|
|
11
|
+
ListDocumentClassificationJobsPaginator,
|
|
12
|
+
ListDocumentClassifiersPaginator,
|
|
13
|
+
ListDominantLanguageDetectionJobsPaginator,
|
|
14
|
+
ListEndpointsPaginator,
|
|
15
|
+
ListEntitiesDetectionJobsPaginator,
|
|
16
|
+
ListEntityRecognizersPaginator,
|
|
17
|
+
ListKeyPhrasesDetectionJobsPaginator,
|
|
18
|
+
ListPiiEntitiesDetectionJobsPaginator,
|
|
19
|
+
ListSentimentDetectionJobsPaginator,
|
|
20
|
+
ListTopicsDetectionJobsPaginator,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
session = Session()
|
|
24
|
+
client: ComprehendClient = session.client("comprehend")
|
|
25
|
+
|
|
26
|
+
list_document_classification_jobs_paginator: ListDocumentClassificationJobsPaginator = client.get_paginator("list_document_classification_jobs")
|
|
27
|
+
list_document_classifiers_paginator: ListDocumentClassifiersPaginator = client.get_paginator("list_document_classifiers")
|
|
28
|
+
list_dominant_language_detection_jobs_paginator: ListDominantLanguageDetectionJobsPaginator = client.get_paginator("list_dominant_language_detection_jobs")
|
|
29
|
+
list_endpoints_paginator: ListEndpointsPaginator = client.get_paginator("list_endpoints")
|
|
30
|
+
list_entities_detection_jobs_paginator: ListEntitiesDetectionJobsPaginator = client.get_paginator("list_entities_detection_jobs")
|
|
31
|
+
list_entity_recognizers_paginator: ListEntityRecognizersPaginator = client.get_paginator("list_entity_recognizers")
|
|
32
|
+
list_key_phrases_detection_jobs_paginator: ListKeyPhrasesDetectionJobsPaginator = client.get_paginator("list_key_phrases_detection_jobs")
|
|
33
|
+
list_pii_entities_detection_jobs_paginator: ListPiiEntitiesDetectionJobsPaginator = client.get_paginator("list_pii_entities_detection_jobs")
|
|
34
|
+
list_sentiment_detection_jobs_paginator: ListSentimentDetectionJobsPaginator = client.get_paginator("list_sentiment_detection_jobs")
|
|
35
|
+
list_topics_detection_jobs_paginator: ListTopicsDetectionJobsPaginator = client.get_paginator("list_topics_detection_jobs")
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Copyright 2025 Vlad Emelianov
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
from .client import ComprehendClient
|
|
42
|
+
from .paginator import (
|
|
43
|
+
ListDocumentClassificationJobsPaginator,
|
|
44
|
+
ListDocumentClassifiersPaginator,
|
|
45
|
+
ListDominantLanguageDetectionJobsPaginator,
|
|
46
|
+
ListEndpointsPaginator,
|
|
47
|
+
ListEntitiesDetectionJobsPaginator,
|
|
48
|
+
ListEntityRecognizersPaginator,
|
|
49
|
+
ListKeyPhrasesDetectionJobsPaginator,
|
|
50
|
+
ListPiiEntitiesDetectionJobsPaginator,
|
|
51
|
+
ListSentimentDetectionJobsPaginator,
|
|
52
|
+
ListTopicsDetectionJobsPaginator,
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
Client = ComprehendClient
|
|
56
|
+
|
|
57
|
+
__all__ = (
|
|
58
|
+
"Client",
|
|
59
|
+
"ComprehendClient",
|
|
60
|
+
"ListDocumentClassificationJobsPaginator",
|
|
61
|
+
"ListDocumentClassifiersPaginator",
|
|
62
|
+
"ListDominantLanguageDetectionJobsPaginator",
|
|
63
|
+
"ListEndpointsPaginator",
|
|
64
|
+
"ListEntitiesDetectionJobsPaginator",
|
|
65
|
+
"ListEntityRecognizersPaginator",
|
|
66
|
+
"ListKeyPhrasesDetectionJobsPaginator",
|
|
67
|
+
"ListPiiEntitiesDetectionJobsPaginator",
|
|
68
|
+
"ListSentimentDetectionJobsPaginator",
|
|
69
|
+
"ListTopicsDetectionJobsPaginator",
|
|
70
|
+
)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 Comprehend 1.36.0\n"
|
|
16
|
+
"Version: 1.36.0\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_comprehend//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/comprehend.html#comprehend\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
sys.stdout.write("1.36.0\n")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
39
|
+
print_info()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == "__main__":
|
|
43
|
+
main()
|