Skip to content

AddHeaderAction

Source code in docs_src/capo_ses/types/add_header_action.py
class AddHeaderAction(TypedDict, closed=True):
    header_name: "capo_ses.types.header_name.HeaderName"
    """<p>The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.</p>"""
    header_value: "capo_ses.types.header_value.HeaderValue"
    r"""<p>The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (<code>\n</code>) or carriage return (<code>\r</code>) characters.</p>"""

header_name instance-attribute

header_name: HeaderName

The name of the header to add to the incoming message. The name must contain at least one character, and can contain up to 50 characters. It consists of alphanumeric (a–z, A–Z, 0–9) characters and dashes.

header_value instance-attribute

header_value: HeaderValue

The content to include in the header. This value can contain up to 2048 characters. It can't contain newline (\n) or carriage return (\r) characters.