Skip to main content

registration_versions

Creates, updates, deletes, gets or lists a registration_versions resource.

Overview

Nameregistration_versions
TypeResource
Idaws.pinpoint_sms_voice_v2.registration_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
denied_reasonsarrayAn array of RegistrationDeniedReasonInformation objects.
feedbackstringGenerative AI feedback information provided during the registration review process. This includes comments, suggestions, or additional requirements.
registration_version_statusstringThe status of the registration. APPROVED: Your registration has been approved. ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved. DENIED: You must fix your registration and resubmit it. DISCARDED: You've abandon this version of their registration to start over with a new version. DRAFT: The initial status of a registration version after it’s created. REQUIRES_AUTHENTICATION: You need to complete email authentication. REVIEWING: Your registration has been accepted and is being reviewed. REVOKED: Your previously approved registration has been revoked. SUBMITTED: Your registration has been submitted. (DRAFT, SUBMITTED, AWS_REVIEWING, REVIEWING, REQUIRES_AUTHENTICATION, APPROVED, DISCARDED, DENIED, REVOKED, ARCHIVED, REQUIRES_OFFLINE_REVIEW)
registration_version_status_historyobjectThe RegistrationVersionStatusHistory object contains the time stamps for when the reservations status changes.
version_numberinteger (int64)The version number of the registration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_registration_versionsselectregionRetrieves the specified registration version.
create_registration_versioninsertregion, RegistrationIdCreate a new version of the registration and increase the VersionNumber. The previous version of the registration becomes read-only.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the specified registration version.

SELECT
denied_reasons,
feedback,
registration_version_status,
registration_version_status_history,
version_number
FROM aws.pinpoint_sms_voice_v2.registration_versions
WHERE region = '{{ region }}' -- required
;

INSERT examples

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

INSERT INTO aws.pinpoint_sms_voice_v2.registration_versions (
RegistrationId,
region
)
SELECT
'{{ RegistrationId }}' /* required */,
'{{ region }}'
RETURNING
registration_arn,
registration_id,
registration_version_status,
registration_version_status_history,
version_number
;