list_notification_configurations
¶
list_notification_configurations(
*,
config_overrides: Optional[NotificationsClientConfig] = 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/notifications.py
2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 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 | |