types-boto3-workmailmessageflow 1.35.71__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_workmailmessageflow/__init__.py +25 -0
- types_boto3_workmailmessageflow/__init__.pyi +24 -0
- types_boto3_workmailmessageflow/__main__.py +42 -0
- types_boto3_workmailmessageflow/client.py +114 -0
- types_boto3_workmailmessageflow/client.pyi +110 -0
- types_boto3_workmailmessageflow/literals.py +439 -0
- types_boto3_workmailmessageflow/literals.pyi +437 -0
- types_boto3_workmailmessageflow/py.typed +0 -0
- types_boto3_workmailmessageflow/type_defs.py +67 -0
- types_boto3_workmailmessageflow/type_defs.pyi +60 -0
- types_boto3_workmailmessageflow/version.py +7 -0
- types_boto3_workmailmessageflow-1.35.71.dist-info/LICENSE +21 -0
- types_boto3_workmailmessageflow-1.35.71.dist-info/METADATA +410 -0
- types_boto3_workmailmessageflow-1.35.71.dist-info/RECORD +16 -0
- types_boto3_workmailmessageflow-1.35.71.dist-info/WHEEL +5 -0
- types_boto3_workmailmessageflow-1.35.71.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for workmailmessageflow service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_workmailmessageflow import (
|
|
9
|
+
Client,
|
|
10
|
+
WorkMailMessageFlowClient,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: WorkMailMessageFlowClient = session.client("workmailmessageflow")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2024 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import WorkMailMessageFlowClient
|
|
21
|
+
|
|
22
|
+
Client = WorkMailMessageFlowClient
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
__all__ = ("Client", "WorkMailMessageFlowClient")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for workmailmessageflow service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from types_boto3_workmailmessageflow import (
|
|
9
|
+
Client,
|
|
10
|
+
WorkMailMessageFlowClient,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
session = Session()
|
|
14
|
+
client: WorkMailMessageFlowClient = session.client("workmailmessageflow")
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2024 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from .client import WorkMailMessageFlowClient
|
|
21
|
+
|
|
22
|
+
Client = WorkMailMessageFlowClient
|
|
23
|
+
|
|
24
|
+
__all__ = ("Client", "WorkMailMessageFlowClient")
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
print(
|
|
15
|
+
"Type annotations for boto3 WorkMailMessageFlow 1.35.71\n"
|
|
16
|
+
"Version: 1.35.71\n"
|
|
17
|
+
"Builder version: 8.4.1\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow.html#workmailmessageflow\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
print("1.35.71")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
return print_version()
|
|
38
|
+
print_info()
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
if __name__ == "__main__":
|
|
42
|
+
main()
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for workmailmessageflow service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_workmailmessageflow.client import WorkMailMessageFlowClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: WorkMailMessageFlowClient = session.client("workmailmessageflow")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .type_defs import (
|
|
25
|
+
GetRawMessageContentRequestRequestTypeDef,
|
|
26
|
+
GetRawMessageContentResponseTypeDef,
|
|
27
|
+
PutRawMessageContentRequestRequestTypeDef,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
if sys.version_info >= (3, 12):
|
|
31
|
+
from typing import Unpack
|
|
32
|
+
else:
|
|
33
|
+
from typing_extensions import Unpack
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
__all__ = ("WorkMailMessageFlowClient",)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class BotocoreClientError(Exception):
|
|
40
|
+
MSG_TEMPLATE: str
|
|
41
|
+
|
|
42
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
43
|
+
self.response: Dict[str, Any]
|
|
44
|
+
self.operation_name: str
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class Exceptions:
|
|
48
|
+
ClientError: Type[BotocoreClientError]
|
|
49
|
+
InvalidContentLocation: Type[BotocoreClientError]
|
|
50
|
+
MessageFrozen: Type[BotocoreClientError]
|
|
51
|
+
MessageRejected: Type[BotocoreClientError]
|
|
52
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class WorkMailMessageFlowClient(BaseClient):
|
|
56
|
+
"""
|
|
57
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow.html#WorkMailMessageFlow.Client)
|
|
58
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/)
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
meta: ClientMeta
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def exceptions(self) -> Exceptions:
|
|
65
|
+
"""
|
|
66
|
+
WorkMailMessageFlowClient exceptions.
|
|
67
|
+
|
|
68
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow.html#WorkMailMessageFlow.Client)
|
|
69
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#exceptions)
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
73
|
+
"""
|
|
74
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/can_paginate.html)
|
|
75
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#can_paginate)
|
|
76
|
+
"""
|
|
77
|
+
|
|
78
|
+
def generate_presigned_url(
|
|
79
|
+
self,
|
|
80
|
+
ClientMethod: str,
|
|
81
|
+
Params: Mapping[str, Any] = ...,
|
|
82
|
+
ExpiresIn: int = 3600,
|
|
83
|
+
HttpMethod: str = ...,
|
|
84
|
+
) -> str:
|
|
85
|
+
"""
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/generate_presigned_url.html)
|
|
87
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#generate_presigned_url)
|
|
88
|
+
"""
|
|
89
|
+
|
|
90
|
+
def close(self) -> None:
|
|
91
|
+
"""
|
|
92
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/close.html)
|
|
93
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#close)
|
|
94
|
+
"""
|
|
95
|
+
|
|
96
|
+
def get_raw_message_content(
|
|
97
|
+
self, **kwargs: Unpack[GetRawMessageContentRequestRequestTypeDef]
|
|
98
|
+
) -> GetRawMessageContentResponseTypeDef:
|
|
99
|
+
"""
|
|
100
|
+
Retrieves the raw content of an in-transit email message, in MIME format.
|
|
101
|
+
|
|
102
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/get_raw_message_content.html)
|
|
103
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#get_raw_message_content)
|
|
104
|
+
"""
|
|
105
|
+
|
|
106
|
+
def put_raw_message_content(
|
|
107
|
+
self, **kwargs: Unpack[PutRawMessageContentRequestRequestTypeDef]
|
|
108
|
+
) -> Dict[str, Any]:
|
|
109
|
+
"""
|
|
110
|
+
Updates the raw content of an in-transit email message, in MIME format.
|
|
111
|
+
|
|
112
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/put_raw_message_content.html)
|
|
113
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#put_raw_message_content)
|
|
114
|
+
"""
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for workmailmessageflow service client.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
from types_boto3_workmailmessageflow.client import WorkMailMessageFlowClient
|
|
11
|
+
|
|
12
|
+
session = Session()
|
|
13
|
+
client: WorkMailMessageFlowClient = session.client("workmailmessageflow")
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from typing import Any, Dict, Mapping, Type
|
|
21
|
+
|
|
22
|
+
from botocore.client import BaseClient, ClientMeta
|
|
23
|
+
|
|
24
|
+
from .type_defs import (
|
|
25
|
+
GetRawMessageContentRequestRequestTypeDef,
|
|
26
|
+
GetRawMessageContentResponseTypeDef,
|
|
27
|
+
PutRawMessageContentRequestRequestTypeDef,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
if sys.version_info >= (3, 12):
|
|
31
|
+
from typing import Unpack
|
|
32
|
+
else:
|
|
33
|
+
from typing_extensions import Unpack
|
|
34
|
+
|
|
35
|
+
__all__ = ("WorkMailMessageFlowClient",)
|
|
36
|
+
|
|
37
|
+
class BotocoreClientError(Exception):
|
|
38
|
+
MSG_TEMPLATE: str
|
|
39
|
+
|
|
40
|
+
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
41
|
+
self.response: Dict[str, Any]
|
|
42
|
+
self.operation_name: str
|
|
43
|
+
|
|
44
|
+
class Exceptions:
|
|
45
|
+
ClientError: Type[BotocoreClientError]
|
|
46
|
+
InvalidContentLocation: Type[BotocoreClientError]
|
|
47
|
+
MessageFrozen: Type[BotocoreClientError]
|
|
48
|
+
MessageRejected: Type[BotocoreClientError]
|
|
49
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
50
|
+
|
|
51
|
+
class WorkMailMessageFlowClient(BaseClient):
|
|
52
|
+
"""
|
|
53
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow.html#WorkMailMessageFlow.Client)
|
|
54
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/)
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
meta: ClientMeta
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def exceptions(self) -> Exceptions:
|
|
61
|
+
"""
|
|
62
|
+
WorkMailMessageFlowClient exceptions.
|
|
63
|
+
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow.html#WorkMailMessageFlow.Client)
|
|
65
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#exceptions)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
69
|
+
"""
|
|
70
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/can_paginate.html)
|
|
71
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#can_paginate)
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
def generate_presigned_url(
|
|
75
|
+
self,
|
|
76
|
+
ClientMethod: str,
|
|
77
|
+
Params: Mapping[str, Any] = ...,
|
|
78
|
+
ExpiresIn: int = 3600,
|
|
79
|
+
HttpMethod: str = ...,
|
|
80
|
+
) -> str:
|
|
81
|
+
"""
|
|
82
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/generate_presigned_url.html)
|
|
83
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#generate_presigned_url)
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
def close(self) -> None:
|
|
87
|
+
"""
|
|
88
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/close.html)
|
|
89
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#close)
|
|
90
|
+
"""
|
|
91
|
+
|
|
92
|
+
def get_raw_message_content(
|
|
93
|
+
self, **kwargs: Unpack[GetRawMessageContentRequestRequestTypeDef]
|
|
94
|
+
) -> GetRawMessageContentResponseTypeDef:
|
|
95
|
+
"""
|
|
96
|
+
Retrieves the raw content of an in-transit email message, in MIME format.
|
|
97
|
+
|
|
98
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/get_raw_message_content.html)
|
|
99
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#get_raw_message_content)
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
def put_raw_message_content(
|
|
103
|
+
self, **kwargs: Unpack[PutRawMessageContentRequestRequestTypeDef]
|
|
104
|
+
) -> Dict[str, Any]:
|
|
105
|
+
"""
|
|
106
|
+
Updates the raw content of an in-transit email message, in MIME format.
|
|
107
|
+
|
|
108
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workmailmessageflow/client/put_raw_message_content.html)
|
|
109
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workmailmessageflow/client/#put_raw_message_content)
|
|
110
|
+
"""
|