Skip to content

PutKeywordRequest

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/put_keyword_request.py
class PutKeywordRequest(TypedDict, closed=True):
    origination_identity: (
        "capo_pinpoint_sms_voice_v2.types.phone_or_pool_id_or_arn.PhoneOrPoolIdOrArn"
    )
    """<p>The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use <a>DescribePhoneNumbers</a> get the values for PhoneNumberId and PhoneNumberArn while <a>DescribeSenderIds</a> can be used to get the values for SenderId and SenderIdArn.</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>"""
    keyword: "capo_pinpoint_sms_voice_v2.types.keyword.Keyword"
    """<p>The new keyword to add.</p>"""
    keyword_message: "capo_pinpoint_sms_voice_v2.types.keyword_message.KeywordMessage"
    """<p>The message associated with the keyword.</p>"""
    keyword_action: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.keyword_action.KeywordAction"
    ]
    """<p>The action to perform for the new keyword when it is received.</p> <ul> <li> <p>AUTOMATIC_RESPONSE: A message is sent to the recipient.</p> </li> <li> <p>OPT_OUT: Keeps the recipient from receiving future messages.</p> </li> <li> <p>OPT_IN: The recipient wants to receive future messages.</p> </li> </ul>"""

keyword instance-attribute

keyword: Keyword

The new keyword to add.

keyword_action instance-attribute

keyword_action: NotRequired[KeywordAction]

The action to perform for the new keyword when it is received.

  • AUTOMATIC_RESPONSE: A message is sent to the recipient.

  • OPT_OUT: Keeps the recipient from receiving future messages.

  • OPT_IN: The recipient wants to receive future messages.

keyword_message instance-attribute

keyword_message: KeywordMessage

The message associated with the keyword.

origination_identity instance-attribute

origination_identity: PhoneOrPoolIdOrArn

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

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