associate_managed_notification_account_contact
async
¶
associate_managed_notification_account_contact(
contact_identifier: AccountContactType,
managed_notification_configuration_arn: ManagedNotificationConfigurationOsArn,
*,
config_overrides: Optional[AsyncNotificationsClientConfig] = None,
is_sensitive_events_subscribed: Optional[bool] = None,
) -> AssociateManagedNotificationAccountContactResponse
Associates an Account Contact with a particular ManagedNotificationConfiguration.
Parameters:
-
contact_identifier(AccountContactType) –A unique value of an Account Contact Type to associate with the
ManagedNotificationConfiguration. -
managed_notification_configuration_arn(ManagedNotificationConfigurationOsArn) –The Amazon Resource Name (ARN) of the
ManagedNotificationConfigurationto associate with the Account Contact. -
is_sensitive_events_subscribed(Optional[bool], default:None) –Specifies whether this contact is subscribed to sensitive events. The
notifications:SubscribeSensitiveEventspermission controls access to sensitive events. Defaults to false.
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.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
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.