Skip to content

Create Registration

pinpointsmsvoicev2_create_registration R Documentation

Creates a new registration based on the RegistrationType field

Description

Creates a new registration based on the RegistrationType field.

Usage

pinpointsmsvoicev2_create_registration(RegistrationType, Tags,
  ClientToken)

Arguments

RegistrationType

[required] The type of registration form to create. The list of RegistrationTypes can be found using the describe_registration_type_definitions action.

Tags

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

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(
  RegistrationArn = "string",
  RegistrationId = "string",
  RegistrationType = "string",
  RegistrationStatus = "CREATED"|"SUBMITTED"|"REVIEWING"|"PROVISIONING"|"COMPLETE"|"REQUIRES_UPDATES"|"CLOSED"|"DELETED",
  CurrentVersionNumber = 123,
  AdditionalAttributes = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_registration(
  RegistrationType = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)