@aws-sdk/client-pinpoint-sms-voice-v2 3.1075.0 → 3.1076.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.
Files changed (56) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +3633 -15
  3. package/dist-es/PinpointSMSVoiceV2.js +6 -0
  4. package/dist-es/commands/DeleteRcsMessageSpendLimitOverrideCommand.js +16 -0
  5. package/dist-es/commands/SendRcsMessageCommand.js +16 -0
  6. package/dist-es/commands/SetRcsMessageSpendLimitOverrideCommand.js +16 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/index.js +1 -0
  9. package/dist-es/models/enums.js +15 -0
  10. package/dist-es/models/models_1.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +221 -14
  12. package/dist-types/PinpointSMSVoiceV2.d.ts +22 -0
  13. package/dist-types/PinpointSMSVoiceV2Client.d.ts +5 -2
  14. package/dist-types/commands/CreateRcsAgentCommand.d.ts +6 -0
  15. package/dist-types/commands/DeleteRcsAgentCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +86 -0
  17. package/dist-types/commands/DescribeRcsAgentsCommand.d.ts +6 -0
  18. package/dist-types/commands/SendRcsMessageCommand.d.ts +235 -0
  19. package/dist-types/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +88 -0
  20. package/dist-types/commands/UpdateRcsAgentCommand.d.ts +12 -0
  21. package/dist-types/commands/VerifyDestinationNumberCommand.d.ts +1 -1
  22. package/dist-types/commands/index.d.ts +3 -0
  23. package/dist-types/index.d.ts +1 -0
  24. package/dist-types/models/enums.d.ts +23 -0
  25. package/dist-types/models/models_0.d.ts +739 -52
  26. package/dist-types/models/models_1.d.ts +46 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  28. package/dist-types/runtimeConfig.d.ts +1 -1
  29. package/dist-types/runtimeConfig.native.d.ts +1 -1
  30. package/dist-types/schemas/schemas_0.d.ts +28 -1
  31. package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +58 -0
  32. package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +18 -0
  33. package/dist-types/ts3.4/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
  34. package/dist-types/ts3.4/commands/SendRcsMessageCommand.d.ts +52 -0
  35. package/dist-types/ts3.4/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
  36. package/dist-types/ts3.4/commands/VerifyDestinationNumberCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  38. package/dist-types/ts3.4/index.d.ts +1 -0
  39. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +260 -11
  41. package/dist-types/ts3.4/models/models_1.d.ts +12 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  46. package/package.json +8 -8
  47. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  48. package/dist-cjs/endpoint/bdd.js +0 -46
  49. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  50. package/dist-cjs/models/PinpointSMSVoiceV2ServiceException.js +0 -8
  51. package/dist-cjs/models/errors.js +0 -123
  52. package/dist-cjs/runtimeConfig.browser.js +0 -32
  53. package/dist-cjs/runtimeConfig.js +0 -45
  54. package/dist-cjs/runtimeConfig.native.js +0 -12
  55. package/dist-cjs/runtimeConfig.shared.js +0 -38
  56. package/dist-cjs/schemas/schemas_0.js +0 -2956
@@ -1,4 +1,4 @@
1
- import type { AccountAttributeName, AccountLimitName, AttachmentStatus, AttachmentUploadErrorReason, CarrierStatus, ConfigurationSetFilterName, CountryLaunchStatus, CountryLaunchStatusFilterName, DestinationCountryParameterKey, EventType, FieldRequirement, FieldType, KeywordAction, KeywordFilterName, LanguageCode, MessageFeedbackStatus, MessageType, NotifyConfigurationFilterName, NotifyConfigurationStatus, NotifyConfigurationTier, NotifyConfigurationUseCase, NotifyTemplateFilterName, NotifyTemplateStatus, NotifyTemplateType, NumberCapability, NumberStatus, NumberType, OptedOutFilterName, Owner, PhoneNumberFilterName, PhoneNumberType, PoolFilterName, PoolOriginationIdentitiesFilterName, PoolStatus, ProtectConfigurationFilterName, ProtectConfigurationRuleOverrideAction, ProtectConfigurationRuleSetNumberOverrideFilterName, ProtectStatus, RcsAgentFilterName, RcsAgentStatus, RegistrationAssociationBehavior, RegistrationAssociationFilterName, RegistrationAttachmentFilterName, RegistrationDisassociationBehavior, RegistrationFilterName, RegistrationStatus, RegistrationTypeFilterName, RegistrationVersionFilterName, RegistrationVersionStatus, RequestableNumberType, SenderIdFilterName, SpendLimitName, TemplateVariableSource, TemplateVariableType, TestingAgentStatus, TierUpgradeStatus, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, VoiceId, VoiceMessageBodyTextType } from "./enums";
1
+ import type { AccountAttributeName, AccountLimitName, AttachmentStatus, AttachmentUploadErrorReason, CarrierStatus, ConfigurationSetFilterName, CountryLaunchStatus, CountryLaunchStatusFilterName, DestinationCountryParameterKey, EventType, FieldRequirement, FieldType, KeywordAction, KeywordFilterName, LanguageCode, MessageFeedbackStatus, MessageType, NotifyConfigurationFilterName, NotifyConfigurationStatus, NotifyConfigurationTier, NotifyConfigurationUseCase, NotifyTemplateFilterName, NotifyTemplateStatus, NotifyTemplateType, NumberCapability, NumberStatus, NumberType, OptedOutFilterName, Owner, PhoneNumberFilterName, PhoneNumberType, PoolFilterName, PoolOriginationIdentitiesFilterName, PoolStatus, ProtectConfigurationFilterName, ProtectConfigurationRuleOverrideAction, ProtectConfigurationRuleSetNumberOverrideFilterName, ProtectStatus, RcsAgentFilterName, RcsAgentStatus, RcsFallbackChannel, RegistrationAssociationBehavior, RegistrationAssociationFilterName, RegistrationAttachmentFilterName, RegistrationDisassociationBehavior, RegistrationFilterName, RegistrationStatus, RegistrationTypeFilterName, RegistrationVersionFilterName, RegistrationVersionStatus, RequestableNumberType, SenderIdFilterName, SpendLimitName, TemplateVariableSource, TemplateVariableType, TestingAgentStatus, TierUpgradeStatus, VerificationChannel, VerificationStatus, VerifiedDestinationNumberFilterName, VoiceId, VoiceMessageBodyTextType } from "./enums";
2
2
  /**
3
3
  * <p>Displays the attributes associated with a single Amazon Web Services account.</p>
4
4
  * @public
@@ -941,6 +941,26 @@ export interface CreateRcsAgentResult {
941
941
  * @public
942
942
  */
943
943
  TwoWayEnabled: boolean | undefined;
944
+ /**
945
+ * <p>The name of the S3 bucket where inbound RCS media files are stored.</p>
946
+ * @public
947
+ */
948
+ TwoWayMediaS3BucketName?: string | undefined;
949
+ /**
950
+ * <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
951
+ * @public
952
+ */
953
+ TwoWayMediaS3KeyPrefix?: string | undefined;
954
+ /**
955
+ * <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have <code>s3:PutObject</code> permission on the bucket and a trust policy allowing <code>sms-voice.amazonaws.com</code> to assume it.</p>
956
+ * @public
957
+ */
958
+ TwoWayMediaS3Role?: string | undefined;
959
+ /**
960
+ * <p>The list of RCS event types enabled for two-way messaging on the agent.</p>
961
+ * @public
962
+ */
963
+ TwoWayRcsEventsEnabled?: string[] | undefined;
944
964
  /**
945
965
  * <p>An array of tags (key and value pairs) associated with the RCS agent.</p>
946
966
  * @public
@@ -1917,6 +1937,26 @@ export interface DeleteRcsAgentResult {
1917
1937
  * @public
1918
1938
  */
1919
1939
  TwoWayEnabled: boolean | undefined;
1940
+ /**
1941
+ * <p>The list of RCS event types that were enabled for two-way messaging on the deleted agent.</p>
1942
+ * @public
1943
+ */
1944
+ TwoWayRcsEventsEnabled?: string[] | undefined;
1945
+ }
1946
+ /**
1947
+ * @public
1948
+ */
1949
+ export interface DeleteRcsMessageSpendLimitOverrideRequest {
1950
+ }
1951
+ /**
1952
+ * @public
1953
+ */
1954
+ export interface DeleteRcsMessageSpendLimitOverrideResult {
1955
+ /**
1956
+ * <p>The current monthly limit to enforce on RCS message spending.</p>
1957
+ * @public
1958
+ */
1959
+ MonthlyLimit?: number | undefined;
1920
1960
  }
1921
1961
  /**
1922
1962
  * @public
@@ -3381,6 +3421,26 @@ export interface RcsAgentInformation {
3381
3421
  * @public
3382
3422
  */
3383
3423
  PoolId?: string | undefined;
3424
+ /**
3425
+ * <p>The name of the S3 bucket where inbound RCS media files are stored.</p>
3426
+ * @public
3427
+ */
3428
+ TwoWayMediaS3BucketName?: string | undefined;
3429
+ /**
3430
+ * <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
3431
+ * @public
3432
+ */
3433
+ TwoWayMediaS3KeyPrefix?: string | undefined;
3434
+ /**
3435
+ * <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.</p>
3436
+ * @public
3437
+ */
3438
+ TwoWayMediaS3Role?: string | undefined;
3439
+ /**
3440
+ * <p>The list of RCS event types enabled for two-way messaging on the agent.</p>
3441
+ * @public
3442
+ */
3443
+ TwoWayRcsEventsEnabled?: string[] | undefined;
3384
3444
  /**
3385
3445
  * <p>The testing agent information associated with the RCS agent.</p>
3386
3446
  * @public
@@ -5780,7 +5840,7 @@ export interface RequestPhoneNumberResult {
5780
5840
  */
5781
5841
  export interface RequestSenderIdRequest {
5782
5842
  /**
5783
- * <p>The sender ID string to request.</p>
5843
+ * <p>The sender ID string to request. The sender ID can be 1-11 alphanumeric characters including letters (A-Z, a-z), numbers (0-9), or hyphens (-). The sender ID must contain at least one letter and cannot start or end with a hyphen.</p>
5784
5844
  * @public
5785
5845
  */
5786
5846
  SenderId: string | undefined;
@@ -6120,6 +6180,620 @@ export interface SendNotifyVoiceMessageResult {
6120
6180
  */
6121
6181
  ResolvedMessageBody?: string | undefined;
6122
6182
  }
6183
+ /**
6184
+ * <p>Configuration for SMS or MMS fallback when RCS delivery fails or the TimeToLive expires without delivery confirmation.</p>
6185
+ * @public
6186
+ */
6187
+ export interface RcsFallbackConfiguration {
6188
+ /**
6189
+ * <p>The fallback channel to use when RCS delivery fails. Valid values are SMS and MMS. SMS and MMS are mutually exclusive.</p>
6190
+ * @public
6191
+ */
6192
+ Channel: RcsFallbackChannel | undefined;
6193
+ /**
6194
+ * <p>The text body of the fallback message. Required for SMS fallback. For MMS fallback, at least one of MessageBody or MediaUrls must be provided.</p>
6195
+ * @public
6196
+ */
6197
+ MessageBody?: string | undefined;
6198
+ /**
6199
+ * <p>An array of S3 URIs to media files for MMS fallback. Only valid when Channel is MMS.</p>
6200
+ * @public
6201
+ */
6202
+ MediaUrls?: string[] | undefined;
6203
+ /**
6204
+ * <p>The origination identity to use for the fallback message. This can be a PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, or SenderIdArn. Pool IDs and pool ARNs are not accepted. If not specified and the original message was sent via a pool, the service selects a suitable number from the pool.</p>
6205
+ * @public
6206
+ */
6207
+ OriginationIdentity?: string | undefined;
6208
+ }
6209
+ /**
6210
+ * <p>The media content of a carousel card. Display height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).</p>
6211
+ * @public
6212
+ */
6213
+ export interface RcsCarouselCardMedia {
6214
+ /**
6215
+ * <p>The S3 URI of the media file for the carousel card. Maximum 2000 characters.</p>
6216
+ * @public
6217
+ */
6218
+ FileUrl: string | undefined;
6219
+ /**
6220
+ * <p>The S3 URI of an optional thumbnail image for the carousel card media. Maximum 2000 characters.</p>
6221
+ * @public
6222
+ */
6223
+ ThumbnailUrl?: string | undefined;
6224
+ /**
6225
+ * <p>The display height of the media in the carousel card. Valid values are SHORT and MEDIUM.</p>
6226
+ * @public
6227
+ */
6228
+ Height?: string | undefined;
6229
+ }
6230
+ /**
6231
+ * <p>A suggested action that creates a calendar event on the recipient's device.</p>
6232
+ * @public
6233
+ */
6234
+ export interface RcsCreateCalendarEventAction {
6235
+ /**
6236
+ * <p>The display text of the action. Maximum 25 characters.</p>
6237
+ * @public
6238
+ */
6239
+ Text: string | undefined;
6240
+ /**
6241
+ * <p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>
6242
+ * @public
6243
+ */
6244
+ PostbackData: string | undefined;
6245
+ /**
6246
+ * <p>The title of the calendar event. Maximum 100 characters.</p>
6247
+ * @public
6248
+ */
6249
+ Title: string | undefined;
6250
+ /**
6251
+ * <p>The start time of the calendar event in ISO 8601 format.</p>
6252
+ * @public
6253
+ */
6254
+ StartTime: Date | undefined;
6255
+ /**
6256
+ * <p>The end time of the calendar event in ISO 8601 format.</p>
6257
+ * @public
6258
+ */
6259
+ EndTime: Date | undefined;
6260
+ /**
6261
+ * <p>An optional description for the calendar event. Maximum 500 characters.</p>
6262
+ * @public
6263
+ */
6264
+ Description?: string | undefined;
6265
+ }
6266
+ /**
6267
+ * <p>A suggested action that initiates a phone call to a specified number when tapped by the recipient.</p>
6268
+ * @public
6269
+ */
6270
+ export interface RcsDialPhoneAction {
6271
+ /**
6272
+ * <p>The display text of the action. Maximum 25 characters.</p>
6273
+ * @public
6274
+ */
6275
+ Text: string | undefined;
6276
+ /**
6277
+ * <p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>
6278
+ * @public
6279
+ */
6280
+ PostbackData: string | undefined;
6281
+ /**
6282
+ * <p>The phone number to dial in E.164 format.</p>
6283
+ * @public
6284
+ */
6285
+ PhoneNumber: string | undefined;
6286
+ }
6287
+ /**
6288
+ * <p>A suggested action that opens a URL in the recipient's browser or an in-app webview.</p>
6289
+ * @public
6290
+ */
6291
+ export interface RcsOpenUrlAction {
6292
+ /**
6293
+ * <p>The display text of the action. Maximum 25 characters.</p>
6294
+ * @public
6295
+ */
6296
+ Text: string | undefined;
6297
+ /**
6298
+ * <p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>
6299
+ * @public
6300
+ */
6301
+ PostbackData: string | undefined;
6302
+ /**
6303
+ * <p>The URL to open. Must start with https://. Maximum 2048 characters.</p>
6304
+ * @public
6305
+ */
6306
+ Url: string | undefined;
6307
+ /**
6308
+ * <p>How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.</p>
6309
+ * @public
6310
+ */
6311
+ Application?: string | undefined;
6312
+ /**
6313
+ * <p>The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.</p>
6314
+ * @public
6315
+ */
6316
+ WebviewViewMode?: string | undefined;
6317
+ }
6318
+ /**
6319
+ * <p>A suggested reply action that sends predefined text and postback data when tapped by the recipient.</p>
6320
+ * @public
6321
+ */
6322
+ export interface RcsReplyAction {
6323
+ /**
6324
+ * <p>The display text of the suggested reply. Maximum 25 characters.</p>
6325
+ * @public
6326
+ */
6327
+ Text: string | undefined;
6328
+ /**
6329
+ * <p>The postback data sent to your webhook when the user taps this reply. Maximum 2048 characters.</p>
6330
+ * @public
6331
+ */
6332
+ PostbackData: string | undefined;
6333
+ }
6334
+ /**
6335
+ * <p>A suggested action that requests the recipient's current location.</p>
6336
+ * @public
6337
+ */
6338
+ export interface RcsRequestLocationAction {
6339
+ /**
6340
+ * <p>The display text of the action. Maximum 25 characters.</p>
6341
+ * @public
6342
+ */
6343
+ Text: string | undefined;
6344
+ /**
6345
+ * <p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>
6346
+ * @public
6347
+ */
6348
+ PostbackData: string | undefined;
6349
+ }
6350
+ /**
6351
+ * <p>A suggested action that shows a location on a map when tapped by the recipient.</p>
6352
+ * @public
6353
+ */
6354
+ export interface RcsShowLocationAction {
6355
+ /**
6356
+ * <p>The display text of the action. Maximum 25 characters.</p>
6357
+ * @public
6358
+ */
6359
+ Text: string | undefined;
6360
+ /**
6361
+ * <p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>
6362
+ * @public
6363
+ */
6364
+ PostbackData: string | undefined;
6365
+ /**
6366
+ * <p>The latitude of the location. Valid values are -90 to 90.</p>
6367
+ * @public
6368
+ */
6369
+ Latitude: number | undefined;
6370
+ /**
6371
+ * <p>The longitude of the location. Valid values are -180 to 180.</p>
6372
+ * @public
6373
+ */
6374
+ Longitude: number | undefined;
6375
+ /**
6376
+ * <p>An optional label for the location pin. Maximum 100 characters.</p>
6377
+ * @public
6378
+ */
6379
+ Label?: string | undefined;
6380
+ }
6381
+ /**
6382
+ * <p>A suggested action displayed to the RCS message recipient. Can be a reply, open URL, dial phone, show location, request location, or create calendar event.</p>
6383
+ * @public
6384
+ */
6385
+ export type RcsSuggestedAction = RcsSuggestedAction.CreateCalendarEventMember | RcsSuggestedAction.DialPhoneMember | RcsSuggestedAction.OpenUrlMember | RcsSuggestedAction.ReplyMember | RcsSuggestedAction.RequestLocationMember | RcsSuggestedAction.ShowLocationMember | RcsSuggestedAction.$UnknownMember;
6386
+ /**
6387
+ * @public
6388
+ */
6389
+ export declare namespace RcsSuggestedAction {
6390
+ /**
6391
+ * <p>A suggested reply that sends predefined text and postback data when tapped.</p>
6392
+ * @public
6393
+ */
6394
+ interface ReplyMember {
6395
+ Reply: RcsReplyAction;
6396
+ OpenUrl?: never;
6397
+ DialPhone?: never;
6398
+ ShowLocation?: never;
6399
+ RequestLocation?: never;
6400
+ CreateCalendarEvent?: never;
6401
+ $unknown?: never;
6402
+ }
6403
+ /**
6404
+ * <p>A suggested action that opens a URL in the user's browser or a webview.</p>
6405
+ * @public
6406
+ */
6407
+ interface OpenUrlMember {
6408
+ Reply?: never;
6409
+ OpenUrl: RcsOpenUrlAction;
6410
+ DialPhone?: never;
6411
+ ShowLocation?: never;
6412
+ RequestLocation?: never;
6413
+ CreateCalendarEvent?: never;
6414
+ $unknown?: never;
6415
+ }
6416
+ /**
6417
+ * <p>A suggested action that initiates a phone call to the specified number.</p>
6418
+ * @public
6419
+ */
6420
+ interface DialPhoneMember {
6421
+ Reply?: never;
6422
+ OpenUrl?: never;
6423
+ DialPhone: RcsDialPhoneAction;
6424
+ ShowLocation?: never;
6425
+ RequestLocation?: never;
6426
+ CreateCalendarEvent?: never;
6427
+ $unknown?: never;
6428
+ }
6429
+ /**
6430
+ * <p>A suggested action that shows a location on a map.</p>
6431
+ * @public
6432
+ */
6433
+ interface ShowLocationMember {
6434
+ Reply?: never;
6435
+ OpenUrl?: never;
6436
+ DialPhone?: never;
6437
+ ShowLocation: RcsShowLocationAction;
6438
+ RequestLocation?: never;
6439
+ CreateCalendarEvent?: never;
6440
+ $unknown?: never;
6441
+ }
6442
+ /**
6443
+ * <p>A suggested action that requests the user's current location.</p>
6444
+ * @public
6445
+ */
6446
+ interface RequestLocationMember {
6447
+ Reply?: never;
6448
+ OpenUrl?: never;
6449
+ DialPhone?: never;
6450
+ ShowLocation?: never;
6451
+ RequestLocation: RcsRequestLocationAction;
6452
+ CreateCalendarEvent?: never;
6453
+ $unknown?: never;
6454
+ }
6455
+ /**
6456
+ * <p>A suggested action that creates a calendar event on the user's device.</p>
6457
+ * @public
6458
+ */
6459
+ interface CreateCalendarEventMember {
6460
+ Reply?: never;
6461
+ OpenUrl?: never;
6462
+ DialPhone?: never;
6463
+ ShowLocation?: never;
6464
+ RequestLocation?: never;
6465
+ CreateCalendarEvent: RcsCreateCalendarEventAction;
6466
+ $unknown?: never;
6467
+ }
6468
+ /**
6469
+ * @public
6470
+ */
6471
+ interface $UnknownMember {
6472
+ Reply?: never;
6473
+ OpenUrl?: never;
6474
+ DialPhone?: never;
6475
+ ShowLocation?: never;
6476
+ RequestLocation?: never;
6477
+ CreateCalendarEvent?: never;
6478
+ $unknown: [string, any];
6479
+ }
6480
+ /**
6481
+ * @deprecated unused in schema-serde mode.
6482
+ *
6483
+ */
6484
+ interface Visitor<T> {
6485
+ Reply: (value: RcsReplyAction) => T;
6486
+ OpenUrl: (value: RcsOpenUrlAction) => T;
6487
+ DialPhone: (value: RcsDialPhoneAction) => T;
6488
+ ShowLocation: (value: RcsShowLocationAction) => T;
6489
+ RequestLocation: (value: RcsRequestLocationAction) => T;
6490
+ CreateCalendarEvent: (value: RcsCreateCalendarEventAction) => T;
6491
+ _: (name: string, value: any) => T;
6492
+ }
6493
+ }
6494
+ /**
6495
+ * <p>The content of a carousel card, including title, description, media, and card-level suggested actions. Media height is restricted to SHORT or MEDIUM.</p>
6496
+ * @public
6497
+ */
6498
+ export interface RcsCarouselCardContent {
6499
+ /**
6500
+ * <p>The title of the carousel card. Maximum 200 characters.</p>
6501
+ * @public
6502
+ */
6503
+ Title?: string | undefined;
6504
+ /**
6505
+ * <p>The description text of the carousel card. Maximum 2000 characters.</p>
6506
+ * @public
6507
+ */
6508
+ Description?: string | undefined;
6509
+ /**
6510
+ * <p>The media content of the carousel card. Media height is restricted to SHORT or MEDIUM (TALL is not supported in carousels).</p>
6511
+ * @public
6512
+ */
6513
+ Media?: RcsCarouselCardMedia | undefined;
6514
+ /**
6515
+ * <p>Card-level suggested actions for this carousel card. Maximum 4 suggestions per card.</p>
6516
+ * @public
6517
+ */
6518
+ Suggestions?: RcsSuggestedAction[] | undefined;
6519
+ }
6520
+ /**
6521
+ * <p>A carousel of 2 to 10 scrollable rich cards.</p>
6522
+ * @public
6523
+ */
6524
+ export interface RcsCarousel {
6525
+ /**
6526
+ * <p>The width of cards in the carousel. Valid values are SMALL and MEDIUM.</p>
6527
+ * @public
6528
+ */
6529
+ CardWidth: string | undefined;
6530
+ /**
6531
+ * <p>The list of cards in the carousel. Minimum 2, maximum 10 cards.</p>
6532
+ * @public
6533
+ */
6534
+ CardContents: RcsCarouselCardContent[] | undefined;
6535
+ }
6536
+ /**
6537
+ * <p>A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.</p>
6538
+ * @public
6539
+ */
6540
+ export interface RcsFileMessage {
6541
+ /**
6542
+ * <p>The S3 URI of the media file to send, in the format <code>s3://bucket-name/key</code>. The service downloads the file from your S3 bucket, rehosts it, and generates a presigned URL for the aggregator. Maximum 2000 characters.</p>
6543
+ * @public
6544
+ */
6545
+ FileUrl: string | undefined;
6546
+ /**
6547
+ * <p>The S3 URI of an optional thumbnail image for the media file, in the format <code>s3://bucket-name/key</code>. Maximum 2000 characters.</p>
6548
+ * @public
6549
+ */
6550
+ ThumbnailUrl?: string | undefined;
6551
+ }
6552
+ /**
6553
+ * <p>The media content of a rich card, including the file URL, optional thumbnail, and display height.</p>
6554
+ * @public
6555
+ */
6556
+ export interface RcsCardMedia {
6557
+ /**
6558
+ * <p>The S3 URI of the media file for the card, in the format <code>s3://bucket-name/key</code>. Maximum 2000 characters.</p>
6559
+ * @public
6560
+ */
6561
+ FileUrl: string | undefined;
6562
+ /**
6563
+ * <p>The S3 URI of an optional thumbnail image for the card media. Maximum 2000 characters.</p>
6564
+ * @public
6565
+ */
6566
+ ThumbnailUrl?: string | undefined;
6567
+ /**
6568
+ * <p>The display height of the media in the card. Valid values are SHORT, MEDIUM, and TALL.</p>
6569
+ * @public
6570
+ */
6571
+ Height?: string | undefined;
6572
+ }
6573
+ /**
6574
+ * <p>The content of a rich card, including title, description, media, and card-level suggested actions.</p>
6575
+ * @public
6576
+ */
6577
+ export interface RcsCardContent {
6578
+ /**
6579
+ * <p>The title of the card. Maximum 200 characters.</p>
6580
+ * @public
6581
+ */
6582
+ Title?: string | undefined;
6583
+ /**
6584
+ * <p>The description text of the card. Maximum 2000 characters.</p>
6585
+ * @public
6586
+ */
6587
+ Description?: string | undefined;
6588
+ /**
6589
+ * <p>The media content of the card, including the file URL, optional thumbnail, and display height.</p>
6590
+ * @public
6591
+ */
6592
+ Media?: RcsCardMedia | undefined;
6593
+ /**
6594
+ * <p>Card-level suggested actions. Maximum 4 suggestions per card.</p>
6595
+ * @public
6596
+ */
6597
+ Suggestions?: RcsSuggestedAction[] | undefined;
6598
+ }
6599
+ /**
6600
+ * <p>A standalone rich card with media, title, description, and suggested actions.</p>
6601
+ * @public
6602
+ */
6603
+ export interface RcsStandaloneCard {
6604
+ /**
6605
+ * <p>The orientation of the rich card. Valid values are HORIZONTAL and VERTICAL.</p>
6606
+ * @public
6607
+ */
6608
+ CardOrientation: string | undefined;
6609
+ /**
6610
+ * <p>The alignment of the thumbnail image in a horizontal card. Valid values are LEFT and RIGHT. Only applicable when CardOrientation is HORIZONTAL.</p>
6611
+ * @public
6612
+ */
6613
+ ThumbnailImageAlignment?: string | undefined;
6614
+ /**
6615
+ * <p>The content of the rich card, including title, description, media, and card-level suggested actions.</p>
6616
+ * @public
6617
+ */
6618
+ CardContent: RcsCardContent | undefined;
6619
+ }
6620
+ /**
6621
+ * <p>A plain text RCS message body.</p>
6622
+ * @public
6623
+ */
6624
+ export interface RcsTextMessage {
6625
+ /**
6626
+ * <p>The text body of the RCS message. Maximum 3072 characters.</p>
6627
+ * @public
6628
+ */
6629
+ Body: string | undefined;
6630
+ }
6631
+ /**
6632
+ * <p>The message body of an RCS message. Exactly one content type must be specified.</p>
6633
+ * @public
6634
+ */
6635
+ export type RcsContent = RcsContent.CarouselMember | RcsContent.FileMessageMember | RcsContent.RichCardMember | RcsContent.TextMessageMember | RcsContent.$UnknownMember;
6636
+ /**
6637
+ * @public
6638
+ */
6639
+ export declare namespace RcsContent {
6640
+ /**
6641
+ * <p>A plain text RCS message.</p>
6642
+ * @public
6643
+ */
6644
+ interface TextMessageMember {
6645
+ TextMessage: RcsTextMessage;
6646
+ FileMessage?: never;
6647
+ RichCard?: never;
6648
+ Carousel?: never;
6649
+ $unknown?: never;
6650
+ }
6651
+ /**
6652
+ * <p>A file message containing a media file (image, video, audio, or PDF) with an optional thumbnail.</p>
6653
+ * @public
6654
+ */
6655
+ interface FileMessageMember {
6656
+ TextMessage?: never;
6657
+ FileMessage: RcsFileMessage;
6658
+ RichCard?: never;
6659
+ Carousel?: never;
6660
+ $unknown?: never;
6661
+ }
6662
+ /**
6663
+ * <p>A standalone rich card with media, title, description, and suggested actions.</p>
6664
+ * @public
6665
+ */
6666
+ interface RichCardMember {
6667
+ TextMessage?: never;
6668
+ FileMessage?: never;
6669
+ RichCard: RcsStandaloneCard;
6670
+ Carousel?: never;
6671
+ $unknown?: never;
6672
+ }
6673
+ /**
6674
+ * <p>A carousel of 2 to 10 scrollable cards, each with media, title, description, and suggested actions.</p>
6675
+ * @public
6676
+ */
6677
+ interface CarouselMember {
6678
+ TextMessage?: never;
6679
+ FileMessage?: never;
6680
+ RichCard?: never;
6681
+ Carousel: RcsCarousel;
6682
+ $unknown?: never;
6683
+ }
6684
+ /**
6685
+ * @public
6686
+ */
6687
+ interface $UnknownMember {
6688
+ TextMessage?: never;
6689
+ FileMessage?: never;
6690
+ RichCard?: never;
6691
+ Carousel?: never;
6692
+ $unknown: [string, any];
6693
+ }
6694
+ /**
6695
+ * @deprecated unused in schema-serde mode.
6696
+ *
6697
+ */
6698
+ interface Visitor<T> {
6699
+ TextMessage: (value: RcsTextMessage) => T;
6700
+ FileMessage: (value: RcsFileMessage) => T;
6701
+ RichCard: (value: RcsStandaloneCard) => T;
6702
+ Carousel: (value: RcsCarousel) => T;
6703
+ _: (name: string, value: any) => T;
6704
+ }
6705
+ }
6706
+ /**
6707
+ * <p>The content of an RCS message, containing the message body (text, file, rich card, or carousel) and optional message-level suggested actions.</p>
6708
+ * @public
6709
+ */
6710
+ export interface RcsMessageContent {
6711
+ /**
6712
+ * <p>The content of the RCS message. Exactly one content type must be specified: TextMessage, FileMessage, RichCard, or Carousel.</p>
6713
+ * @public
6714
+ */
6715
+ Content: RcsContent | undefined;
6716
+ /**
6717
+ * <p>Message-level suggested actions displayed to the recipient. Maximum 11 suggestions per message.</p>
6718
+ * @public
6719
+ */
6720
+ Suggestions?: RcsSuggestedAction[] | undefined;
6721
+ }
6722
+ /**
6723
+ * @public
6724
+ */
6725
+ export interface SendRcsMessageRequest {
6726
+ /**
6727
+ * <p>The destination phone number in E.164 format.</p>
6728
+ * @public
6729
+ */
6730
+ DestinationPhoneNumber: string | undefined;
6731
+ /**
6732
+ * <p>The origination identity of the message. This can be either the RcsAgentId, RcsAgentArn, PoolId, or PoolArn.</p>
6733
+ * @public
6734
+ */
6735
+ OriginationIdentity: string | undefined;
6736
+ /**
6737
+ * <p>The content of the RCS message. Contains the message content (text, file, rich card, or carousel) and optional message-level suggested actions.</p>
6738
+ * @public
6739
+ */
6740
+ RcsMessageContent?: RcsMessageContent | undefined;
6741
+ /**
6742
+ * <p>The duration in seconds that the RCS message is valid for delivery. If the message cannot be delivered within this duration, it is considered expired. Valid values are 1 to 172800 (48 hours). If a FallbackConfiguration is provided, the fallback is triggered when the duration expires without delivery confirmation.</p>
6743
+ * @public
6744
+ */
6745
+ TimeToLive?: number | undefined;
6746
+ /**
6747
+ * <p>The traffic type of the RCS message. Valid values are AUTHENTICATION, TRANSACTION, PROMOTION, SERVICE_REQUEST, and ACKNOWLEDGEMENT. This field is reserved for future use.</p>
6748
+ * @public
6749
+ */
6750
+ MessageTrafficType?: string | undefined;
6751
+ /**
6752
+ * <p>Configuration for SMS or MMS fallback when RCS delivery fails. If provided, the service sends a fallback message via the specified channel when the RCS message fails or the TimeToLive expires.</p>
6753
+ * @public
6754
+ */
6755
+ FallbackConfiguration?: RcsFallbackConfiguration | undefined;
6756
+ /**
6757
+ * <p>The unique identifier of the protect configuration to use.</p>
6758
+ * @public
6759
+ */
6760
+ ProtectConfigurationId?: string | undefined;
6761
+ /**
6762
+ * <p>The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.</p>
6763
+ * @public
6764
+ */
6765
+ ConfigurationSetName?: string | undefined;
6766
+ /**
6767
+ * <p>The maximum amount that you want to spend, in US dollars, per each RCS message.</p>
6768
+ * @public
6769
+ */
6770
+ MaxPrice?: string | undefined;
6771
+ /**
6772
+ * <p>When set to true, the message is checked and validated, but isn't sent to the end recipient.</p>
6773
+ * @public
6774
+ */
6775
+ DryRun?: boolean | undefined;
6776
+ /**
6777
+ * <p>You can specify custom data in this field. If you do, that data is logged to the event destination.</p>
6778
+ * @public
6779
+ */
6780
+ Context?: Record<string, string> | undefined;
6781
+ /**
6782
+ * <p>Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using <a>PutMessageFeedback</a>.</p>
6783
+ * @public
6784
+ */
6785
+ MessageFeedbackEnabled?: boolean | undefined;
6786
+ }
6787
+ /**
6788
+ * @public
6789
+ */
6790
+ export interface SendRcsMessageResult {
6791
+ /**
6792
+ * <p>The unique identifier for the message.</p>
6793
+ * @public
6794
+ */
6795
+ MessageId?: string | undefined;
6796
+ }
6123
6797
  /**
6124
6798
  * @public
6125
6799
  */
@@ -6130,7 +6804,7 @@ export interface SendTextMessageRequest {
6130
6804
  */
6131
6805
  DestinationPhoneNumber: string | undefined;
6132
6806
  /**
6133
- * <p>The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.</p> <important> <p>If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).</p> </important>
6807
+ * <p>The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, RcsAgentId, RcsAgentArn, SenderId, SenderIdArn, PoolId, or PoolArn.</p> <important> <p>If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).</p> </important>
6134
6808
  * @public
6135
6809
  */
6136
6810
  OriginationIdentity?: string | undefined;
@@ -6445,6 +7119,26 @@ export interface SetNotifyMessageSpendLimitOverrideResult {
6445
7119
  */
6446
7120
  MonthlyLimit?: number | undefined;
6447
7121
  }
7122
+ /**
7123
+ * @public
7124
+ */
7125
+ export interface SetRcsMessageSpendLimitOverrideRequest {
7126
+ /**
7127
+ * <p>The new monthly limit to enforce on RCS message spending.</p>
7128
+ * @public
7129
+ */
7130
+ MonthlyLimit: number | undefined;
7131
+ }
7132
+ /**
7133
+ * @public
7134
+ */
7135
+ export interface SetRcsMessageSpendLimitOverrideResult {
7136
+ /**
7137
+ * <p>The current monthly limit to enforce on RCS message spending.</p>
7138
+ * @public
7139
+ */
7140
+ MonthlyLimit?: number | undefined;
7141
+ }
6448
7142
  /**
6449
7143
  * @public
6450
7144
  */
@@ -6645,14 +7339,12 @@ export interface UpdateNotifyConfigurationRequest {
6645
7339
  */
6646
7340
  NotifyConfigurationId: string | undefined;
6647
7341
  /**
6648
- * The template ID to set as the default, or the special value
6649
- * UNSET_DEFAULT_TEMPLATE to clear the current default template.
7342
+ * <p>The default template identifier to associate with the notify configuration. If specified, this template is used when sending messages without an explicit template identifier. Pass the special value <code>UNSET_DEFAULT_TEMPLATE</code> to clear the current default template from the notify configuration.</p>
6650
7343
  * @public
6651
7344
  */
6652
7345
  DefaultTemplateId?: string | undefined;
6653
7346
  /**
6654
- * The pool ID or ARN to associate, or the special value
6655
- * UNSET_DEFAULT_POOL_FOR_NOTIFY to clear the current default pool.
7347
+ * <p>The pool identifier or Amazon Resource Name (ARN) to associate with the notify configuration. Pass the special value <code>UNSET_DEFAULT_POOL_FOR_NOTIFY</code> to clear the current default pool from the notify configuration.</p>
6656
7348
  * @public
6657
7349
  */
6658
7350
  PoolId?: string | undefined;
@@ -7126,6 +7818,26 @@ export interface UpdateRcsAgentRequest {
7126
7818
  * @public
7127
7819
  */
7128
7820
  TwoWayEnabled?: boolean | undefined;
7821
+ /**
7822
+ * <p>The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3Role.</p>
7823
+ * @public
7824
+ */
7825
+ TwoWayMediaS3BucketName?: string | undefined;
7826
+ /**
7827
+ * <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
7828
+ * @public
7829
+ */
7830
+ TwoWayMediaS3KeyPrefix?: string | undefined;
7831
+ /**
7832
+ * <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have <code>s3:PutObject</code> permission on the bucket and a trust policy allowing <code>sms-voice.amazonaws.com</code> to assume it. To remove the media configuration, pass the sentinel value <code>UNSET_RCS_MEDIA_CONFIGURATION</code> for both this field and TwoWayMediaS3BucketName.</p>
7833
+ * @public
7834
+ */
7835
+ TwoWayMediaS3Role?: string | undefined;
7836
+ /**
7837
+ * <p>The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value <code>ALL</code> enables all current and future event types and must be the sole element if used.</p>
7838
+ * @public
7839
+ */
7840
+ TwoWayRcsEventsEnabled?: string[] | undefined;
7129
7841
  }
7130
7842
  /**
7131
7843
  * @public
@@ -7181,6 +7893,26 @@ export interface UpdateRcsAgentResult {
7181
7893
  * @public
7182
7894
  */
7183
7895
  TwoWayEnabled: boolean | undefined;
7896
+ /**
7897
+ * <p>The name of the S3 bucket where inbound RCS media files are stored.</p>
7898
+ * @public
7899
+ */
7900
+ TwoWayMediaS3BucketName?: string | undefined;
7901
+ /**
7902
+ * <p>The key prefix used for inbound RCS media objects in the S3 bucket.</p>
7903
+ * @public
7904
+ */
7905
+ TwoWayMediaS3KeyPrefix?: string | undefined;
7906
+ /**
7907
+ * <p>The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.</p>
7908
+ * @public
7909
+ */
7910
+ TwoWayMediaS3Role?: string | undefined;
7911
+ /**
7912
+ * <p>The list of RCS event types enabled for two-way messaging on the agent.</p>
7913
+ * @public
7914
+ */
7915
+ TwoWayRcsEventsEnabled?: string[] | undefined;
7184
7916
  }
7185
7917
  /**
7186
7918
  * @public
@@ -7247,48 +7979,3 @@ export interface UpdateSenderIdResult {
7247
7979
  */
7248
7980
  RegistrationId?: string | undefined;
7249
7981
  }
7250
- /**
7251
- * @public
7252
- */
7253
- export interface VerifyDestinationNumberRequest {
7254
- /**
7255
- * <p>The unique identifier for the verififed destination phone number.</p>
7256
- * @public
7257
- */
7258
- VerifiedDestinationNumberId: string | undefined;
7259
- /**
7260
- * <p>The verification code that was received by the verified destination phone number.</p>
7261
- * @public
7262
- */
7263
- VerificationCode: string | undefined;
7264
- }
7265
- /**
7266
- * @public
7267
- */
7268
- export interface VerifyDestinationNumberResult {
7269
- /**
7270
- * <p>The Amazon Resource Name (ARN) for the verified destination phone number.</p>
7271
- * @public
7272
- */
7273
- VerifiedDestinationNumberArn: string | undefined;
7274
- /**
7275
- * <p>The unique identifier for the verified destination phone number.</p>
7276
- * @public
7277
- */
7278
- VerifiedDestinationNumberId: string | undefined;
7279
- /**
7280
- * <p>The phone number in E.164 format.</p>
7281
- * @public
7282
- */
7283
- DestinationPhoneNumber: string | undefined;
7284
- /**
7285
- * <p>The status for being able to send messages to the phone number.</p>
7286
- * @public
7287
- */
7288
- Status: VerificationStatus | undefined;
7289
- /**
7290
- * <p>The time when the destination phone number was created, in <a href="https://www.epochconverter.com/">UNIX epoch time</a> format.</p>
7291
- * @public
7292
- */
7293
- CreatedTimestamp: Date | undefined;
7294
- }