@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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.pinpoint" }),
28
30
  serviceId: config?.serviceId ?? "Pinpoint",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class PinpointClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_CreateAppCommand, se_CreateAppCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateApp } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateAppCommand 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", "CreateApp", {})
17
13
  .n("PinpointClient", "CreateAppCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateAppCommand)
20
- .de(de_CreateAppCommand)
14
+ .sc(CreateApp)
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_CreateCampaignCommand, se_CreateCampaignCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateCampaign } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateCampaignCommand 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", "CreateCampaign", {})
17
13
  .n("PinpointClient", "CreateCampaignCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateCampaignCommand)
20
- .de(de_CreateCampaignCommand)
14
+ .sc(CreateCampaign)
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_CreateEmailTemplateCommand, se_CreateEmailTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEmailTemplateCommand 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", "CreateEmailTemplate", {})
17
13
  .n("PinpointClient", "CreateEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEmailTemplateCommand)
20
- .de(de_CreateEmailTemplateCommand)
14
+ .sc(CreateEmailTemplate)
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_CreateExportJobCommand, se_CreateExportJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateExportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateExportJobCommand 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", "CreateExportJob", {})
17
13
  .n("PinpointClient", "CreateExportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateExportJobCommand)
20
- .de(de_CreateExportJobCommand)
14
+ .sc(CreateExportJob)
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_CreateImportJobCommand, se_CreateImportJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateImportJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateImportJobCommand 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", "CreateImportJob", {})
17
13
  .n("PinpointClient", "CreateImportJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateImportJobCommand)
20
- .de(de_CreateImportJobCommand)
14
+ .sc(CreateImportJob)
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_CreateInAppTemplateCommand, se_CreateInAppTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateInAppTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateInAppTemplateCommand 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", "CreateInAppTemplate", {})
17
13
  .n("PinpointClient", "CreateInAppTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateInAppTemplateCommand)
20
- .de(de_CreateInAppTemplateCommand)
14
+ .sc(CreateInAppTemplate)
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_CreateJourneyCommand, se_CreateJourneyCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateJourney } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateJourneyCommand 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", "CreateJourney", {})
17
13
  .n("PinpointClient", "CreateJourneyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateJourneyCommand)
20
- .de(de_CreateJourneyCommand)
14
+ .sc(CreateJourney)
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_CreatePushTemplateCommand, se_CreatePushTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePushTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePushTemplateCommand 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", "CreatePushTemplate", {})
17
13
  .n("PinpointClient", "CreatePushTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePushTemplateCommand)
20
- .de(de_CreatePushTemplateCommand)
14
+ .sc(CreatePushTemplate)
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_CreateRecommenderConfigurationCommand, se_CreateRecommenderConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { CreateRecommenderConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRecommenderConfigurationCommand 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", "CreateRecommenderConfiguration", {})
17
13
  .n("PinpointClient", "CreateRecommenderConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRecommenderConfigurationCommand)
20
- .de(de_CreateRecommenderConfigurationCommand)
14
+ .sc(CreateRecommenderConfiguration)
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_CreateSegmentCommand, se_CreateSegmentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSegment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSegmentCommand 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", "CreateSegment", {})
17
13
  .n("PinpointClient", "CreateSegmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSegmentCommand)
20
- .de(de_CreateSegmentCommand)
14
+ .sc(CreateSegment)
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_CreateSmsTemplateCommand, se_CreateSmsTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSmsTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSmsTemplateCommand 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", "CreateSmsTemplate", {})
17
13
  .n("PinpointClient", "CreateSmsTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSmsTemplateCommand)
20
- .de(de_CreateSmsTemplateCommand)
14
+ .sc(CreateSmsTemplate)
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_CreateVoiceTemplateCommand, se_CreateVoiceTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateVoiceTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVoiceTemplateCommand 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", "CreateVoiceTemplate", {})
17
13
  .n("PinpointClient", "CreateVoiceTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVoiceTemplateCommand)
20
- .de(de_CreateVoiceTemplateCommand)
14
+ .sc(CreateVoiceTemplate)
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_DeleteAdmChannelCommand, se_DeleteAdmChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAdmChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAdmChannelCommand 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", "DeleteAdmChannel", {})
17
13
  .n("PinpointClient", "DeleteAdmChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAdmChannelCommand)
20
- .de(de_DeleteAdmChannelCommand)
14
+ .sc(DeleteAdmChannel)
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_DeleteApnsChannelCommand, se_DeleteApnsChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApnsChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApnsChannelCommand 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", "DeleteApnsChannel", {})
17
13
  .n("PinpointClient", "DeleteApnsChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApnsChannelCommand)
20
- .de(de_DeleteApnsChannelCommand)
14
+ .sc(DeleteApnsChannel)
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_DeleteApnsSandboxChannelCommand, se_DeleteApnsSandboxChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApnsSandboxChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApnsSandboxChannelCommand 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", "DeleteApnsSandboxChannel", {})
17
13
  .n("PinpointClient", "DeleteApnsSandboxChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApnsSandboxChannelCommand)
20
- .de(de_DeleteApnsSandboxChannelCommand)
14
+ .sc(DeleteApnsSandboxChannel)
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_DeleteApnsVoipChannelCommand, se_DeleteApnsVoipChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApnsVoipChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApnsVoipChannelCommand 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", "DeleteApnsVoipChannel", {})
17
13
  .n("PinpointClient", "DeleteApnsVoipChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApnsVoipChannelCommand)
20
- .de(de_DeleteApnsVoipChannelCommand)
14
+ .sc(DeleteApnsVoipChannel)
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_DeleteApnsVoipSandboxChannelCommand, se_DeleteApnsVoipSandboxChannelCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeleteApnsVoipSandboxChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteApnsVoipSandboxChannelCommand 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", "DeleteApnsVoipSandboxChannel", {})
17
13
  .n("PinpointClient", "DeleteApnsVoipSandboxChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteApnsVoipSandboxChannelCommand)
20
- .de(de_DeleteApnsVoipSandboxChannelCommand)
14
+ .sc(DeleteApnsVoipSandboxChannel)
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_DeleteAppCommand, se_DeleteAppCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteApp } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAppCommand 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", "DeleteApp", {})
17
13
  .n("PinpointClient", "DeleteAppCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAppCommand)
20
- .de(de_DeleteAppCommand)
14
+ .sc(DeleteApp)
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_DeleteBaiduChannelCommand, se_DeleteBaiduChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteBaiduChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteBaiduChannelCommand 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", "DeleteBaiduChannel", {})
17
13
  .n("PinpointClient", "DeleteBaiduChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteBaiduChannelCommand)
20
- .de(de_DeleteBaiduChannelCommand)
14
+ .sc(DeleteBaiduChannel)
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_DeleteCampaignCommand, se_DeleteCampaignCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCampaign } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCampaignCommand 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", "DeleteCampaign", {})
17
13
  .n("PinpointClient", "DeleteCampaignCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCampaignCommand)
20
- .de(de_DeleteCampaignCommand)
14
+ .sc(DeleteCampaign)
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_DeleteEmailChannelCommand, se_DeleteEmailChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteEmailChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEmailChannelCommand 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", "DeleteEmailChannel", {})
17
13
  .n("PinpointClient", "DeleteEmailChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEmailChannelCommand)
20
- .de(de_DeleteEmailChannelCommand)
14
+ .sc(DeleteEmailChannel)
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_DeleteEmailTemplateCommand, se_DeleteEmailTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteEmailTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEmailTemplateCommand 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", "DeleteEmailTemplate", {})
17
13
  .n("PinpointClient", "DeleteEmailTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEmailTemplateCommand)
20
- .de(de_DeleteEmailTemplateCommand)
14
+ .sc(DeleteEmailTemplate)
21
15
  .build() {
22
16
  }