@aws-sdk/client-sns 3.1077.0 → 3.1078.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 (134) hide show
  1. package/dist-cjs/index.js +132 -505
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddPermissionCommand.js +2 -14
  4. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -14
  5. package/dist-es/commands/ConfirmSubscriptionCommand.js +2 -14
  6. package/dist-es/commands/CreatePlatformApplicationCommand.js +2 -14
  7. package/dist-es/commands/CreatePlatformEndpointCommand.js +2 -14
  8. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -14
  9. package/dist-es/commands/CreateTopicCommand.js +2 -14
  10. package/dist-es/commands/DeleteEndpointCommand.js +2 -14
  11. package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -14
  12. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -14
  13. package/dist-es/commands/DeleteTopicCommand.js +2 -14
  14. package/dist-es/commands/GetDataProtectionPolicyCommand.js +2 -14
  15. package/dist-es/commands/GetEndpointAttributesCommand.js +2 -14
  16. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +2 -14
  17. package/dist-es/commands/GetSMSAttributesCommand.js +2 -14
  18. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +2 -14
  19. package/dist-es/commands/GetSubscriptionAttributesCommand.js +2 -14
  20. package/dist-es/commands/GetTopicAttributesCommand.js +2 -14
  21. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +2 -14
  22. package/dist-es/commands/ListOriginationNumbersCommand.js +2 -14
  23. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +2 -14
  24. package/dist-es/commands/ListPlatformApplicationsCommand.js +2 -14
  25. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -14
  26. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +2 -14
  27. package/dist-es/commands/ListSubscriptionsCommand.js +2 -14
  28. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  29. package/dist-es/commands/ListTopicsCommand.js +2 -14
  30. package/dist-es/commands/OptInPhoneNumberCommand.js +2 -14
  31. package/dist-es/commands/PublishBatchCommand.js +2 -14
  32. package/dist-es/commands/PublishCommand.js +2 -14
  33. package/dist-es/commands/PutDataProtectionPolicyCommand.js +2 -14
  34. package/dist-es/commands/RemovePermissionCommand.js +2 -14
  35. package/dist-es/commands/SetEndpointAttributesCommand.js +2 -14
  36. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -14
  37. package/dist-es/commands/SetSMSAttributesCommand.js +2 -14
  38. package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -14
  39. package/dist-es/commands/SetTopicAttributesCommand.js +2 -14
  40. package/dist-es/commands/SubscribeCommand.js +2 -14
  41. package/dist-es/commands/TagResourceCommand.js +2 -14
  42. package/dist-es/commands/UnsubscribeCommand.js +2 -14
  43. package/dist-es/commands/UntagResourceCommand.js +2 -14
  44. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -14
  45. package/dist-es/index.js +1 -0
  46. package/dist-types/commandBuilder.d.ts +18 -0
  47. package/dist-types/commands/AddPermissionCommand.d.ts +3 -8
  48. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -8
  49. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -8
  50. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -8
  51. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -8
  52. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -8
  53. package/dist-types/commands/CreateTopicCommand.d.ts +3 -8
  54. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -8
  55. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -8
  56. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -8
  57. package/dist-types/commands/DeleteTopicCommand.d.ts +3 -8
  58. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -8
  59. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -8
  60. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -8
  61. package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -8
  62. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -8
  63. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -8
  64. package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -8
  66. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -8
  67. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -8
  68. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -8
  70. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -8
  71. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -8
  72. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/ListTopicsCommand.d.ts +3 -8
  74. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -8
  75. package/dist-types/commands/PublishBatchCommand.d.ts +3 -8
  76. package/dist-types/commands/PublishCommand.d.ts +3 -8
  77. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -8
  78. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -8
  79. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -8
  80. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -8
  81. package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -8
  82. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -8
  83. package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -8
  84. package/dist-types/commands/SubscribeCommand.d.ts +3 -8
  85. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  86. package/dist-types/commands/UnsubscribeCommand.d.ts +3 -8
  87. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  88. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -8
  89. package/dist-types/index.d.ts +1 -0
  90. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  91. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +7 -16
  119. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +7 -16
  120. package/dist-types/ts3.4/commands/PublishCommand.d.ts +7 -16
  121. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +7 -16
  122. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +7 -16
  123. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +7 -16
  124. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +7 -16
  125. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +7 -16
  126. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +7 -16
  127. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/index.d.ts +1 -0
  134. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1755,508 +1756,134 @@ class SNSClient extends Client {
1755
1756
  }
1756
1757
  }
1757
1758
 
1758
- class AddPermissionCommand extends Command
1759
- .classBuilder()
1760
- .ep(commonParams)
1761
- .m(function (Command, cs, config, o) {
1762
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
- })
1764
- .s("AmazonSimpleNotificationService", "AddPermission", {})
1765
- .n("SNSClient", "AddPermissionCommand")
1766
- .sc(AddPermission$)
1767
- .build() {
1768
- }
1769
-
1770
- class CheckIfPhoneNumberIsOptedOutCommand extends Command
1771
- .classBuilder()
1772
- .ep(commonParams)
1773
- .m(function (Command, cs, config, o) {
1774
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1775
- })
1776
- .s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {})
1777
- .n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand")
1778
- .sc(CheckIfPhoneNumberIsOptedOut$)
1779
- .build() {
1780
- }
1781
-
1782
- class ConfirmSubscriptionCommand extends Command
1783
- .classBuilder()
1784
- .ep(commonParams)
1785
- .m(function (Command, cs, config, o) {
1786
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1787
- })
1788
- .s("AmazonSimpleNotificationService", "ConfirmSubscription", {})
1789
- .n("SNSClient", "ConfirmSubscriptionCommand")
1790
- .sc(ConfirmSubscription$)
1791
- .build() {
1792
- }
1793
-
1794
- class CreatePlatformApplicationCommand extends Command
1795
- .classBuilder()
1796
- .ep(commonParams)
1797
- .m(function (Command, cs, config, o) {
1798
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1799
- })
1800
- .s("AmazonSimpleNotificationService", "CreatePlatformApplication", {})
1801
- .n("SNSClient", "CreatePlatformApplicationCommand")
1802
- .sc(CreatePlatformApplication$)
1803
- .build() {
1804
- }
1805
-
1806
- class CreatePlatformEndpointCommand extends Command
1807
- .classBuilder()
1808
- .ep(commonParams)
1809
- .m(function (Command, cs, config, o) {
1810
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1811
- })
1812
- .s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {})
1813
- .n("SNSClient", "CreatePlatformEndpointCommand")
1814
- .sc(CreatePlatformEndpoint$)
1815
- .build() {
1816
- }
1817
-
1818
- class CreateSMSSandboxPhoneNumberCommand extends Command
1819
- .classBuilder()
1820
- .ep(commonParams)
1821
- .m(function (Command, cs, config, o) {
1822
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1823
- })
1824
- .s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
1825
- .n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
1826
- .sc(CreateSMSSandboxPhoneNumber$)
1827
- .build() {
1828
- }
1829
-
1830
- class CreateTopicCommand extends Command
1831
- .classBuilder()
1832
- .ep(commonParams)
1833
- .m(function (Command, cs, config, o) {
1834
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1835
- })
1836
- .s("AmazonSimpleNotificationService", "CreateTopic", {})
1837
- .n("SNSClient", "CreateTopicCommand")
1838
- .sc(CreateTopic$)
1839
- .build() {
1840
- }
1841
-
1842
- class DeleteEndpointCommand extends Command
1843
- .classBuilder()
1844
- .ep(commonParams)
1845
- .m(function (Command, cs, config, o) {
1846
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1847
- })
1848
- .s("AmazonSimpleNotificationService", "DeleteEndpoint", {})
1849
- .n("SNSClient", "DeleteEndpointCommand")
1850
- .sc(DeleteEndpoint$)
1851
- .build() {
1852
- }
1853
-
1854
- class DeletePlatformApplicationCommand extends Command
1855
- .classBuilder()
1856
- .ep(commonParams)
1857
- .m(function (Command, cs, config, o) {
1858
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1859
- })
1860
- .s("AmazonSimpleNotificationService", "DeletePlatformApplication", {})
1861
- .n("SNSClient", "DeletePlatformApplicationCommand")
1862
- .sc(DeletePlatformApplication$)
1863
- .build() {
1864
- }
1865
-
1866
- class DeleteSMSSandboxPhoneNumberCommand extends Command
1867
- .classBuilder()
1868
- .ep(commonParams)
1869
- .m(function (Command, cs, config, o) {
1870
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1871
- })
1872
- .s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
1873
- .n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
1874
- .sc(DeleteSMSSandboxPhoneNumber$)
1875
- .build() {
1876
- }
1877
-
1878
- class DeleteTopicCommand extends Command
1879
- .classBuilder()
1880
- .ep(commonParams)
1881
- .m(function (Command, cs, config, o) {
1882
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1883
- })
1884
- .s("AmazonSimpleNotificationService", "DeleteTopic", {})
1885
- .n("SNSClient", "DeleteTopicCommand")
1886
- .sc(DeleteTopic$)
1887
- .build() {
1888
- }
1889
-
1890
- class GetDataProtectionPolicyCommand extends Command
1891
- .classBuilder()
1892
- .ep(commonParams)
1893
- .m(function (Command, cs, config, o) {
1894
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1895
- })
1896
- .s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {})
1897
- .n("SNSClient", "GetDataProtectionPolicyCommand")
1898
- .sc(GetDataProtectionPolicy$)
1899
- .build() {
1900
- }
1901
-
1902
- class GetEndpointAttributesCommand extends Command
1903
- .classBuilder()
1904
- .ep(commonParams)
1905
- .m(function (Command, cs, config, o) {
1906
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1907
- })
1908
- .s("AmazonSimpleNotificationService", "GetEndpointAttributes", {})
1909
- .n("SNSClient", "GetEndpointAttributesCommand")
1910
- .sc(GetEndpointAttributes$)
1911
- .build() {
1912
- }
1913
-
1914
- class GetPlatformApplicationAttributesCommand extends Command
1915
- .classBuilder()
1916
- .ep(commonParams)
1917
- .m(function (Command, cs, config, o) {
1918
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1919
- })
1920
- .s("AmazonSimpleNotificationService", "GetPlatformApplicationAttributes", {})
1921
- .n("SNSClient", "GetPlatformApplicationAttributesCommand")
1922
- .sc(GetPlatformApplicationAttributes$)
1923
- .build() {
1924
- }
1925
-
1926
- class GetSMSAttributesCommand extends Command
1927
- .classBuilder()
1928
- .ep(commonParams)
1929
- .m(function (Command, cs, config, o) {
1930
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1931
- })
1932
- .s("AmazonSimpleNotificationService", "GetSMSAttributes", {})
1933
- .n("SNSClient", "GetSMSAttributesCommand")
1934
- .sc(GetSMSAttributes$)
1935
- .build() {
1936
- }
1937
-
1938
- class GetSMSSandboxAccountStatusCommand extends Command
1939
- .classBuilder()
1940
- .ep(commonParams)
1941
- .m(function (Command, cs, config, o) {
1942
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1943
- })
1944
- .s("AmazonSimpleNotificationService", "GetSMSSandboxAccountStatus", {})
1945
- .n("SNSClient", "GetSMSSandboxAccountStatusCommand")
1946
- .sc(GetSMSSandboxAccountStatus$)
1947
- .build() {
1948
- }
1949
-
1950
- class GetSubscriptionAttributesCommand extends Command
1951
- .classBuilder()
1952
- .ep(commonParams)
1953
- .m(function (Command, cs, config, o) {
1954
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1955
- })
1956
- .s("AmazonSimpleNotificationService", "GetSubscriptionAttributes", {})
1957
- .n("SNSClient", "GetSubscriptionAttributesCommand")
1958
- .sc(GetSubscriptionAttributes$)
1959
- .build() {
1960
- }
1961
-
1962
- class GetTopicAttributesCommand extends Command
1963
- .classBuilder()
1964
- .ep(commonParams)
1965
- .m(function (Command, cs, config, o) {
1966
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1967
- })
1968
- .s("AmazonSimpleNotificationService", "GetTopicAttributes", {})
1969
- .n("SNSClient", "GetTopicAttributesCommand")
1970
- .sc(GetTopicAttributes$)
1971
- .build() {
1972
- }
1973
-
1974
- class ListEndpointsByPlatformApplicationCommand extends Command
1975
- .classBuilder()
1976
- .ep(commonParams)
1977
- .m(function (Command, cs, config, o) {
1978
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1979
- })
1980
- .s("AmazonSimpleNotificationService", "ListEndpointsByPlatformApplication", {})
1981
- .n("SNSClient", "ListEndpointsByPlatformApplicationCommand")
1982
- .sc(ListEndpointsByPlatformApplication$)
1983
- .build() {
1984
- }
1985
-
1986
- class ListOriginationNumbersCommand extends Command
1987
- .classBuilder()
1988
- .ep(commonParams)
1989
- .m(function (Command, cs, config, o) {
1990
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1991
- })
1992
- .s("AmazonSimpleNotificationService", "ListOriginationNumbers", {})
1993
- .n("SNSClient", "ListOriginationNumbersCommand")
1994
- .sc(ListOriginationNumbers$)
1995
- .build() {
1996
- }
1997
-
1998
- class ListPhoneNumbersOptedOutCommand extends Command
1999
- .classBuilder()
2000
- .ep(commonParams)
2001
- .m(function (Command, cs, config, o) {
2002
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2003
- })
2004
- .s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {})
2005
- .n("SNSClient", "ListPhoneNumbersOptedOutCommand")
2006
- .sc(ListPhoneNumbersOptedOut$)
2007
- .build() {
2008
- }
2009
-
2010
- class ListPlatformApplicationsCommand extends Command
2011
- .classBuilder()
2012
- .ep(commonParams)
2013
- .m(function (Command, cs, config, o) {
2014
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2015
- })
2016
- .s("AmazonSimpleNotificationService", "ListPlatformApplications", {})
2017
- .n("SNSClient", "ListPlatformApplicationsCommand")
2018
- .sc(ListPlatformApplications$)
2019
- .build() {
2020
- }
2021
-
2022
- class ListSMSSandboxPhoneNumbersCommand extends Command
2023
- .classBuilder()
2024
- .ep(commonParams)
2025
- .m(function (Command, cs, config, o) {
2026
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2027
- })
2028
- .s("AmazonSimpleNotificationService", "ListSMSSandboxPhoneNumbers", {})
2029
- .n("SNSClient", "ListSMSSandboxPhoneNumbersCommand")
2030
- .sc(ListSMSSandboxPhoneNumbers$)
2031
- .build() {
2032
- }
2033
-
2034
- class ListSubscriptionsByTopicCommand extends Command
2035
- .classBuilder()
2036
- .ep(commonParams)
2037
- .m(function (Command, cs, config, o) {
2038
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2039
- })
2040
- .s("AmazonSimpleNotificationService", "ListSubscriptionsByTopic", {})
2041
- .n("SNSClient", "ListSubscriptionsByTopicCommand")
2042
- .sc(ListSubscriptionsByTopic$)
2043
- .build() {
2044
- }
2045
-
2046
- class ListSubscriptionsCommand extends Command
2047
- .classBuilder()
2048
- .ep(commonParams)
2049
- .m(function (Command, cs, config, o) {
2050
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2051
- })
2052
- .s("AmazonSimpleNotificationService", "ListSubscriptions", {})
2053
- .n("SNSClient", "ListSubscriptionsCommand")
2054
- .sc(ListSubscriptions$)
2055
- .build() {
2056
- }
2057
-
2058
- class ListTagsForResourceCommand extends Command
2059
- .classBuilder()
2060
- .ep(commonParams)
2061
- .m(function (Command, cs, config, o) {
2062
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2063
- })
2064
- .s("AmazonSimpleNotificationService", "ListTagsForResource", {})
2065
- .n("SNSClient", "ListTagsForResourceCommand")
2066
- .sc(ListTagsForResource$)
2067
- .build() {
2068
- }
2069
-
2070
- class ListTopicsCommand extends Command
2071
- .classBuilder()
2072
- .ep(commonParams)
2073
- .m(function (Command, cs, config, o) {
2074
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2075
- })
2076
- .s("AmazonSimpleNotificationService", "ListTopics", {})
2077
- .n("SNSClient", "ListTopicsCommand")
2078
- .sc(ListTopics$)
2079
- .build() {
2080
- }
2081
-
2082
- class OptInPhoneNumberCommand extends Command
2083
- .classBuilder()
2084
- .ep(commonParams)
2085
- .m(function (Command, cs, config, o) {
2086
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2087
- })
2088
- .s("AmazonSimpleNotificationService", "OptInPhoneNumber", {})
2089
- .n("SNSClient", "OptInPhoneNumberCommand")
2090
- .sc(OptInPhoneNumber$)
2091
- .build() {
2092
- }
2093
-
2094
- class PublishBatchCommand extends Command
2095
- .classBuilder()
2096
- .ep(commonParams)
2097
- .m(function (Command, cs, config, o) {
2098
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2099
- })
2100
- .s("AmazonSimpleNotificationService", "PublishBatch", {})
2101
- .n("SNSClient", "PublishBatchCommand")
2102
- .sc(PublishBatch$)
2103
- .build() {
2104
- }
2105
-
2106
- class PublishCommand extends Command
2107
- .classBuilder()
2108
- .ep(commonParams)
2109
- .m(function (Command, cs, config, o) {
2110
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2111
- })
2112
- .s("AmazonSimpleNotificationService", "Publish", {})
2113
- .n("SNSClient", "PublishCommand")
2114
- .sc(Publish$)
2115
- .build() {
2116
- }
2117
-
2118
- class PutDataProtectionPolicyCommand extends Command
2119
- .classBuilder()
2120
- .ep(commonParams)
2121
- .m(function (Command, cs, config, o) {
2122
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2123
- })
2124
- .s("AmazonSimpleNotificationService", "PutDataProtectionPolicy", {})
2125
- .n("SNSClient", "PutDataProtectionPolicyCommand")
2126
- .sc(PutDataProtectionPolicy$)
2127
- .build() {
2128
- }
2129
-
2130
- class RemovePermissionCommand extends Command
2131
- .classBuilder()
2132
- .ep(commonParams)
2133
- .m(function (Command, cs, config, o) {
2134
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2135
- })
2136
- .s("AmazonSimpleNotificationService", "RemovePermission", {})
2137
- .n("SNSClient", "RemovePermissionCommand")
2138
- .sc(RemovePermission$)
2139
- .build() {
2140
- }
2141
-
2142
- class SetEndpointAttributesCommand extends Command
2143
- .classBuilder()
2144
- .ep(commonParams)
2145
- .m(function (Command, cs, config, o) {
2146
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2147
- })
2148
- .s("AmazonSimpleNotificationService", "SetEndpointAttributes", {})
2149
- .n("SNSClient", "SetEndpointAttributesCommand")
2150
- .sc(SetEndpointAttributes$)
2151
- .build() {
2152
- }
2153
-
2154
- class SetPlatformApplicationAttributesCommand extends Command
2155
- .classBuilder()
2156
- .ep(commonParams)
2157
- .m(function (Command, cs, config, o) {
2158
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2159
- })
2160
- .s("AmazonSimpleNotificationService", "SetPlatformApplicationAttributes", {})
2161
- .n("SNSClient", "SetPlatformApplicationAttributesCommand")
2162
- .sc(SetPlatformApplicationAttributes$)
2163
- .build() {
2164
- }
2165
-
2166
- class SetSMSAttributesCommand extends Command
2167
- .classBuilder()
2168
- .ep(commonParams)
2169
- .m(function (Command, cs, config, o) {
2170
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2171
- })
2172
- .s("AmazonSimpleNotificationService", "SetSMSAttributes", {})
2173
- .n("SNSClient", "SetSMSAttributesCommand")
2174
- .sc(SetSMSAttributes$)
2175
- .build() {
2176
- }
2177
-
2178
- class SetSubscriptionAttributesCommand extends Command
2179
- .classBuilder()
2180
- .ep(commonParams)
2181
- .m(function (Command, cs, config, o) {
2182
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2183
- })
2184
- .s("AmazonSimpleNotificationService", "SetSubscriptionAttributes", {})
2185
- .n("SNSClient", "SetSubscriptionAttributesCommand")
2186
- .sc(SetSubscriptionAttributes$)
2187
- .build() {
2188
- }
2189
-
2190
- class SetTopicAttributesCommand extends Command
2191
- .classBuilder()
2192
- .ep(commonParams)
2193
- .m(function (Command, cs, config, o) {
2194
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2195
- })
2196
- .s("AmazonSimpleNotificationService", "SetTopicAttributes", {})
2197
- .n("SNSClient", "SetTopicAttributesCommand")
2198
- .sc(SetTopicAttributes$)
2199
- .build() {
2200
- }
2201
-
2202
- class SubscribeCommand extends Command
2203
- .classBuilder()
2204
- .ep(commonParams)
2205
- .m(function (Command, cs, config, o) {
2206
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2207
- })
2208
- .s("AmazonSimpleNotificationService", "Subscribe", {})
2209
- .n("SNSClient", "SubscribeCommand")
2210
- .sc(Subscribe$)
2211
- .build() {
2212
- }
2213
-
2214
- class TagResourceCommand extends Command
2215
- .classBuilder()
2216
- .ep(commonParams)
2217
- .m(function (Command, cs, config, o) {
2218
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2219
- })
2220
- .s("AmazonSimpleNotificationService", "TagResource", {})
2221
- .n("SNSClient", "TagResourceCommand")
2222
- .sc(TagResource$)
2223
- .build() {
2224
- }
2225
-
2226
- class UnsubscribeCommand extends Command
2227
- .classBuilder()
2228
- .ep(commonParams)
2229
- .m(function (Command, cs, config, o) {
2230
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2231
- })
2232
- .s("AmazonSimpleNotificationService", "Unsubscribe", {})
2233
- .n("SNSClient", "UnsubscribeCommand")
2234
- .sc(Unsubscribe$)
2235
- .build() {
2236
- }
2237
-
2238
- class UntagResourceCommand extends Command
2239
- .classBuilder()
2240
- .ep(commonParams)
2241
- .m(function (Command, cs, config, o) {
2242
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2243
- })
2244
- .s("AmazonSimpleNotificationService", "UntagResource", {})
2245
- .n("SNSClient", "UntagResourceCommand")
2246
- .sc(UntagResource$)
2247
- .build() {
2248
- }
2249
-
2250
- class VerifySMSSandboxPhoneNumberCommand extends Command
2251
- .classBuilder()
2252
- .ep(commonParams)
2253
- .m(function (Command, cs, config, o) {
2254
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2255
- })
2256
- .s("AmazonSimpleNotificationService", "VerifySMSSandboxPhoneNumber", {})
2257
- .n("SNSClient", "VerifySMSSandboxPhoneNumberCommand")
2258
- .sc(VerifySMSSandboxPhoneNumber$)
2259
- .build() {
1759
+ const command = makeBuilder(commonParams, "AmazonSimpleNotificationService", "SNSClient", getEndpointPlugin);
1760
+ const _ep0 = {};
1761
+ const _mw0 = (Command, cs, config, o) => [];
1762
+
1763
+ class AddPermissionCommand extends command(_ep0, _mw0, "AddPermission", AddPermission$) {
1764
+ }
1765
+
1766
+ class CheckIfPhoneNumberIsOptedOutCommand extends command(_ep0, _mw0, "CheckIfPhoneNumberIsOptedOut", CheckIfPhoneNumberIsOptedOut$) {
1767
+ }
1768
+
1769
+ class ConfirmSubscriptionCommand extends command(_ep0, _mw0, "ConfirmSubscription", ConfirmSubscription$) {
1770
+ }
1771
+
1772
+ class CreatePlatformApplicationCommand extends command(_ep0, _mw0, "CreatePlatformApplication", CreatePlatformApplication$) {
1773
+ }
1774
+
1775
+ class CreatePlatformEndpointCommand extends command(_ep0, _mw0, "CreatePlatformEndpoint", CreatePlatformEndpoint$) {
1776
+ }
1777
+
1778
+ class CreateSMSSandboxPhoneNumberCommand extends command(_ep0, _mw0, "CreateSMSSandboxPhoneNumber", CreateSMSSandboxPhoneNumber$) {
1779
+ }
1780
+
1781
+ class CreateTopicCommand extends command(_ep0, _mw0, "CreateTopic", CreateTopic$) {
1782
+ }
1783
+
1784
+ class DeleteEndpointCommand extends command(_ep0, _mw0, "DeleteEndpoint", DeleteEndpoint$) {
1785
+ }
1786
+
1787
+ class DeletePlatformApplicationCommand extends command(_ep0, _mw0, "DeletePlatformApplication", DeletePlatformApplication$) {
1788
+ }
1789
+
1790
+ class DeleteSMSSandboxPhoneNumberCommand extends command(_ep0, _mw0, "DeleteSMSSandboxPhoneNumber", DeleteSMSSandboxPhoneNumber$) {
1791
+ }
1792
+
1793
+ class DeleteTopicCommand extends command(_ep0, _mw0, "DeleteTopic", DeleteTopic$) {
1794
+ }
1795
+
1796
+ class GetDataProtectionPolicyCommand extends command(_ep0, _mw0, "GetDataProtectionPolicy", GetDataProtectionPolicy$) {
1797
+ }
1798
+
1799
+ class GetEndpointAttributesCommand extends command(_ep0, _mw0, "GetEndpointAttributes", GetEndpointAttributes$) {
1800
+ }
1801
+
1802
+ class GetPlatformApplicationAttributesCommand extends command(_ep0, _mw0, "GetPlatformApplicationAttributes", GetPlatformApplicationAttributes$) {
1803
+ }
1804
+
1805
+ class GetSMSAttributesCommand extends command(_ep0, _mw0, "GetSMSAttributes", GetSMSAttributes$) {
1806
+ }
1807
+
1808
+ class GetSMSSandboxAccountStatusCommand extends command(_ep0, _mw0, "GetSMSSandboxAccountStatus", GetSMSSandboxAccountStatus$) {
1809
+ }
1810
+
1811
+ class GetSubscriptionAttributesCommand extends command(_ep0, _mw0, "GetSubscriptionAttributes", GetSubscriptionAttributes$) {
1812
+ }
1813
+
1814
+ class GetTopicAttributesCommand extends command(_ep0, _mw0, "GetTopicAttributes", GetTopicAttributes$) {
1815
+ }
1816
+
1817
+ class ListEndpointsByPlatformApplicationCommand extends command(_ep0, _mw0, "ListEndpointsByPlatformApplication", ListEndpointsByPlatformApplication$) {
1818
+ }
1819
+
1820
+ class ListOriginationNumbersCommand extends command(_ep0, _mw0, "ListOriginationNumbers", ListOriginationNumbers$) {
1821
+ }
1822
+
1823
+ class ListPhoneNumbersOptedOutCommand extends command(_ep0, _mw0, "ListPhoneNumbersOptedOut", ListPhoneNumbersOptedOut$) {
1824
+ }
1825
+
1826
+ class ListPlatformApplicationsCommand extends command(_ep0, _mw0, "ListPlatformApplications", ListPlatformApplications$) {
1827
+ }
1828
+
1829
+ class ListSMSSandboxPhoneNumbersCommand extends command(_ep0, _mw0, "ListSMSSandboxPhoneNumbers", ListSMSSandboxPhoneNumbers$) {
1830
+ }
1831
+
1832
+ class ListSubscriptionsByTopicCommand extends command(_ep0, _mw0, "ListSubscriptionsByTopic", ListSubscriptionsByTopic$) {
1833
+ }
1834
+
1835
+ class ListSubscriptionsCommand extends command(_ep0, _mw0, "ListSubscriptions", ListSubscriptions$) {
1836
+ }
1837
+
1838
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1839
+ }
1840
+
1841
+ class ListTopicsCommand extends command(_ep0, _mw0, "ListTopics", ListTopics$) {
1842
+ }
1843
+
1844
+ class OptInPhoneNumberCommand extends command(_ep0, _mw0, "OptInPhoneNumber", OptInPhoneNumber$) {
1845
+ }
1846
+
1847
+ class PublishBatchCommand extends command(_ep0, _mw0, "PublishBatch", PublishBatch$) {
1848
+ }
1849
+
1850
+ class PublishCommand extends command(_ep0, _mw0, "Publish", Publish$) {
1851
+ }
1852
+
1853
+ class PutDataProtectionPolicyCommand extends command(_ep0, _mw0, "PutDataProtectionPolicy", PutDataProtectionPolicy$) {
1854
+ }
1855
+
1856
+ class RemovePermissionCommand extends command(_ep0, _mw0, "RemovePermission", RemovePermission$) {
1857
+ }
1858
+
1859
+ class SetEndpointAttributesCommand extends command(_ep0, _mw0, "SetEndpointAttributes", SetEndpointAttributes$) {
1860
+ }
1861
+
1862
+ class SetPlatformApplicationAttributesCommand extends command(_ep0, _mw0, "SetPlatformApplicationAttributes", SetPlatformApplicationAttributes$) {
1863
+ }
1864
+
1865
+ class SetSMSAttributesCommand extends command(_ep0, _mw0, "SetSMSAttributes", SetSMSAttributes$) {
1866
+ }
1867
+
1868
+ class SetSubscriptionAttributesCommand extends command(_ep0, _mw0, "SetSubscriptionAttributes", SetSubscriptionAttributes$) {
1869
+ }
1870
+
1871
+ class SetTopicAttributesCommand extends command(_ep0, _mw0, "SetTopicAttributes", SetTopicAttributes$) {
1872
+ }
1873
+
1874
+ class SubscribeCommand extends command(_ep0, _mw0, "Subscribe", Subscribe$) {
1875
+ }
1876
+
1877
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1878
+ }
1879
+
1880
+ class UnsubscribeCommand extends command(_ep0, _mw0, "Unsubscribe", Unsubscribe$) {
1881
+ }
1882
+
1883
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1884
+ }
1885
+
1886
+ class VerifySMSSandboxPhoneNumberCommand extends command(_ep0, _mw0, "VerifySMSSandboxPhoneNumber", VerifySMSSandboxPhoneNumber$) {
2260
1887
  }
2261
1888
 
2262
1889
  const paginateListEndpointsByPlatformApplication = createPaginator(SNSClient, ListEndpointsByPlatformApplicationCommand, "NextToken", "NextToken", "");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AmazonSimpleNotificationService", "SNSClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];