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