Skip to content

Create Registration Version

pinpointsmsvoicev2_create_registration_version R Documentation

Create a new version of the registration and increase the VersionNumber

Description

Create a new version of the registration and increase the VersionNumber. The previous version of the registration becomes read-only.

Usage

pinpointsmsvoicev2_create_registration_version(RegistrationId)

Arguments

RegistrationId

[required] The unique identifier for the registration.

Value

A list with the following syntax:

list(
  RegistrationArn = "string",
  RegistrationId = "string",
  VersionNumber = 123,
  RegistrationVersionStatus = "DRAFT"|"SUBMITTED"|"REVIEWING"|"APPROVED"|"DISCARDED"|"DENIED"|"REVOKED"|"ARCHIVED",
  RegistrationVersionStatusHistory = list(
    DraftTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    SubmittedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ReviewingTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ApprovedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    DiscardedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    DeniedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    RevokedTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    ArchivedTimestamp = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$create_registration_version(
  RegistrationId = "string"
)