types-aiobotocore-notifications 2.18.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.
Potentially problematic release.
This version of types-aiobotocore-notifications might be problematic. Click here for more details.
- types_aiobotocore_notifications/__init__.py +54 -0
- types_aiobotocore_notifications/__init__.pyi +53 -0
- types_aiobotocore_notifications/__main__.py +43 -0
- types_aiobotocore_notifications/client.py +425 -0
- types_aiobotocore_notifications/client.pyi +422 -0
- types_aiobotocore_notifications/literals.py +540 -0
- types_aiobotocore_notifications/literals.pyi +538 -0
- types_aiobotocore_notifications/paginator.py +173 -0
- types_aiobotocore_notifications/paginator.pyi +157 -0
- types_aiobotocore_notifications/py.typed +0 -0
- types_aiobotocore_notifications/type_defs.py +521 -0
- types_aiobotocore_notifications/type_defs.pyi +460 -0
- types_aiobotocore_notifications/version.py +7 -0
- types_aiobotocore_notifications-2.18.0.dist-info/LICENSE +21 -0
- types_aiobotocore_notifications-2.18.0.dist-info/METADATA +494 -0
- types_aiobotocore_notifications-2.18.0.dist-info/RECORD +18 -0
- types_aiobotocore_notifications-2.18.0.dist-info/WHEEL +5 -0
- types_aiobotocore_notifications-2.18.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for notifications service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from aiobotocore.session import get_session
|
|
8
|
+
from types_aiobotocore_notifications import (
|
|
9
|
+
Client,
|
|
10
|
+
ListChannelsPaginator,
|
|
11
|
+
ListEventRulesPaginator,
|
|
12
|
+
ListNotificationConfigurationsPaginator,
|
|
13
|
+
ListNotificationEventsPaginator,
|
|
14
|
+
ListNotificationHubsPaginator,
|
|
15
|
+
UserNotificationsClient,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
session = get_session()
|
|
19
|
+
async with session.create_client("notifications") as client:
|
|
20
|
+
client: UserNotificationsClient
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
list_channels_paginator: ListChannelsPaginator = client.get_paginator("list_channels")
|
|
25
|
+
list_event_rules_paginator: ListEventRulesPaginator = client.get_paginator("list_event_rules")
|
|
26
|
+
list_notification_configurations_paginator: ListNotificationConfigurationsPaginator = client.get_paginator("list_notification_configurations")
|
|
27
|
+
list_notification_events_paginator: ListNotificationEventsPaginator = client.get_paginator("list_notification_events")
|
|
28
|
+
list_notification_hubs_paginator: ListNotificationHubsPaginator = client.get_paginator("list_notification_hubs")
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Copyright 2025 Vlad Emelianov
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
from .client import UserNotificationsClient
|
|
35
|
+
from .paginator import (
|
|
36
|
+
ListChannelsPaginator,
|
|
37
|
+
ListEventRulesPaginator,
|
|
38
|
+
ListNotificationConfigurationsPaginator,
|
|
39
|
+
ListNotificationEventsPaginator,
|
|
40
|
+
ListNotificationHubsPaginator,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
Client = UserNotificationsClient
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
__all__ = (
|
|
47
|
+
"Client",
|
|
48
|
+
"ListChannelsPaginator",
|
|
49
|
+
"ListEventRulesPaginator",
|
|
50
|
+
"ListNotificationConfigurationsPaginator",
|
|
51
|
+
"ListNotificationEventsPaginator",
|
|
52
|
+
"ListNotificationHubsPaginator",
|
|
53
|
+
"UserNotificationsClient",
|
|
54
|
+
)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for notifications service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from aiobotocore.session import get_session
|
|
8
|
+
from types_aiobotocore_notifications import (
|
|
9
|
+
Client,
|
|
10
|
+
ListChannelsPaginator,
|
|
11
|
+
ListEventRulesPaginator,
|
|
12
|
+
ListNotificationConfigurationsPaginator,
|
|
13
|
+
ListNotificationEventsPaginator,
|
|
14
|
+
ListNotificationHubsPaginator,
|
|
15
|
+
UserNotificationsClient,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
session = get_session()
|
|
19
|
+
async with session.create_client("notifications") as client:
|
|
20
|
+
client: UserNotificationsClient
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
list_channels_paginator: ListChannelsPaginator = client.get_paginator("list_channels")
|
|
25
|
+
list_event_rules_paginator: ListEventRulesPaginator = client.get_paginator("list_event_rules")
|
|
26
|
+
list_notification_configurations_paginator: ListNotificationConfigurationsPaginator = client.get_paginator("list_notification_configurations")
|
|
27
|
+
list_notification_events_paginator: ListNotificationEventsPaginator = client.get_paginator("list_notification_events")
|
|
28
|
+
list_notification_hubs_paginator: ListNotificationHubsPaginator = client.get_paginator("list_notification_hubs")
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Copyright 2025 Vlad Emelianov
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
from .client import UserNotificationsClient
|
|
35
|
+
from .paginator import (
|
|
36
|
+
ListChannelsPaginator,
|
|
37
|
+
ListEventRulesPaginator,
|
|
38
|
+
ListNotificationConfigurationsPaginator,
|
|
39
|
+
ListNotificationEventsPaginator,
|
|
40
|
+
ListNotificationHubsPaginator,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
Client = UserNotificationsClient
|
|
44
|
+
|
|
45
|
+
__all__ = (
|
|
46
|
+
"Client",
|
|
47
|
+
"ListChannelsPaginator",
|
|
48
|
+
"ListEventRulesPaginator",
|
|
49
|
+
"ListNotificationConfigurationsPaginator",
|
|
50
|
+
"ListNotificationEventsPaginator",
|
|
51
|
+
"ListNotificationHubsPaginator",
|
|
52
|
+
"UserNotificationsClient",
|
|
53
|
+
)
|
|
@@ -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 aiobotocore UserNotifications 2.18.0\n"
|
|
16
|
+
"Version: 2.18.0\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications.html#usernotifications\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("2.18.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()
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for notifications service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from aiobotocore.session import get_session
|
|
10
|
+
from types_aiobotocore_notifications.client import UserNotificationsClient
|
|
11
|
+
|
|
12
|
+
session = get_session()
|
|
13
|
+
async with session.create_client("notifications") as client:
|
|
14
|
+
client: UserNotificationsClient
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Copyright 2025 Vlad Emelianov
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import sys
|
|
23
|
+
from types import TracebackType
|
|
24
|
+
from typing import Any, overload
|
|
25
|
+
|
|
26
|
+
from aiobotocore.client import AioBaseClient
|
|
27
|
+
from botocore.client import ClientMeta
|
|
28
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
29
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
30
|
+
|
|
31
|
+
from .paginator import (
|
|
32
|
+
ListChannelsPaginator,
|
|
33
|
+
ListEventRulesPaginator,
|
|
34
|
+
ListNotificationConfigurationsPaginator,
|
|
35
|
+
ListNotificationEventsPaginator,
|
|
36
|
+
ListNotificationHubsPaginator,
|
|
37
|
+
)
|
|
38
|
+
from .type_defs import (
|
|
39
|
+
AssociateChannelRequestRequestTypeDef,
|
|
40
|
+
CreateEventRuleRequestRequestTypeDef,
|
|
41
|
+
CreateEventRuleResponseTypeDef,
|
|
42
|
+
CreateNotificationConfigurationRequestRequestTypeDef,
|
|
43
|
+
CreateNotificationConfigurationResponseTypeDef,
|
|
44
|
+
DeleteEventRuleRequestRequestTypeDef,
|
|
45
|
+
DeleteNotificationConfigurationRequestRequestTypeDef,
|
|
46
|
+
DeregisterNotificationHubRequestRequestTypeDef,
|
|
47
|
+
DeregisterNotificationHubResponseTypeDef,
|
|
48
|
+
DisassociateChannelRequestRequestTypeDef,
|
|
49
|
+
GetEventRuleRequestRequestTypeDef,
|
|
50
|
+
GetEventRuleResponseTypeDef,
|
|
51
|
+
GetNotificationConfigurationRequestRequestTypeDef,
|
|
52
|
+
GetNotificationConfigurationResponseTypeDef,
|
|
53
|
+
GetNotificationEventRequestRequestTypeDef,
|
|
54
|
+
GetNotificationEventResponseTypeDef,
|
|
55
|
+
ListChannelsRequestRequestTypeDef,
|
|
56
|
+
ListChannelsResponseTypeDef,
|
|
57
|
+
ListEventRulesRequestRequestTypeDef,
|
|
58
|
+
ListEventRulesResponseTypeDef,
|
|
59
|
+
ListNotificationConfigurationsRequestRequestTypeDef,
|
|
60
|
+
ListNotificationConfigurationsResponseTypeDef,
|
|
61
|
+
ListNotificationEventsRequestRequestTypeDef,
|
|
62
|
+
ListNotificationEventsResponseTypeDef,
|
|
63
|
+
ListNotificationHubsRequestRequestTypeDef,
|
|
64
|
+
ListNotificationHubsResponseTypeDef,
|
|
65
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
66
|
+
ListTagsForResourceResponseTypeDef,
|
|
67
|
+
RegisterNotificationHubRequestRequestTypeDef,
|
|
68
|
+
RegisterNotificationHubResponseTypeDef,
|
|
69
|
+
TagResourceRequestRequestTypeDef,
|
|
70
|
+
UntagResourceRequestRequestTypeDef,
|
|
71
|
+
UpdateEventRuleRequestRequestTypeDef,
|
|
72
|
+
UpdateEventRuleResponseTypeDef,
|
|
73
|
+
UpdateNotificationConfigurationRequestRequestTypeDef,
|
|
74
|
+
UpdateNotificationConfigurationResponseTypeDef,
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
if sys.version_info >= (3, 9):
|
|
78
|
+
from builtins import dict as Dict
|
|
79
|
+
from builtins import type as Type
|
|
80
|
+
from collections.abc import Mapping
|
|
81
|
+
else:
|
|
82
|
+
from typing import Dict, Mapping, Type
|
|
83
|
+
if sys.version_info >= (3, 12):
|
|
84
|
+
from typing import Literal, Self, Unpack
|
|
85
|
+
else:
|
|
86
|
+
from typing_extensions import Literal, Self, Unpack
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
__all__ = ("UserNotificationsClient",)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class Exceptions(BaseClientExceptions):
|
|
93
|
+
AccessDeniedException: Type[BotocoreClientError]
|
|
94
|
+
ClientError: Type[BotocoreClientError]
|
|
95
|
+
ConflictException: Type[BotocoreClientError]
|
|
96
|
+
InternalServerException: Type[BotocoreClientError]
|
|
97
|
+
ResourceNotFoundException: Type[BotocoreClientError]
|
|
98
|
+
ServiceQuotaExceededException: Type[BotocoreClientError]
|
|
99
|
+
ThrottlingException: Type[BotocoreClientError]
|
|
100
|
+
ValidationException: Type[BotocoreClientError]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class UserNotificationsClient(AioBaseClient):
|
|
104
|
+
"""
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications.html#UserNotifications.Client)
|
|
106
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
meta: ClientMeta
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def exceptions(self) -> Exceptions:
|
|
113
|
+
"""
|
|
114
|
+
UserNotificationsClient exceptions.
|
|
115
|
+
|
|
116
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications.html#UserNotifications.Client)
|
|
117
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#exceptions)
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
121
|
+
"""
|
|
122
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/can_paginate.html)
|
|
123
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#can_paginate)
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
async def generate_presigned_url(
|
|
127
|
+
self,
|
|
128
|
+
ClientMethod: str,
|
|
129
|
+
Params: Mapping[str, Any] = ...,
|
|
130
|
+
ExpiresIn: int = 3600,
|
|
131
|
+
HttpMethod: str = ...,
|
|
132
|
+
) -> str:
|
|
133
|
+
"""
|
|
134
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/generate_presigned_url.html)
|
|
135
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#generate_presigned_url)
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
async def associate_channel(
|
|
139
|
+
self, **kwargs: Unpack[AssociateChannelRequestRequestTypeDef]
|
|
140
|
+
) -> Dict[str, Any]:
|
|
141
|
+
"""
|
|
142
|
+
Associates a delivery <a
|
|
143
|
+
href="https://docs.aws.amazon.com/notifications/latest/userguide/managing-delivery-channels.html">Channel</a>
|
|
144
|
+
with a particular NotificationConfiguration.
|
|
145
|
+
|
|
146
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/associate_channel.html)
|
|
147
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#associate_channel)
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
async def create_event_rule(
|
|
151
|
+
self, **kwargs: Unpack[CreateEventRuleRequestRequestTypeDef]
|
|
152
|
+
) -> CreateEventRuleResponseTypeDef:
|
|
153
|
+
"""
|
|
154
|
+
Creates an <a
|
|
155
|
+
href="https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html">EventRule</a>
|
|
156
|
+
that is associated with a specified Notification Configuration.
|
|
157
|
+
|
|
158
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/create_event_rule.html)
|
|
159
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#create_event_rule)
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
async def create_notification_configuration(
|
|
163
|
+
self, **kwargs: Unpack[CreateNotificationConfigurationRequestRequestTypeDef]
|
|
164
|
+
) -> CreateNotificationConfigurationResponseTypeDef:
|
|
165
|
+
"""
|
|
166
|
+
Creates a new NotificationConfiguration.
|
|
167
|
+
|
|
168
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/create_notification_configuration.html)
|
|
169
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#create_notification_configuration)
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
async def delete_event_rule(
|
|
173
|
+
self, **kwargs: Unpack[DeleteEventRuleRequestRequestTypeDef]
|
|
174
|
+
) -> Dict[str, Any]:
|
|
175
|
+
"""
|
|
176
|
+
Deletes an EventRule.
|
|
177
|
+
|
|
178
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/delete_event_rule.html)
|
|
179
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#delete_event_rule)
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
async def delete_notification_configuration(
|
|
183
|
+
self, **kwargs: Unpack[DeleteNotificationConfigurationRequestRequestTypeDef]
|
|
184
|
+
) -> Dict[str, Any]:
|
|
185
|
+
"""
|
|
186
|
+
Deletes a NotificationConfiguration.
|
|
187
|
+
|
|
188
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/delete_notification_configuration.html)
|
|
189
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#delete_notification_configuration)
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
async def deregister_notification_hub(
|
|
193
|
+
self, **kwargs: Unpack[DeregisterNotificationHubRequestRequestTypeDef]
|
|
194
|
+
) -> DeregisterNotificationHubResponseTypeDef:
|
|
195
|
+
"""
|
|
196
|
+
Deregisters a NotificationHub in the specified Region.
|
|
197
|
+
|
|
198
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/deregister_notification_hub.html)
|
|
199
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#deregister_notification_hub)
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
async def disassociate_channel(
|
|
203
|
+
self, **kwargs: Unpack[DisassociateChannelRequestRequestTypeDef]
|
|
204
|
+
) -> Dict[str, Any]:
|
|
205
|
+
"""
|
|
206
|
+
Disassociates a Channel from a specified NotificationConfiguration.
|
|
207
|
+
|
|
208
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/disassociate_channel.html)
|
|
209
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#disassociate_channel)
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
async def get_event_rule(
|
|
213
|
+
self, **kwargs: Unpack[GetEventRuleRequestRequestTypeDef]
|
|
214
|
+
) -> GetEventRuleResponseTypeDef:
|
|
215
|
+
"""
|
|
216
|
+
Returns a specified EventRule.
|
|
217
|
+
|
|
218
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_event_rule.html)
|
|
219
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_event_rule)
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
async def get_notification_configuration(
|
|
223
|
+
self, **kwargs: Unpack[GetNotificationConfigurationRequestRequestTypeDef]
|
|
224
|
+
) -> GetNotificationConfigurationResponseTypeDef:
|
|
225
|
+
"""
|
|
226
|
+
Returns a specified NotificationConfiguration.
|
|
227
|
+
|
|
228
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_notification_configuration.html)
|
|
229
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_notification_configuration)
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
async def get_notification_event(
|
|
233
|
+
self, **kwargs: Unpack[GetNotificationEventRequestRequestTypeDef]
|
|
234
|
+
) -> GetNotificationEventResponseTypeDef:
|
|
235
|
+
"""
|
|
236
|
+
Returns a specified NotificationEvent.
|
|
237
|
+
|
|
238
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_notification_event.html)
|
|
239
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_notification_event)
|
|
240
|
+
"""
|
|
241
|
+
|
|
242
|
+
async def list_channels(
|
|
243
|
+
self, **kwargs: Unpack[ListChannelsRequestRequestTypeDef]
|
|
244
|
+
) -> ListChannelsResponseTypeDef:
|
|
245
|
+
"""
|
|
246
|
+
Returns a list of Channels for a NotificationConfiguration.
|
|
247
|
+
|
|
248
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_channels.html)
|
|
249
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_channels)
|
|
250
|
+
"""
|
|
251
|
+
|
|
252
|
+
async def list_event_rules(
|
|
253
|
+
self, **kwargs: Unpack[ListEventRulesRequestRequestTypeDef]
|
|
254
|
+
) -> ListEventRulesResponseTypeDef:
|
|
255
|
+
"""
|
|
256
|
+
Returns a list of EventRules according to specified filters, in reverse
|
|
257
|
+
chronological order (newest first).
|
|
258
|
+
|
|
259
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_event_rules.html)
|
|
260
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_event_rules)
|
|
261
|
+
"""
|
|
262
|
+
|
|
263
|
+
async def list_notification_configurations(
|
|
264
|
+
self, **kwargs: Unpack[ListNotificationConfigurationsRequestRequestTypeDef]
|
|
265
|
+
) -> ListNotificationConfigurationsResponseTypeDef:
|
|
266
|
+
"""
|
|
267
|
+
Returns a list of abbreviated NotificationConfigurations according to specified
|
|
268
|
+
filters, in reverse chronological order (newest first).
|
|
269
|
+
|
|
270
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_notification_configurations.html)
|
|
271
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_notification_configurations)
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
async def list_notification_events(
|
|
275
|
+
self, **kwargs: Unpack[ListNotificationEventsRequestRequestTypeDef]
|
|
276
|
+
) -> ListNotificationEventsResponseTypeDef:
|
|
277
|
+
"""
|
|
278
|
+
Returns a list of NotificationEvents according to specified filters, in reverse
|
|
279
|
+
chronological order (newest first).
|
|
280
|
+
|
|
281
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_notification_events.html)
|
|
282
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_notification_events)
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
async def list_notification_hubs(
|
|
286
|
+
self, **kwargs: Unpack[ListNotificationHubsRequestRequestTypeDef]
|
|
287
|
+
) -> ListNotificationHubsResponseTypeDef:
|
|
288
|
+
"""
|
|
289
|
+
Returns a list of NotificationHubs.
|
|
290
|
+
|
|
291
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_notification_hubs.html)
|
|
292
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_notification_hubs)
|
|
293
|
+
"""
|
|
294
|
+
|
|
295
|
+
async def list_tags_for_resource(
|
|
296
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
297
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
298
|
+
"""
|
|
299
|
+
Returns a list of tags for a specified Amazon Resource Name (ARN).
|
|
300
|
+
|
|
301
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/list_tags_for_resource.html)
|
|
302
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#list_tags_for_resource)
|
|
303
|
+
"""
|
|
304
|
+
|
|
305
|
+
async def register_notification_hub(
|
|
306
|
+
self, **kwargs: Unpack[RegisterNotificationHubRequestRequestTypeDef]
|
|
307
|
+
) -> RegisterNotificationHubResponseTypeDef:
|
|
308
|
+
"""
|
|
309
|
+
Registers a NotificationHub in the specified Region.
|
|
310
|
+
|
|
311
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/register_notification_hub.html)
|
|
312
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#register_notification_hub)
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
async def tag_resource(
|
|
316
|
+
self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]
|
|
317
|
+
) -> Dict[str, Any]:
|
|
318
|
+
"""
|
|
319
|
+
Tags the resource with a tag key and value.
|
|
320
|
+
|
|
321
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/tag_resource.html)
|
|
322
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#tag_resource)
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
async def untag_resource(
|
|
326
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
327
|
+
) -> Dict[str, Any]:
|
|
328
|
+
"""
|
|
329
|
+
Untags a resource with a specified Amazon Resource Name (ARN).
|
|
330
|
+
|
|
331
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/untag_resource.html)
|
|
332
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#untag_resource)
|
|
333
|
+
"""
|
|
334
|
+
|
|
335
|
+
async def update_event_rule(
|
|
336
|
+
self, **kwargs: Unpack[UpdateEventRuleRequestRequestTypeDef]
|
|
337
|
+
) -> UpdateEventRuleResponseTypeDef:
|
|
338
|
+
"""
|
|
339
|
+
Updates an existing EventRule.
|
|
340
|
+
|
|
341
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/update_event_rule.html)
|
|
342
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#update_event_rule)
|
|
343
|
+
"""
|
|
344
|
+
|
|
345
|
+
async def update_notification_configuration(
|
|
346
|
+
self, **kwargs: Unpack[UpdateNotificationConfigurationRequestRequestTypeDef]
|
|
347
|
+
) -> UpdateNotificationConfigurationResponseTypeDef:
|
|
348
|
+
"""
|
|
349
|
+
Updates a NotificationConfiguration.
|
|
350
|
+
|
|
351
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/update_notification_configuration.html)
|
|
352
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#update_notification_configuration)
|
|
353
|
+
"""
|
|
354
|
+
|
|
355
|
+
@overload # type: ignore[override]
|
|
356
|
+
def get_paginator( # type: ignore[override]
|
|
357
|
+
self, operation_name: Literal["list_channels"]
|
|
358
|
+
) -> ListChannelsPaginator:
|
|
359
|
+
"""
|
|
360
|
+
Create a paginator for an operation.
|
|
361
|
+
|
|
362
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_paginator.html)
|
|
363
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_paginator)
|
|
364
|
+
"""
|
|
365
|
+
|
|
366
|
+
@overload # type: ignore[override]
|
|
367
|
+
def get_paginator( # type: ignore[override]
|
|
368
|
+
self, operation_name: Literal["list_event_rules"]
|
|
369
|
+
) -> ListEventRulesPaginator:
|
|
370
|
+
"""
|
|
371
|
+
Create a paginator for an operation.
|
|
372
|
+
|
|
373
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_paginator.html)
|
|
374
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_paginator)
|
|
375
|
+
"""
|
|
376
|
+
|
|
377
|
+
@overload # type: ignore[override]
|
|
378
|
+
def get_paginator( # type: ignore[override]
|
|
379
|
+
self, operation_name: Literal["list_notification_configurations"]
|
|
380
|
+
) -> ListNotificationConfigurationsPaginator:
|
|
381
|
+
"""
|
|
382
|
+
Create a paginator for an operation.
|
|
383
|
+
|
|
384
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_paginator.html)
|
|
385
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_paginator)
|
|
386
|
+
"""
|
|
387
|
+
|
|
388
|
+
@overload # type: ignore[override]
|
|
389
|
+
def get_paginator( # type: ignore[override]
|
|
390
|
+
self, operation_name: Literal["list_notification_events"]
|
|
391
|
+
) -> ListNotificationEventsPaginator:
|
|
392
|
+
"""
|
|
393
|
+
Create a paginator for an operation.
|
|
394
|
+
|
|
395
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_paginator.html)
|
|
396
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_paginator)
|
|
397
|
+
"""
|
|
398
|
+
|
|
399
|
+
@overload # type: ignore[override]
|
|
400
|
+
def get_paginator( # type: ignore[override]
|
|
401
|
+
self, operation_name: Literal["list_notification_hubs"]
|
|
402
|
+
) -> ListNotificationHubsPaginator:
|
|
403
|
+
"""
|
|
404
|
+
Create a paginator for an operation.
|
|
405
|
+
|
|
406
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications/client/get_paginator.html)
|
|
407
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/#get_paginator)
|
|
408
|
+
"""
|
|
409
|
+
|
|
410
|
+
async def __aenter__(self) -> Self:
|
|
411
|
+
"""
|
|
412
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications.html#UserNotifications.Client)
|
|
413
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/)
|
|
414
|
+
"""
|
|
415
|
+
|
|
416
|
+
async def __aexit__(
|
|
417
|
+
self,
|
|
418
|
+
exc_type: Type[BaseException] | None,
|
|
419
|
+
exc_val: BaseException | None,
|
|
420
|
+
exc_tb: TracebackType | None,
|
|
421
|
+
) -> None:
|
|
422
|
+
"""
|
|
423
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/notifications.html#UserNotifications.Client)
|
|
424
|
+
[Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_notifications/client/)
|
|
425
|
+
"""
|