@aws-sdk/client-sns 3.362.0 → 3.369.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 (223) hide show
  1. package/dist-cjs/SNS.js +1 -1
  2. package/dist-cjs/SNSClient.js +5 -5
  3. package/dist-cjs/commands/AddPermissionCommand.js +3 -3
  4. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
  5. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +3 -3
  6. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +3 -3
  7. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +3 -3
  8. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
  9. package/dist-cjs/commands/CreateTopicCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteTopicCommand.js +3 -3
  14. package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +3 -3
  15. package/dist-cjs/commands/GetEndpointAttributesCommand.js +3 -3
  16. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +3 -3
  17. package/dist-cjs/commands/GetSMSAttributesCommand.js +3 -3
  18. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
  19. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +3 -3
  20. package/dist-cjs/commands/GetTopicAttributesCommand.js +3 -3
  21. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
  22. package/dist-cjs/commands/ListOriginationNumbersCommand.js +3 -3
  23. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
  24. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +3 -3
  25. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
  26. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +3 -3
  27. package/dist-cjs/commands/ListSubscriptionsCommand.js +3 -3
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  29. package/dist-cjs/commands/ListTopicsCommand.js +3 -3
  30. package/dist-cjs/commands/OptInPhoneNumberCommand.js +3 -3
  31. package/dist-cjs/commands/PublishBatchCommand.js +3 -3
  32. package/dist-cjs/commands/PublishCommand.js +3 -3
  33. package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +3 -3
  34. package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
  35. package/dist-cjs/commands/SetEndpointAttributesCommand.js +3 -3
  36. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +3 -3
  37. package/dist-cjs/commands/SetSMSAttributesCommand.js +3 -3
  38. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +3 -3
  39. package/dist-cjs/commands/SetTopicAttributesCommand.js +3 -3
  40. package/dist-cjs/commands/SubscribeCommand.js +3 -3
  41. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  42. package/dist-cjs/commands/UnsubscribeCommand.js +3 -3
  43. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  44. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
  45. package/dist-cjs/models/SNSServiceException.js +1 -1
  46. package/dist-cjs/protocols/Aws_query.js +1 -1
  47. package/dist-cjs/runtimeConfig.browser.js +7 -7
  48. package/dist-cjs/runtimeConfig.js +10 -10
  49. package/dist-cjs/runtimeConfig.shared.js +4 -4
  50. package/dist-es/SNS.js +1 -1
  51. package/dist-es/SNSClient.js +5 -5
  52. package/dist-es/commands/AddPermissionCommand.js +3 -3
  53. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
  54. package/dist-es/commands/ConfirmSubscriptionCommand.js +3 -3
  55. package/dist-es/commands/CreatePlatformApplicationCommand.js +3 -3
  56. package/dist-es/commands/CreatePlatformEndpointCommand.js +3 -3
  57. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
  58. package/dist-es/commands/CreateTopicCommand.js +3 -3
  59. package/dist-es/commands/DeleteEndpointCommand.js +3 -3
  60. package/dist-es/commands/DeletePlatformApplicationCommand.js +3 -3
  61. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
  62. package/dist-es/commands/DeleteTopicCommand.js +3 -3
  63. package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -3
  64. package/dist-es/commands/GetEndpointAttributesCommand.js +3 -3
  65. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +3 -3
  66. package/dist-es/commands/GetSMSAttributesCommand.js +3 -3
  67. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
  68. package/dist-es/commands/GetSubscriptionAttributesCommand.js +3 -3
  69. package/dist-es/commands/GetTopicAttributesCommand.js +3 -3
  70. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
  71. package/dist-es/commands/ListOriginationNumbersCommand.js +3 -3
  72. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
  73. package/dist-es/commands/ListPlatformApplicationsCommand.js +3 -3
  74. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
  75. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +3 -3
  76. package/dist-es/commands/ListSubscriptionsCommand.js +3 -3
  77. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  78. package/dist-es/commands/ListTopicsCommand.js +3 -3
  79. package/dist-es/commands/OptInPhoneNumberCommand.js +3 -3
  80. package/dist-es/commands/PublishBatchCommand.js +3 -3
  81. package/dist-es/commands/PublishCommand.js +3 -3
  82. package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -3
  83. package/dist-es/commands/RemovePermissionCommand.js +3 -3
  84. package/dist-es/commands/SetEndpointAttributesCommand.js +3 -3
  85. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +3 -3
  86. package/dist-es/commands/SetSMSAttributesCommand.js +3 -3
  87. package/dist-es/commands/SetSubscriptionAttributesCommand.js +3 -3
  88. package/dist-es/commands/SetTopicAttributesCommand.js +3 -3
  89. package/dist-es/commands/SubscribeCommand.js +3 -3
  90. package/dist-es/commands/TagResourceCommand.js +3 -3
  91. package/dist-es/commands/UnsubscribeCommand.js +3 -3
  92. package/dist-es/commands/UntagResourceCommand.js +3 -3
  93. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
  94. package/dist-es/models/SNSServiceException.js +1 -1
  95. package/dist-es/protocols/Aws_query.js +1 -1
  96. package/dist-es/runtimeConfig.browser.js +7 -7
  97. package/dist-es/runtimeConfig.js +10 -10
  98. package/dist-es/runtimeConfig.shared.js +4 -4
  99. package/dist-types/SNS.d.ts +1 -1
  100. package/dist-types/SNSClient.d.ts +8 -8
  101. package/dist-types/commands/AddPermissionCommand.d.ts +3 -3
  102. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -3
  103. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +3 -3
  104. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +3 -3
  105. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +3 -3
  106. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -3
  107. package/dist-types/commands/CreateTopicCommand.d.ts +3 -3
  108. package/dist-types/commands/DeleteEndpointCommand.d.ts +3 -3
  109. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +3 -3
  110. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -3
  111. package/dist-types/commands/DeleteTopicCommand.d.ts +3 -3
  112. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
  113. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +3 -3
  114. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -3
  115. package/dist-types/commands/GetSMSAttributesCommand.d.ts +3 -3
  116. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -3
  117. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +3 -3
  118. package/dist-types/commands/GetTopicAttributesCommand.d.ts +3 -3
  119. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -3
  120. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +3 -3
  121. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -3
  122. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +3 -3
  123. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -3
  124. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +3 -3
  125. package/dist-types/commands/ListSubscriptionsCommand.d.ts +3 -3
  126. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  127. package/dist-types/commands/ListTopicsCommand.d.ts +3 -3
  128. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +3 -3
  129. package/dist-types/commands/PublishBatchCommand.d.ts +3 -3
  130. package/dist-types/commands/PublishCommand.d.ts +3 -3
  131. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
  132. package/dist-types/commands/RemovePermissionCommand.d.ts +3 -3
  133. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +3 -3
  134. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -3
  135. package/dist-types/commands/SetSMSAttributesCommand.d.ts +3 -3
  136. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +3 -3
  137. package/dist-types/commands/SetTopicAttributesCommand.d.ts +3 -3
  138. package/dist-types/commands/SubscribeCommand.d.ts +3 -3
  139. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  140. package/dist-types/commands/UnsubscribeCommand.d.ts +3 -3
  141. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  142. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -3
  143. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  144. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  145. package/dist-types/endpoint/ruleset.d.ts +1 -1
  146. package/dist-types/models/SNSServiceException.d.ts +1 -1
  147. package/dist-types/models/models_0.d.ts +1 -1
  148. package/dist-types/pagination/Interfaces.d.ts +1 -1
  149. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
  150. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
  151. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
  157. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  158. package/dist-types/runtimeConfig.d.ts +20 -20
  159. package/dist-types/runtimeConfig.native.d.ts +19 -19
  160. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  161. package/dist-types/ts3.4/SNS.d.ts +1 -1
  162. package/dist-types/ts3.4/SNSClient.d.ts +19 -21
  163. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +3 -3
  164. package/dist-types/ts3.4/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +3 -3
  165. package/dist-types/ts3.4/commands/ConfirmSubscriptionCommand.d.ts +3 -3
  166. package/dist-types/ts3.4/commands/CreatePlatformApplicationCommand.d.ts +3 -3
  167. package/dist-types/ts3.4/commands/CreatePlatformEndpointCommand.d.ts +3 -3
  168. package/dist-types/ts3.4/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +3 -3
  169. package/dist-types/ts3.4/commands/CreateTopicCommand.d.ts +3 -3
  170. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +3 -3
  171. package/dist-types/ts3.4/commands/DeletePlatformApplicationCommand.d.ts +3 -3
  172. package/dist-types/ts3.4/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +3 -3
  173. package/dist-types/ts3.4/commands/DeleteTopicCommand.d.ts +3 -3
  174. package/dist-types/ts3.4/commands/GetDataProtectionPolicyCommand.d.ts +3 -3
  175. package/dist-types/ts3.4/commands/GetEndpointAttributesCommand.d.ts +3 -3
  176. package/dist-types/ts3.4/commands/GetPlatformApplicationAttributesCommand.d.ts +3 -3
  177. package/dist-types/ts3.4/commands/GetSMSAttributesCommand.d.ts +3 -3
  178. package/dist-types/ts3.4/commands/GetSMSSandboxAccountStatusCommand.d.ts +3 -3
  179. package/dist-types/ts3.4/commands/GetSubscriptionAttributesCommand.d.ts +3 -3
  180. package/dist-types/ts3.4/commands/GetTopicAttributesCommand.d.ts +3 -3
  181. package/dist-types/ts3.4/commands/ListEndpointsByPlatformApplicationCommand.d.ts +3 -3
  182. package/dist-types/ts3.4/commands/ListOriginationNumbersCommand.d.ts +3 -3
  183. package/dist-types/ts3.4/commands/ListPhoneNumbersOptedOutCommand.d.ts +3 -3
  184. package/dist-types/ts3.4/commands/ListPlatformApplicationsCommand.d.ts +3 -3
  185. package/dist-types/ts3.4/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +3 -3
  186. package/dist-types/ts3.4/commands/ListSubscriptionsByTopicCommand.d.ts +3 -3
  187. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +3 -3
  188. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  189. package/dist-types/ts3.4/commands/ListTopicsCommand.d.ts +3 -3
  190. package/dist-types/ts3.4/commands/OptInPhoneNumberCommand.d.ts +3 -3
  191. package/dist-types/ts3.4/commands/PublishBatchCommand.d.ts +3 -3
  192. package/dist-types/ts3.4/commands/PublishCommand.d.ts +3 -3
  193. package/dist-types/ts3.4/commands/PutDataProtectionPolicyCommand.d.ts +3 -3
  194. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +3 -3
  195. package/dist-types/ts3.4/commands/SetEndpointAttributesCommand.d.ts +3 -3
  196. package/dist-types/ts3.4/commands/SetPlatformApplicationAttributesCommand.d.ts +3 -3
  197. package/dist-types/ts3.4/commands/SetSMSAttributesCommand.d.ts +3 -3
  198. package/dist-types/ts3.4/commands/SetSubscriptionAttributesCommand.d.ts +3 -3
  199. package/dist-types/ts3.4/commands/SetTopicAttributesCommand.d.ts +3 -3
  200. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +3 -3
  201. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  202. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +3 -3
  203. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  204. package/dist-types/ts3.4/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +3 -3
  205. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  206. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  207. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  208. package/dist-types/ts3.4/models/SNSServiceException.d.ts +1 -1
  209. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  210. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  211. package/dist-types/ts3.4/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +1 -1
  212. package/dist-types/ts3.4/pagination/ListOriginationNumbersPaginator.d.ts +1 -1
  213. package/dist-types/ts3.4/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +1 -1
  214. package/dist-types/ts3.4/pagination/ListPlatformApplicationsPaginator.d.ts +1 -1
  215. package/dist-types/ts3.4/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +1 -1
  216. package/dist-types/ts3.4/pagination/ListSubscriptionsByTopicPaginator.d.ts +1 -1
  217. package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +1 -1
  218. package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +1 -1
  219. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  220. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  221. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  222. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  223. package/package.json +34 -33
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_query";
5
5
  export { $Command };
6
6
  export class SubscribeCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_query";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_query";
5
5
  export { $Command };
6
6
  export class UnsubscribeCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_query";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command {
@@ -1,6 +1,6 @@
1
- import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { de_VerifySMSSandboxPhoneNumberCommand, se_VerifySMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
5
5
  export { $Command };
6
6
  export class VerifySMSSandboxPhoneNumberCommand extends $Command {
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
2
  export { __ServiceException };
3
3
  export class SNSServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -1,5 +1,5 @@
1
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, withBaseException, } from "@smithy/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { AuthorizationErrorException, BatchEntryIdsNotDistinctException, BatchRequestTooLongException, ConcurrentAccessException, EmptyBatchRequestException, EndpointDisabledException, FilterPolicyLimitExceededException, InternalErrorException, InvalidBatchEntryIdException, InvalidParameterException, InvalidParameterValueException, InvalidSecurityException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, KMSOptInRequired, KMSThrottlingException, NotFoundException, OptedOutException, PlatformApplicationDisabledException, ResourceNotFoundException, StaleTagException, SubscriptionLimitExceededException, TagLimitExceededException, TagPolicyException, ThrottledException, TooManyEntriesInBatchRequestException, TopicLimitExceededException, UserErrorException, ValidationException, VerificationException, } from "../models/models_0";
5
5
  import { SNSServiceException as __BaseException } from "../models/SNSServiceException";
@@ -1,14 +1,14 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
- import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
3
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -1,18 +1,18 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { Hash } from "@aws-sdk/hash-node";
6
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
- import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
- import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
- import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
11
4
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
5
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
6
+ import { Hash } from "@smithy/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
11
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
13
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
16
  export const getRuntimeConfig = (config) => {
17
17
  emitWarningIfUnsupportedVersion(process.version);
18
18
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -1,7 +1,7 @@
1
- import { NoOpLogger } from "@aws-sdk/smithy-client";
2
- import { parseUrl } from "@aws-sdk/url-parser";
3
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
- import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
1
+ import { NoOpLogger } from "@smithy/smithy-client";
2
+ import { parseUrl } from "@smithy/url-parser";
3
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
4
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
6
  export const getRuntimeConfig = (config) => ({
7
7
  apiVersion: "2010-03-31",
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
3
3
  import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
4
4
  import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
@@ -1,13 +1,13 @@
1
- import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
2
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
3
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
4
+ import { Credentials as __Credentials } from "@aws-sdk/types";
5
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
6
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
7
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
9
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
- import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
9
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
12
12
  import { CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput } from "./commands/CheckIfPhoneNumberIsOptedOutCommand";
13
13
  import { ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput } from "./commands/ConfirmSubscriptionCommand";
@@ -69,7 +69,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
69
69
  */
70
70
  requestHandler?: __HttpHandler;
71
71
  /**
72
- * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
72
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
73
73
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
74
74
  * @internal
75
75
  */
@@ -159,7 +159,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
159
159
  */
160
160
  logger?: __Logger;
161
161
  /**
162
- * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
162
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
163
163
  */
164
164
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
165
165
  }
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { AddPermissionInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CheckIfPhoneNumberIsOptedOutInput, CheckIfPhoneNumberIsOptedOutResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConfirmSubscriptionInput, ConfirmSubscriptionResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CreatePlatformApplicationInput, CreatePlatformApplicationResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CreateEndpointResponse, CreatePlatformEndpointInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CreateSMSSandboxPhoneNumberInput, CreateSMSSandboxPhoneNumberResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { CreateTopicInput, CreateTopicResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DeleteEndpointInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DeletePlatformApplicationInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DeleteSMSSandboxPhoneNumberInput, DeleteSMSSandboxPhoneNumberResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DeleteTopicInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetDataProtectionPolicyInput, GetDataProtectionPolicyResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetEndpointAttributesInput, GetEndpointAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetPlatformApplicationAttributesInput, GetPlatformApplicationAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetSMSAttributesInput, GetSMSAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetSMSSandboxAccountStatusInput, GetSMSSandboxAccountStatusResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetSubscriptionAttributesInput, GetSubscriptionAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { GetTopicAttributesInput, GetTopicAttributesResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListEndpointsByPlatformApplicationInput, ListEndpointsByPlatformApplicationResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListOriginationNumbersRequest, ListOriginationNumbersResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListPhoneNumbersOptedOutInput, ListPhoneNumbersOptedOutResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListPlatformApplicationsInput, ListPlatformApplicationsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListSMSSandboxPhoneNumbersInput, ListSMSSandboxPhoneNumbersResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListSubscriptionsByTopicInput, ListSubscriptionsByTopicResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListSubscriptionsInput, ListSubscriptionsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ListTopicsInput, ListTopicsResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { OptInPhoneNumberInput, OptInPhoneNumberResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { PublishBatchInput, PublishBatchResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { PublishInput, PublishResponse } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { PutDataProtectionPolicyInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { RemovePermissionInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { SetEndpointAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { SetPlatformApplicationAttributesInput } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**