diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationAttachmentCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationAttachmentCommand.ts index b6bb86e53cbf..ca12cc6c332b 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationAttachmentCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationAttachmentCommand.ts @@ -37,7 +37,11 @@ export interface CreateRegistrationAttachmentCommandOutput __MetadataBearer {} /** - *

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.

+ *

Create a new registration attachment to use for uploading a file or a URL to a file. + * The maximum file size is 500KB 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.

+ *

Use either AttachmentUrl or AttachmentBody to upload your attachment. If both are specified then an exception is returned.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeOptedOutNumbersCommand.ts b/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeOptedOutNumbersCommand.ts index 052f9fd77fac..9abce9bca5d3 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeOptedOutNumbersCommand.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/commands/DescribeOptedOutNumbersCommand.ts @@ -39,7 +39,7 @@ export interface DescribeOptedOutNumbersCommandOutput extends DescribeOptedOutNu * only those opted out numbers that meet the filter criteria. If you don't specify opted * out numbers or filters, the output includes information for all opted out destination * numbers in your opt-out list.

- *

If you specify an opted out number that isn't valid, an error is returned.

+ *

If you specify an opted out number that isn't valid, an exception is returned.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript 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 b2b55540b229..8f60e08fbb80 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 @@ -537,6 +537,7 @@ export const ValidationExceptionReason = { UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION", UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE", UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION", + UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED", VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH", VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE", } as const; @@ -1395,6 +1396,7 @@ export const RegistrationStatus = { CREATED: "CREATED", DELETED: "DELETED", PROVISIONING: "PROVISIONING", + REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION", REQUIRES_UPDATES: "REQUIRES_UPDATES", REVIEWING: "REVIEWING", SUBMITTED: "SUBMITTED", @@ -1569,13 +1571,13 @@ export interface CreateRegistrationAssociationResult { */ export interface CreateRegistrationAttachmentRequest { /** - *

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

+ *

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

* @public */ AttachmentBody?: Uint8Array; /** - *

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

+ *

Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format s3://BucketName/FileName.

* @public */ AttachmentUrl?: string; @@ -1669,6 +1671,7 @@ export const RegistrationVersionStatus = { DENIED: "DENIED", DISCARDED: "DISCARDED", DRAFT: "DRAFT", + REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION", REVIEWING: "REVIEWING", REVOKED: "REVOKED", SUBMITTED: "SUBMITTED", @@ -3050,6 +3053,7 @@ export interface DescribeOptedOutNumbersRequest { /** *

An array of phone numbers to search for in the OptOutList.

+ *

If you specify an opted out number that isn't valid, an exception is returned.

* @public */ OptedOutNumbers?: string[]; 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 e8f929f60d0c..92873c42b970 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json @@ -1568,7 +1568,7 @@ } ], "traits": { - "smithy.api#documentation": "

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.

" + "smithy.api#documentation": "

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

\n

Use either AttachmentUrl or AttachmentBody to upload your attachment. If both are specified then an exception is returned.

" } }, "com.amazonaws.pinpointsmsvoicev2#CreateRegistrationAttachmentRequest": { @@ -1577,13 +1577,13 @@ "AttachmentBody": { "target": "com.amazonaws.pinpointsmsvoicev2#AttachmentBody", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "AttachmentUrl": { "target": "com.amazonaws.pinpointsmsvoicev2#AttachmentUrl", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format s3://BucketName/FileName.

" } }, "Tags": { @@ -3826,7 +3826,7 @@ } ], "traits": { - "smithy.api#documentation": "

Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.

\n

If you specify opted out numbers, the output includes information for only the\n specified opted out numbers. If you specify filters, the output includes information for\n only those opted out numbers that meet the filter criteria. If you don't specify opted\n out numbers or filters, the output includes information for all opted out destination\n numbers in your opt-out list.

\n

If you specify an opted out number that isn't valid, an error is returned.

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

Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.

\n

If you specify opted out numbers, the output includes information for only the\n specified opted out numbers. If you specify filters, the output includes information for\n only those opted out numbers that meet the filter criteria. If you don't specify opted\n out numbers or filters, the output includes information for all opted out destination\n numbers in your opt-out list.

\n

If you specify an opted out number that isn't valid, an exception is returned.

", "smithy.api#paginated": { "items": "OptedOutNumbers" } @@ -3845,7 +3845,7 @@ "OptedOutNumbers": { "target": "com.amazonaws.pinpointsmsvoicev2#OptedOutNumberList", "traits": { - "smithy.api#documentation": "

An array of phone numbers to search for in the OptOutList.

" + "smithy.api#documentation": "

An array of phone numbers to search for in the OptOutList.

\n

If you specify an opted out number that isn't valid, an exception is returned.

" } }, "Filters": { @@ -9685,6 +9685,10 @@ "value": "REVIEWING", "name": "REVIEWING" }, + { + "value": "REQUIRES_AUTHENTICATION", + "name": "REQUIRES_AUTHENTICATION" + }, { "value": "PROVISIONING", "name": "PROVISIONING" @@ -9971,6 +9975,10 @@ "value": "REVIEWING", "name": "REVIEWING" }, + { + "value": "REQUIRES_AUTHENTICATION", + "name": "REQUIRES_AUTHENTICATION" + }, { "value": "APPROVED", "name": "APPROVED" @@ -13597,6 +13605,10 @@ "value": "VOICE_CAPABILITY_NOT_AVAILABLE", "name": "VOICE_CAPABILITY_NOT_AVAILABLE" }, + { + "value": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED", + "name": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED" + }, { "value": "OTHER", "name": "OTHER"