@aws-sdk/client-pinpoint 3.36.0 → 3.39.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 (263) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Pinpoint.js +0 -3
  3. package/dist-cjs/PinpointClient.js +0 -8
  4. package/dist-cjs/commands/CreateAppCommand.js +0 -24
  5. package/dist-cjs/commands/CreateCampaignCommand.js +0 -24
  6. package/dist-cjs/commands/CreateEmailTemplateCommand.js +0 -24
  7. package/dist-cjs/commands/CreateExportJobCommand.js +0 -24
  8. package/dist-cjs/commands/CreateImportJobCommand.js +0 -24
  9. package/dist-cjs/commands/CreateInAppTemplateCommand.js +0 -24
  10. package/dist-cjs/commands/CreateJourneyCommand.js +0 -24
  11. package/dist-cjs/commands/CreatePushTemplateCommand.js +0 -24
  12. package/dist-cjs/commands/CreateRecommenderConfigurationCommand.js +0 -24
  13. package/dist-cjs/commands/CreateSegmentCommand.js +0 -24
  14. package/dist-cjs/commands/CreateSmsTemplateCommand.js +0 -24
  15. package/dist-cjs/commands/CreateVoiceTemplateCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteAdmChannelCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteApnsChannelCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteApnsSandboxChannelCommand.js +0 -24
  19. package/dist-cjs/commands/DeleteApnsVoipChannelCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteApnsVoipSandboxChannelCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteAppCommand.js +0 -24
  22. package/dist-cjs/commands/DeleteBaiduChannelCommand.js +0 -24
  23. package/dist-cjs/commands/DeleteCampaignCommand.js +0 -24
  24. package/dist-cjs/commands/DeleteEmailChannelCommand.js +0 -24
  25. package/dist-cjs/commands/DeleteEmailTemplateCommand.js +0 -24
  26. package/dist-cjs/commands/DeleteEndpointCommand.js +0 -24
  27. package/dist-cjs/commands/DeleteEventStreamCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteGcmChannelCommand.js +0 -24
  29. package/dist-cjs/commands/DeleteInAppTemplateCommand.js +0 -24
  30. package/dist-cjs/commands/DeleteJourneyCommand.js +0 -24
  31. package/dist-cjs/commands/DeletePushTemplateCommand.js +0 -24
  32. package/dist-cjs/commands/DeleteRecommenderConfigurationCommand.js +0 -24
  33. package/dist-cjs/commands/DeleteSegmentCommand.js +0 -24
  34. package/dist-cjs/commands/DeleteSmsChannelCommand.js +0 -24
  35. package/dist-cjs/commands/DeleteSmsTemplateCommand.js +0 -24
  36. package/dist-cjs/commands/DeleteUserEndpointsCommand.js +0 -24
  37. package/dist-cjs/commands/DeleteVoiceChannelCommand.js +0 -24
  38. package/dist-cjs/commands/DeleteVoiceTemplateCommand.js +0 -24
  39. package/dist-cjs/commands/GetAdmChannelCommand.js +0 -24
  40. package/dist-cjs/commands/GetApnsChannelCommand.js +0 -24
  41. package/dist-cjs/commands/GetApnsSandboxChannelCommand.js +0 -24
  42. package/dist-cjs/commands/GetApnsVoipChannelCommand.js +0 -24
  43. package/dist-cjs/commands/GetApnsVoipSandboxChannelCommand.js +0 -24
  44. package/dist-cjs/commands/GetAppCommand.js +0 -24
  45. package/dist-cjs/commands/GetApplicationDateRangeKpiCommand.js +0 -24
  46. package/dist-cjs/commands/GetApplicationSettingsCommand.js +0 -24
  47. package/dist-cjs/commands/GetAppsCommand.js +0 -24
  48. package/dist-cjs/commands/GetBaiduChannelCommand.js +0 -24
  49. package/dist-cjs/commands/GetCampaignActivitiesCommand.js +0 -24
  50. package/dist-cjs/commands/GetCampaignCommand.js +0 -24
  51. package/dist-cjs/commands/GetCampaignDateRangeKpiCommand.js +0 -24
  52. package/dist-cjs/commands/GetCampaignVersionCommand.js +0 -24
  53. package/dist-cjs/commands/GetCampaignVersionsCommand.js +0 -24
  54. package/dist-cjs/commands/GetCampaignsCommand.js +0 -24
  55. package/dist-cjs/commands/GetChannelsCommand.js +0 -24
  56. package/dist-cjs/commands/GetEmailChannelCommand.js +0 -24
  57. package/dist-cjs/commands/GetEmailTemplateCommand.js +0 -24
  58. package/dist-cjs/commands/GetEndpointCommand.js +0 -24
  59. package/dist-cjs/commands/GetEventStreamCommand.js +0 -24
  60. package/dist-cjs/commands/GetExportJobCommand.js +0 -24
  61. package/dist-cjs/commands/GetExportJobsCommand.js +0 -24
  62. package/dist-cjs/commands/GetGcmChannelCommand.js +0 -24
  63. package/dist-cjs/commands/GetImportJobCommand.js +0 -24
  64. package/dist-cjs/commands/GetImportJobsCommand.js +0 -24
  65. package/dist-cjs/commands/GetInAppMessagesCommand.js +0 -24
  66. package/dist-cjs/commands/GetInAppTemplateCommand.js +0 -24
  67. package/dist-cjs/commands/GetJourneyCommand.js +0 -24
  68. package/dist-cjs/commands/GetJourneyDateRangeKpiCommand.js +0 -24
  69. package/dist-cjs/commands/GetJourneyExecutionActivityMetricsCommand.js +0 -24
  70. package/dist-cjs/commands/GetJourneyExecutionMetricsCommand.js +0 -24
  71. package/dist-cjs/commands/GetPushTemplateCommand.js +0 -24
  72. package/dist-cjs/commands/GetRecommenderConfigurationCommand.js +0 -24
  73. package/dist-cjs/commands/GetRecommenderConfigurationsCommand.js +0 -24
  74. package/dist-cjs/commands/GetSegmentCommand.js +0 -24
  75. package/dist-cjs/commands/GetSegmentExportJobsCommand.js +0 -24
  76. package/dist-cjs/commands/GetSegmentImportJobsCommand.js +0 -24
  77. package/dist-cjs/commands/GetSegmentVersionCommand.js +0 -24
  78. package/dist-cjs/commands/GetSegmentVersionsCommand.js +0 -24
  79. package/dist-cjs/commands/GetSegmentsCommand.js +0 -24
  80. package/dist-cjs/commands/GetSmsChannelCommand.js +0 -24
  81. package/dist-cjs/commands/GetSmsTemplateCommand.js +0 -24
  82. package/dist-cjs/commands/GetUserEndpointsCommand.js +0 -24
  83. package/dist-cjs/commands/GetVoiceChannelCommand.js +0 -24
  84. package/dist-cjs/commands/GetVoiceTemplateCommand.js +0 -24
  85. package/dist-cjs/commands/ListJourneysCommand.js +0 -24
  86. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  87. package/dist-cjs/commands/ListTemplateVersionsCommand.js +0 -24
  88. package/dist-cjs/commands/ListTemplatesCommand.js +0 -24
  89. package/dist-cjs/commands/PhoneNumberValidateCommand.js +0 -24
  90. package/dist-cjs/commands/PutEventStreamCommand.js +0 -24
  91. package/dist-cjs/commands/PutEventsCommand.js +0 -24
  92. package/dist-cjs/commands/RemoveAttributesCommand.js +0 -24
  93. package/dist-cjs/commands/SendMessagesCommand.js +0 -24
  94. package/dist-cjs/commands/SendUsersMessagesCommand.js +0 -24
  95. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  96. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  97. package/dist-cjs/commands/UpdateAdmChannelCommand.js +0 -24
  98. package/dist-cjs/commands/UpdateApnsChannelCommand.js +0 -24
  99. package/dist-cjs/commands/UpdateApnsSandboxChannelCommand.js +0 -24
  100. package/dist-cjs/commands/UpdateApnsVoipChannelCommand.js +0 -24
  101. package/dist-cjs/commands/UpdateApnsVoipSandboxChannelCommand.js +0 -24
  102. package/dist-cjs/commands/UpdateApplicationSettingsCommand.js +0 -24
  103. package/dist-cjs/commands/UpdateBaiduChannelCommand.js +0 -24
  104. package/dist-cjs/commands/UpdateCampaignCommand.js +0 -24
  105. package/dist-cjs/commands/UpdateEmailChannelCommand.js +0 -24
  106. package/dist-cjs/commands/UpdateEmailTemplateCommand.js +0 -24
  107. package/dist-cjs/commands/UpdateEndpointCommand.js +0 -24
  108. package/dist-cjs/commands/UpdateEndpointsBatchCommand.js +0 -24
  109. package/dist-cjs/commands/UpdateGcmChannelCommand.js +0 -24
  110. package/dist-cjs/commands/UpdateInAppTemplateCommand.js +0 -24
  111. package/dist-cjs/commands/UpdateJourneyCommand.js +0 -24
  112. package/dist-cjs/commands/UpdateJourneyStateCommand.js +0 -24
  113. package/dist-cjs/commands/UpdatePushTemplateCommand.js +0 -24
  114. package/dist-cjs/commands/UpdateRecommenderConfigurationCommand.js +0 -24
  115. package/dist-cjs/commands/UpdateSegmentCommand.js +0 -24
  116. package/dist-cjs/commands/UpdateSmsChannelCommand.js +0 -24
  117. package/dist-cjs/commands/UpdateSmsTemplateCommand.js +0 -24
  118. package/dist-cjs/commands/UpdateTemplateActiveVersionCommand.js +0 -24
  119. package/dist-cjs/commands/UpdateVoiceChannelCommand.js +0 -24
  120. package/dist-cjs/commands/UpdateVoiceTemplateCommand.js +0 -24
  121. package/dist-cjs/commands/index.js +120 -0
  122. package/dist-cjs/endpoints.js +6 -1
  123. package/dist-cjs/index.js +3 -119
  124. package/dist-cjs/models/models_0.js +0 -825
  125. package/dist-cjs/models/models_1.js +0 -480
  126. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  127. package/dist-cjs/runtimeConfig.browser.js +1 -5
  128. package/dist-cjs/runtimeConfig.js +1 -5
  129. package/dist-cjs/runtimeConfig.native.js +0 -3
  130. package/dist-cjs/runtimeConfig.shared.js +0 -3
  131. package/dist-es/commands/index.js +117 -0
  132. package/dist-es/endpoints.js +6 -1
  133. package/dist-es/index.js +3 -119
  134. package/dist-types/commands/index.d.ts +117 -0
  135. package/dist-types/index.d.ts +3 -119
  136. package/dist-types/ts3.4/Pinpoint.d.ts +118 -354
  137. package/dist-types/ts3.4/PinpointClient.d.ts +24 -89
  138. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +2 -20
  141. package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +2 -20
  160. package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +2 -20
  162. package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +2 -20
  163. package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +2 -20
  167. package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +2 -20
  176. package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +2 -20
  198. package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +2 -20
  199. package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +2 -20
  200. package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +2 -20
  206. package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +2 -20
  207. package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +2 -20
  208. package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +2 -20
  209. package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +2 -20
  210. package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +2 -20
  211. package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +2 -20
  215. package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +2 -20
  216. package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +2 -20
  217. package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +2 -20
  218. package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +2 -20
  219. package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +2 -20
  220. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  221. package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +2 -20
  222. package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +2 -20
  224. package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +2 -20
  225. package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +2 -20
  226. package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +2 -20
  227. package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +2 -20
  228. package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +2 -20
  229. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  230. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  231. package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +2 -20
  232. package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +2 -20
  233. package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +2 -20
  234. package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +2 -20
  235. package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +2 -20
  236. package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +2 -20
  237. package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +2 -20
  238. package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +2 -20
  239. package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +2 -20
  240. package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +2 -20
  241. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -20
  242. package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +2 -20
  243. package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +2 -20
  244. package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +2 -20
  245. package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +2 -20
  246. package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +2 -20
  247. package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +2 -20
  248. package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +2 -20
  249. package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +2 -20
  250. package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +2 -20
  251. package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +2 -20
  252. package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +2 -20
  253. package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +2 -20
  254. package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +2 -20
  255. package/dist-types/ts3.4/commands/index.d.ts +117 -0
  256. package/dist-types/ts3.4/index.d.ts +3 -119
  257. package/dist-types/ts3.4/models/models_0.d.ts +1523 -4579
  258. package/dist-types/ts3.4/models/models_1.d.ts +591 -1776
  259. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  260. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  261. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  262. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  263. package/package.json +32 -32
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Disables the voice channel for an application and deletes any existing settings for the channel.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, DeleteVoiceChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, DeleteVoiceChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new DeleteVoiceChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteVoiceChannelCommandInput} for command's `input` shape.
21
- * @see {@link DeleteVoiceChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteVoiceChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes a message template for messages that were sent through the voice channel.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, DeleteVoiceTemplateCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, DeleteVoiceTemplateCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new DeleteVoiceTemplateCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteVoiceTemplateCommandInput} for command's `input` shape.
21
- * @see {@link DeleteVoiceTemplateCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteVoiceTemplateCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the ADM channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetAdmChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetAdmChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetAdmChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAdmChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetAdmChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetAdmChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the APNs channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApnsChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApnsChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApnsChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApnsChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetApnsChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApnsChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the APNs sandbox channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApnsSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApnsSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApnsSandboxChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApnsSandboxChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetApnsSandboxChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApnsSandboxChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the APNs VoIP channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApnsVoipChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApnsVoipChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApnsVoipChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApnsVoipChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetApnsVoipChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApnsVoipChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApnsVoipSandboxChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApnsVoipSandboxChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApnsVoipSandboxChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApnsVoipSandboxChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetApnsVoipSandboxChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApnsVoipSandboxChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetAppCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetAppCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetAppCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAppCommandInput} for command's `input` shape.
21
- * @see {@link GetAppCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetAppCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApplicationDateRangeKpiCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApplicationDateRangeKpiCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApplicationDateRangeKpiCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApplicationDateRangeKpiCommandInput} for command's `input` shape.
21
- * @see {@link GetApplicationDateRangeKpiCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApplicationDateRangeKpiCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the settings for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetApplicationSettingsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetApplicationSettingsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetApplicationSettingsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetApplicationSettingsCommandInput} for command's `input` shape.
21
- * @see {@link GetApplicationSettingsCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetApplicationSettingsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about all the applications that are associated with your Amazon Pinpoint account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetAppsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetAppsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetAppsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetAppsCommandInput} for command's `input` shape.
21
- * @see {@link GetAppsCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetAppsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status and settings of the Baidu channel for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetBaiduChannelCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetBaiduChannelCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetBaiduChannelCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetBaiduChannelCommandInput} for command's `input` shape.
21
- * @see {@link GetBaiduChannelCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetBaiduChannelCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about all the activities for a campaign.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignActivitiesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignActivitiesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignActivitiesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignActivitiesCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignActivitiesCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignActivitiesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status, configuration, and other settings for a campaign.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignDateRangeKpiCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignDateRangeKpiCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignDateRangeKpiCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignDateRangeKpiCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignDateRangeKpiCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignDateRangeKpiCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status, configuration, and other settings for a specific version of a campaign.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignVersionCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignVersionCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignVersionCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignVersionCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status, configuration, and other settings for all versions of a campaign.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignVersionsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignVersionsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignVersionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignVersionsCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignVersionsCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignVersionsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PinpointClient, GetCampaignsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
14
- * // const { PinpointClient, GetCampaignsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
15
- * const client = new PinpointClient(config);
16
- * const command = new GetCampaignsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetCampaignsCommandInput} for command's `input` shape.
21
- * @see {@link GetCampaignsCommandOutput} for command's `response` shape.
22
- * @see {@link PinpointClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetCampaignsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);