update_notification_configuration
async
¶
update_notification_configuration(
arn: NotificationConfigurationArn,
*,
config_overrides: Optional[AsyncNotificationsClientConfig] = None,
name: Optional[NotificationConfigurationName] = None,
description: Optional[NotificationConfigurationDescription] = None,
aggregation_duration: Optional[AggregationDuration] = None,
) -> UpdateNotificationConfigurationResponse
Updates a NotificationConfiguration.
Parameters:
-
arn(NotificationConfigurationArn) –The Amazon Resource Name (ARN) used to update the
NotificationConfiguration. -
name(Optional[NotificationConfigurationName], default:None) –The name of the
NotificationConfiguration. -
description(Optional[NotificationConfigurationDescription], default:None) –The description of the
NotificationConfiguration. -
aggregation_duration(Optional[AggregationDuration], default:None) –The aggregation preference of the
NotificationConfiguration.-
Values:
-
LONG-
Aggregate notifications for long periods of time (12 hours).
-
-
SHORT-
Aggregate notifications for short periods of time (5 minutes).
-
-
NONE-
Don't aggregate notifications.
-
-
-
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
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
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 | |