@aws-sdk/client-customer-profiles 3.939.0 → 3.942.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 (108) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +1058 -84
  3. package/dist-es/CustomerProfiles.js +30 -0
  4. package/dist-es/commands/CreateRecommenderCommand.js +16 -0
  5. package/dist-es/commands/DeleteDomainObjectTypeCommand.js +16 -0
  6. package/dist-es/commands/DeleteRecommenderCommand.js +16 -0
  7. package/dist-es/commands/GetDomainObjectTypeCommand.js +16 -0
  8. package/dist-es/commands/GetObjectTypeAttributeStatisticsCommand.js +16 -0
  9. package/dist-es/commands/GetProfileRecommendationsCommand.js +16 -0
  10. package/dist-es/commands/GetRecommenderCommand.js +16 -0
  11. package/dist-es/commands/ListDomainObjectTypesCommand.js +16 -0
  12. package/dist-es/commands/ListObjectTypeAttributeValuesCommand.js +16 -0
  13. package/dist-es/commands/ListRecommenderRecipesCommand.js +16 -0
  14. package/dist-es/commands/ListRecommendersCommand.js +16 -0
  15. package/dist-es/commands/PutDomainObjectTypeCommand.js +16 -0
  16. package/dist-es/commands/StartRecommenderCommand.js +16 -0
  17. package/dist-es/commands/StopRecommenderCommand.js +16 -0
  18. package/dist-es/commands/UpdateRecommenderCommand.js +16 -0
  19. package/dist-es/commands/index.js +15 -0
  20. package/dist-es/models/enums.js +41 -0
  21. package/dist-es/models/models_1.js +1 -0
  22. package/dist-es/pagination/ListDomainObjectTypesPaginator.js +4 -0
  23. package/dist-es/pagination/ListRecommenderRecipesPaginator.js +4 -0
  24. package/dist-es/pagination/ListRecommendersPaginator.js +4 -0
  25. package/dist-es/pagination/index.js +3 -0
  26. package/dist-es/schemas/schemas_0.js +792 -84
  27. package/dist-types/CustomerProfiles.d.ts +106 -0
  28. package/dist-types/CustomerProfilesClient.d.ts +17 -2
  29. package/dist-types/commands/CreateDomainCommand.d.ts +10 -0
  30. package/dist-types/commands/CreateRecommenderCommand.d.ts +109 -0
  31. package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +1 -0
  32. package/dist-types/commands/CreateSegmentEstimateCommand.d.ts +1 -0
  33. package/dist-types/commands/DeleteDomainObjectTypeCommand.d.ts +88 -0
  34. package/dist-types/commands/DeleteRecommenderCommand.d.ts +88 -0
  35. package/dist-types/commands/GetDomainCommand.d.ts +7 -0
  36. package/dist-types/commands/GetDomainObjectTypeCommand.d.ts +105 -0
  37. package/dist-types/commands/GetIntegrationCommand.d.ts +1 -0
  38. package/dist-types/commands/GetObjectTypeAttributeStatisticsCommand.d.ts +110 -0
  39. package/dist-types/commands/GetProfileRecommendationsCommand.d.ts +116 -0
  40. package/dist-types/commands/GetRecommenderCommand.d.ts +136 -0
  41. package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +2 -0
  42. package/dist-types/commands/GetSegmentMembershipCommand.d.ts +1 -0
  43. package/dist-types/commands/ListAccountIntegrationsCommand.d.ts +1 -0
  44. package/dist-types/commands/ListDomainObjectTypesCommand.d.ts +102 -0
  45. package/dist-types/commands/ListIntegrationsCommand.d.ts +1 -0
  46. package/dist-types/commands/ListObjectTypeAttributeValuesCommand.d.ts +99 -0
  47. package/dist-types/commands/ListRecommenderRecipesCommand.d.ts +93 -0
  48. package/dist-types/commands/ListRecommendersCommand.d.ts +133 -0
  49. package/dist-types/commands/ListSegmentDefinitionsCommand.d.ts +1 -0
  50. package/dist-types/commands/PutDomainObjectTypeCommand.d.ts +118 -0
  51. package/dist-types/commands/PutIntegrationCommand.d.ts +5 -3
  52. package/dist-types/commands/StartRecommenderCommand.d.ts +88 -0
  53. package/dist-types/commands/StopRecommenderCommand.d.ts +89 -0
  54. package/dist-types/commands/StopUploadJobCommand.d.ts +1 -1
  55. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateDomainCommand.d.ts +11 -1
  59. package/dist-types/commands/UpdateDomainLayoutCommand.d.ts +1 -1
  60. package/dist-types/commands/UpdateEventTriggerCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
  62. package/dist-types/commands/UpdateRecommenderCommand.d.ts +102 -0
  63. package/dist-types/commands/index.d.ts +15 -0
  64. package/dist-types/index.d.ts +1 -0
  65. package/dist-types/models/enums.d.ts +97 -0
  66. package/dist-types/models/models_0.d.ts +1084 -738
  67. package/dist-types/models/models_1.d.ts +744 -0
  68. package/dist-types/pagination/ListDomainObjectTypesPaginator.d.ts +7 -0
  69. package/dist-types/pagination/ListRecommenderRecipesPaginator.d.ts +7 -0
  70. package/dist-types/pagination/ListRecommendersPaginator.d.ts +7 -0
  71. package/dist-types/pagination/index.d.ts +3 -0
  72. package/dist-types/schemas/schemas_0.d.ts +74 -0
  73. package/dist-types/ts3.4/CustomerProfiles.d.ts +256 -0
  74. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +92 -2
  75. package/dist-types/ts3.4/commands/CreateRecommenderCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeleteDomainObjectTypeCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/DeleteRecommenderCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetDomainObjectTypeCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/GetObjectTypeAttributeStatisticsCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/GetProfileRecommendationsCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/GetRecommenderCommand.d.ts +50 -0
  82. package/dist-types/ts3.4/commands/ListDomainObjectTypesCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/ListObjectTypeAttributeValuesCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/ListRecommenderRecipesCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +50 -0
  86. package/dist-types/ts3.4/commands/PutDomainObjectTypeCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/StartRecommenderCommand.d.ts +50 -0
  88. package/dist-types/ts3.4/commands/StopRecommenderCommand.d.ts +48 -0
  89. package/dist-types/ts3.4/commands/StopUploadJobCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateDomainLayoutCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UpdateEventTriggerCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateRecommenderCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  99. package/dist-types/ts3.4/index.d.ts +1 -0
  100. package/dist-types/ts3.4/models/enums.d.ts +51 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +251 -142
  102. package/dist-types/ts3.4/models/models_1.d.ts +176 -0
  103. package/dist-types/ts3.4/pagination/ListDomainObjectTypesPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListRecommenderRecipesPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListRecommendersPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  107. package/dist-types/ts3.4/schemas/schemas_0.d.ts +74 -0
  108. package/package.json +5 -5
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { DeleteDomainObjectTypeRequest, DeleteDomainObjectTypeResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteDomainObjectTypeCommand}.
14
+ */
15
+ export interface DeleteDomainObjectTypeCommandInput extends DeleteDomainObjectTypeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDomainObjectTypeCommand}.
21
+ */
22
+ export interface DeleteDomainObjectTypeCommandOutput extends DeleteDomainObjectTypeResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDomainObjectTypeCommand_base: {
25
+ new (input: DeleteDomainObjectTypeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainObjectTypeCommandInput, DeleteDomainObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteDomainObjectTypeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainObjectTypeCommandInput, DeleteDomainObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Delete a DomainObjectType for the given Domain and ObjectType name.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, DeleteDomainObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, DeleteDomainObjectTypeCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // DeleteDomainObjectTypeRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * ObjectTypeName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteDomainObjectTypeCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteDomainObjectTypeCommandInput - {@link DeleteDomainObjectTypeCommandInput}
50
+ * @returns {@link DeleteDomainObjectTypeCommandOutput}
51
+ * @see {@link DeleteDomainObjectTypeCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteDomainObjectTypeCommandOutput} for command's `response` shape.
53
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link BadRequestException} (client fault)
59
+ * <p>The input you provided is invalid.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An internal service error occurred.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The requested resource does not exist, or access was denied.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>You exceeded the maximum number of requests.</p>
69
+ *
70
+ * @throws {@link CustomerProfilesServiceException}
71
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DeleteDomainObjectTypeCommand extends DeleteDomainObjectTypeCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DeleteDomainObjectTypeRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DeleteDomainObjectTypeCommandInput;
85
+ output: DeleteDomainObjectTypeCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { DeleteRecommenderRequest, DeleteRecommenderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteRecommenderCommand}.
14
+ */
15
+ export interface DeleteRecommenderCommandInput extends DeleteRecommenderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteRecommenderCommand}.
21
+ */
22
+ export interface DeleteRecommenderCommandOutput extends DeleteRecommenderResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteRecommenderCommand_base: {
25
+ new (input: DeleteRecommenderCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteRecommenderCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRecommenderCommandInput, DeleteRecommenderCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a recommender.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, DeleteRecommenderCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, DeleteRecommenderCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // DeleteRecommenderRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * RecommenderName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteRecommenderCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteRecommenderCommandInput - {@link DeleteRecommenderCommandInput}
50
+ * @returns {@link DeleteRecommenderCommandOutput}
51
+ * @see {@link DeleteRecommenderCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteRecommenderCommandOutput} for command's `response` shape.
53
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link BadRequestException} (client fault)
59
+ * <p>The input you provided is invalid.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An internal service error occurred.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The requested resource does not exist, or access was denied.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>You exceeded the maximum number of requests.</p>
69
+ *
70
+ * @throws {@link CustomerProfilesServiceException}
71
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DeleteRecommenderCommand extends DeleteRecommenderCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DeleteRecommenderRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: DeleteRecommenderCommandInput;
85
+ output: DeleteRecommenderCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -115,6 +115,13 @@ declare const GetDomainCommand_base: {
115
115
  * // },
116
116
  * // },
117
117
  * // },
118
+ * // DataStore: { // DataStoreResponse
119
+ * // Enabled: true || false,
120
+ * // Readiness: { // Readiness
121
+ * // ProgressPercentage: Number("int"),
122
+ * // Message: "STRING_VALUE",
123
+ * // },
124
+ * // },
118
125
  * // CreatedAt: new Date("TIMESTAMP"), // required
119
126
  * // LastUpdatedAt: new Date("TIMESTAMP"), // required
120
127
  * // Tags: { // TagMap
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { GetDomainObjectTypeRequest, GetDomainObjectTypeResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDomainObjectTypeCommand}.
14
+ */
15
+ export interface GetDomainObjectTypeCommandInput extends GetDomainObjectTypeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDomainObjectTypeCommand}.
21
+ */
22
+ export interface GetDomainObjectTypeCommandOutput extends GetDomainObjectTypeResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDomainObjectTypeCommand_base: {
25
+ new (input: GetDomainObjectTypeCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainObjectTypeCommandInput, GetDomainObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDomainObjectTypeCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainObjectTypeCommandInput, GetDomainObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Return a DomainObjectType for the input Domain and ObjectType names. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, GetDomainObjectTypeCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, GetDomainObjectTypeCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // GetDomainObjectTypeRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * ObjectTypeName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new GetDomainObjectTypeCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetDomainObjectTypeResponse
46
+ * // ObjectTypeName: "STRING_VALUE", // required
47
+ * // Description: "STRING_VALUE",
48
+ * // EncryptionKey: "STRING_VALUE",
49
+ * // Fields: { // DomainObjectTypeFields
50
+ * // "<keys>": { // DomainObjectTypeField
51
+ * // Source: "STRING_VALUE", // required
52
+ * // Target: "STRING_VALUE", // required
53
+ * // ContentType: "STRING" || "NUMBER",
54
+ * // FeatureType: "TEXTUAL" || "CATEGORICAL",
55
+ * // },
56
+ * // },
57
+ * // CreatedAt: new Date("TIMESTAMP"),
58
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
59
+ * // Tags: { // TagMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param GetDomainObjectTypeCommandInput - {@link GetDomainObjectTypeCommandInput}
67
+ * @returns {@link GetDomainObjectTypeCommandOutput}
68
+ * @see {@link GetDomainObjectTypeCommandInput} for command's `input` shape.
69
+ * @see {@link GetDomainObjectTypeCommandOutput} for command's `response` shape.
70
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
71
+ *
72
+ * @throws {@link AccessDeniedException} (client fault)
73
+ * <p>You do not have sufficient access to perform this action.</p>
74
+ *
75
+ * @throws {@link BadRequestException} (client fault)
76
+ * <p>The input you provided is invalid.</p>
77
+ *
78
+ * @throws {@link InternalServerException} (server fault)
79
+ * <p>An internal service error occurred.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The requested resource does not exist, or access was denied.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>You exceeded the maximum number of requests.</p>
86
+ *
87
+ * @throws {@link CustomerProfilesServiceException}
88
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class GetDomainObjectTypeCommand extends GetDomainObjectTypeCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: GetDomainObjectTypeRequest;
98
+ output: GetDomainObjectTypeResponse;
99
+ };
100
+ sdk: {
101
+ input: GetDomainObjectTypeCommandInput;
102
+ output: GetDomainObjectTypeCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -60,6 +60,7 @@ declare const GetIntegrationCommand_base: {
60
60
  * // EventTriggerNames: [ // EventTriggerNames
61
61
  * // "STRING_VALUE",
62
62
  * // ],
63
+ * // Scope: "PROFILE" || "DOMAIN",
63
64
  * // };
64
65
  *
65
66
  * ```
@@ -0,0 +1,110 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { GetObjectTypeAttributeStatisticsRequest, GetObjectTypeAttributeStatisticsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetObjectTypeAttributeStatisticsCommand}.
14
+ */
15
+ export interface GetObjectTypeAttributeStatisticsCommandInput extends GetObjectTypeAttributeStatisticsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetObjectTypeAttributeStatisticsCommand}.
21
+ */
22
+ export interface GetObjectTypeAttributeStatisticsCommandOutput extends GetObjectTypeAttributeStatisticsResponse, __MetadataBearer {
23
+ }
24
+ declare const GetObjectTypeAttributeStatisticsCommand_base: {
25
+ new (input: GetObjectTypeAttributeStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTypeAttributeStatisticsCommandInput, GetObjectTypeAttributeStatisticsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetObjectTypeAttributeStatisticsCommandInput): import("@smithy/smithy-client").CommandImpl<GetObjectTypeAttributeStatisticsCommandInput, GetObjectTypeAttributeStatisticsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>The GetObjectTypeAttributeValues API delivers statistical insights about attributes within a specific object type, but is exclusively available for domains with data store enabled. This API performs daily calculations to provide statistical information about your attribute values, helping you understand patterns and trends in your data. The statistical calculations are performed once per day, providing a consistent snapshot of your attribute data characteristics.</p>
31
+ * <note>
32
+ * <p>You'll receive null values in two scenarios: </p>
33
+ * <p>During the first period after enabling data vault (unless a calculation cycle occurs, which happens once daily).</p>
34
+ * <p>For attributes that don't contain numeric values.
35
+ * </p>
36
+ * </note>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { CustomerProfilesClient, GetObjectTypeAttributeStatisticsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
41
+ * // const { CustomerProfilesClient, GetObjectTypeAttributeStatisticsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
42
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
43
+ * const config = {}; // type is CustomerProfilesClientConfig
44
+ * const client = new CustomerProfilesClient(config);
45
+ * const input = { // GetObjectTypeAttributeStatisticsRequest
46
+ * DomainName: "STRING_VALUE", // required
47
+ * ObjectTypeName: "STRING_VALUE", // required
48
+ * AttributeName: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new GetObjectTypeAttributeStatisticsCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetObjectTypeAttributeStatisticsResponse
53
+ * // Statistics: { // GetObjectTypeAttributeStatisticsStats
54
+ * // Maximum: Number("double"), // required
55
+ * // Minimum: Number("double"), // required
56
+ * // Average: Number("double"), // required
57
+ * // StandardDeviation: Number("double"), // required
58
+ * // Percentiles: { // GetObjectTypeAttributeStatisticsPercentiles
59
+ * // P5: Number("double"), // required
60
+ * // P25: Number("double"), // required
61
+ * // P50: Number("double"), // required
62
+ * // P75: Number("double"), // required
63
+ * // P95: Number("double"), // required
64
+ * // },
65
+ * // },
66
+ * // CalculatedAt: new Date("TIMESTAMP"), // required
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param GetObjectTypeAttributeStatisticsCommandInput - {@link GetObjectTypeAttributeStatisticsCommandInput}
72
+ * @returns {@link GetObjectTypeAttributeStatisticsCommandOutput}
73
+ * @see {@link GetObjectTypeAttributeStatisticsCommandInput} for command's `input` shape.
74
+ * @see {@link GetObjectTypeAttributeStatisticsCommandOutput} for command's `response` shape.
75
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDeniedException} (client fault)
78
+ * <p>You do not have sufficient access to perform this action.</p>
79
+ *
80
+ * @throws {@link BadRequestException} (client fault)
81
+ * <p>The input you provided is invalid.</p>
82
+ *
83
+ * @throws {@link InternalServerException} (server fault)
84
+ * <p>An internal service error occurred.</p>
85
+ *
86
+ * @throws {@link ResourceNotFoundException} (client fault)
87
+ * <p>The requested resource does not exist, or access was denied.</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>You exceeded the maximum number of requests.</p>
91
+ *
92
+ * @throws {@link CustomerProfilesServiceException}
93
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
94
+ *
95
+ *
96
+ * @public
97
+ */
98
+ export declare class GetObjectTypeAttributeStatisticsCommand extends GetObjectTypeAttributeStatisticsCommand_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: GetObjectTypeAttributeStatisticsRequest;
103
+ output: GetObjectTypeAttributeStatisticsResponse;
104
+ };
105
+ sdk: {
106
+ input: GetObjectTypeAttributeStatisticsCommandInput;
107
+ output: GetObjectTypeAttributeStatisticsCommandOutput;
108
+ };
109
+ };
110
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { GetProfileRecommendationsRequest, GetProfileRecommendationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetProfileRecommendationsCommand}.
14
+ */
15
+ export interface GetProfileRecommendationsCommandInput extends GetProfileRecommendationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetProfileRecommendationsCommand}.
21
+ */
22
+ export interface GetProfileRecommendationsCommandOutput extends GetProfileRecommendationsResponse, __MetadataBearer {
23
+ }
24
+ declare const GetProfileRecommendationsCommand_base: {
25
+ new (input: GetProfileRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileRecommendationsCommandInput, GetProfileRecommendationsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetProfileRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileRecommendationsCommandInput, GetProfileRecommendationsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Fetches the recommendations for a profile in the input Customer Profiles domain. Fetches all the profile recommendations </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, GetProfileRecommendationsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, GetProfileRecommendationsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // GetProfileRecommendationsRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * ProfileId: "STRING_VALUE", // required
42
+ * RecommenderName: "STRING_VALUE", // required
43
+ * Context: { // RecommenderContext
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * MaxResults: Number("int"),
47
+ * };
48
+ * const command = new GetProfileRecommendationsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // GetProfileRecommendationsResponse
51
+ * // Recommendations: [ // Recommendations
52
+ * // { // Recommendation
53
+ * // CatalogItem: { // CatalogItem
54
+ * // Id: "STRING_VALUE",
55
+ * // Name: "STRING_VALUE",
56
+ * // Code: "STRING_VALUE",
57
+ * // Type: "STRING_VALUE",
58
+ * // Category: "STRING_VALUE",
59
+ * // Description: "STRING_VALUE",
60
+ * // AdditionalInformation: "STRING_VALUE",
61
+ * // ImageLink: "STRING_VALUE",
62
+ * // Link: "STRING_VALUE",
63
+ * // CreatedAt: new Date("TIMESTAMP"),
64
+ * // UpdatedAt: new Date("TIMESTAMP"),
65
+ * // Price: "STRING_VALUE",
66
+ * // Attributes: { // Attributes
67
+ * // "<keys>": "STRING_VALUE",
68
+ * // },
69
+ * // },
70
+ * // Score: Number("double"),
71
+ * // },
72
+ * // ],
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param GetProfileRecommendationsCommandInput - {@link GetProfileRecommendationsCommandInput}
78
+ * @returns {@link GetProfileRecommendationsCommandOutput}
79
+ * @see {@link GetProfileRecommendationsCommandInput} for command's `input` shape.
80
+ * @see {@link GetProfileRecommendationsCommandOutput} for command's `response` shape.
81
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>You do not have sufficient access to perform this action.</p>
85
+ *
86
+ * @throws {@link BadRequestException} (client fault)
87
+ * <p>The input you provided is invalid.</p>
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * <p>An internal service error occurred.</p>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>The requested resource does not exist, or access was denied.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>You exceeded the maximum number of requests.</p>
97
+ *
98
+ * @throws {@link CustomerProfilesServiceException}
99
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class GetProfileRecommendationsCommand extends GetProfileRecommendationsCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: GetProfileRecommendationsRequest;
109
+ output: GetProfileRecommendationsResponse;
110
+ };
111
+ sdk: {
112
+ input: GetProfileRecommendationsCommandInput;
113
+ output: GetProfileRecommendationsCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -0,0 +1,136 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { GetRecommenderRequest, GetRecommenderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRecommenderCommand}.
14
+ */
15
+ export interface GetRecommenderCommandInput extends GetRecommenderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRecommenderCommand}.
21
+ */
22
+ export interface GetRecommenderCommandOutput extends GetRecommenderResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRecommenderCommand_base: {
25
+ new (input: GetRecommenderCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommenderCommandInput, GetRecommenderCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRecommenderCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommenderCommandInput, GetRecommenderCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves a recommender.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, GetRecommenderCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, GetRecommenderCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // GetRecommenderRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * RecommenderName: "STRING_VALUE", // required
42
+ * TrainingMetricsCount: Number("int"),
43
+ * };
44
+ * const command = new GetRecommenderCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetRecommenderResponse
47
+ * // RecommenderName: "STRING_VALUE", // required
48
+ * // RecommenderRecipeName: "recommended-for-you" || "similar-items" || "frequently-paired-items" || "popular-items" || "trending-now", // required
49
+ * // RecommenderConfig: { // RecommenderConfig
50
+ * // EventsConfig: { // EventsConfig
51
+ * // EventParametersList: [ // EventParametersList // required
52
+ * // { // EventParameters
53
+ * // EventType: "STRING_VALUE", // required
54
+ * // EventValueThreshold: Number("double"),
55
+ * // },
56
+ * // ],
57
+ * // },
58
+ * // TrainingFrequency: Number("int"),
59
+ * // },
60
+ * // Description: "STRING_VALUE",
61
+ * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING",
62
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
63
+ * // CreatedAt: new Date("TIMESTAMP"),
64
+ * // FailureReason: "STRING_VALUE",
65
+ * // LatestRecommenderUpdate: { // RecommenderUpdate
66
+ * // RecommenderConfig: {
67
+ * // EventsConfig: {
68
+ * // EventParametersList: [ // required
69
+ * // {
70
+ * // EventType: "STRING_VALUE", // required
71
+ * // EventValueThreshold: Number("double"),
72
+ * // },
73
+ * // ],
74
+ * // },
75
+ * // TrainingFrequency: Number("int"),
76
+ * // },
77
+ * // Status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "FAILED" || "STOPPING" || "INACTIVE" || "STARTING" || "DELETING",
78
+ * // CreatedAt: new Date("TIMESTAMP"),
79
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
80
+ * // FailureReason: "STRING_VALUE",
81
+ * // },
82
+ * // TrainingMetrics: [ // TrainingMetricsList
83
+ * // { // TrainingMetrics
84
+ * // Time: new Date("TIMESTAMP"),
85
+ * // Metrics: { // Metrics
86
+ * // "<keys>": Number("double"),
87
+ * // },
88
+ * // },
89
+ * // ],
90
+ * // Tags: { // TagMap
91
+ * // "<keys>": "STRING_VALUE",
92
+ * // },
93
+ * // };
94
+ *
95
+ * ```
96
+ *
97
+ * @param GetRecommenderCommandInput - {@link GetRecommenderCommandInput}
98
+ * @returns {@link GetRecommenderCommandOutput}
99
+ * @see {@link GetRecommenderCommandInput} for command's `input` shape.
100
+ * @see {@link GetRecommenderCommandOutput} for command's `response` shape.
101
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
102
+ *
103
+ * @throws {@link AccessDeniedException} (client fault)
104
+ * <p>You do not have sufficient access to perform this action.</p>
105
+ *
106
+ * @throws {@link BadRequestException} (client fault)
107
+ * <p>The input you provided is invalid.</p>
108
+ *
109
+ * @throws {@link InternalServerException} (server fault)
110
+ * <p>An internal service error occurred.</p>
111
+ *
112
+ * @throws {@link ResourceNotFoundException} (client fault)
113
+ * <p>The requested resource does not exist, or access was denied.</p>
114
+ *
115
+ * @throws {@link ThrottlingException} (client fault)
116
+ * <p>You exceeded the maximum number of requests.</p>
117
+ *
118
+ * @throws {@link CustomerProfilesServiceException}
119
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
120
+ *
121
+ *
122
+ * @public
123
+ */
124
+ export declare class GetRecommenderCommand extends GetRecommenderCommand_base {
125
+ /** @internal type navigation helper, not in runtime. */
126
+ protected static __types: {
127
+ api: {
128
+ input: GetRecommenderRequest;
129
+ output: GetRecommenderResponse;
130
+ };
131
+ sdk: {
132
+ input: GetRecommenderCommandInput;
133
+ output: GetRecommenderCommandOutput;
134
+ };
135
+ };
136
+ }