list_notification_configurations
async
¶
list_notification_configurations(
*,
config_overrides: Optional[AsyncNotificationsClientConfig] = None,
event_rule_source: Optional[Source] = None,
channel_arn: Optional[ChannelArn] = None,
status: Optional[NotificationConfigurationStatus] = None,
subtype: Optional[NotificationConfigurationSubtype] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListNotificationConfigurationsResponse
Returns a list of abbreviated NotificationConfigurations according to specified filters, in reverse chronological order (newest first).
Parameters:
-
event_rule_source(Optional[Source], default:None) –The matched event source.
Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example,
aws.ec2andaws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide. -
channel_arn(Optional[ChannelArn], default:None) –The Amazon Resource Name (ARN) of the Channel to match.
-
status(Optional[NotificationConfigurationStatus], default:None) –The
NotificationConfigurationstatus to match.-
Values:
-
ACTIVE-
All
EventRulesareACTIVEand any call can be run.
-
-
PARTIALLY_ACTIVE-
Some
EventRulesareACTIVEand some areINACTIVE. Any call can be run. -
Any call can be run.
-
-
INACTIVE-
All
EventRulesareINACTIVEand any call can be run.
-
-
DELETING-
This
NotificationConfigurationis being deleted. -
Only
GETandLISTcalls can be run.
-
-
-
-
subtype(Optional[NotificationConfigurationSubtype], default:None) –The subtype used to filter the notification configurations in the request.
-
max_results(Optional[int], default:None) –The maximum number of results to be returned in this call. Defaults to 20.
-
next_token(Optional[NextToken], default:None) –The start token for paginated calls. Retrieved from the response of a previous
ListEventRulescall. Next token uses Base64 encoding.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–Unexpected error during processing of request.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–This exception is thrown when the notification event fails validation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_notifications/_services/async_notifications.py
2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 | |