@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.
- package/README.md +21 -0
- package/dist-cjs/index.js +3633 -15
- package/dist-es/PinpointSMSVoiceV2.js +6 -0
- package/dist-es/commands/DeleteRcsMessageSpendLimitOverrideCommand.js +16 -0
- package/dist-es/commands/SendRcsMessageCommand.js +16 -0
- package/dist-es/commands/SetRcsMessageSpendLimitOverrideCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +15 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +221 -14
- package/dist-types/PinpointSMSVoiceV2.d.ts +22 -0
- package/dist-types/PinpointSMSVoiceV2Client.d.ts +5 -2
- package/dist-types/commands/CreateRcsAgentCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRcsAgentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +86 -0
- package/dist-types/commands/DescribeRcsAgentsCommand.d.ts +6 -0
- package/dist-types/commands/SendRcsMessageCommand.d.ts +235 -0
- package/dist-types/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +88 -0
- package/dist-types/commands/UpdateRcsAgentCommand.d.ts +12 -0
- package/dist-types/commands/VerifyDestinationNumberCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +739 -52
- package/dist-types/models/models_1.d.ts +46 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +28 -1
- package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +58 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/SendRcsMessageCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/VerifyDestinationNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +260 -11
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/PinpointSMSVoiceV2ServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -123
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -2956
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
ProtectStatus,
|
|
40
40
|
RcsAgentFilterName,
|
|
41
41
|
RcsAgentStatus,
|
|
42
|
+
RcsFallbackChannel,
|
|
42
43
|
RegistrationAssociationBehavior,
|
|
43
44
|
RegistrationAssociationFilterName,
|
|
44
45
|
RegistrationAttachmentFilterName,
|
|
@@ -279,6 +280,10 @@ export interface CreateRcsAgentResult {
|
|
|
279
280
|
TwoWayChannelArn?: string | undefined;
|
|
280
281
|
TwoWayChannelRole?: string | undefined;
|
|
281
282
|
TwoWayEnabled: boolean | undefined;
|
|
283
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
284
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
285
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
286
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
282
287
|
Tags?: Tag[] | undefined;
|
|
283
288
|
}
|
|
284
289
|
export interface CreateRegistrationRequest {
|
|
@@ -514,6 +519,11 @@ export interface DeleteRcsAgentResult {
|
|
|
514
519
|
TwoWayChannelArn?: string | undefined;
|
|
515
520
|
TwoWayChannelRole?: string | undefined;
|
|
516
521
|
TwoWayEnabled: boolean | undefined;
|
|
522
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
523
|
+
}
|
|
524
|
+
export interface DeleteRcsMessageSpendLimitOverrideRequest {}
|
|
525
|
+
export interface DeleteRcsMessageSpendLimitOverrideResult {
|
|
526
|
+
MonthlyLimit?: number | undefined;
|
|
517
527
|
}
|
|
518
528
|
export interface DeleteRegistrationRequest {
|
|
519
529
|
RegistrationId: string | undefined;
|
|
@@ -859,6 +869,10 @@ export interface RcsAgentInformation {
|
|
|
859
869
|
TwoWayChannelRole?: string | undefined;
|
|
860
870
|
TwoWayEnabled: boolean | undefined;
|
|
861
871
|
PoolId?: string | undefined;
|
|
872
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
873
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
874
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
875
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
862
876
|
TestingAgent?: TestingAgentInformation | undefined;
|
|
863
877
|
}
|
|
864
878
|
export interface DescribeRcsAgentsResult {
|
|
@@ -1515,6 +1529,238 @@ export interface SendNotifyVoiceMessageResult {
|
|
|
1515
1529
|
TemplateId?: string | undefined;
|
|
1516
1530
|
ResolvedMessageBody?: string | undefined;
|
|
1517
1531
|
}
|
|
1532
|
+
export interface RcsFallbackConfiguration {
|
|
1533
|
+
Channel: RcsFallbackChannel | undefined;
|
|
1534
|
+
MessageBody?: string | undefined;
|
|
1535
|
+
MediaUrls?: string[] | undefined;
|
|
1536
|
+
OriginationIdentity?: string | undefined;
|
|
1537
|
+
}
|
|
1538
|
+
export interface RcsCarouselCardMedia {
|
|
1539
|
+
FileUrl: string | undefined;
|
|
1540
|
+
ThumbnailUrl?: string | undefined;
|
|
1541
|
+
Height?: string | undefined;
|
|
1542
|
+
}
|
|
1543
|
+
export interface RcsCreateCalendarEventAction {
|
|
1544
|
+
Text: string | undefined;
|
|
1545
|
+
PostbackData: string | undefined;
|
|
1546
|
+
Title: string | undefined;
|
|
1547
|
+
StartTime: Date | undefined;
|
|
1548
|
+
EndTime: Date | undefined;
|
|
1549
|
+
Description?: string | undefined;
|
|
1550
|
+
}
|
|
1551
|
+
export interface RcsDialPhoneAction {
|
|
1552
|
+
Text: string | undefined;
|
|
1553
|
+
PostbackData: string | undefined;
|
|
1554
|
+
PhoneNumber: string | undefined;
|
|
1555
|
+
}
|
|
1556
|
+
export interface RcsOpenUrlAction {
|
|
1557
|
+
Text: string | undefined;
|
|
1558
|
+
PostbackData: string | undefined;
|
|
1559
|
+
Url: string | undefined;
|
|
1560
|
+
Application?: string | undefined;
|
|
1561
|
+
WebviewViewMode?: string | undefined;
|
|
1562
|
+
}
|
|
1563
|
+
export interface RcsReplyAction {
|
|
1564
|
+
Text: string | undefined;
|
|
1565
|
+
PostbackData: string | undefined;
|
|
1566
|
+
}
|
|
1567
|
+
export interface RcsRequestLocationAction {
|
|
1568
|
+
Text: string | undefined;
|
|
1569
|
+
PostbackData: string | undefined;
|
|
1570
|
+
}
|
|
1571
|
+
export interface RcsShowLocationAction {
|
|
1572
|
+
Text: string | undefined;
|
|
1573
|
+
PostbackData: string | undefined;
|
|
1574
|
+
Latitude: number | undefined;
|
|
1575
|
+
Longitude: number | undefined;
|
|
1576
|
+
Label?: string | undefined;
|
|
1577
|
+
}
|
|
1578
|
+
export type RcsSuggestedAction =
|
|
1579
|
+
| RcsSuggestedAction.CreateCalendarEventMember
|
|
1580
|
+
| RcsSuggestedAction.DialPhoneMember
|
|
1581
|
+
| RcsSuggestedAction.OpenUrlMember
|
|
1582
|
+
| RcsSuggestedAction.ReplyMember
|
|
1583
|
+
| RcsSuggestedAction.RequestLocationMember
|
|
1584
|
+
| RcsSuggestedAction.ShowLocationMember
|
|
1585
|
+
| RcsSuggestedAction.$UnknownMember;
|
|
1586
|
+
export declare namespace RcsSuggestedAction {
|
|
1587
|
+
interface ReplyMember {
|
|
1588
|
+
Reply: RcsReplyAction;
|
|
1589
|
+
OpenUrl?: never;
|
|
1590
|
+
DialPhone?: never;
|
|
1591
|
+
ShowLocation?: never;
|
|
1592
|
+
RequestLocation?: never;
|
|
1593
|
+
CreateCalendarEvent?: never;
|
|
1594
|
+
$unknown?: never;
|
|
1595
|
+
}
|
|
1596
|
+
interface OpenUrlMember {
|
|
1597
|
+
Reply?: never;
|
|
1598
|
+
OpenUrl: RcsOpenUrlAction;
|
|
1599
|
+
DialPhone?: never;
|
|
1600
|
+
ShowLocation?: never;
|
|
1601
|
+
RequestLocation?: never;
|
|
1602
|
+
CreateCalendarEvent?: never;
|
|
1603
|
+
$unknown?: never;
|
|
1604
|
+
}
|
|
1605
|
+
interface DialPhoneMember {
|
|
1606
|
+
Reply?: never;
|
|
1607
|
+
OpenUrl?: never;
|
|
1608
|
+
DialPhone: RcsDialPhoneAction;
|
|
1609
|
+
ShowLocation?: never;
|
|
1610
|
+
RequestLocation?: never;
|
|
1611
|
+
CreateCalendarEvent?: never;
|
|
1612
|
+
$unknown?: never;
|
|
1613
|
+
}
|
|
1614
|
+
interface ShowLocationMember {
|
|
1615
|
+
Reply?: never;
|
|
1616
|
+
OpenUrl?: never;
|
|
1617
|
+
DialPhone?: never;
|
|
1618
|
+
ShowLocation: RcsShowLocationAction;
|
|
1619
|
+
RequestLocation?: never;
|
|
1620
|
+
CreateCalendarEvent?: never;
|
|
1621
|
+
$unknown?: never;
|
|
1622
|
+
}
|
|
1623
|
+
interface RequestLocationMember {
|
|
1624
|
+
Reply?: never;
|
|
1625
|
+
OpenUrl?: never;
|
|
1626
|
+
DialPhone?: never;
|
|
1627
|
+
ShowLocation?: never;
|
|
1628
|
+
RequestLocation: RcsRequestLocationAction;
|
|
1629
|
+
CreateCalendarEvent?: never;
|
|
1630
|
+
$unknown?: never;
|
|
1631
|
+
}
|
|
1632
|
+
interface CreateCalendarEventMember {
|
|
1633
|
+
Reply?: never;
|
|
1634
|
+
OpenUrl?: never;
|
|
1635
|
+
DialPhone?: never;
|
|
1636
|
+
ShowLocation?: never;
|
|
1637
|
+
RequestLocation?: never;
|
|
1638
|
+
CreateCalendarEvent: RcsCreateCalendarEventAction;
|
|
1639
|
+
$unknown?: never;
|
|
1640
|
+
}
|
|
1641
|
+
interface $UnknownMember {
|
|
1642
|
+
Reply?: never;
|
|
1643
|
+
OpenUrl?: never;
|
|
1644
|
+
DialPhone?: never;
|
|
1645
|
+
ShowLocation?: never;
|
|
1646
|
+
RequestLocation?: never;
|
|
1647
|
+
CreateCalendarEvent?: never;
|
|
1648
|
+
$unknown: [string, any];
|
|
1649
|
+
}
|
|
1650
|
+
interface Visitor<T> {
|
|
1651
|
+
Reply: (value: RcsReplyAction) => T;
|
|
1652
|
+
OpenUrl: (value: RcsOpenUrlAction) => T;
|
|
1653
|
+
DialPhone: (value: RcsDialPhoneAction) => T;
|
|
1654
|
+
ShowLocation: (value: RcsShowLocationAction) => T;
|
|
1655
|
+
RequestLocation: (value: RcsRequestLocationAction) => T;
|
|
1656
|
+
CreateCalendarEvent: (value: RcsCreateCalendarEventAction) => T;
|
|
1657
|
+
_: (name: string, value: any) => T;
|
|
1658
|
+
}
|
|
1659
|
+
}
|
|
1660
|
+
export interface RcsCarouselCardContent {
|
|
1661
|
+
Title?: string | undefined;
|
|
1662
|
+
Description?: string | undefined;
|
|
1663
|
+
Media?: RcsCarouselCardMedia | undefined;
|
|
1664
|
+
Suggestions?: RcsSuggestedAction[] | undefined;
|
|
1665
|
+
}
|
|
1666
|
+
export interface RcsCarousel {
|
|
1667
|
+
CardWidth: string | undefined;
|
|
1668
|
+
CardContents: RcsCarouselCardContent[] | undefined;
|
|
1669
|
+
}
|
|
1670
|
+
export interface RcsFileMessage {
|
|
1671
|
+
FileUrl: string | undefined;
|
|
1672
|
+
ThumbnailUrl?: string | undefined;
|
|
1673
|
+
}
|
|
1674
|
+
export interface RcsCardMedia {
|
|
1675
|
+
FileUrl: string | undefined;
|
|
1676
|
+
ThumbnailUrl?: string | undefined;
|
|
1677
|
+
Height?: string | undefined;
|
|
1678
|
+
}
|
|
1679
|
+
export interface RcsCardContent {
|
|
1680
|
+
Title?: string | undefined;
|
|
1681
|
+
Description?: string | undefined;
|
|
1682
|
+
Media?: RcsCardMedia | undefined;
|
|
1683
|
+
Suggestions?: RcsSuggestedAction[] | undefined;
|
|
1684
|
+
}
|
|
1685
|
+
export interface RcsStandaloneCard {
|
|
1686
|
+
CardOrientation: string | undefined;
|
|
1687
|
+
ThumbnailImageAlignment?: string | undefined;
|
|
1688
|
+
CardContent: RcsCardContent | undefined;
|
|
1689
|
+
}
|
|
1690
|
+
export interface RcsTextMessage {
|
|
1691
|
+
Body: string | undefined;
|
|
1692
|
+
}
|
|
1693
|
+
export type RcsContent =
|
|
1694
|
+
| RcsContent.CarouselMember
|
|
1695
|
+
| RcsContent.FileMessageMember
|
|
1696
|
+
| RcsContent.RichCardMember
|
|
1697
|
+
| RcsContent.TextMessageMember
|
|
1698
|
+
| RcsContent.$UnknownMember;
|
|
1699
|
+
export declare namespace RcsContent {
|
|
1700
|
+
interface TextMessageMember {
|
|
1701
|
+
TextMessage: RcsTextMessage;
|
|
1702
|
+
FileMessage?: never;
|
|
1703
|
+
RichCard?: never;
|
|
1704
|
+
Carousel?: never;
|
|
1705
|
+
$unknown?: never;
|
|
1706
|
+
}
|
|
1707
|
+
interface FileMessageMember {
|
|
1708
|
+
TextMessage?: never;
|
|
1709
|
+
FileMessage: RcsFileMessage;
|
|
1710
|
+
RichCard?: never;
|
|
1711
|
+
Carousel?: never;
|
|
1712
|
+
$unknown?: never;
|
|
1713
|
+
}
|
|
1714
|
+
interface RichCardMember {
|
|
1715
|
+
TextMessage?: never;
|
|
1716
|
+
FileMessage?: never;
|
|
1717
|
+
RichCard: RcsStandaloneCard;
|
|
1718
|
+
Carousel?: never;
|
|
1719
|
+
$unknown?: never;
|
|
1720
|
+
}
|
|
1721
|
+
interface CarouselMember {
|
|
1722
|
+
TextMessage?: never;
|
|
1723
|
+
FileMessage?: never;
|
|
1724
|
+
RichCard?: never;
|
|
1725
|
+
Carousel: RcsCarousel;
|
|
1726
|
+
$unknown?: never;
|
|
1727
|
+
}
|
|
1728
|
+
interface $UnknownMember {
|
|
1729
|
+
TextMessage?: never;
|
|
1730
|
+
FileMessage?: never;
|
|
1731
|
+
RichCard?: never;
|
|
1732
|
+
Carousel?: never;
|
|
1733
|
+
$unknown: [string, any];
|
|
1734
|
+
}
|
|
1735
|
+
interface Visitor<T> {
|
|
1736
|
+
TextMessage: (value: RcsTextMessage) => T;
|
|
1737
|
+
FileMessage: (value: RcsFileMessage) => T;
|
|
1738
|
+
RichCard: (value: RcsStandaloneCard) => T;
|
|
1739
|
+
Carousel: (value: RcsCarousel) => T;
|
|
1740
|
+
_: (name: string, value: any) => T;
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
export interface RcsMessageContent {
|
|
1744
|
+
Content: RcsContent | undefined;
|
|
1745
|
+
Suggestions?: RcsSuggestedAction[] | undefined;
|
|
1746
|
+
}
|
|
1747
|
+
export interface SendRcsMessageRequest {
|
|
1748
|
+
DestinationPhoneNumber: string | undefined;
|
|
1749
|
+
OriginationIdentity: string | undefined;
|
|
1750
|
+
RcsMessageContent?: RcsMessageContent | undefined;
|
|
1751
|
+
TimeToLive?: number | undefined;
|
|
1752
|
+
MessageTrafficType?: string | undefined;
|
|
1753
|
+
FallbackConfiguration?: RcsFallbackConfiguration | undefined;
|
|
1754
|
+
ProtectConfigurationId?: string | undefined;
|
|
1755
|
+
ConfigurationSetName?: string | undefined;
|
|
1756
|
+
MaxPrice?: string | undefined;
|
|
1757
|
+
DryRun?: boolean | undefined;
|
|
1758
|
+
Context?: Record<string, string> | undefined;
|
|
1759
|
+
MessageFeedbackEnabled?: boolean | undefined;
|
|
1760
|
+
}
|
|
1761
|
+
export interface SendRcsMessageResult {
|
|
1762
|
+
MessageId?: string | undefined;
|
|
1763
|
+
}
|
|
1518
1764
|
export interface SendTextMessageRequest {
|
|
1519
1765
|
DestinationPhoneNumber: string | undefined;
|
|
1520
1766
|
OriginationIdentity?: string | undefined;
|
|
@@ -1598,6 +1844,12 @@ export interface SetNotifyMessageSpendLimitOverrideRequest {
|
|
|
1598
1844
|
export interface SetNotifyMessageSpendLimitOverrideResult {
|
|
1599
1845
|
MonthlyLimit?: number | undefined;
|
|
1600
1846
|
}
|
|
1847
|
+
export interface SetRcsMessageSpendLimitOverrideRequest {
|
|
1848
|
+
MonthlyLimit: number | undefined;
|
|
1849
|
+
}
|
|
1850
|
+
export interface SetRcsMessageSpendLimitOverrideResult {
|
|
1851
|
+
MonthlyLimit?: number | undefined;
|
|
1852
|
+
}
|
|
1601
1853
|
export interface SetTextMessageSpendLimitOverrideRequest {
|
|
1602
1854
|
MonthlyLimit: number | undefined;
|
|
1603
1855
|
}
|
|
@@ -1760,6 +2012,10 @@ export interface UpdateRcsAgentRequest {
|
|
|
1760
2012
|
TwoWayChannelArn?: string | undefined;
|
|
1761
2013
|
TwoWayChannelRole?: string | undefined;
|
|
1762
2014
|
TwoWayEnabled?: boolean | undefined;
|
|
2015
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
2016
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
2017
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
2018
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
1763
2019
|
}
|
|
1764
2020
|
export interface UpdateRcsAgentResult {
|
|
1765
2021
|
RcsAgentArn: string | undefined;
|
|
@@ -1772,6 +2028,10 @@ export interface UpdateRcsAgentResult {
|
|
|
1772
2028
|
TwoWayChannelArn?: string | undefined;
|
|
1773
2029
|
TwoWayChannelRole?: string | undefined;
|
|
1774
2030
|
TwoWayEnabled: boolean | undefined;
|
|
2031
|
+
TwoWayMediaS3BucketName?: string | undefined;
|
|
2032
|
+
TwoWayMediaS3KeyPrefix?: string | undefined;
|
|
2033
|
+
TwoWayMediaS3Role?: string | undefined;
|
|
2034
|
+
TwoWayRcsEventsEnabled?: string[] | undefined;
|
|
1775
2035
|
}
|
|
1776
2036
|
export interface UpdateSenderIdRequest {
|
|
1777
2037
|
SenderId: string | undefined;
|
|
@@ -1788,14 +2048,3 @@ export interface UpdateSenderIdResult {
|
|
|
1788
2048
|
Registered: boolean | undefined;
|
|
1789
2049
|
RegistrationId?: string | undefined;
|
|
1790
2050
|
}
|
|
1791
|
-
export interface VerifyDestinationNumberRequest {
|
|
1792
|
-
VerifiedDestinationNumberId: string | undefined;
|
|
1793
|
-
VerificationCode: string | undefined;
|
|
1794
|
-
}
|
|
1795
|
-
export interface VerifyDestinationNumberResult {
|
|
1796
|
-
VerifiedDestinationNumberArn: string | undefined;
|
|
1797
|
-
VerifiedDestinationNumberId: string | undefined;
|
|
1798
|
-
DestinationPhoneNumber: string | undefined;
|
|
1799
|
-
Status: VerificationStatus | undefined;
|
|
1800
|
-
CreatedTimestamp: Date | undefined;
|
|
1801
|
-
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VerificationStatus } from "./enums";
|
|
2
|
+
export interface VerifyDestinationNumberRequest {
|
|
3
|
+
VerifiedDestinationNumberId: string | undefined;
|
|
4
|
+
VerificationCode: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface VerifyDestinationNumberResult {
|
|
7
|
+
VerifiedDestinationNumberArn: string | undefined;
|
|
8
|
+
VerifiedDestinationNumberId: string | undefined;
|
|
9
|
+
DestinationPhoneNumber: string | undefined;
|
|
10
|
+
Status: VerificationStatus | undefined;
|
|
11
|
+
CreatedTimestamp: Date | undefined;
|
|
12
|
+
}
|
|
@@ -23,7 +23,13 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
| RequestHandler;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
25
|
sha256: import("@smithy/types").HashConstructor;
|
|
26
|
-
streamCollector:
|
|
26
|
+
streamCollector: (
|
|
27
|
+
stream:
|
|
28
|
+
| import("stream").Readable
|
|
29
|
+
| import("stream/web").ReadableStream
|
|
30
|
+
| ReadableStream
|
|
31
|
+
| Blob
|
|
32
|
+
) => Promise<Uint8Array>;
|
|
27
33
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
34
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
35
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
@@ -24,7 +24,13 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
sha256: import("@smithy/types").HashConstructor;
|
|
27
|
-
streamCollector:
|
|
27
|
+
streamCollector: (
|
|
28
|
+
stream:
|
|
29
|
+
| import("stream").Readable
|
|
30
|
+
| import("stream/web").ReadableStream
|
|
31
|
+
| ReadableStream
|
|
32
|
+
| Blob
|
|
33
|
+
) => Promise<Uint8Array>;
|
|
28
34
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
35
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
36
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -22,7 +22,13 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
apiVersion: string;
|
|
23
23
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
24
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
|
-
streamCollector:
|
|
25
|
+
streamCollector: (
|
|
26
|
+
stream:
|
|
27
|
+
| import("stream").Readable
|
|
28
|
+
| import("stream/web").ReadableStream
|
|
29
|
+
| ReadableStream
|
|
30
|
+
| Blob
|
|
31
|
+
) => Promise<Uint8Array>;
|
|
26
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
27
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
28
34
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
StaticErrorSchema,
|
|
4
4
|
StaticOperationSchema,
|
|
5
5
|
StaticStructureSchema,
|
|
6
|
+
StaticUnionSchema,
|
|
6
7
|
} from "@smithy/types";
|
|
7
8
|
export declare var PinpointSMSVoiceV2ServiceException$: StaticErrorSchema;
|
|
8
9
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
@@ -81,6 +82,8 @@ export declare var DeleteProtectConfigurationRuleSetNumberOverrideRequest$: Stat
|
|
|
81
82
|
export declare var DeleteProtectConfigurationRuleSetNumberOverrideResult$: StaticStructureSchema;
|
|
82
83
|
export declare var DeleteRcsAgentRequest$: StaticStructureSchema;
|
|
83
84
|
export declare var DeleteRcsAgentResult$: StaticStructureSchema;
|
|
85
|
+
export declare var DeleteRcsMessageSpendLimitOverrideRequest$: StaticStructureSchema;
|
|
86
|
+
export declare var DeleteRcsMessageSpendLimitOverrideResult$: StaticStructureSchema;
|
|
84
87
|
export declare var DeleteRegistrationAttachmentRequest$: StaticStructureSchema;
|
|
85
88
|
export declare var DeleteRegistrationAttachmentResult$: StaticStructureSchema;
|
|
86
89
|
export declare var DeleteRegistrationFieldValueRequest$: StaticStructureSchema;
|
|
@@ -198,6 +201,22 @@ export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
|
198
201
|
export declare var PutResourcePolicyResult$: StaticStructureSchema;
|
|
199
202
|
export declare var RcsAgentFilter$: StaticStructureSchema;
|
|
200
203
|
export declare var RcsAgentInformation$: StaticStructureSchema;
|
|
204
|
+
export declare var RcsCardContent$: StaticStructureSchema;
|
|
205
|
+
export declare var RcsCardMedia$: StaticStructureSchema;
|
|
206
|
+
export declare var RcsCarousel$: StaticStructureSchema;
|
|
207
|
+
export declare var RcsCarouselCardContent$: StaticStructureSchema;
|
|
208
|
+
export declare var RcsCarouselCardMedia$: StaticStructureSchema;
|
|
209
|
+
export declare var RcsCreateCalendarEventAction$: StaticStructureSchema;
|
|
210
|
+
export declare var RcsDialPhoneAction$: StaticStructureSchema;
|
|
211
|
+
export declare var RcsFallbackConfiguration$: StaticStructureSchema;
|
|
212
|
+
export declare var RcsFileMessage$: StaticStructureSchema;
|
|
213
|
+
export declare var RcsMessageContent$: StaticStructureSchema;
|
|
214
|
+
export declare var RcsOpenUrlAction$: StaticStructureSchema;
|
|
215
|
+
export declare var RcsReplyAction$: StaticStructureSchema;
|
|
216
|
+
export declare var RcsRequestLocationAction$: StaticStructureSchema;
|
|
217
|
+
export declare var RcsShowLocationAction$: StaticStructureSchema;
|
|
218
|
+
export declare var RcsStandaloneCard$: StaticStructureSchema;
|
|
219
|
+
export declare var RcsTextMessage$: StaticStructureSchema;
|
|
201
220
|
export declare var RegistrationAssociationFilter$: StaticStructureSchema;
|
|
202
221
|
export declare var RegistrationAssociationMetadata$: StaticStructureSchema;
|
|
203
222
|
export declare var RegistrationAttachmentFilter$: StaticStructureSchema;
|
|
@@ -237,6 +256,8 @@ export declare var SendNotifyTextMessageRequest$: StaticStructureSchema;
|
|
|
237
256
|
export declare var SendNotifyTextMessageResult$: StaticStructureSchema;
|
|
238
257
|
export declare var SendNotifyVoiceMessageRequest$: StaticStructureSchema;
|
|
239
258
|
export declare var SendNotifyVoiceMessageResult$: StaticStructureSchema;
|
|
259
|
+
export declare var SendRcsMessageRequest$: StaticStructureSchema;
|
|
260
|
+
export declare var SendRcsMessageResult$: StaticStructureSchema;
|
|
240
261
|
export declare var SendTextMessageRequest$: StaticStructureSchema;
|
|
241
262
|
export declare var SendTextMessageResult$: StaticStructureSchema;
|
|
242
263
|
export declare var SendVoiceMessageRequest$: StaticStructureSchema;
|
|
@@ -253,6 +274,8 @@ export declare var SetMediaMessageSpendLimitOverrideRequest$: StaticStructureSch
|
|
|
253
274
|
export declare var SetMediaMessageSpendLimitOverrideResult$: StaticStructureSchema;
|
|
254
275
|
export declare var SetNotifyMessageSpendLimitOverrideRequest$: StaticStructureSchema;
|
|
255
276
|
export declare var SetNotifyMessageSpendLimitOverrideResult$: StaticStructureSchema;
|
|
277
|
+
export declare var SetRcsMessageSpendLimitOverrideRequest$: StaticStructureSchema;
|
|
278
|
+
export declare var SetRcsMessageSpendLimitOverrideResult$: StaticStructureSchema;
|
|
256
279
|
export declare var SetTextMessageSpendLimitOverrideRequest$: StaticStructureSchema;
|
|
257
280
|
export declare var SetTextMessageSpendLimitOverrideResult$: StaticStructureSchema;
|
|
258
281
|
export declare var SetVoiceMessageSpendLimitOverrideRequest$: StaticStructureSchema;
|
|
@@ -291,6 +314,8 @@ export declare var VerifiedDestinationNumberFilter$: StaticStructureSchema;
|
|
|
291
314
|
export declare var VerifiedDestinationNumberInformation$: StaticStructureSchema;
|
|
292
315
|
export declare var VerifyDestinationNumberRequest$: StaticStructureSchema;
|
|
293
316
|
export declare var VerifyDestinationNumberResult$: StaticStructureSchema;
|
|
317
|
+
export declare var RcsContent$: StaticUnionSchema;
|
|
318
|
+
export declare var RcsSuggestedAction$: StaticUnionSchema;
|
|
294
319
|
export declare var AssociateOriginationIdentity$: StaticOperationSchema;
|
|
295
320
|
export declare var AssociateProtectConfiguration$: StaticOperationSchema;
|
|
296
321
|
export declare var CarrierLookup$: StaticOperationSchema;
|
|
@@ -321,6 +346,7 @@ export declare var DeletePool$: StaticOperationSchema;
|
|
|
321
346
|
export declare var DeleteProtectConfiguration$: StaticOperationSchema;
|
|
322
347
|
export declare var DeleteProtectConfigurationRuleSetNumberOverride$: StaticOperationSchema;
|
|
323
348
|
export declare var DeleteRcsAgent$: StaticOperationSchema;
|
|
349
|
+
export declare var DeleteRcsMessageSpendLimitOverride$: StaticOperationSchema;
|
|
324
350
|
export declare var DeleteRegistration$: StaticOperationSchema;
|
|
325
351
|
export declare var DeleteRegistrationAttachment$: StaticOperationSchema;
|
|
326
352
|
export declare var DeleteRegistrationFieldValue$: StaticOperationSchema;
|
|
@@ -375,6 +401,7 @@ export declare var SendDestinationNumberVerificationCode$: StaticOperationSchema
|
|
|
375
401
|
export declare var SendMediaMessage$: StaticOperationSchema;
|
|
376
402
|
export declare var SendNotifyTextMessage$: StaticOperationSchema;
|
|
377
403
|
export declare var SendNotifyVoiceMessage$: StaticOperationSchema;
|
|
404
|
+
export declare var SendRcsMessage$: StaticOperationSchema;
|
|
378
405
|
export declare var SendTextMessage$: StaticOperationSchema;
|
|
379
406
|
export declare var SendVoiceMessage$: StaticOperationSchema;
|
|
380
407
|
export declare var SetAccountDefaultProtectConfiguration$: StaticOperationSchema;
|
|
@@ -383,6 +410,7 @@ export declare var SetDefaultMessageType$: StaticOperationSchema;
|
|
|
383
410
|
export declare var SetDefaultSenderId$: StaticOperationSchema;
|
|
384
411
|
export declare var SetMediaMessageSpendLimitOverride$: StaticOperationSchema;
|
|
385
412
|
export declare var SetNotifyMessageSpendLimitOverride$: StaticOperationSchema;
|
|
413
|
+
export declare var SetRcsMessageSpendLimitOverride$: StaticOperationSchema;
|
|
386
414
|
export declare var SetTextMessageSpendLimitOverride$: StaticOperationSchema;
|
|
387
415
|
export declare var SetVoiceMessageSpendLimitOverride$: StaticOperationSchema;
|
|
388
416
|
export declare var SubmitRegistrationVersion$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.1076.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
-
"@smithy/core": "^3.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.
|
|
29
|
-
"@smithy/node-http-handler": "^4.
|
|
30
|
-
"@smithy/types": "^4.
|
|
24
|
+
"@aws-sdk/core": "^3.974.24",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.59",
|
|
26
|
+
"@aws-sdk/types": "^3.973.14",
|
|
27
|
+
"@smithy/core": "^3.27.0",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.6.0",
|
|
29
|
+
"@smithy/node-http-handler": "^4.9.0",
|
|
30
|
+
"@smithy/types": "^4.15.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
-
exports.defaultPinpointSMSVoiceV2HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
-
return {
|
|
5
|
-
operation: getSmithyContext(context).operation,
|
|
6
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
-
})(),
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
-
return {
|
|
13
|
-
schemeId: "aws.auth#sigv4",
|
|
14
|
-
signingProperties: {
|
|
15
|
-
name: "sms-voice",
|
|
16
|
-
region: authParameters.region,
|
|
17
|
-
},
|
|
18
|
-
propertiesExtractor: (config, context) => ({
|
|
19
|
-
signingProperties: {
|
|
20
|
-
config,
|
|
21
|
-
context,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.defaultPinpointSMSVoiceV2HttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
-
const options = [];
|
|
28
|
-
switch (authParameters.operation) {
|
|
29
|
-
default: {
|
|
30
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return options;
|
|
34
|
-
};
|
|
35
|
-
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
-
return Object.assign(config_0, {
|
|
38
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
-
});
|
|
40
|
-
};
|
package/dist-cjs/endpoint/bdd.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
2
|
-
const k = "ref";
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
-
const _data = {
|
|
5
|
-
conditions: [
|
|
6
|
-
[c, [g]],
|
|
7
|
-
[c, j],
|
|
8
|
-
["aws.partition", j, d],
|
|
9
|
-
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
-
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
-
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
-
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
13
|
-
],
|
|
14
|
-
results: [
|
|
15
|
-
[a],
|
|
16
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
17
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
18
|
-
[g, i],
|
|
19
|
-
["https://sms-voice-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
20
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
21
|
-
["https://sms-voice-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
22
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
23
|
-
["https://sms-voice.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
25
|
-
["https://sms-voice.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
26
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
27
|
-
]
|
|
28
|
-
};
|
|
29
|
-
const root = 2;
|
|
30
|
-
const r = 100_000_000;
|
|
31
|
-
const nodes = new Int32Array([
|
|
32
|
-
-1, 1, -1,
|
|
33
|
-
0, 12, 3,
|
|
34
|
-
1, 4, r + 11,
|
|
35
|
-
2, 5, r + 11,
|
|
36
|
-
3, 8, 6,
|
|
37
|
-
4, 7, r + 10,
|
|
38
|
-
5, r + 8, r + 9,
|
|
39
|
-
4, 10, 9,
|
|
40
|
-
6, r + 6, r + 7,
|
|
41
|
-
5, 11, r + 5,
|
|
42
|
-
6, r + 4, r + 5,
|
|
43
|
-
3, r + 1, 13,
|
|
44
|
-
4, r + 2, r + 3,
|
|
45
|
-
]);
|
|
46
|
-
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
-
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
-
const { bdd } = require("./bdd");
|
|
4
|
-
const cache = new EndpointCache({
|
|
5
|
-
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
-
});
|
|
8
|
-
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
-
endpointParams: endpointParams,
|
|
11
|
-
logger: context.logger,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
-
exports.__ServiceException = __ServiceException;
|
|
3
|
-
exports.PinpointSMSVoiceV2ServiceException = class PinpointSMSVoiceV2ServiceException extends __ServiceException {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
super(options);
|
|
6
|
-
Object.setPrototypeOf(this, PinpointSMSVoiceV2ServiceException.prototype);
|
|
7
|
-
}
|
|
8
|
-
};
|