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