@aws-sdk/client-sns 3.335.0 → 3.338.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 (181) hide show
  1. package/dist-cjs/SNSClient.js +2 -1
  2. package/dist-cjs/commands/AddPermissionCommand.js +2 -1
  3. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -1
  4. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +2 -1
  5. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +2 -1
  6. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +2 -1
  7. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -1
  8. package/dist-cjs/commands/CreateTopicCommand.js +2 -1
  9. package/dist-cjs/commands/DeleteEndpointCommand.js +2 -1
  10. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +2 -1
  11. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -1
  12. package/dist-cjs/commands/DeleteTopicCommand.js +2 -1
  13. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +2 -1
  14. package/dist-cjs/commands/GetEndpointAttributesCommand.js +2 -1
  15. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +2 -1
  16. package/dist-cjs/commands/GetSMSAttributesCommand.js +2 -1
  17. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +2 -1
  18. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +2 -1
  19. package/dist-cjs/commands/GetTopicAttributesCommand.js +2 -1
  20. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +2 -1
  21. package/dist-cjs/commands/ListOriginationNumbersCommand.js +2 -1
  22. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +2 -1
  23. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +2 -1
  24. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -1
  25. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +2 -1
  26. package/dist-cjs/commands/ListSubscriptionsCommand.js +2 -1
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  28. package/dist-cjs/commands/ListTopicsCommand.js +2 -1
  29. package/dist-cjs/commands/OptInPhoneNumberCommand.js +2 -1
  30. package/dist-cjs/commands/PublishBatchCommand.js +2 -1
  31. package/dist-cjs/commands/PublishCommand.js +2 -1
  32. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +2 -1
  33. package/dist-cjs/commands/RemovePermissionCommand.js +2 -1
  34. package/dist-cjs/commands/SetEndpointAttributesCommand.js +2 -1
  35. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +2 -1
  36. package/dist-cjs/commands/SetSMSAttributesCommand.js +2 -1
  37. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +2 -1
  38. package/dist-cjs/commands/SetTopicAttributesCommand.js +2 -1
  39. package/dist-cjs/commands/SubscribeCommand.js +2 -1
  40. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  41. package/dist-cjs/commands/UnsubscribeCommand.js +2 -1
  42. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  43. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -1
  44. package/dist-cjs/index.js +2 -2
  45. package/dist-cjs/models/SNSServiceException.js +2 -1
  46. package/dist-es/SNSClient.js +1 -0
  47. package/dist-es/commands/AddPermissionCommand.js +1 -0
  48. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +1 -0
  49. package/dist-es/commands/ConfirmSubscriptionCommand.js +1 -0
  50. package/dist-es/commands/CreatePlatformApplicationCommand.js +1 -0
  51. package/dist-es/commands/CreatePlatformEndpointCommand.js +1 -0
  52. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +1 -0
  53. package/dist-es/commands/CreateTopicCommand.js +1 -0
  54. package/dist-es/commands/DeleteEndpointCommand.js +1 -0
  55. package/dist-es/commands/DeletePlatformApplicationCommand.js +1 -0
  56. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +1 -0
  57. package/dist-es/commands/DeleteTopicCommand.js +1 -0
  58. package/dist-es/commands/GetDataProtectionPolicyCommand.js +1 -0
  59. package/dist-es/commands/GetEndpointAttributesCommand.js +1 -0
  60. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +1 -0
  61. package/dist-es/commands/GetSMSAttributesCommand.js +1 -0
  62. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +1 -0
  63. package/dist-es/commands/GetSubscriptionAttributesCommand.js +1 -0
  64. package/dist-es/commands/GetTopicAttributesCommand.js +1 -0
  65. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +1 -0
  66. package/dist-es/commands/ListOriginationNumbersCommand.js +1 -0
  67. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +1 -0
  68. package/dist-es/commands/ListPlatformApplicationsCommand.js +1 -0
  69. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +1 -0
  70. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +1 -0
  71. package/dist-es/commands/ListSubscriptionsCommand.js +1 -0
  72. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  73. package/dist-es/commands/ListTopicsCommand.js +1 -0
  74. package/dist-es/commands/OptInPhoneNumberCommand.js +1 -0
  75. package/dist-es/commands/PublishBatchCommand.js +1 -0
  76. package/dist-es/commands/PublishCommand.js +1 -0
  77. package/dist-es/commands/PutDataProtectionPolicyCommand.js +1 -0
  78. package/dist-es/commands/RemovePermissionCommand.js +1 -0
  79. package/dist-es/commands/SetEndpointAttributesCommand.js +1 -0
  80. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +1 -0
  81. package/dist-es/commands/SetSMSAttributesCommand.js +1 -0
  82. package/dist-es/commands/SetSubscriptionAttributesCommand.js +1 -0
  83. package/dist-es/commands/SetTopicAttributesCommand.js +1 -0
  84. package/dist-es/commands/SubscribeCommand.js +1 -0
  85. package/dist-es/commands/TagResourceCommand.js +1 -0
  86. package/dist-es/commands/UnsubscribeCommand.js +1 -0
  87. package/dist-es/commands/UntagResourceCommand.js +1 -0
  88. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +1 -0
  89. package/dist-es/index.js +2 -2
  90. package/dist-es/models/SNSServiceException.js +1 -0
  91. package/dist-types/SNSClient.d.ts +3 -3
  92. package/dist-types/commands/AddPermissionCommand.d.ts +4 -0
  93. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +4 -0
  94. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +4 -0
  95. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +4 -0
  96. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +4 -0
  97. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +4 -0
  98. package/dist-types/commands/CreateTopicCommand.d.ts +4 -0
  99. package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
  100. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +4 -0
  101. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +4 -0
  102. package/dist-types/commands/DeleteTopicCommand.d.ts +4 -0
  103. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +4 -0
  104. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +4 -0
  105. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +4 -0
  106. package/dist-types/commands/GetSMSAttributesCommand.d.ts +4 -0
  107. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +4 -0
  108. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +4 -0
  109. package/dist-types/commands/GetTopicAttributesCommand.d.ts +4 -0
  110. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +4 -0
  111. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +4 -0
  112. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +4 -0
  113. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +4 -0
  114. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +4 -0
  115. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +4 -0
  116. package/dist-types/commands/ListSubscriptionsCommand.d.ts +4 -0
  117. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  118. package/dist-types/commands/ListTopicsCommand.d.ts +4 -0
  119. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +4 -0
  120. package/dist-types/commands/PublishBatchCommand.d.ts +4 -0
  121. package/dist-types/commands/PublishCommand.d.ts +4 -0
  122. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +4 -0
  123. package/dist-types/commands/RemovePermissionCommand.d.ts +4 -0
  124. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +4 -0
  125. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +4 -0
  126. package/dist-types/commands/SetSMSAttributesCommand.d.ts +4 -0
  127. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +4 -0
  128. package/dist-types/commands/SetTopicAttributesCommand.d.ts +4 -0
  129. package/dist-types/commands/SubscribeCommand.d.ts +4 -0
  130. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  131. package/dist-types/commands/UnsubscribeCommand.d.ts +4 -0
  132. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  133. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +4 -0
  134. package/dist-types/index.d.ts +19 -2
  135. package/dist-types/models/SNSServiceException.d.ts +1 -0
  136. package/dist-types/ts3.4/SNSClient.d.ts +3 -3
  137. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +1 -0
  138. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +1 -0
  139. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +1 -0
  140. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +1 -0
  141. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +1 -0
  142. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +1 -0
  143. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +1 -0
  144. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +1 -0
  145. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +1 -0
  146. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +1 -0
  147. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +1 -0
  148. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +1 -0
  149. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +1 -0
  150. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +1 -0
  151. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +1 -0
  152. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +1 -0
  153. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +1 -0
  154. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +1 -0
  155. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +1 -0
  156. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +1 -0
  157. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +1 -0
  158. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +1 -0
  159. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +1 -0
  160. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +1 -0
  161. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -0
  162. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  163. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +1 -0
  164. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +1 -0
  165. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +1 -0
  166. package/dist-types/ts3.4/commands/PublishCommand.d.ts +1 -0
  167. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +1 -0
  168. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +1 -0
  169. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +1 -0
  170. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +1 -0
  171. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +1 -0
  172. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +1 -0
  173. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +1 -0
  174. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +1 -0
  175. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  176. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +1 -0
  177. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  178. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +1 -0
  179. package/dist-types/ts3.4/index.d.ts +2 -2
  180. package/dist-types/ts3.4/models/SNSServiceException.d.ts +1 -0
  181. package/package.json +28 -28
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetSMSAttributesInput, GetSMSAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetSMSSandboxAccountStatusInput, GetSMSSandboxAccountStatusResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetSubscriptionAttributesInput, GetSubscriptionAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GetTopicAttributesInput, GetTopicAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListEndpointsByPlatformApplicationInput, ListEndpointsByPlatformApplicationResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListOriginationNumbersRequest, ListOriginationNumbersResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListPhoneNumbersOptedOutInput, ListPhoneNumbersOptedOutResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListPlatformApplicationsInput, ListPlatformApplicationsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListSMSSandboxPhoneNumbersInput, ListSMSSandboxPhoneNumbersResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListSubscriptionsByTopicInput, ListSubscriptionsByTopicResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListSubscriptionsInput, ListSubscriptionsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { ListTopicsInput, ListTopicsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { OptInPhoneNumberInput, OptInPhoneNumberResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { PublishBatchInput, PublishBatchResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { PublishInput, PublishResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { PutDataProtectionPolicyInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { RemovePermissionInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SetEndpointAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SetPlatformApplicationAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SetSMSAttributesInput, SetSMSAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SetSubscriptionAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SetTopicAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { SubscribeInput, SubscribeResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { UnsubscribeInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { VerifySMSSandboxPhoneNumberInput, VerifySMSSandboxPhoneNumberResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,23 @@
1
- export * from "./SNS";
1
+ /**
2
+ * <fullname>Amazon Simple Notification Service</fullname>
3
+ * <p>Amazon Simple Notification Service (Amazon SNS) is a web service that enables you
4
+ * to build distributed web-enabled applications. Applications can use Amazon SNS to easily push
5
+ * real-time notification messages to interested subscribers over multiple delivery
6
+ * protocols. For more information about this product see the <a href="http://aws.amazon.com/sns/">Amazon SNS product page</a>. For detailed information about Amazon SNS features
7
+ * and their associated API calls, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/">Amazon SNS Developer Guide</a>. </p>
8
+ * <p>For information on the permissions you need to use this API, see <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-authentication-and-access-control.html">Identity and access management in Amazon SNS</a> in the <i>Amazon SNS Developer
9
+ * Guide.</i>
10
+ * </p>
11
+ * <p>We also provide SDKs that enable you to access Amazon SNS from your preferred programming
12
+ * language. The SDKs contain functionality that automatically takes care of tasks such as:
13
+ * cryptographically signing your service requests, retrying requests, and handling error
14
+ * responses. For a list of available SDKs, go to <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p>
15
+ *
16
+ * @packageDocumentation
17
+ */
2
18
  export * from "./SNSClient";
19
+ export * from "./SNS";
3
20
  export * from "./commands";
4
- export * from "./models";
5
21
  export * from "./pagination";
22
+ export * from "./models";
6
23
  export { SNSServiceException } from "./models/SNSServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -219,6 +219,7 @@ import {
219
219
  ClientResolvedEndpointParameters,
220
220
  EndpointParameters,
221
221
  } from "./endpoint/EndpointParameters";
222
+ export { __Client };
222
223
  export type ServiceInputTypes =
223
224
  | AddPermissionCommandInput
224
225
  | CheckIfPhoneNumberIsOptedOutCommandInput
@@ -329,7 +330,7 @@ export interface ClientDefaults
329
330
  logger?: __Logger;
330
331
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
331
332
  }
332
- type SNSClientConfigType = Partial<
333
+ export type SNSClientConfigType = Partial<
333
334
  __SmithyConfiguration<__HttpHandlerOptions>
334
335
  > &
335
336
  ClientDefaults &
@@ -341,7 +342,7 @@ type SNSClientConfigType = Partial<
341
342
  UserAgentInputConfig &
342
343
  ClientInputEndpointParameters;
343
344
  export interface SNSClientConfig extends SNSClientConfigType {}
344
- type SNSClientResolvedConfigType =
345
+ export type SNSClientResolvedConfigType =
345
346
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
346
347
  Required<ClientDefaults> &
347
348
  RegionResolvedConfig &
@@ -362,4 +363,3 @@ export declare class SNSClient extends __Client<
362
363
  constructor(configuration: SNSClientConfig);
363
364
  destroy(): void;
364
365
  }
365
- export {};
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  SNSClientResolvedConfig,
14
14
  } from "../SNSClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface AddPermissionCommandInput extends AddPermissionInput {}
16
17
  export interface AddPermissionCommandOutput extends __MetadataBearer {}
17
18
  export declare class AddPermissionCommand extends $Command<
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CheckIfPhoneNumberIsOptedOutCommandInput
19
20
  extends CheckIfPhoneNumberIsOptedOutInput {}
20
21
  export interface CheckIfPhoneNumberIsOptedOutCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ConfirmSubscriptionCommandInput
19
20
  extends ConfirmSubscriptionInput {}
20
21
  export interface ConfirmSubscriptionCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreatePlatformApplicationCommandInput
19
20
  extends CreatePlatformApplicationInput {}
20
21
  export interface CreatePlatformApplicationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreatePlatformEndpointCommandInput
19
20
  extends CreatePlatformEndpointInput {}
20
21
  export interface CreatePlatformEndpointCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateSMSSandboxPhoneNumberCommandInput
19
20
  extends CreateSMSSandboxPhoneNumberInput {}
20
21
  export interface CreateSMSSandboxPhoneNumberCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  SNSClientResolvedConfig,
14
14
  } from "../SNSClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface CreateTopicCommandInput extends CreateTopicInput {}
16
17
  export interface CreateTopicCommandOutput
17
18
  extends CreateTopicResponse,
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  SNSClientResolvedConfig,
14
14
  } from "../SNSClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeleteEndpointCommandInput extends DeleteEndpointInput {}
16
17
  export interface DeleteEndpointCommandOutput extends __MetadataBearer {}
17
18
  export declare class DeleteEndpointCommand extends $Command<
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  SNSClientResolvedConfig,
14
14
  } from "../SNSClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeletePlatformApplicationCommandInput
16
17
  extends DeletePlatformApplicationInput {}
17
18
  export interface DeletePlatformApplicationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteSMSSandboxPhoneNumberCommandInput
19
20
  extends DeleteSMSSandboxPhoneNumberInput {}
20
21
  export interface DeleteSMSSandboxPhoneNumberCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  SNSClientResolvedConfig,
14
14
  } from "../SNSClient";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface DeleteTopicCommandInput extends DeleteTopicInput {}
16
17
  export interface DeleteTopicCommandOutput extends __MetadataBearer {}
17
18
  export declare class DeleteTopicCommand extends $Command<
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetDataProtectionPolicyCommandInput
19
20
  extends GetDataProtectionPolicyInput {}
20
21
  export interface GetDataProtectionPolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetEndpointAttributesCommandInput
19
20
  extends GetEndpointAttributesInput {}
20
21
  export interface GetEndpointAttributesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetPlatformApplicationAttributesCommandInput
19
20
  extends GetPlatformApplicationAttributesInput {}
20
21
  export interface GetPlatformApplicationAttributesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetSMSAttributesCommandInput extends GetSMSAttributesInput {}
19
20
  export interface GetSMSAttributesCommandOutput
20
21
  extends GetSMSAttributesResponse,
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetSMSSandboxAccountStatusCommandInput
19
20
  extends GetSMSSandboxAccountStatusInput {}
20
21
  export interface GetSMSSandboxAccountStatusCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetSubscriptionAttributesCommandInput
19
20
  extends GetSubscriptionAttributesInput {}
20
21
  export interface GetSubscriptionAttributesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetTopicAttributesCommandInput
19
20
  extends GetTopicAttributesInput {}
20
21
  export interface GetTopicAttributesCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListEndpointsByPlatformApplicationCommandInput
19
20
  extends ListEndpointsByPlatformApplicationInput {}
20
21
  export interface ListEndpointsByPlatformApplicationCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListOriginationNumbersCommandInput
19
20
  extends ListOriginationNumbersRequest {}
20
21
  export interface ListOriginationNumbersCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListPhoneNumbersOptedOutCommandInput
19
20
  extends ListPhoneNumbersOptedOutInput {}
20
21
  export interface ListPhoneNumbersOptedOutCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListPlatformApplicationsCommandInput
19
20
  extends ListPlatformApplicationsInput {}
20
21
  export interface ListPlatformApplicationsCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListSMSSandboxPhoneNumbersCommandInput
19
20
  extends ListSMSSandboxPhoneNumbersInput {}
20
21
  export interface ListSMSSandboxPhoneNumbersCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ServiceOutputTypes,
16
16
  SNSClientResolvedConfig,
17
17
  } from "../SNSClient";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListSubscriptionsByTopicCommandInput
19
20
  extends ListSubscriptionsByTopicInput {}
20
21
  export interface ListSubscriptionsByTopicCommandOutput