@aws-sdk/client-pinpoint-email 3.478.0 → 3.481.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 (173) hide show
  1. package/dist-cjs/commands/CreateConfigurationSetCommand.js +18 -41
  2. package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDedicatedIpPoolCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDeliverabilityTestReportCommand.js +18 -41
  5. package/dist-cjs/commands/CreateEmailIdentityCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteConfigurationSetCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteDedicatedIpPoolCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteEmailIdentityCommand.js +18 -41
  10. package/dist-cjs/commands/GetAccountCommand.js +18 -41
  11. package/dist-cjs/commands/GetBlacklistReportsCommand.js +18 -41
  12. package/dist-cjs/commands/GetConfigurationSetCommand.js +18 -41
  13. package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
  14. package/dist-cjs/commands/GetDedicatedIpCommand.js +18 -41
  15. package/dist-cjs/commands/GetDedicatedIpsCommand.js +18 -41
  16. package/dist-cjs/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
  17. package/dist-cjs/commands/GetDeliverabilityTestReportCommand.js +18 -41
  18. package/dist-cjs/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
  19. package/dist-cjs/commands/GetDomainStatisticsReportCommand.js +18 -41
  20. package/dist-cjs/commands/GetEmailIdentityCommand.js +18 -41
  21. package/dist-cjs/commands/ListConfigurationSetsCommand.js +18 -41
  22. package/dist-cjs/commands/ListDedicatedIpPoolsCommand.js +18 -41
  23. package/dist-cjs/commands/ListDeliverabilityTestReportsCommand.js +18 -41
  24. package/dist-cjs/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
  25. package/dist-cjs/commands/ListEmailIdentitiesCommand.js +18 -41
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  27. package/dist-cjs/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
  28. package/dist-cjs/commands/PutAccountSendingAttributesCommand.js +18 -41
  29. package/dist-cjs/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
  30. package/dist-cjs/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
  31. package/dist-cjs/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
  32. package/dist-cjs/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
  33. package/dist-cjs/commands/PutDedicatedIpInPoolCommand.js +18 -41
  34. package/dist-cjs/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
  35. package/dist-cjs/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
  36. package/dist-cjs/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
  37. package/dist-cjs/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
  38. package/dist-cjs/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
  39. package/dist-cjs/commands/SendEmailCommand.js +18 -41
  40. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  41. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
  43. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  44. package/dist-es/commands/CreateConfigurationSetCommand.js +18 -41
  45. package/dist-es/commands/CreateConfigurationSetEventDestinationCommand.js +18 -41
  46. package/dist-es/commands/CreateDedicatedIpPoolCommand.js +18 -41
  47. package/dist-es/commands/CreateDeliverabilityTestReportCommand.js +18 -41
  48. package/dist-es/commands/CreateEmailIdentityCommand.js +18 -41
  49. package/dist-es/commands/DeleteConfigurationSetCommand.js +18 -41
  50. package/dist-es/commands/DeleteConfigurationSetEventDestinationCommand.js +18 -41
  51. package/dist-es/commands/DeleteDedicatedIpPoolCommand.js +18 -41
  52. package/dist-es/commands/DeleteEmailIdentityCommand.js +18 -41
  53. package/dist-es/commands/GetAccountCommand.js +18 -41
  54. package/dist-es/commands/GetBlacklistReportsCommand.js +18 -41
  55. package/dist-es/commands/GetConfigurationSetCommand.js +18 -41
  56. package/dist-es/commands/GetConfigurationSetEventDestinationsCommand.js +18 -41
  57. package/dist-es/commands/GetDedicatedIpCommand.js +18 -41
  58. package/dist-es/commands/GetDedicatedIpsCommand.js +18 -41
  59. package/dist-es/commands/GetDeliverabilityDashboardOptionsCommand.js +18 -41
  60. package/dist-es/commands/GetDeliverabilityTestReportCommand.js +18 -41
  61. package/dist-es/commands/GetDomainDeliverabilityCampaignCommand.js +18 -41
  62. package/dist-es/commands/GetDomainStatisticsReportCommand.js +18 -41
  63. package/dist-es/commands/GetEmailIdentityCommand.js +18 -41
  64. package/dist-es/commands/ListConfigurationSetsCommand.js +18 -41
  65. package/dist-es/commands/ListDedicatedIpPoolsCommand.js +18 -41
  66. package/dist-es/commands/ListDeliverabilityTestReportsCommand.js +18 -41
  67. package/dist-es/commands/ListDomainDeliverabilityCampaignsCommand.js +18 -41
  68. package/dist-es/commands/ListEmailIdentitiesCommand.js +18 -41
  69. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  70. package/dist-es/commands/PutAccountDedicatedIpWarmupAttributesCommand.js +18 -41
  71. package/dist-es/commands/PutAccountSendingAttributesCommand.js +18 -41
  72. package/dist-es/commands/PutConfigurationSetDeliveryOptionsCommand.js +18 -41
  73. package/dist-es/commands/PutConfigurationSetReputationOptionsCommand.js +18 -41
  74. package/dist-es/commands/PutConfigurationSetSendingOptionsCommand.js +18 -41
  75. package/dist-es/commands/PutConfigurationSetTrackingOptionsCommand.js +18 -41
  76. package/dist-es/commands/PutDedicatedIpInPoolCommand.js +18 -41
  77. package/dist-es/commands/PutDedicatedIpWarmupAttributesCommand.js +18 -41
  78. package/dist-es/commands/PutDeliverabilityDashboardOptionCommand.js +18 -41
  79. package/dist-es/commands/PutEmailIdentityDkimAttributesCommand.js +18 -41
  80. package/dist-es/commands/PutEmailIdentityFeedbackAttributesCommand.js +18 -41
  81. package/dist-es/commands/PutEmailIdentityMailFromAttributesCommand.js +18 -41
  82. package/dist-es/commands/SendEmailCommand.js +18 -41
  83. package/dist-es/commands/TagResourceCommand.js +18 -41
  84. package/dist-es/commands/UntagResourceCommand.js +18 -41
  85. package/dist-es/commands/UpdateConfigurationSetEventDestinationCommand.js +18 -41
  86. package/dist-es/endpoint/EndpointParameters.js +6 -0
  87. package/dist-types/commands/CreateConfigurationSetCommand.d.ts +6 -21
  88. package/dist-types/commands/CreateConfigurationSetEventDestinationCommand.d.ts +6 -21
  89. package/dist-types/commands/CreateDedicatedIpPoolCommand.d.ts +6 -21
  90. package/dist-types/commands/CreateDeliverabilityTestReportCommand.d.ts +6 -21
  91. package/dist-types/commands/CreateEmailIdentityCommand.d.ts +6 -21
  92. package/dist-types/commands/DeleteConfigurationSetCommand.d.ts +6 -21
  93. package/dist-types/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +6 -21
  94. package/dist-types/commands/DeleteDedicatedIpPoolCommand.d.ts +6 -21
  95. package/dist-types/commands/DeleteEmailIdentityCommand.d.ts +6 -21
  96. package/dist-types/commands/GetAccountCommand.d.ts +6 -21
  97. package/dist-types/commands/GetBlacklistReportsCommand.d.ts +6 -21
  98. package/dist-types/commands/GetConfigurationSetCommand.d.ts +6 -21
  99. package/dist-types/commands/GetConfigurationSetEventDestinationsCommand.d.ts +6 -21
  100. package/dist-types/commands/GetDedicatedIpCommand.d.ts +6 -21
  101. package/dist-types/commands/GetDedicatedIpsCommand.d.ts +6 -21
  102. package/dist-types/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +6 -21
  103. package/dist-types/commands/GetDeliverabilityTestReportCommand.d.ts +6 -21
  104. package/dist-types/commands/GetDomainDeliverabilityCampaignCommand.d.ts +6 -21
  105. package/dist-types/commands/GetDomainStatisticsReportCommand.d.ts +6 -21
  106. package/dist-types/commands/GetEmailIdentityCommand.d.ts +6 -21
  107. package/dist-types/commands/ListConfigurationSetsCommand.d.ts +6 -21
  108. package/dist-types/commands/ListDedicatedIpPoolsCommand.d.ts +6 -21
  109. package/dist-types/commands/ListDeliverabilityTestReportsCommand.d.ts +6 -21
  110. package/dist-types/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +6 -21
  111. package/dist-types/commands/ListEmailIdentitiesCommand.d.ts +6 -21
  112. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  113. package/dist-types/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +6 -21
  114. package/dist-types/commands/PutAccountSendingAttributesCommand.d.ts +6 -21
  115. package/dist-types/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +6 -21
  116. package/dist-types/commands/PutConfigurationSetReputationOptionsCommand.d.ts +6 -21
  117. package/dist-types/commands/PutConfigurationSetSendingOptionsCommand.d.ts +6 -21
  118. package/dist-types/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +6 -21
  119. package/dist-types/commands/PutDedicatedIpInPoolCommand.d.ts +6 -21
  120. package/dist-types/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +6 -21
  121. package/dist-types/commands/PutDeliverabilityDashboardOptionCommand.d.ts +6 -21
  122. package/dist-types/commands/PutEmailIdentityDkimAttributesCommand.d.ts +6 -21
  123. package/dist-types/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +6 -21
  124. package/dist-types/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +6 -21
  125. package/dist-types/commands/SendEmailCommand.d.ts +6 -21
  126. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  127. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  128. package/dist-types/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +6 -21
  129. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  130. package/dist-types/ts3.4/commands/CreateConfigurationSetCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/CreateConfigurationSetEventDestinationCommand.d.ts +12 -24
  132. package/dist-types/ts3.4/commands/CreateDedicatedIpPoolCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/CreateDeliverabilityTestReportCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/CreateEmailIdentityCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/DeleteConfigurationSetCommand.d.ts +12 -24
  136. package/dist-types/ts3.4/commands/DeleteConfigurationSetEventDestinationCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/DeleteDedicatedIpPoolCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/DeleteEmailIdentityCommand.d.ts +14 -23
  139. package/dist-types/ts3.4/commands/GetAccountCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/GetBlacklistReportsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/GetConfigurationSetCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/GetConfigurationSetEventDestinationsCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/GetDedicatedIpCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/GetDedicatedIpsCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/GetDeliverabilityDashboardOptionsCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/GetDeliverabilityTestReportCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/GetDomainDeliverabilityCampaignCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/GetDomainStatisticsReportCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/GetEmailIdentityCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/ListConfigurationSetsCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/ListDedicatedIpPoolsCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/commands/ListDeliverabilityTestReportsCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/ListDomainDeliverabilityCampaignsCommand.d.ts +12 -24
  154. package/dist-types/ts3.4/commands/ListEmailIdentitiesCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/PutAccountDedicatedIpWarmupAttributesCommand.d.ts +12 -24
  157. package/dist-types/ts3.4/commands/PutAccountSendingAttributesCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/PutConfigurationSetDeliveryOptionsCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/PutConfigurationSetReputationOptionsCommand.d.ts +12 -24
  160. package/dist-types/ts3.4/commands/PutConfigurationSetSendingOptionsCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/PutConfigurationSetTrackingOptionsCommand.d.ts +12 -24
  162. package/dist-types/ts3.4/commands/PutDedicatedIpInPoolCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/PutDedicatedIpWarmupAttributesCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/PutDeliverabilityDashboardOptionCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/PutEmailIdentityDkimAttributesCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/PutEmailIdentityFeedbackAttributesCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/PutEmailIdentityMailFromAttributesCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/SendEmailCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/UpdateConfigurationSetEventDestinationCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  173. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateDeliverabilityTestReportCommand, se_CreateDeliverabilityTestReportCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateDeliverabilityTestReportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateDeliverabilityTestReportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "CreateDeliverabilityTestReportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "CreateDeliverabilityTestReport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateDeliverabilityTestReportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateDeliverabilityTestReportCommand(output, context);
46
- }
7
+ export class CreateDeliverabilityTestReportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "CreateDeliverabilityTestReport", {})
19
+ .n("PinpointEmailClient", "CreateDeliverabilityTestReportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateDeliverabilityTestReportCommand)
22
+ .de(de_CreateDeliverabilityTestReportCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateEmailIdentityCommand, se_CreateEmailIdentityCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateEmailIdentityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateEmailIdentityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "CreateEmailIdentityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "CreateEmailIdentity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateEmailIdentityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateEmailIdentityCommand(output, context);
46
- }
7
+ export class CreateEmailIdentityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "CreateEmailIdentity", {})
19
+ .n("PinpointEmailClient", "CreateEmailIdentityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateEmailIdentityCommand)
22
+ .de(de_CreateEmailIdentityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteConfigurationSetCommand, se_DeleteConfigurationSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteConfigurationSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfigurationSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "DeleteConfigurationSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "DeleteConfigurationSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteConfigurationSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteConfigurationSetCommand(output, context);
46
- }
7
+ export class DeleteConfigurationSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "DeleteConfigurationSet", {})
19
+ .n("PinpointEmailClient", "DeleteConfigurationSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConfigurationSetCommand)
22
+ .de(de_DeleteConfigurationSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteConfigurationSetEventDestinationCommand, se_DeleteConfigurationSetEventDestinationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteConfigurationSetEventDestinationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfigurationSetEventDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "DeleteConfigurationSetEventDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "DeleteConfigurationSetEventDestination",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteConfigurationSetEventDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteConfigurationSetEventDestinationCommand(output, context);
46
- }
7
+ export class DeleteConfigurationSetEventDestinationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "DeleteConfigurationSetEventDestination", {})
19
+ .n("PinpointEmailClient", "DeleteConfigurationSetEventDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConfigurationSetEventDestinationCommand)
22
+ .de(de_DeleteConfigurationSetEventDestinationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteDedicatedIpPoolCommand, se_DeleteDedicatedIpPoolCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteDedicatedIpPoolCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDedicatedIpPoolCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "DeleteDedicatedIpPoolCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "DeleteDedicatedIpPool",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteDedicatedIpPoolCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteDedicatedIpPoolCommand(output, context);
46
- }
7
+ export class DeleteDedicatedIpPoolCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "DeleteDedicatedIpPool", {})
19
+ .n("PinpointEmailClient", "DeleteDedicatedIpPoolCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteDedicatedIpPoolCommand)
22
+ .de(de_DeleteDedicatedIpPoolCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteEmailIdentityCommand, se_DeleteEmailIdentityCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteEmailIdentityCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEmailIdentityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "DeleteEmailIdentityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "DeleteEmailIdentity",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteEmailIdentityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteEmailIdentityCommand(output, context);
46
- }
7
+ export class DeleteEmailIdentityCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "DeleteEmailIdentity", {})
19
+ .n("PinpointEmailClient", "DeleteEmailIdentityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteEmailIdentityCommand)
22
+ .de(de_DeleteEmailIdentityCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAccountCommand, se_GetAccountCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetAccountCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetAccountCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "GetAccountCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "GetAccount",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetAccountCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAccountCommand(output, context);
46
- }
7
+ export class GetAccountCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "GetAccount", {})
19
+ .n("PinpointEmailClient", "GetAccountCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAccountCommand)
22
+ .de(de_GetAccountCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetBlacklistReportsCommand, se_GetBlacklistReportsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetBlacklistReportsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetBlacklistReportsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "GetBlacklistReportsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "GetBlacklistReports",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetBlacklistReportsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetBlacklistReportsCommand(output, context);
46
- }
7
+ export class GetBlacklistReportsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "GetBlacklistReports", {})
19
+ .n("PinpointEmailClient", "GetBlacklistReportsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetBlacklistReportsCommand)
22
+ .de(de_GetBlacklistReportsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetConfigurationSetCommand, se_GetConfigurationSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetConfigurationSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetConfigurationSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "PinpointEmailClient";
26
- const commandName = "GetConfigurationSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonPinpointEmailService",
35
- operation: "GetConfigurationSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetConfigurationSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetConfigurationSetCommand(output, context);
46
- }
7
+ export class GetConfigurationSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonPinpointEmailService", "GetConfigurationSet", {})
19
+ .n("PinpointEmailClient", "GetConfigurationSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetConfigurationSetCommand)
22
+ .de(de_GetConfigurationSetCommand)
23
+ .build() {
47
24
  }