@aws-sdk/client-pinpoint 3.927.0 → 3.929.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 (143) hide show
  1. package/dist-cjs/index.js +6599 -5384
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/PinpointClient.js +2 -0
  4. package/dist-es/commands/CreateAppCommand.js +3 -9
  5. package/dist-es/commands/CreateCampaignCommand.js +3 -9
  6. package/dist-es/commands/CreateEmailTemplateCommand.js +3 -9
  7. package/dist-es/commands/CreateExportJobCommand.js +3 -9
  8. package/dist-es/commands/CreateImportJobCommand.js +3 -9
  9. package/dist-es/commands/CreateInAppTemplateCommand.js +3 -9
  10. package/dist-es/commands/CreateJourneyCommand.js +3 -9
  11. package/dist-es/commands/CreatePushTemplateCommand.js +3 -9
  12. package/dist-es/commands/CreateRecommenderConfigurationCommand.js +3 -9
  13. package/dist-es/commands/CreateSegmentCommand.js +3 -9
  14. package/dist-es/commands/CreateSmsTemplateCommand.js +3 -9
  15. package/dist-es/commands/CreateVoiceTemplateCommand.js +3 -9
  16. package/dist-es/commands/DeleteAdmChannelCommand.js +3 -9
  17. package/dist-es/commands/DeleteApnsChannelCommand.js +3 -9
  18. package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +3 -9
  19. package/dist-es/commands/DeleteApnsVoipChannelCommand.js +3 -9
  20. package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +3 -9
  21. package/dist-es/commands/DeleteAppCommand.js +3 -9
  22. package/dist-es/commands/DeleteBaiduChannelCommand.js +3 -9
  23. package/dist-es/commands/DeleteCampaignCommand.js +3 -9
  24. package/dist-es/commands/DeleteEmailChannelCommand.js +3 -9
  25. package/dist-es/commands/DeleteEmailTemplateCommand.js +3 -9
  26. package/dist-es/commands/DeleteEndpointCommand.js +3 -9
  27. package/dist-es/commands/DeleteEventStreamCommand.js +3 -9
  28. package/dist-es/commands/DeleteGcmChannelCommand.js +3 -9
  29. package/dist-es/commands/DeleteInAppTemplateCommand.js +3 -9
  30. package/dist-es/commands/DeleteJourneyCommand.js +3 -9
  31. package/dist-es/commands/DeletePushTemplateCommand.js +3 -9
  32. package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +3 -9
  33. package/dist-es/commands/DeleteSegmentCommand.js +3 -9
  34. package/dist-es/commands/DeleteSmsChannelCommand.js +3 -9
  35. package/dist-es/commands/DeleteSmsTemplateCommand.js +3 -9
  36. package/dist-es/commands/DeleteUserEndpointsCommand.js +3 -9
  37. package/dist-es/commands/DeleteVoiceChannelCommand.js +3 -9
  38. package/dist-es/commands/DeleteVoiceTemplateCommand.js +3 -9
  39. package/dist-es/commands/GetAdmChannelCommand.js +3 -9
  40. package/dist-es/commands/GetApnsChannelCommand.js +3 -9
  41. package/dist-es/commands/GetApnsSandboxChannelCommand.js +3 -9
  42. package/dist-es/commands/GetApnsVoipChannelCommand.js +3 -9
  43. package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +3 -9
  44. package/dist-es/commands/GetAppCommand.js +3 -9
  45. package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +3 -9
  46. package/dist-es/commands/GetApplicationSettingsCommand.js +3 -9
  47. package/dist-es/commands/GetAppsCommand.js +3 -9
  48. package/dist-es/commands/GetBaiduChannelCommand.js +3 -9
  49. package/dist-es/commands/GetCampaignActivitiesCommand.js +3 -9
  50. package/dist-es/commands/GetCampaignCommand.js +3 -9
  51. package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +3 -9
  52. package/dist-es/commands/GetCampaignVersionCommand.js +3 -9
  53. package/dist-es/commands/GetCampaignVersionsCommand.js +3 -9
  54. package/dist-es/commands/GetCampaignsCommand.js +3 -9
  55. package/dist-es/commands/GetChannelsCommand.js +3 -9
  56. package/dist-es/commands/GetEmailChannelCommand.js +3 -9
  57. package/dist-es/commands/GetEmailTemplateCommand.js +3 -9
  58. package/dist-es/commands/GetEndpointCommand.js +3 -9
  59. package/dist-es/commands/GetEventStreamCommand.js +3 -9
  60. package/dist-es/commands/GetExportJobCommand.js +3 -9
  61. package/dist-es/commands/GetExportJobsCommand.js +3 -9
  62. package/dist-es/commands/GetGcmChannelCommand.js +3 -9
  63. package/dist-es/commands/GetImportJobCommand.js +3 -9
  64. package/dist-es/commands/GetImportJobsCommand.js +3 -9
  65. package/dist-es/commands/GetInAppMessagesCommand.js +3 -9
  66. package/dist-es/commands/GetInAppTemplateCommand.js +3 -9
  67. package/dist-es/commands/GetJourneyCommand.js +3 -9
  68. package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +3 -9
  69. package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +3 -9
  70. package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +3 -9
  71. package/dist-es/commands/GetJourneyRunExecutionActivityMetricsCommand.js +3 -9
  72. package/dist-es/commands/GetJourneyRunExecutionMetricsCommand.js +3 -9
  73. package/dist-es/commands/GetJourneyRunsCommand.js +3 -9
  74. package/dist-es/commands/GetPushTemplateCommand.js +3 -9
  75. package/dist-es/commands/GetRecommenderConfigurationCommand.js +3 -9
  76. package/dist-es/commands/GetRecommenderConfigurationsCommand.js +3 -9
  77. package/dist-es/commands/GetSegmentCommand.js +3 -9
  78. package/dist-es/commands/GetSegmentExportJobsCommand.js +3 -9
  79. package/dist-es/commands/GetSegmentImportJobsCommand.js +3 -9
  80. package/dist-es/commands/GetSegmentVersionCommand.js +3 -9
  81. package/dist-es/commands/GetSegmentVersionsCommand.js +3 -9
  82. package/dist-es/commands/GetSegmentsCommand.js +3 -9
  83. package/dist-es/commands/GetSmsChannelCommand.js +3 -9
  84. package/dist-es/commands/GetSmsTemplateCommand.js +3 -9
  85. package/dist-es/commands/GetUserEndpointsCommand.js +3 -9
  86. package/dist-es/commands/GetVoiceChannelCommand.js +3 -9
  87. package/dist-es/commands/GetVoiceTemplateCommand.js +3 -9
  88. package/dist-es/commands/ListJourneysCommand.js +3 -9
  89. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  90. package/dist-es/commands/ListTemplateVersionsCommand.js +3 -9
  91. package/dist-es/commands/ListTemplatesCommand.js +3 -9
  92. package/dist-es/commands/PhoneNumberValidateCommand.js +3 -9
  93. package/dist-es/commands/PutEventStreamCommand.js +3 -9
  94. package/dist-es/commands/PutEventsCommand.js +3 -9
  95. package/dist-es/commands/RemoveAttributesCommand.js +3 -9
  96. package/dist-es/commands/SendMessagesCommand.js +3 -9
  97. package/dist-es/commands/SendOTPMessageCommand.js +3 -9
  98. package/dist-es/commands/SendUsersMessagesCommand.js +3 -9
  99. package/dist-es/commands/TagResourceCommand.js +3 -9
  100. package/dist-es/commands/UntagResourceCommand.js +3 -9
  101. package/dist-es/commands/UpdateAdmChannelCommand.js +3 -9
  102. package/dist-es/commands/UpdateApnsChannelCommand.js +3 -9
  103. package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +3 -9
  104. package/dist-es/commands/UpdateApnsVoipChannelCommand.js +3 -9
  105. package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +3 -9
  106. package/dist-es/commands/UpdateApplicationSettingsCommand.js +3 -9
  107. package/dist-es/commands/UpdateBaiduChannelCommand.js +3 -9
  108. package/dist-es/commands/UpdateCampaignCommand.js +3 -9
  109. package/dist-es/commands/UpdateEmailChannelCommand.js +3 -9
  110. package/dist-es/commands/UpdateEmailTemplateCommand.js +3 -9
  111. package/dist-es/commands/UpdateEndpointCommand.js +3 -9
  112. package/dist-es/commands/UpdateEndpointsBatchCommand.js +3 -9
  113. package/dist-es/commands/UpdateGcmChannelCommand.js +3 -9
  114. package/dist-es/commands/UpdateInAppTemplateCommand.js +3 -9
  115. package/dist-es/commands/UpdateJourneyCommand.js +3 -9
  116. package/dist-es/commands/UpdateJourneyStateCommand.js +3 -9
  117. package/dist-es/commands/UpdatePushTemplateCommand.js +3 -9
  118. package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +3 -9
  119. package/dist-es/commands/UpdateSegmentCommand.js +3 -9
  120. package/dist-es/commands/UpdateSmsChannelCommand.js +3 -9
  121. package/dist-es/commands/UpdateSmsTemplateCommand.js +3 -9
  122. package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +3 -9
  123. package/dist-es/commands/UpdateVoiceChannelCommand.js +3 -9
  124. package/dist-es/commands/UpdateVoiceTemplateCommand.js +3 -9
  125. package/dist-es/commands/VerifyOTPMessageCommand.js +3 -9
  126. package/dist-es/runtimeConfig.shared.js +2 -0
  127. package/dist-es/schemas/schemas_0.js +6135 -0
  128. package/dist-types/PinpointClient.d.ts +10 -1
  129. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  130. package/dist-types/runtimeConfig.d.ts +1 -0
  131. package/dist-types/runtimeConfig.native.d.ts +1 -0
  132. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  133. package/dist-types/schemas/schemas_0.d.ts +633 -0
  134. package/dist-types/ts3.4/PinpointClient.d.ts +4 -0
  135. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  136. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  137. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  138. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  139. package/dist-types/ts3.4/schemas/schemas_0.d.ts +639 -0
  140. package/package.json +5 -5
  141. package/dist-es/protocols/Aws_restJson1.js +0 -4306
  142. package/dist-types/protocols/Aws_restJson1.d.ts +0 -1100
  143. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1469
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SendUsersMessagesCommand, se_SendUsersMessagesCommand } from "../protocols/Aws_restJson1";
4
+ import { SendUsersMessages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendUsersMessagesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "SendUsersMessages", {})
17
13
  .n("PinpointClient", "SendUsersMessagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendUsersMessagesCommand)
20
- .de(de_SendUsersMessagesCommand)
14
+ .sc(SendUsersMessages)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "TagResource", {})
17
13
  .n("PinpointClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UntagResource", {})
17
13
  .n("PinpointClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAdmChannelCommand, se_UpdateAdmChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAdmChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAdmChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateAdmChannel", {})
17
13
  .n("PinpointClient", "UpdateAdmChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAdmChannelCommand)
20
- .de(de_UpdateAdmChannelCommand)
14
+ .sc(UpdateAdmChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApnsChannelCommand, se_UpdateApnsChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApnsChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApnsChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateApnsChannel", {})
17
13
  .n("PinpointClient", "UpdateApnsChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApnsChannelCommand)
20
- .de(de_UpdateApnsChannelCommand)
14
+ .sc(UpdateApnsChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApnsSandboxChannelCommand, se_UpdateApnsSandboxChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApnsSandboxChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApnsSandboxChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateApnsSandboxChannel", {})
17
13
  .n("PinpointClient", "UpdateApnsSandboxChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApnsSandboxChannelCommand)
20
- .de(de_UpdateApnsSandboxChannelCommand)
14
+ .sc(UpdateApnsSandboxChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApnsVoipChannelCommand, se_UpdateApnsVoipChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApnsVoipChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApnsVoipChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateApnsVoipChannel", {})
17
13
  .n("PinpointClient", "UpdateApnsVoipChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApnsVoipChannelCommand)
20
- .de(de_UpdateApnsVoipChannelCommand)
14
+ .sc(UpdateApnsVoipChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApnsVoipSandboxChannelCommand, se_UpdateApnsVoipSandboxChannelCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateApnsVoipSandboxChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApnsVoipSandboxChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateApnsVoipSandboxChannel", {})
17
13
  .n("PinpointClient", "UpdateApnsVoipSandboxChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApnsVoipSandboxChannelCommand)
20
- .de(de_UpdateApnsVoipSandboxChannelCommand)
14
+ .sc(UpdateApnsVoipSandboxChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApplicationSettingsCommand, se_UpdateApplicationSettingsCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApplicationSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApplicationSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateApplicationSettings", {})
17
13
  .n("PinpointClient", "UpdateApplicationSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApplicationSettingsCommand)
20
- .de(de_UpdateApplicationSettingsCommand)
14
+ .sc(UpdateApplicationSettings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateBaiduChannelCommand, se_UpdateBaiduChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateBaiduChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateBaiduChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateBaiduChannel", {})
17
13
  .n("PinpointClient", "UpdateBaiduChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateBaiduChannelCommand)
20
- .de(de_UpdateBaiduChannelCommand)
14
+ .sc(UpdateBaiduChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateCampaignCommand, se_UpdateCampaignCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateCampaign } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateCampaignCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateCampaign", {})
17
13
  .n("PinpointClient", "UpdateCampaignCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateCampaignCommand)
20
- .de(de_UpdateCampaignCommand)
14
+ .sc(UpdateCampaign)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEmailChannelCommand, se_UpdateEmailChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEmailChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEmailChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateEmailChannel", {})
17
13
  .n("PinpointClient", "UpdateEmailChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEmailChannelCommand)
20
- .de(de_UpdateEmailChannelCommand)
14
+ .sc(UpdateEmailChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEmailTemplateCommand, se_UpdateEmailTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEmailTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateEmailTemplate", {})
17
13
  .n("PinpointClient", "UpdateEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEmailTemplateCommand)
20
- .de(de_UpdateEmailTemplateCommand)
14
+ .sc(UpdateEmailTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEndpointCommand, se_UpdateEndpointCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEndpointCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateEndpoint", {})
17
13
  .n("PinpointClient", "UpdateEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEndpointCommand)
20
- .de(de_UpdateEndpointCommand)
14
+ .sc(UpdateEndpoint)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEndpointsBatchCommand, se_UpdateEndpointsBatchCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEndpointsBatch } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEndpointsBatchCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateEndpointsBatch", {})
17
13
  .n("PinpointClient", "UpdateEndpointsBatchCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEndpointsBatchCommand)
20
- .de(de_UpdateEndpointsBatchCommand)
14
+ .sc(UpdateEndpointsBatch)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateGcmChannelCommand, se_UpdateGcmChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateGcmChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateGcmChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateGcmChannel", {})
17
13
  .n("PinpointClient", "UpdateGcmChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateGcmChannelCommand)
20
- .de(de_UpdateGcmChannelCommand)
14
+ .sc(UpdateGcmChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateInAppTemplateCommand, se_UpdateInAppTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateInAppTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateInAppTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateInAppTemplate", {})
17
13
  .n("PinpointClient", "UpdateInAppTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateInAppTemplateCommand)
20
- .de(de_UpdateInAppTemplateCommand)
14
+ .sc(UpdateInAppTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateJourneyCommand, se_UpdateJourneyCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateJourney } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateJourneyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateJourney", {})
17
13
  .n("PinpointClient", "UpdateJourneyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateJourneyCommand)
20
- .de(de_UpdateJourneyCommand)
14
+ .sc(UpdateJourney)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateJourneyStateCommand, se_UpdateJourneyStateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateJourneyState } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateJourneyStateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateJourneyState", {})
17
13
  .n("PinpointClient", "UpdateJourneyStateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateJourneyStateCommand)
20
- .de(de_UpdateJourneyStateCommand)
14
+ .sc(UpdateJourneyState)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdatePushTemplateCommand, se_UpdatePushTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdatePushTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePushTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdatePushTemplate", {})
17
13
  .n("PinpointClient", "UpdatePushTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePushTemplateCommand)
20
- .de(de_UpdatePushTemplateCommand)
14
+ .sc(UpdatePushTemplate)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRecommenderConfigurationCommand, se_UpdateRecommenderConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { UpdateRecommenderConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRecommenderConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateRecommenderConfiguration", {})
17
13
  .n("PinpointClient", "UpdateRecommenderConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRecommenderConfigurationCommand)
20
- .de(de_UpdateRecommenderConfigurationCommand)
14
+ .sc(UpdateRecommenderConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSegmentCommand, se_UpdateSegmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSegment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSegmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateSegment", {})
17
13
  .n("PinpointClient", "UpdateSegmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSegmentCommand)
20
- .de(de_UpdateSegmentCommand)
14
+ .sc(UpdateSegment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSmsChannelCommand, se_UpdateSmsChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSmsChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSmsChannelCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateSmsChannel", {})
17
13
  .n("PinpointClient", "UpdateSmsChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSmsChannelCommand)
20
- .de(de_UpdateSmsChannelCommand)
14
+ .sc(UpdateSmsChannel)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSmsTemplateCommand, se_UpdateSmsTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateSmsTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSmsTemplateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("Pinpoint", "UpdateSmsTemplate", {})
17
13
  .n("PinpointClient", "UpdateSmsTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSmsTemplateCommand)
20
- .de(de_UpdateSmsTemplateCommand)
14
+ .sc(UpdateSmsTemplate)
21
15
  .build() {
22
16
  }