@aws-sdk/client-customer-profiles 3.826.0 → 3.828.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 (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +439 -33
  3. package/dist-es/CustomerProfiles.js +10 -0
  4. package/dist-es/commands/CreateDomainLayoutCommand.js +23 -0
  5. package/dist-es/commands/DeleteDomainLayoutCommand.js +22 -0
  6. package/dist-es/commands/GetDomainLayoutCommand.js +23 -0
  7. package/dist-es/commands/ListDomainLayoutsCommand.js +23 -0
  8. package/dist-es/commands/UpdateDomainLayoutCommand.js +23 -0
  9. package/dist-es/commands/UpdateProfileCommand.js +1 -1
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/index.js +1 -0
  12. package/dist-es/models/models_0.js +51 -26
  13. package/dist-es/models/models_1.js +27 -0
  14. package/dist-es/pagination/ListDomainLayoutsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_restJson1.js +240 -2
  17. package/dist-types/CustomerProfiles.d.ts +35 -0
  18. package/dist-types/CustomerProfilesClient.d.ts +7 -2
  19. package/dist-types/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +23 -4
  21. package/dist-types/commands/CreateDomainLayoutCommand.d.ts +108 -0
  22. package/dist-types/commands/DeleteDomainLayoutCommand.d.ts +89 -0
  23. package/dist-types/commands/DetectProfileObjectTypeCommand.d.ts +1 -1
  24. package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +14 -2
  25. package/dist-types/commands/GetCalculatedAttributeForProfileCommand.d.ts +1 -0
  26. package/dist-types/commands/GetDomainLayoutCommand.d.ts +100 -0
  27. package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +1 -1
  28. package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +2 -0
  30. package/dist-types/commands/ListCalculatedAttributesForProfileCommand.d.ts +1 -0
  31. package/dist-types/commands/ListDomainLayoutsCommand.d.ts +104 -0
  32. package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +22 -4
  34. package/dist-types/commands/UpdateDomainLayoutCommand.d.ts +105 -0
  35. package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
  36. package/dist-types/commands/index.d.ts +5 -0
  37. package/dist-types/models/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +631 -173
  39. package/dist-types/models/models_1.d.ts +152 -0
  40. package/dist-types/pagination/ListDomainLayoutsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  43. package/dist-types/ts3.4/CustomerProfiles.d.ts +85 -0
  44. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
  45. package/dist-types/ts3.4/commands/CreateDomainLayoutCommand.d.ts +51 -0
  46. package/dist-types/ts3.4/commands/DeleteDomainLayoutCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/GetDomainLayoutCommand.d.ts +50 -0
  48. package/dist-types/ts3.4/commands/ListDomainLayoutsCommand.d.ts +51 -0
  49. package/dist-types/ts3.4/commands/UpdateDomainLayoutCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/models/index.d.ts +1 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +153 -35
  54. package/dist-types/ts3.4/models/models_1.d.ts +34 -0
  55. package/dist-types/ts3.4/pagination/ListDomainLayoutsPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  58. package/package.json +5 -5
@@ -0,0 +1,108 @@
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 { CreateDomainLayoutRequest, CreateDomainLayoutResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDomainLayoutCommand}.
14
+ */
15
+ export interface CreateDomainLayoutCommandInput extends CreateDomainLayoutRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDomainLayoutCommand}.
21
+ */
22
+ export interface CreateDomainLayoutCommandOutput extends CreateDomainLayoutResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDomainLayoutCommand_base: {
25
+ new (input: CreateDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainLayoutCommandInput, CreateDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainLayoutCommandInput, CreateDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates the layout to view data for a specific domain. This API can only be invoked from
31
+ * the Amazon Connect admin website.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CustomerProfilesClient, CreateDomainLayoutCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, CreateDomainLayoutCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // CreateDomainLayoutRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * LayoutDefinitionName: "STRING_VALUE", // required
41
+ * Description: "STRING_VALUE", // required
42
+ * DisplayName: "STRING_VALUE", // required
43
+ * IsDefault: true || false,
44
+ * LayoutType: "PROFILE_EXPLORER", // required
45
+ * Layout: "STRING_VALUE", // required
46
+ * Tags: { // TagMap
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * };
50
+ * const command = new CreateDomainLayoutCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateDomainLayoutResponse
53
+ * // LayoutDefinitionName: "STRING_VALUE", // required
54
+ * // Description: "STRING_VALUE", // required
55
+ * // DisplayName: "STRING_VALUE", // required
56
+ * // IsDefault: true || false,
57
+ * // LayoutType: "PROFILE_EXPLORER", // required
58
+ * // Layout: "STRING_VALUE", // required
59
+ * // Version: "STRING_VALUE", // required
60
+ * // Tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // CreatedAt: new Date("TIMESTAMP"), // required
64
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param CreateDomainLayoutCommandInput - {@link CreateDomainLayoutCommandInput}
70
+ * @returns {@link CreateDomainLayoutCommandOutput}
71
+ * @see {@link CreateDomainLayoutCommandInput} for command's `input` shape.
72
+ * @see {@link CreateDomainLayoutCommandOutput} for command's `response` shape.
73
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You do not have sufficient access to perform this action.</p>
77
+ *
78
+ * @throws {@link BadRequestException} (client fault)
79
+ * <p>The input you provided is invalid.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>An internal service error occurred.</p>
83
+ *
84
+ * @throws {@link ResourceNotFoundException} (client fault)
85
+ * <p>The requested resource does not exist, or access was denied.</p>
86
+ *
87
+ * @throws {@link ThrottlingException} (client fault)
88
+ * <p>You exceeded the maximum number of requests.</p>
89
+ *
90
+ * @throws {@link CustomerProfilesServiceException}
91
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
92
+ *
93
+ *
94
+ * @public
95
+ */
96
+ export declare class CreateDomainLayoutCommand extends CreateDomainLayoutCommand_base {
97
+ /** @internal type navigation helper, not in runtime. */
98
+ protected static __types: {
99
+ api: {
100
+ input: CreateDomainLayoutRequest;
101
+ output: CreateDomainLayoutResponse;
102
+ };
103
+ sdk: {
104
+ input: CreateDomainLayoutCommandInput;
105
+ output: CreateDomainLayoutCommandOutput;
106
+ };
107
+ };
108
+ }
@@ -0,0 +1,89 @@
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 { DeleteDomainLayoutRequest, DeleteDomainLayoutResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteDomainLayoutCommand}.
14
+ */
15
+ export interface DeleteDomainLayoutCommandInput extends DeleteDomainLayoutRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDomainLayoutCommand}.
21
+ */
22
+ export interface DeleteDomainLayoutCommandOutput extends DeleteDomainLayoutResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDomainLayoutCommand_base: {
25
+ new (input: DeleteDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainLayoutCommandInput, DeleteDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDomainLayoutCommandInput, DeleteDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the layout used to view data for a specific domain. This API can only be invoked
31
+ * from the Amazon Connect admin website.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CustomerProfilesClient, DeleteDomainLayoutCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, DeleteDomainLayoutCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // DeleteDomainLayoutRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * LayoutDefinitionName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteDomainLayoutCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteDomainLayoutResponse
45
+ * // Message: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteDomainLayoutCommandInput - {@link DeleteDomainLayoutCommandInput}
51
+ * @returns {@link DeleteDomainLayoutCommandOutput}
52
+ * @see {@link DeleteDomainLayoutCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteDomainLayoutCommandOutput} for command's `response` shape.
54
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You do not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link BadRequestException} (client fault)
60
+ * <p>The input you provided is invalid.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>An internal service error occurred.</p>
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * <p>The requested resource does not exist, or access was denied.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>You exceeded the maximum number of requests.</p>
70
+ *
71
+ * @throws {@link CustomerProfilesServiceException}
72
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class DeleteDomainLayoutCommand extends DeleteDomainLayoutCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: DeleteDomainLayoutRequest;
82
+ output: DeleteDomainLayoutResponse;
83
+ };
84
+ sdk: {
85
+ input: DeleteDomainLayoutCommandInput;
86
+ output: DeleteDomainLayoutCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -57,7 +57,7 @@ declare const DetectProfileObjectTypeCommand_base: {
57
57
  * // "<keys>": [ // ObjectTypeKeyList
58
58
  * // { // ObjectTypeKey
59
59
  * // StandardIdentifiers: [ // StandardIdentifierList
60
- * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
60
+ * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
61
61
  * // ],
62
62
  * // FieldNames: [ // FieldNameList
63
63
  * // "STRING_VALUE",
@@ -70,8 +70,14 @@ declare const GetCalculatedAttributeDefinitionCommand_base: {
70
70
  * // },
71
71
  * // Conditions: { // Conditions
72
72
  * // Range: { // Range
73
- * // Value: Number("int"), // required
74
- * // Unit: "DAYS", // required
73
+ * // Value: Number("int"),
74
+ * // Unit: "DAYS",
75
+ * // ValueRange: { // ValueRange
76
+ * // Start: Number("int"), // required
77
+ * // End: Number("int"), // required
78
+ * // },
79
+ * // TimestampSource: "STRING_VALUE",
80
+ * // TimestampFormat: "STRING_VALUE",
75
81
  * // },
76
82
  * // ObjectCount: Number("int"),
77
83
  * // Threshold: { // Threshold
@@ -87,6 +93,12 @@ declare const GetCalculatedAttributeDefinitionCommand_base: {
87
93
  * // ],
88
94
  * // Expression: "STRING_VALUE", // required
89
95
  * // },
96
+ * // UseHistoricalData: true || false,
97
+ * // Status: "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
98
+ * // Readiness: { // Readiness
99
+ * // ProgressPercentage: Number("int"),
100
+ * // Message: "STRING_VALUE",
101
+ * // },
90
102
  * // Tags: { // TagMap
91
103
  * // "<keys>": "STRING_VALUE",
92
104
  * // },
@@ -46,6 +46,7 @@ declare const GetCalculatedAttributeForProfileCommand_base: {
46
46
  * // DisplayName: "STRING_VALUE",
47
47
  * // IsDataPartial: "STRING_VALUE",
48
48
  * // Value: "STRING_VALUE",
49
+ * // LastObjectTimestamp: new Date("TIMESTAMP"),
49
50
  * // };
50
51
  *
51
52
  * ```
@@ -0,0 +1,100 @@
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 { GetDomainLayoutRequest, GetDomainLayoutResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDomainLayoutCommand}.
14
+ */
15
+ export interface GetDomainLayoutCommandInput extends GetDomainLayoutRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDomainLayoutCommand}.
21
+ */
22
+ export interface GetDomainLayoutCommandOutput extends GetDomainLayoutResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDomainLayoutCommand_base: {
25
+ new (input: GetDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainLayoutCommandInput, GetDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<GetDomainLayoutCommandInput, GetDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the layout to view data for a specific domain. This API can only be invoked from
31
+ * the Amazon Connect admin website.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CustomerProfilesClient, GetDomainLayoutCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, GetDomainLayoutCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // GetDomainLayoutRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * LayoutDefinitionName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetDomainLayoutCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetDomainLayoutResponse
45
+ * // LayoutDefinitionName: "STRING_VALUE", // required
46
+ * // Description: "STRING_VALUE", // required
47
+ * // DisplayName: "STRING_VALUE", // required
48
+ * // IsDefault: true || false,
49
+ * // LayoutType: "PROFILE_EXPLORER", // required
50
+ * // Layout: "STRING_VALUE", // required
51
+ * // Version: "STRING_VALUE", // required
52
+ * // CreatedAt: new Date("TIMESTAMP"), // required
53
+ * // LastUpdatedAt: new Date("TIMESTAMP"), // required
54
+ * // Tags: { // TagMap
55
+ * // "<keys>": "STRING_VALUE",
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetDomainLayoutCommandInput - {@link GetDomainLayoutCommandInput}
62
+ * @returns {@link GetDomainLayoutCommandOutput}
63
+ * @see {@link GetDomainLayoutCommandInput} for command's `input` shape.
64
+ * @see {@link GetDomainLayoutCommandOutput} for command's `response` shape.
65
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link BadRequestException} (client fault)
71
+ * <p>The input you provided is invalid.</p>
72
+ *
73
+ * @throws {@link InternalServerException} (server fault)
74
+ * <p>An internal service error occurred.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The requested resource does not exist, or access was denied.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>You exceeded the maximum number of requests.</p>
81
+ *
82
+ * @throws {@link CustomerProfilesServiceException}
83
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetDomainLayoutCommand extends GetDomainLayoutCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: GetDomainLayoutRequest;
93
+ output: GetDomainLayoutResponse;
94
+ };
95
+ sdk: {
96
+ input: GetDomainLayoutCommandInput;
97
+ output: GetDomainLayoutCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -61,7 +61,7 @@ declare const GetProfileObjectTypeCommand_base: {
61
61
  * // "<keys>": [ // ObjectTypeKeyList
62
62
  * // { // ObjectTypeKey
63
63
  * // StandardIdentifiers: [ // StandardIdentifierList
64
- * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
64
+ * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
65
65
  * // ],
66
66
  * // FieldNames: [ // FieldNameList
67
67
  * // "STRING_VALUE",
@@ -60,7 +60,7 @@ declare const GetProfileObjectTypeTemplateCommand_base: {
60
60
  * // "<keys>": [ // ObjectTypeKeyList
61
61
  * // { // ObjectTypeKey
62
62
  * // StandardIdentifiers: [ // StandardIdentifierList
63
- * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
63
+ * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
64
64
  * // ],
65
65
  * // FieldNames: [ // FieldNameList
66
66
  * // "STRING_VALUE",
@@ -49,6 +49,8 @@ declare const ListCalculatedAttributeDefinitionsCommand_base: {
49
49
  * // Description: "STRING_VALUE",
50
50
  * // CreatedAt: new Date("TIMESTAMP"),
51
51
  * // LastUpdatedAt: new Date("TIMESTAMP"),
52
+ * // UseHistoricalData: true || false,
53
+ * // Status: "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
52
54
  * // Tags: { // TagMap
53
55
  * // "<keys>": "STRING_VALUE",
54
56
  * // },
@@ -49,6 +49,7 @@ declare const ListCalculatedAttributesForProfileCommand_base: {
49
49
  * // DisplayName: "STRING_VALUE",
50
50
  * // IsDataPartial: "STRING_VALUE",
51
51
  * // Value: "STRING_VALUE",
52
+ * // LastObjectTimestamp: new Date("TIMESTAMP"),
52
53
  * // },
53
54
  * // ],
54
55
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,104 @@
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 { ListDomainLayoutsRequest, ListDomainLayoutsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDomainLayoutsCommand}.
14
+ */
15
+ export interface ListDomainLayoutsCommandInput extends ListDomainLayoutsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDomainLayoutsCommand}.
21
+ */
22
+ export interface ListDomainLayoutsCommandOutput extends ListDomainLayoutsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListDomainLayoutsCommand_base: {
25
+ new (input: ListDomainLayoutsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainLayoutsCommandInput, ListDomainLayoutsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDomainLayoutsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDomainLayoutsCommandInput, ListDomainLayoutsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the existing layouts that can be used to view data for a specific domain. This API
31
+ * can only be invoked from the Amazon Connect admin website.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { CustomerProfilesClient, ListDomainLayoutsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, ListDomainLayoutsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // ListDomainLayoutsRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * };
43
+ * const command = new ListDomainLayoutsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListDomainLayoutsResponse
46
+ * // Items: [ // LayoutList
47
+ * // { // LayoutItem
48
+ * // LayoutDefinitionName: "STRING_VALUE", // required
49
+ * // Description: "STRING_VALUE", // required
50
+ * // DisplayName: "STRING_VALUE", // required
51
+ * // IsDefault: true || false,
52
+ * // LayoutType: "PROFILE_EXPLORER", // required
53
+ * // Tags: { // TagMap
54
+ * // "<keys>": "STRING_VALUE",
55
+ * // },
56
+ * // CreatedAt: new Date("TIMESTAMP"), // required
57
+ * // LastUpdatedAt: new Date("TIMESTAMP"), // required
58
+ * // },
59
+ * // ],
60
+ * // NextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListDomainLayoutsCommandInput - {@link ListDomainLayoutsCommandInput}
66
+ * @returns {@link ListDomainLayoutsCommandOutput}
67
+ * @see {@link ListDomainLayoutsCommandInput} for command's `input` shape.
68
+ * @see {@link ListDomainLayoutsCommandOutput} for command's `response` shape.
69
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
+ *
74
+ * @throws {@link BadRequestException} (client fault)
75
+ * <p>The input you provided is invalid.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An internal service error occurred.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The requested resource does not exist, or access was denied.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>You exceeded the maximum number of requests.</p>
85
+ *
86
+ * @throws {@link CustomerProfilesServiceException}
87
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListDomainLayoutsCommand extends ListDomainLayoutsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListDomainLayoutsRequest;
97
+ output: ListDomainLayoutsResponse;
98
+ };
99
+ sdk: {
100
+ input: ListDomainLayoutsCommandInput;
101
+ output: ListDomainLayoutsCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -57,7 +57,7 @@ declare const PutProfileObjectTypeCommand_base: {
57
57
  * "<keys>": [ // ObjectTypeKeyList
58
58
  * { // ObjectTypeKey
59
59
  * StandardIdentifiers: [ // StandardIdentifierList
60
- * "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
60
+ * "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
61
61
  * ],
62
62
  * FieldNames: [ // FieldNameList
63
63
  * "STRING_VALUE",
@@ -92,7 +92,7 @@ declare const PutProfileObjectTypeCommand_base: {
92
92
  * // "<keys>": [ // ObjectTypeKeyList
93
93
  * // { // ObjectTypeKey
94
94
  * // StandardIdentifiers: [ // StandardIdentifierList
95
- * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
95
+ * // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "AIR_PREFERENCE" || "HOTEL_PREFERENCE" || "AIR_BOOKING" || "AIR_SEGMENT" || "HOTEL_RESERVATION" || "HOTEL_STAY_REVENUE" || "LOYALTY" || "LOYALTY_TRANSACTION" || "LOYALTY_PROMOTION" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
96
96
  * // ],
97
97
  * // FieldNames: [ // FieldNameList
98
98
  * // "STRING_VALUE",
@@ -43,8 +43,14 @@ declare const UpdateCalculatedAttributeDefinitionCommand_base: {
43
43
  * Description: "STRING_VALUE",
44
44
  * Conditions: { // Conditions
45
45
  * Range: { // Range
46
- * Value: Number("int"), // required
47
- * Unit: "DAYS", // required
46
+ * Value: Number("int"),
47
+ * Unit: "DAYS",
48
+ * ValueRange: { // ValueRange
49
+ * Start: Number("int"), // required
50
+ * End: Number("int"), // required
51
+ * },
52
+ * TimestampSource: "STRING_VALUE",
53
+ * TimestampFormat: "STRING_VALUE",
48
54
  * },
49
55
  * ObjectCount: Number("int"),
50
56
  * Threshold: { // Threshold
@@ -64,8 +70,14 @@ declare const UpdateCalculatedAttributeDefinitionCommand_base: {
64
70
  * // Statistic: "FIRST_OCCURRENCE" || "LAST_OCCURRENCE" || "COUNT" || "SUM" || "MINIMUM" || "MAXIMUM" || "AVERAGE" || "MAX_OCCURRENCE",
65
71
  * // Conditions: { // Conditions
66
72
  * // Range: { // Range
67
- * // Value: Number("int"), // required
68
- * // Unit: "DAYS", // required
73
+ * // Value: Number("int"),
74
+ * // Unit: "DAYS",
75
+ * // ValueRange: { // ValueRange
76
+ * // Start: Number("int"), // required
77
+ * // End: Number("int"), // required
78
+ * // },
79
+ * // TimestampSource: "STRING_VALUE",
80
+ * // TimestampFormat: "STRING_VALUE",
69
81
  * // },
70
82
  * // ObjectCount: Number("int"),
71
83
  * // Threshold: { // Threshold
@@ -81,6 +93,12 @@ declare const UpdateCalculatedAttributeDefinitionCommand_base: {
81
93
  * // ],
82
94
  * // Expression: "STRING_VALUE", // required
83
95
  * // },
96
+ * // UseHistoricalData: true || false,
97
+ * // Status: "PREPARING" || "IN_PROGRESS" || "COMPLETED" || "FAILED",
98
+ * // Readiness: { // Readiness
99
+ * // ProgressPercentage: Number("int"),
100
+ * // Message: "STRING_VALUE",
101
+ * // },
84
102
  * // Tags: { // TagMap
85
103
  * // "<keys>": "STRING_VALUE",
86
104
  * // },