Skip to content

Commit

Permalink
feat(client-pinpoint-sms-voice-v2): Added the registrations status of…
Browse files Browse the repository at this point in the history
… REQUIRES_AUTHENTICATION
  • Loading branch information
awstools committed Oct 17, 2024
1 parent 5180c33 commit ba96169
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ export interface CreateRegistrationAttachmentCommandOutput
__MetadataBearer {}

/**
* <p>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.</p>
* <p>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.</p>
* <p>Use either <code>AttachmentUrl</code> or <code>AttachmentBody</code> to upload your attachment. If both are specified then an exception is returned.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.</p>
* <p>If you specify an opted out number that isn't valid, an error is returned.</p>
* <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
8 changes: 6 additions & 2 deletions clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -1569,13 +1571,13 @@ export interface CreateRegistrationAssociationResult {
*/
export interface CreateRegistrationAttachmentRequest {
/**
* <p>The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.</p>
* <p>The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.</p>
* @public
*/
AttachmentBody?: Uint8Array;

/**
* <p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>
* <p>Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format <code>s3://BucketName/FileName</code>.</p>
* @public
*/
AttachmentUrl?: string;
Expand Down Expand Up @@ -1669,6 +1671,7 @@ export const RegistrationVersionStatus = {
DENIED: "DENIED",
DISCARDED: "DISCARDED",
DRAFT: "DRAFT",
REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
REVIEWING: "REVIEWING",
REVOKED: "REVOKED",
SUBMITTED: "SUBMITTED",
Expand Down Expand Up @@ -3050,6 +3053,7 @@ export interface DescribeOptedOutNumbersRequest {

/**
* <p>An array of phone numbers to search for in the OptOutList.</p>
* <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
* @public
*/
OptedOutNumbers?: string[];
Expand Down
22 changes: 17 additions & 5 deletions codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>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.</p>"
"smithy.api#documentation": "<p>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.</p>\n <p>Use either <code>AttachmentUrl</code> or <code>AttachmentBody</code> to upload your attachment. If both are specified then an exception is returned.</p>"
}
},
"com.amazonaws.pinpointsmsvoicev2#CreateRegistrationAttachmentRequest": {
Expand All @@ -1577,13 +1577,13 @@
"AttachmentBody": {
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentBody",
"traits": {
"smithy.api#documentation": "<p>The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.</p>"
"smithy.api#documentation": "<p>The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.</p>"
}
},
"AttachmentUrl": {
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentUrl",
"traits": {
"smithy.api#documentation": "<p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>"
"smithy.api#documentation": "<p>Registration files have to be stored in an Amazon S3 bucket. The URI to use when sending is in the format <code>s3://BucketName/FileName</code>.</p>"
}
},
"Tags": {
Expand Down Expand Up @@ -3826,7 +3826,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.</p>\n <p>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.</p>\n <p>If you specify an opted out number that isn't valid, an error is returned.</p>",
"smithy.api#documentation": "<p>Describes the specified opted out destination numbers or all opted out destination\n numbers in an opt-out list.</p>\n <p>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.</p>\n <p>If you specify an opted out number that isn't valid, an exception is returned.</p>",
"smithy.api#paginated": {
"items": "OptedOutNumbers"
}
Expand All @@ -3845,7 +3845,7 @@
"OptedOutNumbers": {
"target": "com.amazonaws.pinpointsmsvoicev2#OptedOutNumberList",
"traits": {
"smithy.api#documentation": "<p>An array of phone numbers to search for in the OptOutList.</p>"
"smithy.api#documentation": "<p>An array of phone numbers to search for in the OptOutList.</p>\n <p>If you specify an opted out number that isn't valid, an exception is returned.</p>"
}
},
"Filters": {
Expand Down Expand Up @@ -9685,6 +9685,10 @@
"value": "REVIEWING",
"name": "REVIEWING"
},
{
"value": "REQUIRES_AUTHENTICATION",
"name": "REQUIRES_AUTHENTICATION"
},
{
"value": "PROVISIONING",
"name": "PROVISIONING"
Expand Down Expand Up @@ -9971,6 +9975,10 @@
"value": "REVIEWING",
"name": "REVIEWING"
},
{
"value": "REQUIRES_AUTHENTICATION",
"name": "REQUIRES_AUTHENTICATION"
},
{
"value": "APPROVED",
"name": "APPROVED"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ba96169

Please sign in to comment.