Skip to content

PutOptedOutNumberRequest

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/put_opted_out_number_request.py
class PutOptedOutNumberRequest(TypedDict, closed=True):
    opt_out_list_name: (
        "capo_pinpoint_sms_voice_v2.types.opt_out_list_name_or_arn.OptOutListNameOrArn"
    )
    """<p>The OptOutListName or OptOutListArn to add the phone number to.</p> <important> <p>If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).</p> </important>"""
    opted_out_number: "capo_pinpoint_sms_voice_v2.types.phone_number.PhoneNumber"
    """<p>The phone number to add to the OptOutList in E.164 format.</p>"""

opt_out_list_name instance-attribute

opt_out_list_name: OptOutListNameOrArn

The OptOutListName or OptOutListArn to add the phone number to.

If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).

opted_out_number instance-attribute

opted_out_number: PhoneNumber

The phone number to add to the OptOutList in E.164 format.