@aws-sdk/client-pinpoint-sms-voice-v2 3.670.0 → 3.674.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -607,6 +607,7 @@ var ValidationExceptionReason = {
607
607
  UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION",
608
608
  UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE",
609
609
  UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION",
610
+ UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED",
610
611
  VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH",
611
612
  VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE"
612
613
  };
@@ -705,6 +706,7 @@ var RegistrationStatus = {
705
706
  CREATED: "CREATED",
706
707
  DELETED: "DELETED",
707
708
  PROVISIONING: "PROVISIONING",
709
+ REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
708
710
  REQUIRES_UPDATES: "REQUIRES_UPDATES",
709
711
  REVIEWING: "REVIEWING",
710
712
  SUBMITTED: "SUBMITTED"
@@ -715,6 +717,7 @@ var RegistrationVersionStatus = {
715
717
  DENIED: "DENIED",
716
718
  DISCARDED: "DISCARDED",
717
719
  DRAFT: "DRAFT",
720
+ REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
718
721
  REVIEWING: "REVIEWING",
719
722
  REVOKED: "REVOKED",
720
723
  SUBMITTED: "SUBMITTED"
@@ -223,6 +223,7 @@ export const ValidationExceptionReason = {
223
223
  UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION",
224
224
  UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE",
225
225
  UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION",
226
+ UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED",
226
227
  VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH",
227
228
  VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE",
228
229
  };
@@ -316,6 +317,7 @@ export const RegistrationStatus = {
316
317
  CREATED: "CREATED",
317
318
  DELETED: "DELETED",
318
319
  PROVISIONING: "PROVISIONING",
320
+ REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
319
321
  REQUIRES_UPDATES: "REQUIRES_UPDATES",
320
322
  REVIEWING: "REVIEWING",
321
323
  SUBMITTED: "SUBMITTED",
@@ -326,6 +328,7 @@ export const RegistrationVersionStatus = {
326
328
  DENIED: "DENIED",
327
329
  DISCARDED: "DISCARDED",
328
330
  DRAFT: "DRAFT",
331
+ REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION",
329
332
  REVIEWING: "REVIEWING",
330
333
  REVOKED: "REVOKED",
331
334
  SUBMITTED: "SUBMITTED",
@@ -27,7 +27,11 @@ declare const CreateRegistrationAttachmentCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <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>
30
+ * <p>Create a new registration attachment to use for uploading a file or a URL to a file.
31
+ * The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG. For
32
+ * example, many sender ID registrations require a signed “letter of authorization” (LOA)
33
+ * to be submitted.</p>
34
+ * <p>Use either <code>AttachmentUrl</code> or <code>AttachmentBody</code> to upload your attachment. If both are specified then an exception is returned.</p>
31
35
  * @example
32
36
  * Use a bare-bones client and the command you need to make an API call.
33
37
  * ```javascript
@@ -34,7 +34,7 @@ declare const DescribeOptedOutNumbersCommand_base: {
34
34
  * only those opted out numbers that meet the filter criteria. If you don't specify opted
35
35
  * out numbers or filters, the output includes information for all opted out destination
36
36
  * numbers in your opt-out list.</p>
37
- * <p>If you specify an opted out number that isn't valid, an error is returned.</p>
37
+ * <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
38
38
  * @example
39
39
  * Use a bare-bones client and the command you need to make an API call.
40
40
  * ```javascript
@@ -438,6 +438,7 @@ export declare const ValidationExceptionReason: {
438
438
  readonly UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION";
439
439
  readonly UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE";
440
440
  readonly UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION";
441
+ readonly UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED";
441
442
  readonly VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH";
442
443
  readonly VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE";
443
444
  };
@@ -1186,6 +1187,7 @@ export declare const RegistrationStatus: {
1186
1187
  readonly CREATED: "CREATED";
1187
1188
  readonly DELETED: "DELETED";
1188
1189
  readonly PROVISIONING: "PROVISIONING";
1190
+ readonly REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION";
1189
1191
  readonly REQUIRES_UPDATES: "REQUIRES_UPDATES";
1190
1192
  readonly REVIEWING: "REVIEWING";
1191
1193
  readonly SUBMITTED: "SUBMITTED";
@@ -1340,12 +1342,12 @@ export interface CreateRegistrationAssociationResult {
1340
1342
  */
1341
1343
  export interface CreateRegistrationAttachmentRequest {
1342
1344
  /**
1343
- * <p>The registration file to upload. The maximum file size is 1MiB and valid file extensions are PDF, JPEG and PNG.</p>
1345
+ * <p>The registration file to upload. The maximum file size is 500KB and valid file extensions are PDF, JPEG and PNG.</p>
1344
1346
  * @public
1345
1347
  */
1346
1348
  AttachmentBody?: Uint8Array;
1347
1349
  /**
1348
- * <p>A URL to the required registration file. For example, you can provide the S3 object URL.</p>
1350
+ * <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>
1349
1351
  * @public
1350
1352
  */
1351
1353
  AttachmentUrl?: string;
@@ -1430,6 +1432,7 @@ export declare const RegistrationVersionStatus: {
1430
1432
  readonly DENIED: "DENIED";
1431
1433
  readonly DISCARDED: "DISCARDED";
1432
1434
  readonly DRAFT: "DRAFT";
1435
+ readonly REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION";
1433
1436
  readonly REVIEWING: "REVIEWING";
1434
1437
  readonly REVOKED: "REVOKED";
1435
1438
  readonly SUBMITTED: "SUBMITTED";
@@ -2653,6 +2656,7 @@ export interface DescribeOptedOutNumbersRequest {
2653
2656
  OptOutListName: string | undefined;
2654
2657
  /**
2655
2658
  * <p>An array of phone numbers to search for in the OptOutList.</p>
2659
+ * <p>If you specify an opted out number that isn't valid, an exception is returned.</p>
2656
2660
  * @public
2657
2661
  */
2658
2662
  OptedOutNumbers?: string[];
@@ -229,6 +229,7 @@ export declare const ValidationExceptionReason: {
229
229
  readonly UNKNOWN_REGISTRATION_SECTION: "UNKNOWN_REGISTRATION_SECTION";
230
230
  readonly UNKNOWN_REGISTRATION_TYPE: "UNKNOWN_REGISTRATION_TYPE";
231
231
  readonly UNKNOWN_REGISTRATION_VERSION: "UNKNOWN_REGISTRATION_VERSION";
232
+ readonly UNSPECIFIED_PARAMETER_NOT_SUPPORTED: "UNSPECIFIED_PARAMETER_NOT_SUPPORTED";
232
233
  readonly VERIFICATION_CODE_MISMATCH: "VERIFICATION_CODE_MISMATCH";
233
234
  readonly VOICE_CAPABILITY_NOT_AVAILABLE: "VOICE_CAPABILITY_NOT_AVAILABLE";
234
235
  };
@@ -451,6 +452,7 @@ export declare const RegistrationStatus: {
451
452
  readonly CREATED: "CREATED";
452
453
  readonly DELETED: "DELETED";
453
454
  readonly PROVISIONING: "PROVISIONING";
455
+ readonly REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION";
454
456
  readonly REQUIRES_UPDATES: "REQUIRES_UPDATES";
455
457
  readonly REVIEWING: "REVIEWING";
456
458
  readonly SUBMITTED: "SUBMITTED";
@@ -503,6 +505,7 @@ export declare const RegistrationVersionStatus: {
503
505
  readonly DENIED: "DENIED";
504
506
  readonly DISCARDED: "DISCARDED";
505
507
  readonly DRAFT: "DRAFT";
508
+ readonly REQUIRES_AUTHENTICATION: "REQUIRES_AUTHENTICATION";
506
509
  readonly REVIEWING: "REVIEWING";
507
510
  readonly REVOKED: "REVOKED";
508
511
  readonly SUBMITTED: "SUBMITTED";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pinpoint-sms-voice-v2",
3
3
  "description": "AWS SDK for JavaScript Pinpoint Sms Voice V2 Client for Node.js, Browser and React Native",
4
- "version": "3.670.0",
4
+ "version": "3.674.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pinpoint-sms-voice-v2",
@@ -58,13 +58,13 @@
58
58
  "@smithy/util-middleware": "^3.0.7",
59
59
  "@smithy/util-retry": "^3.0.7",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
+ "@types/uuid": "^9.0.1",
61
62
  "tslib": "^2.6.2",
62
63
  "uuid": "^9.0.1"
63
64
  },
64
65
  "devDependencies": {
65
66
  "@tsconfig/node16": "16.1.3",
66
67
  "@types/node": "^16.18.96",
67
- "@types/uuid": "^9.0.4",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",