Skip to content

PhoneNumberInformation

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/phone_number_information.py
class PhoneNumberInformation(TypedDict, closed=True):
    phone_number_arn: "str"
    """<p>The Amazon Resource Name (ARN) associated with the phone number.</p>"""
    phone_number_id: NotRequired["str"]
    """<p>The unique identifier for the phone number.</p>"""
    phone_number: "capo_pinpoint_sms_voice_v2.types.phone_number.PhoneNumber"
    """<p>The phone number in E.164 format.</p>"""
    status: "capo_pinpoint_sms_voice_v2.types.number_status.NumberStatus"
    """<p>The current status of the phone number.</p>"""
    iso_country_code: "capo_pinpoint_sms_voice_v2.types.iso_country_code.IsoCountryCode"
    """<p>The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. </p>"""
    message_type: "capo_pinpoint_sms_voice_v2.types.message_type.MessageType"
    """<p>The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.</p>"""
    number_capabilities: (
        "capo_pinpoint_sms_voice_v2.types.number_capability_list.NumberCapabilityList"
    )
    """<p>Describes if the origination identity can be used for text messages, voice calls or both.</p>"""
    number_type: "capo_pinpoint_sms_voice_v2.types.number_type.NumberType"
    """<p>The type of phone number.</p>"""
    monthly_leasing_price: "str"
    """<p>The price, in US dollars, to lease the phone number.</p>"""
    two_way_enabled: "bool"
    """<p>By default this is set to false. When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.</p>"""
    two_way_channel_arn: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.two_way_channel_arn.TwoWayChannelArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the two way channel.</p>"""
    two_way_channel_role: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.iam_role_arn.IamRoleArn"
    ]
    """<p>An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.</p>"""
    self_managed_opt_outs_enabled: "bool"
    """<p>When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see <a href="https://docs.aws.amazon.com/pinpoint/latest/userguide/settings-sms-managing.html#settings-account-sms-self-managed-opt-out">Self-managed opt-outs</a> </p>"""
    opt_out_list_name: (
        "capo_pinpoint_sms_voice_v2.types.opt_out_list_name.OptOutListName"
    )
    """<p>The name of the OptOutList associated with the phone number.</p>"""
    international_sending_enabled: "bool"
    """<p>When set to true the international sending of phone number is Enabled.</p>"""
    deletion_protection_enabled: "bool"
    """<p>When set to true the phone number can't be deleted.</p>"""
    pool_id: NotRequired["str"]
    """<p>The unique identifier of the pool associated with the phone number.</p>"""
    registration_id: NotRequired["str"]
    """<p>The unique identifier for the registration.</p>"""
    messaging_limits: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.messaging_limits.MessagingLimits"
    ]
    """<p>The messaging limits that apply to the phone number, including the per-capability send rates and any advisory per-provider daily message caps.</p>"""
    pricing_tier: NotRequired["str"]
    """<p>The pricing model.</p>"""
    created_timestamp: "datetime.datetime"
    """<p>The time when the phone number was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>"""

created_timestamp instance-attribute

created_timestamp: datetime

The time when the phone number was created, in UNIX epoch time format.

deletion_protection_enabled instance-attribute

deletion_protection_enabled: bool

When set to true the phone number can't be deleted.

international_sending_enabled instance-attribute

international_sending_enabled: bool

When set to true the international sending of phone number is Enabled.

iso_country_code instance-attribute

iso_country_code: IsoCountryCode

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

message_type instance-attribute

message_type: MessageType

The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

messaging_limits instance-attribute

messaging_limits: NotRequired[MessagingLimits]

The messaging limits that apply to the phone number, including the per-capability send rates and any advisory per-provider daily message caps.

monthly_leasing_price instance-attribute

monthly_leasing_price: str

The price, in US dollars, to lease the phone number.

number_capabilities instance-attribute

number_capabilities: NumberCapabilityList

Describes if the origination identity can be used for text messages, voice calls or both.

number_type instance-attribute

number_type: NumberType

The type of phone number.

opt_out_list_name instance-attribute

opt_out_list_name: OptOutListName

The name of the OptOutList associated with the phone number.

phone_number instance-attribute

phone_number: PhoneNumber

The phone number in E.164 format.

phone_number_arn instance-attribute

phone_number_arn: str

The Amazon Resource Name (ARN) associated with the phone number.

phone_number_id instance-attribute

phone_number_id: NotRequired[str]

The unique identifier for the phone number.

pool_id instance-attribute

pool_id: NotRequired[str]

The unique identifier of the pool associated with the phone number.

pricing_tier instance-attribute

pricing_tier: NotRequired[str]

The pricing model.

registration_id instance-attribute

registration_id: NotRequired[str]

The unique identifier for the registration.

self_managed_opt_outs_enabled instance-attribute

self_managed_opt_outs_enabled: bool

When set to false and an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, End User Messaging SMS automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out request. For more information see Self-managed opt-outs

status instance-attribute

status: NumberStatus

The current status of the phone number.

two_way_channel_arn instance-attribute

two_way_channel_arn: NotRequired[TwoWayChannelArn]

The Amazon Resource Name (ARN) of the two way channel.

two_way_channel_role instance-attribute

two_way_channel_role: NotRequired[IamRoleArn]

An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.

two_way_enabled instance-attribute

two_way_enabled: bool

By default this is set to false. When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.