From 90f0be2f0a7156cbb8fac3da2869e20da4328f16 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 8 Nov 2024 19:22:21 +0000 Subject: [PATCH] feat(client-pinpoint-sms-voice-v2): Added the RequiresAuthenticationTimestamp field to the RegistrationVersionStatusHistory data type. --- .../CreateRegistrationVersionCommand.ts | 1 + .../DescribeRegistrationVersionsCommand.ts | 1 + .../DiscardRegistrationVersionCommand.ts | 1 + .../SubmitRegistrationVersionCommand.ts | 1 + .../src/models/models_0.ts | 120 +++++++++++------- .../src/protocols/Aws_json1_0.ts | 1 + .../aws-models/pinpoint-sms-voice-v2.json | 20 ++- 7 files changed, 95 insertions(+), 50 deletions(-) diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationVersionCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationVersionCommand.ts index 93b800794eb5..ab7e4af1fe78 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationVersionCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationVersionCommand.ts @@ -53,6 +53,7 @@ export interface CreateRegistrationVersionCommandOutput extends CreateRegistrati * // DraftTimestamp: new Date("TIMESTAMP"), // required * // SubmittedTimestamp: new Date("TIMESTAMP"), * // ReviewingTimestamp: new Date("TIMESTAMP"), + * // RequiresAuthenticationTimestamp: new Date("TIMESTAMP"), * // ApprovedTimestamp: new Date("TIMESTAMP"), * // DiscardedTimestamp: new Date("TIMESTAMP"), * // DeniedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeRegistrationVersionsCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeRegistrationVersionsCommand.ts index 6664975024f9..e436a9c09004 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeRegistrationVersionsCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeRegistrationVersionsCommand.ts @@ -73,6 +73,7 @@ export interface DescribeRegistrationVersionsCommandOutput * // DraftTimestamp: new Date("TIMESTAMP"), // required * // SubmittedTimestamp: new Date("TIMESTAMP"), * // ReviewingTimestamp: new Date("TIMESTAMP"), + * // RequiresAuthenticationTimestamp: new Date("TIMESTAMP"), * // ApprovedTimestamp: new Date("TIMESTAMP"), * // DiscardedTimestamp: new Date("TIMESTAMP"), * // DeniedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/DiscardRegistrationVersionCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/DiscardRegistrationVersionCommand.ts index b083688fa436..dca35c18a5eb 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/DiscardRegistrationVersionCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/DiscardRegistrationVersionCommand.ts @@ -53,6 +53,7 @@ export interface DiscardRegistrationVersionCommandOutput extends DiscardRegistra * // DraftTimestamp: new Date("TIMESTAMP"), // required * // SubmittedTimestamp: new Date("TIMESTAMP"), * // ReviewingTimestamp: new Date("TIMESTAMP"), + * // RequiresAuthenticationTimestamp: new Date("TIMESTAMP"), * // ApprovedTimestamp: new Date("TIMESTAMP"), * // DiscardedTimestamp: new Date("TIMESTAMP"), * // DeniedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/SubmitRegistrationVersionCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/SubmitRegistrationVersionCommand.ts index 6d77c12f22aa..f1c1d0257f55 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/SubmitRegistrationVersionCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/SubmitRegistrationVersionCommand.ts @@ -53,6 +53,7 @@ export interface SubmitRegistrationVersionCommandOutput extends SubmitRegistrati * // DraftTimestamp: new Date("TIMESTAMP"), // required * // SubmittedTimestamp: new Date("TIMESTAMP"), * // ReviewingTimestamp: new Date("TIMESTAMP"), + * // RequiresAuthenticationTimestamp: new Date("TIMESTAMP"), * // ApprovedTimestamp: new Date("TIMESTAMP"), * // DiscardedTimestamp: new Date("TIMESTAMP"), * // DeniedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts b/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts index 8f60e08fbb80..0175b85bb2e5 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts @@ -1435,15 +1435,19 @@ export interface CreateRegistrationResult { * * @public @@ -1705,6 +1709,12 @@ export interface RegistrationVersionStatusHistory { */ ReviewingTimestamp?: Date; + /** + *

The time when the registration was in the requires authentication state, in UNIX epoch time format.

+ * @public + */ + RequiresAuthenticationTimestamp?: Date; + /** *

The time when the registration was in the approved state, in UNIX epoch time format.

* @public @@ -1763,27 +1773,31 @@ export interface CreateRegistrationVersionResult { * * @public @@ -2458,15 +2472,19 @@ export interface DeleteRegistrationResult { * * @public @@ -4406,15 +4424,19 @@ export interface RegistrationInformation { * * @public @@ -4953,27 +4975,31 @@ export interface RegistrationVersionInformation { * * @public @@ -5602,27 +5628,31 @@ export interface DiscardRegistrationVersionResult { * * @public @@ -7547,27 +7577,31 @@ export interface SubmitRegistrationVersionResult { * * @public diff --git a/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts b/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts index 15e70555ba3d..c99c64fc47e0 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/protocols/Aws_json1_0.ts @@ -4660,6 +4660,7 @@ const de_RegistrationVersionStatusHistory = ( DeniedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), DiscardedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), DraftTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + RequiresAuthenticationTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), ReviewingTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), RevokedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), SubmittedTimestamp: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), diff --git a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json index 92873c42b970..9978163dba21 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json @@ -1701,7 +1701,7 @@ "RegistrationStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationStatus", "traits": { - "smithy.api#documentation": "

The status of the registration.

\n ", + "smithy.api#documentation": "

The status of the registration.

\n ", "smithy.api#required": {} } }, @@ -1813,7 +1813,7 @@ "RegistrationVersionStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", "traits": { - "smithy.api#documentation": "

The status of the registration.

\n ", + "smithy.api#documentation": "

The status of the registration.

\n ", "smithy.api#required": {} } }, @@ -3093,7 +3093,7 @@ "RegistrationStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationStatus", "traits": { - "smithy.api#documentation": "

The status of the registration.

\n ", + "smithy.api#documentation": "

The status of the registration.

\n ", "smithy.api#required": {} } }, @@ -5400,7 +5400,7 @@ "RegistrationVersionStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", "traits": { - "smithy.api#documentation": "

The status of the registration version.

\n ", + "smithy.api#documentation": "

The status of the registration version.

\n ", "smithy.api#required": {} } }, @@ -9554,7 +9554,7 @@ "RegistrationStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationStatus", "traits": { - "smithy.api#documentation": "

The status of the registration.

\n ", + "smithy.api#documentation": "

The status of the registration.

\n ", "smithy.api#required": {} } }, @@ -9911,7 +9911,7 @@ "RegistrationVersionStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", "traits": { - "smithy.api#documentation": "

The status of the registration.

\n ", + "smithy.api#documentation": "

The status of the registration.

\n ", "smithy.api#required": {} } }, @@ -10024,6 +10024,12 @@ "smithy.api#documentation": "

The time when the registration was in the reviewing state, in UNIX epoch time format.

" } }, + "RequiresAuthenticationTimestamp": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The time when the registration was in the requires authentication state, in UNIX epoch time format.

" + } + }, "ApprovedTimestamp": { "target": "smithy.api#Timestamp", "traits": { @@ -12275,7 +12281,7 @@ "RegistrationVersionStatus": { "target": "com.amazonaws.pinpointsmsvoicev2#RegistrationVersionStatus", "traits": { - "smithy.api#documentation": "

The status of the registration version.

\n ", + "smithy.api#documentation": "

The status of the registration version.

\n ", "smithy.api#required": {} } },