@aws-sdk/client-customer-profiles 3.36.0 → 3.36.1

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 (77) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CustomerProfiles.js +0 -12
  3. package/dist-cjs/CustomerProfilesClient.js +0 -17
  4. package/dist-cjs/commands/AddProfileKeyCommand.js +0 -27
  5. package/dist-cjs/commands/CreateDomainCommand.js +0 -31
  6. package/dist-cjs/commands/CreateProfileCommand.js +0 -26
  7. package/dist-cjs/commands/DeleteDomainCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteIntegrationCommand.js +0 -24
  9. package/dist-cjs/commands/DeleteProfileCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteProfileKeyCommand.js +0 -24
  11. package/dist-cjs/commands/DeleteProfileObjectCommand.js +0 -24
  12. package/dist-cjs/commands/DeleteProfileObjectTypeCommand.js +0 -27
  13. package/dist-cjs/commands/GetDomainCommand.js +0 -24
  14. package/dist-cjs/commands/GetIntegrationCommand.js +0 -24
  15. package/dist-cjs/commands/GetMatchesCommand.js +0 -68
  16. package/dist-cjs/commands/GetProfileObjectTypeCommand.js +0 -24
  17. package/dist-cjs/commands/GetProfileObjectTypeTemplateCommand.js +0 -28
  18. package/dist-cjs/commands/ListAccountIntegrationsCommand.js +0 -24
  19. package/dist-cjs/commands/ListDomainsCommand.js +0 -24
  20. package/dist-cjs/commands/ListIntegrationsCommand.js +0 -24
  21. package/dist-cjs/commands/ListProfileObjectTypeTemplatesCommand.js +0 -24
  22. package/dist-cjs/commands/ListProfileObjectTypesCommand.js +0 -24
  23. package/dist-cjs/commands/ListProfileObjectsCommand.js +0 -24
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  25. package/dist-cjs/commands/MergeProfilesCommand.js +0 -68
  26. package/dist-cjs/commands/PutIntegrationCommand.js +0 -26
  27. package/dist-cjs/commands/PutProfileObjectCommand.js +0 -33
  28. package/dist-cjs/commands/PutProfileObjectTypeCommand.js +0 -24
  29. package/dist-cjs/commands/SearchProfilesCommand.js +0 -25
  30. package/dist-cjs/commands/TagResourceCommand.js +0 -35
  31. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  32. package/dist-cjs/commands/UpdateDomainCommand.js +0 -29
  33. package/dist-cjs/commands/UpdateProfileCommand.js +0 -28
  34. package/dist-cjs/models/models_0.js +0 -285
  35. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  36. package/dist-cjs/runtimeConfig.browser.js +1 -5
  37. package/dist-cjs/runtimeConfig.js +1 -5
  38. package/dist-cjs/runtimeConfig.native.js +0 -3
  39. package/dist-cjs/runtimeConfig.shared.js +0 -3
  40. package/dist-types/ts3.4/CustomerProfiles.d.ts +31 -244
  41. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +24 -98
  42. package/dist-types/ts3.4/commands/AddProfileKeyCommand.d.ts +2 -23
  43. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +2 -27
  44. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +2 -22
  45. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +2 -21
  46. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +2 -20
  47. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +2 -20
  48. package/dist-types/ts3.4/commands/DeleteProfileKeyCommand.d.ts +2 -20
  49. package/dist-types/ts3.4/commands/DeleteProfileObjectCommand.d.ts +2 -20
  50. package/dist-types/ts3.4/commands/DeleteProfileObjectTypeCommand.d.ts +2 -23
  51. package/dist-types/ts3.4/commands/GetDomainCommand.d.ts +2 -20
  52. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +2 -20
  53. package/dist-types/ts3.4/commands/GetMatchesCommand.d.ts +2 -64
  54. package/dist-types/ts3.4/commands/GetProfileObjectTypeCommand.d.ts +2 -20
  55. package/dist-types/ts3.4/commands/GetProfileObjectTypeTemplateCommand.d.ts +2 -24
  56. package/dist-types/ts3.4/commands/ListAccountIntegrationsCommand.d.ts +2 -20
  57. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -20
  58. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +2 -20
  59. package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +2 -20
  60. package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +2 -20
  61. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +2 -20
  62. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  63. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +2 -64
  64. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +2 -22
  65. package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +2 -29
  66. package/dist-types/ts3.4/commands/PutProfileObjectTypeCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/SearchProfilesCommand.d.ts +2 -21
  68. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -31
  69. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  70. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +2 -25
  71. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +2 -24
  72. package/dist-types/ts3.4/models/models_0.d.ts +505 -1628
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  77. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -32,18 +32,6 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
32
32
  const UpdateDomainCommand_1 = require("./commands/UpdateDomainCommand");
33
33
  const UpdateProfileCommand_1 = require("./commands/UpdateProfileCommand");
34
34
  const CustomerProfilesClient_1 = require("./CustomerProfilesClient");
35
- /**
36
- * <fullname>Amazon Connect Customer Profiles</fullname>
37
- * <p>Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information
38
- * about the Amazon Connect Customer Profiles API, including supported operations, data types,
39
- * parameters, and schemas.</p>
40
- * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact center that has
41
- * pre-built connectors powered by AppFlow that make it easy to combine customer information
42
- * from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your
43
- * enterprise resource planning (ERP), with contact history from your Amazon Connect contact
44
- * center.</p>
45
- * <p>If you're new to Amazon Connect , you might find it helpful to also review the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html">Amazon Connect Administrator Guide</a>.</p>
46
- */
47
35
  class CustomerProfiles extends CustomerProfilesClient_1.CustomerProfilesClient {
48
36
  addProfileKey(args, optionsOrCb, cb) {
49
37
  const command = new AddProfileKeyCommand_1.AddProfileKeyCommand(args);
@@ -10,18 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>Amazon Connect Customer Profiles</fullname>
15
- * <p>Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information
16
- * about the Amazon Connect Customer Profiles API, including supported operations, data types,
17
- * parameters, and schemas.</p>
18
- * <p>Amazon Connect Customer Profiles is a unified customer profile for your contact center that has
19
- * pre-built connectors powered by AppFlow that make it easy to combine customer information
20
- * from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your
21
- * enterprise resource planning (ERP), with contact history from your Amazon Connect contact
22
- * center.</p>
23
- * <p>If you're new to Amazon Connect , you might find it helpful to also review the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html">Amazon Connect Administrator Guide</a>.</p>
24
- */
25
13
  class CustomerProfilesClient extends smithy_client_1.Client {
26
14
  constructor(configuration) {
27
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -40,11 +28,6 @@ class CustomerProfilesClient extends smithy_client_1.Client {
40
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
41
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
42
30
  }
43
- /**
44
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
45
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
46
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
47
- */
48
31
  destroy() {
49
32
  super.destroy();
50
33
  }
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Associates a new key value with a specific profile, such as a Contact Trace Record (CTR)
10
- * ContactId.</p>
11
- * <p>A profile object can have a single unique key and any number of additional keys that can
12
- * be used to identify the profile that it belongs to.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CustomerProfilesClient, AddProfileKeyCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
17
- * // const { CustomerProfilesClient, AddProfileKeyCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
18
- * const client = new CustomerProfilesClient(config);
19
- * const command = new AddProfileKeyCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link AddProfileKeyCommandInput} for command's `input` shape.
24
- * @see {@link AddProfileKeyCommandOutput} for command's `response` shape.
25
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class AddProfileKeyCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a domain, which is a container for all customer data, such as customer profile
10
- * attributes, object types, profile keys, and encryption keys. You can create multiple
11
- * domains, and each domain can have multiple third-party integrations.</p>
12
- * <p>Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can
13
- * be associated with one domain.</p>
14
- * <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
15
- * enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
16
- * resolution</a>: set <code>Matching</code> to true. </p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { CustomerProfilesClient, CreateDomainCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
21
- * // const { CustomerProfilesClient, CreateDomainCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
22
- * const client = new CustomerProfilesClient(config);
23
- * const command = new CreateDomainCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link CreateDomainCommandInput} for command's `input` shape.
28
- * @see {@link CreateDomainCommandOutput} for command's `response` shape.
29
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class CreateDomainCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a standard profile.</p>
10
- * <p>A standard profile represents the following attributes for a customer profile in a
11
- * domain.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CustomerProfilesClient, CreateProfileCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
16
- * // const { CustomerProfilesClient, CreateProfileCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
17
- * const client = new CustomerProfilesClient(config);
18
- * const command = new CreateProfileCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateProfileCommandInput} for command's `input` shape.
23
- * @see {@link CreateProfileCommandOutput} for command's `response` shape.
24
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CreateProfileCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes a specific domain and all of its customer data, such as customer profile
10
- * attributes and their related objects.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CustomerProfilesClient, DeleteDomainCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
15
- * // const { CustomerProfilesClient, DeleteDomainCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
16
- * const client = new CustomerProfilesClient(config);
17
- * const command = new DeleteDomainCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteDomainCommandInput} for command's `input` shape.
22
- * @see {@link DeleteDomainCommandOutput} for command's `response` shape.
23
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteDomainCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes an integration from a specific domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, DeleteIntegrationCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, DeleteIntegrationCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new DeleteIntegrationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteIntegrationCommandInput} for command's `input` shape.
21
- * @see {@link DeleteIntegrationCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteIntegrationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the standard customer profile and all data pertaining to the profile.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, DeleteProfileCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, DeleteProfileCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new DeleteProfileCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteProfileCommandInput} for command's `input` shape.
21
- * @see {@link DeleteProfileCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteProfileCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes a searchable key from a customer profile.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, DeleteProfileKeyCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, DeleteProfileKeyCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new DeleteProfileKeyCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteProfileKeyCommandInput} for command's `input` shape.
21
- * @see {@link DeleteProfileKeyCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteProfileKeyCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes an object associated with a profile of a given ProfileObjectType.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, DeleteProfileObjectCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, DeleteProfileObjectCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new DeleteProfileObjectCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteProfileObjectCommandInput} for command's `input` shape.
21
- * @see {@link DeleteProfileObjectCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteProfileObjectCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Removes a ProfileObjectType from a specific domain as well as removes all the
10
- * ProfileObjects of that type. It also disables integrations from this specific
11
- * ProfileObjectType. In addition, it scrubs all of the fields of the standard profile that
12
- * were populated from this ProfileObjectType.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CustomerProfilesClient, DeleteProfileObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
17
- * // const { CustomerProfilesClient, DeleteProfileObjectTypeCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
18
- * const client = new CustomerProfilesClient(config);
19
- * const command = new DeleteProfileObjectTypeCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteProfileObjectTypeCommandInput} for command's `input` shape.
24
- * @see {@link DeleteProfileObjectTypeCommandOutput} for command's `response` shape.
25
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeleteProfileObjectTypeCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns information about a specific domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, GetDomainCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, GetDomainCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new GetDomainCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDomainCommandInput} for command's `input` shape.
21
- * @see {@link GetDomainCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetDomainCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns an integration for a domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, GetIntegrationCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, GetIntegrationCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new GetIntegrationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetIntegrationCommandInput} for command's `input` shape.
21
- * @see {@link GetIntegrationCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetIntegrationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,79 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
10
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
11
- * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
12
- * enable identity resolution: set <code>Matching</code> to true.</p>
13
- * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
14
- * of a machine learning process. </p>
15
- * <important>
16
- * <p>Amazon Connect starts a batch process every Saturday at 12AM UTC to identify matching profiles.
17
- * The results are returned up to seven days after the Saturday run.</p>
18
- * </important>
19
- *
20
- * <p>Amazon Connect uses the following profile attributes to identify matches:</p>
21
- * <ul>
22
- * <li>
23
- * <p>PhoneNumber</p>
24
- * </li>
25
- * <li>
26
- * <p>HomePhoneNumber</p>
27
- * </li>
28
- * <li>
29
- * <p>BusinessPhoneNumber</p>
30
- * </li>
31
- * <li>
32
- * <p>MobilePhoneNumber</p>
33
- * </li>
34
- * <li>
35
- * <p>EmailAddress</p>
36
- * </li>
37
- * <li>
38
- * <p>PersonalEmailAddress</p>
39
- * </li>
40
- * <li>
41
- * <p>BusinessEmailAddress</p>
42
- * </li>
43
- * <li>
44
- * <p>FullName</p>
45
- * </li>
46
- * <li>
47
- * <p>BusinessName</p>
48
- * </li>
49
- * </ul>
50
- * <p>For example, two or more profiles—with spelling mistakes such as <b>John Doe</b> and <b>Jhn Doe</b>, or different casing
51
- * email addresses such as <b>JOHN_DOE@ANYCOMPANY.COM</b> and
52
- * <b>johndoe@anycompany.com</b>, or different phone number
53
- * formats such as <b>555-010-0000</b> and <b>+1-555-010-0000</b>—can be detected as belonging to the same customer <b>John Doe</b> and merged into a unified profile.</p>
54
- * @example
55
- * Use a bare-bones client and the command you need to make an API call.
56
- * ```javascript
57
- * import { CustomerProfilesClient, GetMatchesCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
58
- * // const { CustomerProfilesClient, GetMatchesCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
59
- * const client = new CustomerProfilesClient(config);
60
- * const command = new GetMatchesCommand(input);
61
- * const response = await client.send(command);
62
- * ```
63
- *
64
- * @see {@link GetMatchesCommandInput} for command's `input` shape.
65
- * @see {@link GetMatchesCommandOutput} for command's `response` shape.
66
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
67
- *
68
- */
69
8
  class GetMatchesCommand extends smithy_client_1.Command {
70
- // Start section: command_properties
71
- // End section: command_properties
72
9
  constructor(input) {
73
- // Start section: command_constructor
74
10
  super();
75
11
  this.input = input;
76
- // End section: command_constructor
77
12
  }
78
- /**
79
- * @internal
80
- */
81
13
  resolveMiddleware(clientStack, configuration, options) {
82
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
83
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the object types for a specific domain.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CustomerProfilesClient, GetProfileObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
14
- * // const { CustomerProfilesClient, GetProfileObjectTypeCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
15
- * const client = new CustomerProfilesClient(config);
16
- * const command = new GetProfileObjectTypeCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetProfileObjectTypeCommandInput} for command's `input` shape.
21
- * @see {@link GetProfileObjectTypeCommandOutput} for command's `response` shape.
22
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetProfileObjectTypeCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Returns the template information for a specific object type.</p>
10
- * <p>A template is a predefined ProfileObjectType, such as “Salesforce-Account” or
11
- * “Salesforce-Contact.” When a user sends a ProfileObject, using the PutProfileObject API,
12
- * with an ObjectTypeName that matches one of the TemplateIds, it uses the mappings from the
13
- * template.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CustomerProfilesClient, GetProfileObjectTypeTemplateCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
18
- * // const { CustomerProfilesClient, GetProfileObjectTypeTemplateCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
19
- * const client = new CustomerProfilesClient(config);
20
- * const command = new GetProfileObjectTypeTemplateCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link GetProfileObjectTypeTemplateCommandInput} for command's `input` shape.
25
- * @see {@link GetProfileObjectTypeTemplateCommandOutput} for command's `response` shape.
26
- * @see {@link CustomerProfilesClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class GetProfileObjectTypeTemplateCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);