Skip to content

Create Registration Attachment

pinpointsmsvoicev2_create_registration_attachment R Documentation

Create a new registration attachment to use for uploading a file or a URL to a file

Description

Create a new registration attachment to use for uploading a file or a URL to a file. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG. For example, many sender ID registrations require a signed “letter of authorization” (LOA) to be submitted.

Usage

pinpointsmsvoicev2_create_registration_attachment(AttachmentBody,
  AttachmentUrl, Tags, ClientToken)

Arguments

AttachmentBody

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

AttachmentUrl

A URL to the required registration file. For example, you can provide the S3 object URL.

Tags

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

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.

Value

A list with the following syntax:

list(
  RegistrationAttachmentArn = "string",
  RegistrationAttachmentId = "string",
  AttachmentStatus = "UPLOAD_IN_PROGRESS"|"UPLOAD_COMPLETE"|"UPLOAD_FAILED"|"DELETED",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_registration_attachment(
  AttachmentBody = raw,
  AttachmentUrl = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)