Skip to content

DeleteContactMethodRequest

Source code in docs_src/capo_lightsail/types/delete_contact_method_request.py
class DeleteContactMethodRequest(TypedDict, closed=True):
    protocol: "capo_lightsail.types.contact_protocol.ContactProtocol"
    """<p>The protocol that will be deleted, such as <code>Email</code> or <code>SMS</code> (text messaging).</p> <note> <p>To delete an <code>Email</code> and an <code>SMS</code> contact method if you added both, you must run separate <code>DeleteContactMethod</code> actions to delete each protocol.</p> </note>"""

protocol instance-attribute

protocol: ContactProtocol

The protocol that will be deleted, such as Email or SMS (text messaging).

To delete an Email and an SMS contact method if you added both, you must run separate DeleteContactMethod actions to delete each protocol.