@aws-sdk/client-pinpoint 3.928.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 +2 -2
  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_GetPushTemplateCommand, se_GetPushTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPushTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPushTemplateCommand 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", "GetPushTemplate", {})
17
13
  .n("PinpointClient", "GetPushTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPushTemplateCommand)
20
- .de(de_GetPushTemplateCommand)
14
+ .sc(GetPushTemplate)
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_GetRecommenderConfigurationCommand, se_GetRecommenderConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetRecommenderConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecommenderConfigurationCommand 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", "GetRecommenderConfiguration", {})
17
13
  .n("PinpointClient", "GetRecommenderConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRecommenderConfigurationCommand)
20
- .de(de_GetRecommenderConfigurationCommand)
14
+ .sc(GetRecommenderConfiguration)
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_GetRecommenderConfigurationsCommand, se_GetRecommenderConfigurationsCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetRecommenderConfigurations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRecommenderConfigurationsCommand 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", "GetRecommenderConfigurations", {})
17
13
  .n("PinpointClient", "GetRecommenderConfigurationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRecommenderConfigurationsCommand)
20
- .de(de_GetRecommenderConfigurationsCommand)
14
+ .sc(GetRecommenderConfigurations)
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_GetSegmentCommand, se_GetSegmentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentCommand 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", "GetSegment", {})
17
13
  .n("PinpointClient", "GetSegmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentCommand)
20
- .de(de_GetSegmentCommand)
14
+ .sc(GetSegment)
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_GetSegmentExportJobsCommand, se_GetSegmentExportJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegmentExportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentExportJobsCommand 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", "GetSegmentExportJobs", {})
17
13
  .n("PinpointClient", "GetSegmentExportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentExportJobsCommand)
20
- .de(de_GetSegmentExportJobsCommand)
14
+ .sc(GetSegmentExportJobs)
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_GetSegmentImportJobsCommand, se_GetSegmentImportJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegmentImportJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentImportJobsCommand 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", "GetSegmentImportJobs", {})
17
13
  .n("PinpointClient", "GetSegmentImportJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentImportJobsCommand)
20
- .de(de_GetSegmentImportJobsCommand)
14
+ .sc(GetSegmentImportJobs)
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_GetSegmentVersionCommand, se_GetSegmentVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegmentVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentVersionCommand 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", "GetSegmentVersion", {})
17
13
  .n("PinpointClient", "GetSegmentVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentVersionCommand)
20
- .de(de_GetSegmentVersionCommand)
14
+ .sc(GetSegmentVersion)
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_GetSegmentVersionsCommand, se_GetSegmentVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegmentVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentVersionsCommand 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", "GetSegmentVersions", {})
17
13
  .n("PinpointClient", "GetSegmentVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentVersionsCommand)
20
- .de(de_GetSegmentVersionsCommand)
14
+ .sc(GetSegmentVersions)
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_GetSegmentsCommand, se_GetSegmentsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSegments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSegmentsCommand 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", "GetSegments", {})
17
13
  .n("PinpointClient", "GetSegmentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSegmentsCommand)
20
- .de(de_GetSegmentsCommand)
14
+ .sc(GetSegments)
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_GetSmsChannelCommand, se_GetSmsChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSmsChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSmsChannelCommand 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", "GetSmsChannel", {})
17
13
  .n("PinpointClient", "GetSmsChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSmsChannelCommand)
20
- .de(de_GetSmsChannelCommand)
14
+ .sc(GetSmsChannel)
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_GetSmsTemplateCommand, se_GetSmsTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSmsTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSmsTemplateCommand 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", "GetSmsTemplate", {})
17
13
  .n("PinpointClient", "GetSmsTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSmsTemplateCommand)
20
- .de(de_GetSmsTemplateCommand)
14
+ .sc(GetSmsTemplate)
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_GetUserEndpointsCommand, se_GetUserEndpointsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetUserEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetUserEndpointsCommand 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", "GetUserEndpoints", {})
17
13
  .n("PinpointClient", "GetUserEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetUserEndpointsCommand)
20
- .de(de_GetUserEndpointsCommand)
14
+ .sc(GetUserEndpoints)
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_GetVoiceChannelCommand, se_GetVoiceChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { GetVoiceChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetVoiceChannelCommand 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", "GetVoiceChannel", {})
17
13
  .n("PinpointClient", "GetVoiceChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetVoiceChannelCommand)
20
- .de(de_GetVoiceChannelCommand)
14
+ .sc(GetVoiceChannel)
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_GetVoiceTemplateCommand, se_GetVoiceTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { GetVoiceTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetVoiceTemplateCommand 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", "GetVoiceTemplate", {})
17
13
  .n("PinpointClient", "GetVoiceTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetVoiceTemplateCommand)
20
- .de(de_GetVoiceTemplateCommand)
14
+ .sc(GetVoiceTemplate)
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_ListJourneysCommand, se_ListJourneysCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJourneys } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJourneysCommand 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", "ListJourneys", {})
17
13
  .n("PinpointClient", "ListJourneysCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJourneysCommand)
20
- .de(de_ListJourneysCommand)
14
+ .sc(ListJourneys)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
17
13
  .n("PinpointClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_ListTemplateVersionsCommand, se_ListTemplateVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTemplateVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTemplateVersionsCommand 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", "ListTemplateVersions", {})
17
13
  .n("PinpointClient", "ListTemplateVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTemplateVersionsCommand)
20
- .de(de_ListTemplateVersionsCommand)
14
+ .sc(ListTemplateVersions)
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_ListTemplatesCommand, se_ListTemplatesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTemplates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTemplatesCommand 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", "ListTemplates", {})
17
13
  .n("PinpointClient", "ListTemplatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTemplatesCommand)
20
- .de(de_ListTemplatesCommand)
14
+ .sc(ListTemplates)
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_PhoneNumberValidateCommand, se_PhoneNumberValidateCommand } from "../protocols/Aws_restJson1";
4
+ import { PhoneNumberValidate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PhoneNumberValidateCommand 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", "PhoneNumberValidate", {})
17
13
  .n("PinpointClient", "PhoneNumberValidateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PhoneNumberValidateCommand)
20
- .de(de_PhoneNumberValidateCommand)
14
+ .sc(PhoneNumberValidate)
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_PutEventStreamCommand, se_PutEventStreamCommand } from "../protocols/Aws_restJson1";
4
+ import { PutEventStream } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEventStreamCommand 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", "PutEventStream", {})
17
13
  .n("PinpointClient", "PutEventStreamCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEventStreamCommand)
20
- .de(de_PutEventStreamCommand)
14
+ .sc(PutEventStream)
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_PutEventsCommand, se_PutEventsCommand } from "../protocols/Aws_restJson1";
4
+ import { PutEvents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutEventsCommand 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", "PutEvents", {})
17
13
  .n("PinpointClient", "PutEventsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutEventsCommand)
20
- .de(de_PutEventsCommand)
14
+ .sc(PutEvents)
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_RemoveAttributesCommand, se_RemoveAttributesCommand } from "../protocols/Aws_restJson1";
4
+ import { RemoveAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveAttributesCommand 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", "RemoveAttributes", {})
17
13
  .n("PinpointClient", "RemoveAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveAttributesCommand)
20
- .de(de_RemoveAttributesCommand)
14
+ .sc(RemoveAttributes)
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_SendMessagesCommand, se_SendMessagesCommand } from "../protocols/Aws_restJson1";
4
+ import { SendMessages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendMessagesCommand 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", "SendMessages", {})
17
13
  .n("PinpointClient", "SendMessagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendMessagesCommand)
20
- .de(de_SendMessagesCommand)
14
+ .sc(SendMessages)
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_SendOTPMessageCommand, se_SendOTPMessageCommand } from "../protocols/Aws_restJson1";
4
+ import { SendOTPMessage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendOTPMessageCommand 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", "SendOTPMessage", {})
17
13
  .n("PinpointClient", "SendOTPMessageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendOTPMessageCommand)
20
- .de(de_SendOTPMessageCommand)
14
+ .sc(SendOTPMessage)
21
15
  .build() {
22
16
  }