Skip to content

Commit ba96169

Browse files
author
awstools
committed
feat(client-pinpoint-sms-voice-v2): Added the registrations status of REQUIRES_AUTHENTICATION
1 parent 5180c33 commit ba96169

File tree

4 files changed

+29
-9
lines changed

4 files changed

+29
-9
lines changed

clients/client-pinpoint-sms-voice-v2/src/commands/CreateRegistrationAttachmentCommand.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ export interface CreateRegistrationAttachmentCommandOutput
3737
__MetadataBearer {}
3838

3939
/**
40-
* <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>
40+
* <p>Create a new registration attachment to use for uploading a file or a URL to a file.
41+
* The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG. For
42+
* example, many sender ID registrations require a signed “letter of authorization” (LOA)
43+
* to be submitted.</p>
44+
* <p>Use either <code>AttachmentUrl</code> or <code>AttachmentBody</code> to upload your attachment. If both are specified then an exception is returned.</p>
4145
* @example
4246
* Use a bare-bones client and the command you need to make an API call.
4347
* ```javascript

clients/client-pinpoint-sms-voice-v2/src/commands/DescribeOptedOutNumbersCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface DescribeOptedOutNumbersCommandOutput extends DescribeOptedOutNu
3939
* only those opted out numbers that meet the filter criteria. If you don't specify opted
4040
* out numbers or filters, the output includes information for all opted out destination
4141
* numbers in your opt-out list.</p>
42-
* <p>If you specify an opted out number that isn't valid, an error is returned.</p>
42+
* <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
4343
* @example
4444
* Use a bare-bones client and the command you need to make an API call.
4545
* ```javascript

clients/client-pinpoint-sms-voice-v2/src/models/models_0.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export const ValidationExceptionReason = {
537537
UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION",
538538
UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE",
539539
UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION",
540+
UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED",
540541
VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH",
541542
VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE",
542543
} as const;
@@ -1395,6 +1396,7 @@ export const RegistrationStatus = {
13951396
CREATED: "CREATED",
13961397
DELETED: "DELETED",
13971398
PROVISIONING: "PROVISIONING",
1399+
REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
13981400
REQUIRES_UPDATES: "REQUIRES_UPDATES",
13991401
REVIEWING: "REVIEWING",
14001402
SUBMITTED: "SUBMITTED",
@@ -1569,13 +1571,13 @@ export interface CreateRegistrationAssociationResult {
15691571
*/
15701572
export interface CreateRegistrationAttachmentRequest {
15711573
/**
1572-
* <p>The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.</p>
1574+
* <p>The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.</p>
15731575
* @public
15741576
*/
15751577
AttachmentBody?: Uint8Array;
15761578

15771579
/**
1578-
* <p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>
1580+
* <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>
15791581
* @public
15801582
*/
15811583
AttachmentUrl?: string;
@@ -1669,6 +1671,7 @@ export const RegistrationVersionStatus = {
16691671
DENIED: "DENIED",
16701672
DISCARDED: "DISCARDED",
16711673
DRAFT: "DRAFT",
1674+
REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
16721675
REVIEWING: "REVIEWING",
16731676
REVOKED: "REVOKED",
16741677
SUBMITTED: "SUBMITTED",
@@ -3050,6 +3053,7 @@ export interface DescribeOptedOutNumbersRequest {
30503053

30513054
/**
30523055
* <p>An array of phone numbers to search for in the OptOutList.</p>
3056+
* <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
30533057
* @public
30543058
*/
30553059
OptedOutNumbers?: string[];

codegen/sdk-codegen/aws-models/pinpoint-sms-voice-v2.json

+17-5
Original file line numberDiff line numberDiff line change
@@ -1568,7 +1568,7 @@
15681568
}
15691569
],
15701570
"traits": {
1571-
"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>"
1571+
"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>"
15721572
}
15731573
},
15741574
"com.amazonaws.pinpointsmsvoicev2#CreateRegistrationAttachmentRequest": {
@@ -1577,13 +1577,13 @@
15771577
"AttachmentBody": {
15781578
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentBody",
15791579
"traits": {
1580-
"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>"
1580+
"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>"
15811581
}
15821582
},
15831583
"AttachmentUrl": {
15841584
"target": "com.amazonaws.pinpointsmsvoicev2#AttachmentUrl",
15851585
"traits": {
1586-
"smithy.api#documentation": "<p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>"
1586+
"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>"
15871587
}
15881588
},
15891589
"Tags": {
@@ -3826,7 +3826,7 @@
38263826
}
38273827
],
38283828
"traits": {
3829-
"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>",
3829+
"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>",
38303830
"smithy.api#paginated": {
38313831
"items": "OptedOutNumbers"
38323832
}
@@ -3845,7 +3845,7 @@
38453845
"OptedOutNumbers": {
38463846
"target": "com.amazonaws.pinpointsmsvoicev2#OptedOutNumberList",
38473847
"traits": {
3848-
"smithy.api#documentation": "<p>An array of phone numbers to search for in the OptOutList.</p>"
3848+
"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>"
38493849
}
38503850
},
38513851
"Filters": {
@@ -9685,6 +9685,10 @@
96859685
"value": "REVIEWING",
96869686
"name": "REVIEWING"
96879687
},
9688+
{
9689+
"value": "REQUIRES_AUTHENTICATION",
9690+
"name": "REQUIRES_AUTHENTICATION"
9691+
},
96889692
{
96899693
"value": "PROVISIONING",
96909694
"name": "PROVISIONING"
@@ -9971,6 +9975,10 @@
99719975
"value": "REVIEWING",
99729976
"name": "REVIEWING"
99739977
},
9978+
{
9979+
"value": "REQUIRES_AUTHENTICATION",
9980+
"name": "REQUIRES_AUTHENTICATION"
9981+
},
99749982
{
99759983
"value": "APPROVED",
99769984
"name": "APPROVED"
@@ -13597,6 +13605,10 @@
1359713605
"value": "VOICE_CAPABILITY_NOT_AVAILABLE",
1359813606
"name": "VOICE_CAPABILITY_NOT_AVAILABLE"
1359913607
},
13608+
{
13609+
"value": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED",
13610+
"name": "UNSPECIFIED_PARAMETER_NOT_SUPPORTED"
13611+
},
1360013612
{
1360113613
"value": "OTHER",
1360213614
"name": "OTHER"

0 commit comments

Comments
 (0)