update_contact
async
¶
update_contact(
contact_id: SsmContactsArn,
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
display_name: Optional[ContactName] = None,
plan: Optional[Plan] = None,
) -> UpdateContactResult
Updates the contact or escalation plan specified.
Parameters:
-
contact_id(SsmContactsArn) –The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
-
display_name(Optional[ContactName], default:None) –The full name of the contact or escalation plan.
-
plan(Optional[Plan], default:None) –A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
DataEncryptionException–The operation failed to due an encryption key error.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_contacts/_services/async_ssm_contacts.py
2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 | |