Skip to content

CreateRegistrationAttachmentRequest

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/create_registration_attachment_request.py
class CreateRegistrationAttachmentRequest(TypedDict, closed=True):
    attachment_body: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.attachment_body.AttachmentBody"
    ]
    """<p>The registration file to upload. The maximum file size is 5MB and valid file extensions are PDF, JPEG and PNG.</p>"""
    attachment_url: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.attachment_url.AttachmentUrl"
    ]
    """<p>Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format <code>s3://BucketName/FileName</code>.</p>"""
    tags: NotRequired["capo_pinpoint_sms_voice_v2.types.tag_list.TagList"]
    """<p>An array of tags (key and value pairs) to associate with the registration attachment.</p>"""
    client_token: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.client_token.ClientToken"
    ]
    """<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.</p>"""

attachment_body instance-attribute

attachment_body: NotRequired[AttachmentBody]

The registration file to upload. The maximum file size is 5MB and valid file extensions are PDF, JPEG and PNG.

attachment_url instance-attribute

attachment_url: NotRequired[AttachmentUrl]

Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format s3://BucketName/FileName.

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

tags instance-attribute

tags: NotRequired[TagList]

An array of tags (key and value pairs) to associate with the registration attachment.