@aws-sdk/client-customer-profiles 3.477.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 (217) hide show
  1. package/dist-cjs/commands/AddProfileKeyCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCalculatedAttributeDefinitionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateDomainCommand.js +18 -41
  4. package/dist-cjs/commands/CreateEventStreamCommand.js +18 -41
  5. package/dist-cjs/commands/CreateIntegrationWorkflowCommand.js +18 -41
  6. package/dist-cjs/commands/CreateProfileCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteCalculatedAttributeDefinitionCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteDomainCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteEventStreamCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteIntegrationCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteProfileCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteProfileKeyCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteProfileObjectCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteProfileObjectTypeCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteWorkflowCommand.js +18 -41
  16. package/dist-cjs/commands/DetectProfileObjectTypeCommand.js +18 -41
  17. package/dist-cjs/commands/GetAutoMergingPreviewCommand.js +18 -41
  18. package/dist-cjs/commands/GetCalculatedAttributeDefinitionCommand.js +18 -41
  19. package/dist-cjs/commands/GetCalculatedAttributeForProfileCommand.js +18 -41
  20. package/dist-cjs/commands/GetDomainCommand.js +18 -41
  21. package/dist-cjs/commands/GetEventStreamCommand.js +18 -41
  22. package/dist-cjs/commands/GetIdentityResolutionJobCommand.js +18 -41
  23. package/dist-cjs/commands/GetIntegrationCommand.js +18 -41
  24. package/dist-cjs/commands/GetMatchesCommand.js +18 -41
  25. package/dist-cjs/commands/GetProfileObjectTypeCommand.js +18 -41
  26. package/dist-cjs/commands/GetProfileObjectTypeTemplateCommand.js +18 -41
  27. package/dist-cjs/commands/GetSimilarProfilesCommand.js +18 -41
  28. package/dist-cjs/commands/GetWorkflowCommand.js +18 -41
  29. package/dist-cjs/commands/GetWorkflowStepsCommand.js +18 -41
  30. package/dist-cjs/commands/ListAccountIntegrationsCommand.js +18 -41
  31. package/dist-cjs/commands/ListCalculatedAttributeDefinitionsCommand.js +18 -41
  32. package/dist-cjs/commands/ListCalculatedAttributesForProfileCommand.js +18 -41
  33. package/dist-cjs/commands/ListDomainsCommand.js +18 -41
  34. package/dist-cjs/commands/ListEventStreamsCommand.js +18 -41
  35. package/dist-cjs/commands/ListIdentityResolutionJobsCommand.js +18 -41
  36. package/dist-cjs/commands/ListIntegrationsCommand.js +18 -41
  37. package/dist-cjs/commands/ListProfileObjectTypeTemplatesCommand.js +18 -41
  38. package/dist-cjs/commands/ListProfileObjectTypesCommand.js +18 -41
  39. package/dist-cjs/commands/ListProfileObjectsCommand.js +18 -41
  40. package/dist-cjs/commands/ListRuleBasedMatchesCommand.js +18 -41
  41. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  42. package/dist-cjs/commands/ListWorkflowsCommand.js +18 -41
  43. package/dist-cjs/commands/MergeProfilesCommand.js +18 -41
  44. package/dist-cjs/commands/PutIntegrationCommand.js +18 -41
  45. package/dist-cjs/commands/PutProfileObjectCommand.js +18 -41
  46. package/dist-cjs/commands/PutProfileObjectTypeCommand.js +18 -41
  47. package/dist-cjs/commands/SearchProfilesCommand.js +18 -41
  48. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  49. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateCalculatedAttributeDefinitionCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateDomainCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateProfileCommand.js +18 -41
  53. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  54. package/dist-cjs/pagination/ListEventStreamsPaginator.js +2 -24
  55. package/dist-es/commands/AddProfileKeyCommand.js +18 -41
  56. package/dist-es/commands/CreateCalculatedAttributeDefinitionCommand.js +18 -41
  57. package/dist-es/commands/CreateDomainCommand.js +18 -41
  58. package/dist-es/commands/CreateEventStreamCommand.js +18 -41
  59. package/dist-es/commands/CreateIntegrationWorkflowCommand.js +18 -41
  60. package/dist-es/commands/CreateProfileCommand.js +18 -41
  61. package/dist-es/commands/DeleteCalculatedAttributeDefinitionCommand.js +18 -41
  62. package/dist-es/commands/DeleteDomainCommand.js +18 -41
  63. package/dist-es/commands/DeleteEventStreamCommand.js +18 -41
  64. package/dist-es/commands/DeleteIntegrationCommand.js +18 -41
  65. package/dist-es/commands/DeleteProfileCommand.js +18 -41
  66. package/dist-es/commands/DeleteProfileKeyCommand.js +18 -41
  67. package/dist-es/commands/DeleteProfileObjectCommand.js +18 -41
  68. package/dist-es/commands/DeleteProfileObjectTypeCommand.js +18 -41
  69. package/dist-es/commands/DeleteWorkflowCommand.js +18 -41
  70. package/dist-es/commands/DetectProfileObjectTypeCommand.js +18 -41
  71. package/dist-es/commands/GetAutoMergingPreviewCommand.js +18 -41
  72. package/dist-es/commands/GetCalculatedAttributeDefinitionCommand.js +18 -41
  73. package/dist-es/commands/GetCalculatedAttributeForProfileCommand.js +18 -41
  74. package/dist-es/commands/GetDomainCommand.js +18 -41
  75. package/dist-es/commands/GetEventStreamCommand.js +18 -41
  76. package/dist-es/commands/GetIdentityResolutionJobCommand.js +18 -41
  77. package/dist-es/commands/GetIntegrationCommand.js +18 -41
  78. package/dist-es/commands/GetMatchesCommand.js +18 -41
  79. package/dist-es/commands/GetProfileObjectTypeCommand.js +18 -41
  80. package/dist-es/commands/GetProfileObjectTypeTemplateCommand.js +18 -41
  81. package/dist-es/commands/GetSimilarProfilesCommand.js +18 -41
  82. package/dist-es/commands/GetWorkflowCommand.js +18 -41
  83. package/dist-es/commands/GetWorkflowStepsCommand.js +18 -41
  84. package/dist-es/commands/ListAccountIntegrationsCommand.js +18 -41
  85. package/dist-es/commands/ListCalculatedAttributeDefinitionsCommand.js +18 -41
  86. package/dist-es/commands/ListCalculatedAttributesForProfileCommand.js +18 -41
  87. package/dist-es/commands/ListDomainsCommand.js +18 -41
  88. package/dist-es/commands/ListEventStreamsCommand.js +18 -41
  89. package/dist-es/commands/ListIdentityResolutionJobsCommand.js +18 -41
  90. package/dist-es/commands/ListIntegrationsCommand.js +18 -41
  91. package/dist-es/commands/ListProfileObjectTypeTemplatesCommand.js +18 -41
  92. package/dist-es/commands/ListProfileObjectTypesCommand.js +18 -41
  93. package/dist-es/commands/ListProfileObjectsCommand.js +18 -41
  94. package/dist-es/commands/ListRuleBasedMatchesCommand.js +18 -41
  95. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  96. package/dist-es/commands/ListWorkflowsCommand.js +18 -41
  97. package/dist-es/commands/MergeProfilesCommand.js +18 -41
  98. package/dist-es/commands/PutIntegrationCommand.js +18 -41
  99. package/dist-es/commands/PutProfileObjectCommand.js +18 -41
  100. package/dist-es/commands/PutProfileObjectTypeCommand.js +18 -41
  101. package/dist-es/commands/SearchProfilesCommand.js +18 -41
  102. package/dist-es/commands/TagResourceCommand.js +18 -41
  103. package/dist-es/commands/UntagResourceCommand.js +18 -41
  104. package/dist-es/commands/UpdateCalculatedAttributeDefinitionCommand.js +18 -41
  105. package/dist-es/commands/UpdateDomainCommand.js +18 -41
  106. package/dist-es/commands/UpdateProfileCommand.js +18 -41
  107. package/dist-es/endpoint/EndpointParameters.js +6 -0
  108. package/dist-es/pagination/ListEventStreamsPaginator.js +2 -23
  109. package/dist-types/commands/AddProfileKeyCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateDomainCommand.d.ts +6 -21
  112. package/dist-types/commands/CreateEventStreamCommand.d.ts +6 -21
  113. package/dist-types/commands/CreateIntegrationWorkflowCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateProfileCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteCalculatedAttributeDefinitionCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteDomainCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteEventStreamCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteIntegrationCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteProfileCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteProfileKeyCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteProfileObjectCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteProfileObjectTypeCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteWorkflowCommand.d.ts +6 -21
  124. package/dist-types/commands/DetectProfileObjectTypeCommand.d.ts +6 -21
  125. package/dist-types/commands/GetAutoMergingPreviewCommand.d.ts +6 -21
  126. package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +6 -21
  127. package/dist-types/commands/GetCalculatedAttributeForProfileCommand.d.ts +6 -21
  128. package/dist-types/commands/GetDomainCommand.d.ts +6 -21
  129. package/dist-types/commands/GetEventStreamCommand.d.ts +6 -21
  130. package/dist-types/commands/GetIdentityResolutionJobCommand.d.ts +6 -21
  131. package/dist-types/commands/GetIntegrationCommand.d.ts +6 -21
  132. package/dist-types/commands/GetMatchesCommand.d.ts +6 -21
  133. package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +6 -21
  134. package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +6 -21
  135. package/dist-types/commands/GetSimilarProfilesCommand.d.ts +6 -21
  136. package/dist-types/commands/GetWorkflowCommand.d.ts +6 -21
  137. package/dist-types/commands/GetWorkflowStepsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListAccountIntegrationsCommand.d.ts +6 -21
  139. package/dist-types/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +6 -21
  140. package/dist-types/commands/ListCalculatedAttributesForProfileCommand.d.ts +6 -21
  141. package/dist-types/commands/ListDomainsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListEventStreamsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListIdentityResolutionJobsCommand.d.ts +6 -21
  144. package/dist-types/commands/ListIntegrationsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListProfileObjectTypeTemplatesCommand.d.ts +6 -21
  146. package/dist-types/commands/ListProfileObjectTypesCommand.d.ts +6 -21
  147. package/dist-types/commands/ListProfileObjectsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListRuleBasedMatchesCommand.d.ts +6 -21
  149. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  150. package/dist-types/commands/ListWorkflowsCommand.d.ts +6 -21
  151. package/dist-types/commands/MergeProfilesCommand.d.ts +6 -21
  152. package/dist-types/commands/PutIntegrationCommand.d.ts +6 -21
  153. package/dist-types/commands/PutProfileObjectCommand.d.ts +6 -21
  154. package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +6 -21
  155. package/dist-types/commands/SearchProfilesCommand.d.ts +6 -21
  156. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  157. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  158. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +6 -21
  159. package/dist-types/commands/UpdateDomainCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateProfileCommand.d.ts +6 -21
  161. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  162. package/dist-types/pagination/ListEventStreamsPaginator.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/AddProfileKeyCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/CreateEventStreamCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/CreateIntegrationWorkflowCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/DeleteCalculatedAttributeDefinitionCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +14 -23
  171. package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DetectProfileObjectTypeCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/GetAutoMergingPreviewCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/GetCalculatedAttributeDefinitionCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/GetCalculatedAttributeForProfileCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/GetIdentityResolutionJobCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/GetMatchesCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/GetProfileObjectTypeCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/GetSimilarProfilesCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/GetWorkflowStepsCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/ListAccountIntegrationsCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/ListCalculatedAttributesForProfileCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/ListEventStreamsCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/ListIdentityResolutionJobsCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListRuleBasedMatchesCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  216. package/dist-types/ts3.4/pagination/ListEventStreamsPaginator.d.ts +3 -3
  217. package/package.json +11 -11
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AddProfileKeyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddProfileKeyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "AddProfileKeyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "AddProfileKey",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_AddProfileKeyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AddProfileKeyCommand)(output, context);
49
- }
10
+ class AddProfileKeyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "AddProfileKey", {})
22
+ .n("CustomerProfilesClient", "AddProfileKeyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AddProfileKeyCommand)
25
+ .de(Aws_restJson1_1.de_AddProfileKeyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddProfileKeyCommand = AddProfileKeyCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateCalculatedAttributeDefinitionCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCalculatedAttributeDefinitionCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "CustomerProfilesClient";
30
- const commandName = "CreateCalculatedAttributeDefinitionCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.CreateCalculatedAttributeDefinitionRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: models_0_1.CreateCalculatedAttributeDefinitionResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "CustomerProfiles_20200815",
39
- operation: "CreateCalculatedAttributeDefinition",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_CreateCalculatedAttributeDefinitionCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_CreateCalculatedAttributeDefinitionCommand)(output, context);
50
- }
11
+ class CreateCalculatedAttributeDefinitionCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("CustomerProfiles_20200815", "CreateCalculatedAttributeDefinition", {})
23
+ .n("CustomerProfilesClient", "CreateCalculatedAttributeDefinitionCommand")
24
+ .f(models_0_1.CreateCalculatedAttributeDefinitionRequestFilterSensitiveLog, models_0_1.CreateCalculatedAttributeDefinitionResponseFilterSensitiveLog)
25
+ .ser(Aws_restJson1_1.se_CreateCalculatedAttributeDefinitionCommand)
26
+ .de(Aws_restJson1_1.de_CreateCalculatedAttributeDefinitionCommand)
27
+ .build() {
51
28
  }
52
29
  exports.CreateCalculatedAttributeDefinitionCommand = CreateCalculatedAttributeDefinitionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateDomainCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDomainCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "CreateDomainCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "CreateDomain",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateDomainCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateDomainCommand)(output, context);
49
- }
10
+ class CreateDomainCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "CreateDomain", {})
22
+ .n("CustomerProfilesClient", "CreateDomainCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateDomainCommand)
25
+ .de(Aws_restJson1_1.de_CreateDomainCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateDomainCommand = CreateDomainCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateEventStreamCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEventStreamCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "CreateEventStreamCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "CreateEventStream",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_CreateEventStreamCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateEventStreamCommand)(output, context);
49
- }
10
+ class CreateEventStreamCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "CreateEventStream", {})
22
+ .n("CustomerProfilesClient", "CreateEventStreamCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateEventStreamCommand)
25
+ .de(Aws_restJson1_1.de_CreateEventStreamCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateEventStreamCommand = CreateEventStreamCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateIntegrationWorkflowCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateIntegrationWorkflowCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "CustomerProfilesClient";
30
- const commandName = "CreateIntegrationWorkflowCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.CreateIntegrationWorkflowRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "CustomerProfiles_20200815",
39
- operation: "CreateIntegrationWorkflow",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_CreateIntegrationWorkflowCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_CreateIntegrationWorkflowCommand)(output, context);
50
- }
11
+ class CreateIntegrationWorkflowCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("CustomerProfiles_20200815", "CreateIntegrationWorkflow", {})
23
+ .n("CustomerProfilesClient", "CreateIntegrationWorkflowCommand")
24
+ .f(models_0_1.CreateIntegrationWorkflowRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_CreateIntegrationWorkflowCommand)
26
+ .de(Aws_restJson1_1.de_CreateIntegrationWorkflowCommand)
27
+ .build() {
51
28
  }
52
29
  exports.CreateIntegrationWorkflowCommand = CreateIntegrationWorkflowCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
- class CreateProfileCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateProfileCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "CustomerProfilesClient";
30
- const commandName = "CreateProfileCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: models_0_1.CreateProfileRequestFilterSensitiveLog,
36
- outputFilterSensitiveLog: (_) => _,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "CustomerProfiles_20200815",
39
- operation: "CreateProfile",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_restJson1_1.se_CreateProfileCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_restJson1_1.de_CreateProfileCommand)(output, context);
50
- }
11
+ class CreateProfileCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("CustomerProfiles_20200815", "CreateProfile", {})
23
+ .n("CustomerProfilesClient", "CreateProfileCommand")
24
+ .f(models_0_1.CreateProfileRequestFilterSensitiveLog, void 0)
25
+ .ser(Aws_restJson1_1.se_CreateProfileCommand)
26
+ .de(Aws_restJson1_1.de_CreateProfileCommand)
27
+ .build() {
51
28
  }
52
29
  exports.CreateProfileCommand = CreateProfileCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteCalculatedAttributeDefinitionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCalculatedAttributeDefinitionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "DeleteCalculatedAttributeDefinitionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "DeleteCalculatedAttributeDefinition",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteCalculatedAttributeDefinitionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteCalculatedAttributeDefinitionCommand)(output, context);
49
- }
10
+ class DeleteCalculatedAttributeDefinitionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "DeleteCalculatedAttributeDefinition", {})
22
+ .n("CustomerProfilesClient", "DeleteCalculatedAttributeDefinitionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteCalculatedAttributeDefinitionCommand)
25
+ .de(Aws_restJson1_1.de_DeleteCalculatedAttributeDefinitionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteCalculatedAttributeDefinitionCommand = DeleteCalculatedAttributeDefinitionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteDomainCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDomainCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "DeleteDomainCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "DeleteDomain",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteDomainCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteDomainCommand)(output, context);
49
- }
10
+ class DeleteDomainCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "DeleteDomain", {})
22
+ .n("CustomerProfilesClient", "DeleteDomainCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteDomainCommand)
25
+ .de(Aws_restJson1_1.de_DeleteDomainCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteDomainCommand = DeleteDomainCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class DeleteEventStreamCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEventStreamCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "CustomerProfilesClient";
29
- const commandName = "DeleteEventStreamCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "CustomerProfiles_20200815",
38
- operation: "DeleteEventStream",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_DeleteEventStreamCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_DeleteEventStreamCommand)(output, context);
49
- }
10
+ class DeleteEventStreamCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("CustomerProfiles_20200815", "DeleteEventStream", {})
22
+ .n("CustomerProfilesClient", "DeleteEventStreamCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_DeleteEventStreamCommand)
25
+ .de(Aws_restJson1_1.de_DeleteEventStreamCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteEventStreamCommand = DeleteEventStreamCommand;