@aws-sdk/client-customer-profiles 3.183.0 → 3.186.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 (51) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/CustomerProfiles.js +161 -154
  4. package/dist-es/CustomerProfilesClient.js +28 -22
  5. package/dist-es/commands/AddProfileKeyCommand.js +28 -21
  6. package/dist-es/commands/CreateDomainCommand.js +28 -21
  7. package/dist-es/commands/CreateIntegrationWorkflowCommand.js +28 -21
  8. package/dist-es/commands/CreateProfileCommand.js +28 -21
  9. package/dist-es/commands/DeleteDomainCommand.js +28 -21
  10. package/dist-es/commands/DeleteIntegrationCommand.js +28 -21
  11. package/dist-es/commands/DeleteProfileCommand.js +28 -21
  12. package/dist-es/commands/DeleteProfileKeyCommand.js +28 -21
  13. package/dist-es/commands/DeleteProfileObjectCommand.js +28 -21
  14. package/dist-es/commands/DeleteProfileObjectTypeCommand.js +28 -21
  15. package/dist-es/commands/DeleteWorkflowCommand.js +28 -21
  16. package/dist-es/commands/GetAutoMergingPreviewCommand.js +28 -21
  17. package/dist-es/commands/GetDomainCommand.js +28 -21
  18. package/dist-es/commands/GetIdentityResolutionJobCommand.js +28 -21
  19. package/dist-es/commands/GetIntegrationCommand.js +28 -21
  20. package/dist-es/commands/GetMatchesCommand.js +28 -21
  21. package/dist-es/commands/GetProfileObjectTypeCommand.js +28 -21
  22. package/dist-es/commands/GetProfileObjectTypeTemplateCommand.js +28 -21
  23. package/dist-es/commands/GetWorkflowCommand.js +28 -21
  24. package/dist-es/commands/GetWorkflowStepsCommand.js +28 -21
  25. package/dist-es/commands/ListAccountIntegrationsCommand.js +28 -21
  26. package/dist-es/commands/ListDomainsCommand.js +28 -21
  27. package/dist-es/commands/ListIdentityResolutionJobsCommand.js +28 -21
  28. package/dist-es/commands/ListIntegrationsCommand.js +28 -21
  29. package/dist-es/commands/ListProfileObjectTypeTemplatesCommand.js +28 -21
  30. package/dist-es/commands/ListProfileObjectTypesCommand.js +28 -21
  31. package/dist-es/commands/ListProfileObjectsCommand.js +28 -21
  32. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  33. package/dist-es/commands/ListWorkflowsCommand.js +28 -21
  34. package/dist-es/commands/MergeProfilesCommand.js +28 -21
  35. package/dist-es/commands/PutIntegrationCommand.js +28 -21
  36. package/dist-es/commands/PutProfileObjectCommand.js +28 -21
  37. package/dist-es/commands/PutProfileObjectTypeCommand.js +28 -21
  38. package/dist-es/commands/SearchProfilesCommand.js +28 -21
  39. package/dist-es/commands/TagResourceCommand.js +28 -21
  40. package/dist-es/commands/UntagResourceCommand.js +28 -21
  41. package/dist-es/commands/UpdateDomainCommand.js +28 -21
  42. package/dist-es/commands/UpdateProfileCommand.js +28 -21
  43. package/dist-es/endpoints.js +8 -8
  44. package/dist-es/models/CustomerProfilesServiceException.js +10 -5
  45. package/dist-es/models/models_0.js +187 -438
  46. package/dist-es/protocols/Aws_restJson1.js +4376 -3396
  47. package/dist-es/runtimeConfig.browser.js +12 -26
  48. package/dist-es/runtimeConfig.js +12 -30
  49. package/dist-es/runtimeConfig.native.js +5 -8
  50. package/dist-es/runtimeConfig.shared.js +11 -8
  51. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteProfileObjectTypeRequestFilterSensitiveLog, DeleteProfileObjectTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteProfileObjectTypeCommand, serializeAws_restJson1DeleteProfileObjectTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteProfileObjectTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteProfileObjectTypeCommand = (function (_super) {
7
+ __extends(DeleteProfileObjectTypeCommand, _super);
8
+ function DeleteProfileObjectTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteProfileObjectTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "DeleteProfileObjectTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "DeleteProfileObjectTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteProfileObjectTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteProfileObjectTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteProfileObjectTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteProfileObjectTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteProfileObjectTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteProfileObjectTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteProfileObjectTypeCommand;
38
+ }($Command));
39
+ export { DeleteProfileObjectTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteWorkflowRequestFilterSensitiveLog, DeleteWorkflowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteWorkflowCommand, serializeAws_restJson1DeleteWorkflowCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteWorkflowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteWorkflowCommand = (function (_super) {
7
+ __extends(DeleteWorkflowCommand, _super);
8
+ function DeleteWorkflowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteWorkflowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "DeleteWorkflowCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "DeleteWorkflowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteWorkflowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteWorkflowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteWorkflowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteWorkflowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteWorkflowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteWorkflowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteWorkflowCommand;
38
+ }($Command));
39
+ export { DeleteWorkflowCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetAutoMergingPreviewRequestFilterSensitiveLog, GetAutoMergingPreviewResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAutoMergingPreviewCommand, serializeAws_restJson1GetAutoMergingPreviewCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAutoMergingPreviewCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAutoMergingPreviewCommand = (function (_super) {
7
+ __extends(GetAutoMergingPreviewCommand, _super);
8
+ function GetAutoMergingPreviewCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAutoMergingPreviewCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetAutoMergingPreviewCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetAutoMergingPreviewCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAutoMergingPreviewRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAutoMergingPreviewResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetAutoMergingPreviewCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAutoMergingPreviewCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAutoMergingPreviewCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAutoMergingPreviewCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAutoMergingPreviewCommand;
38
+ }($Command));
39
+ export { GetAutoMergingPreviewCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetDomainRequestFilterSensitiveLog, GetDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDomainCommand, serializeAws_restJson1GetDomainCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDomainCommand = (function (_super) {
7
+ __extends(GetDomainCommand, _super);
8
+ function GetDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDomainResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDomainCommand;
38
+ }($Command));
39
+ export { GetDomainCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetIdentityResolutionJobRequestFilterSensitiveLog, GetIdentityResolutionJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetIdentityResolutionJobCommand, serializeAws_restJson1GetIdentityResolutionJobCommand, } from "../protocols/Aws_restJson1";
5
- export class GetIdentityResolutionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetIdentityResolutionJobCommand = (function (_super) {
7
+ __extends(GetIdentityResolutionJobCommand, _super);
8
+ function GetIdentityResolutionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetIdentityResolutionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetIdentityResolutionJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetIdentityResolutionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetIdentityResolutionJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetIdentityResolutionJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetIdentityResolutionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetIdentityResolutionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetIdentityResolutionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetIdentityResolutionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetIdentityResolutionJobCommand;
38
+ }($Command));
39
+ export { GetIdentityResolutionJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetIntegrationRequestFilterSensitiveLog, GetIntegrationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetIntegrationCommand, serializeAws_restJson1GetIntegrationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetIntegrationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetIntegrationCommand = (function (_super) {
7
+ __extends(GetIntegrationCommand, _super);
8
+ function GetIntegrationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetIntegrationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetIntegrationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetIntegrationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetIntegrationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetIntegrationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetIntegrationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetIntegrationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetIntegrationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetIntegrationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetIntegrationCommand;
38
+ }($Command));
39
+ export { GetIntegrationCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetMatchesRequestFilterSensitiveLog, GetMatchesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetMatchesCommand, serializeAws_restJson1GetMatchesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetMatchesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetMatchesCommand = (function (_super) {
7
+ __extends(GetMatchesCommand, _super);
8
+ function GetMatchesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMatchesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetMatchesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetMatchesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMatchesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMatchesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetMatchesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetMatchesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMatchesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetMatchesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMatchesCommand;
38
+ }($Command));
39
+ export { GetMatchesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetProfileObjectTypeRequestFilterSensitiveLog, GetProfileObjectTypeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetProfileObjectTypeCommand, serializeAws_restJson1GetProfileObjectTypeCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProfileObjectTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetProfileObjectTypeCommand = (function (_super) {
7
+ __extends(GetProfileObjectTypeCommand, _super);
8
+ function GetProfileObjectTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProfileObjectTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetProfileObjectTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetProfileObjectTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetProfileObjectTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetProfileObjectTypeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetProfileObjectTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProfileObjectTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProfileObjectTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProfileObjectTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProfileObjectTypeCommand;
38
+ }($Command));
39
+ export { GetProfileObjectTypeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetProfileObjectTypeTemplateRequestFilterSensitiveLog, GetProfileObjectTypeTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetProfileObjectTypeTemplateCommand, serializeAws_restJson1GetProfileObjectTypeTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProfileObjectTypeTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetProfileObjectTypeTemplateCommand = (function (_super) {
7
+ __extends(GetProfileObjectTypeTemplateCommand, _super);
8
+ function GetProfileObjectTypeTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProfileObjectTypeTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetProfileObjectTypeTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetProfileObjectTypeTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetProfileObjectTypeTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetProfileObjectTypeTemplateResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetProfileObjectTypeTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProfileObjectTypeTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProfileObjectTypeTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProfileObjectTypeTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProfileObjectTypeTemplateCommand;
38
+ }($Command));
39
+ export { GetProfileObjectTypeTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetWorkflowRequestFilterSensitiveLog, GetWorkflowResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetWorkflowCommand, serializeAws_restJson1GetWorkflowCommand, } from "../protocols/Aws_restJson1";
5
- export class GetWorkflowCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetWorkflowCommand = (function (_super) {
7
+ __extends(GetWorkflowCommand, _super);
8
+ function GetWorkflowCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetWorkflowCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CustomerProfilesClient";
15
- const commandName = "GetWorkflowCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CustomerProfilesClient";
18
+ var commandName = "GetWorkflowCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetWorkflowRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetWorkflowResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetWorkflowCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetWorkflowCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetWorkflowCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetWorkflowCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetWorkflowCommand;
38
+ }($Command));
39
+ export { GetWorkflowCommand };