@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,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 { UpdateDomainLayoutRequest, UpdateDomainLayoutResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateDomainLayoutCommand}.
14
+ */
15
+ export interface UpdateDomainLayoutCommandInput extends UpdateDomainLayoutRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateDomainLayoutCommand}.
21
+ */
22
+ export interface UpdateDomainLayoutCommandOutput extends UpdateDomainLayoutResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateDomainLayoutCommand_base: {
25
+ new (input: UpdateDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDomainLayoutCommandInput, UpdateDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateDomainLayoutCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDomainLayoutCommandInput, UpdateDomainLayoutCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates 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, UpdateDomainLayoutCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
36
+ * // const { CustomerProfilesClient, UpdateDomainLayoutCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
37
+ * const client = new CustomerProfilesClient(config);
38
+ * const input = { // UpdateDomainLayoutRequest
39
+ * DomainName: "STRING_VALUE", // required
40
+ * LayoutDefinitionName: "STRING_VALUE", // required
41
+ * Description: "STRING_VALUE",
42
+ * DisplayName: "STRING_VALUE",
43
+ * IsDefault: true || false,
44
+ * LayoutType: "PROFILE_EXPLORER",
45
+ * Layout: "STRING_VALUE",
46
+ * };
47
+ * const command = new UpdateDomainLayoutCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // UpdateDomainLayoutResponse
50
+ * // LayoutDefinitionName: "STRING_VALUE",
51
+ * // Description: "STRING_VALUE",
52
+ * // DisplayName: "STRING_VALUE",
53
+ * // IsDefault: true || false,
54
+ * // LayoutType: "PROFILE_EXPLORER",
55
+ * // Layout: "STRING_VALUE",
56
+ * // Version: "STRING_VALUE",
57
+ * // CreatedAt: new Date("TIMESTAMP"),
58
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
59
+ * // Tags: { // TagMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param UpdateDomainLayoutCommandInput - {@link UpdateDomainLayoutCommandInput}
67
+ * @returns {@link UpdateDomainLayoutCommandOutput}
68
+ * @see {@link UpdateDomainLayoutCommandInput} for command's `input` shape.
69
+ * @see {@link UpdateDomainLayoutCommandOutput} 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 UpdateDomainLayoutCommand extends UpdateDomainLayoutCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: UpdateDomainLayoutRequest;
98
+ output: UpdateDomainLayoutResponse;
99
+ };
100
+ sdk: {
101
+ input: UpdateDomainLayoutCommandInput;
102
+ output: UpdateDomainLayoutCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { UpdateProfileRequest, UpdateProfileResponse } from "../models/models_0";
4
+ import { UpdateProfileRequest, UpdateProfileResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -3,6 +3,7 @@ export * from "./BatchGetCalculatedAttributeForProfileCommand";
3
3
  export * from "./BatchGetProfileCommand";
4
4
  export * from "./CreateCalculatedAttributeDefinitionCommand";
5
5
  export * from "./CreateDomainCommand";
6
+ export * from "./CreateDomainLayoutCommand";
6
7
  export * from "./CreateEventStreamCommand";
7
8
  export * from "./CreateEventTriggerCommand";
8
9
  export * from "./CreateIntegrationWorkflowCommand";
@@ -12,6 +13,7 @@ export * from "./CreateSegmentEstimateCommand";
12
13
  export * from "./CreateSegmentSnapshotCommand";
13
14
  export * from "./DeleteCalculatedAttributeDefinitionCommand";
14
15
  export * from "./DeleteDomainCommand";
16
+ export * from "./DeleteDomainLayoutCommand";
15
17
  export * from "./DeleteEventStreamCommand";
16
18
  export * from "./DeleteEventTriggerCommand";
17
19
  export * from "./DeleteIntegrationCommand";
@@ -26,6 +28,7 @@ export * from "./GetAutoMergingPreviewCommand";
26
28
  export * from "./GetCalculatedAttributeDefinitionCommand";
27
29
  export * from "./GetCalculatedAttributeForProfileCommand";
28
30
  export * from "./GetDomainCommand";
31
+ export * from "./GetDomainLayoutCommand";
29
32
  export * from "./GetEventStreamCommand";
30
33
  export * from "./GetEventTriggerCommand";
31
34
  export * from "./GetIdentityResolutionJobCommand";
@@ -43,6 +46,7 @@ export * from "./GetWorkflowStepsCommand";
43
46
  export * from "./ListAccountIntegrationsCommand";
44
47
  export * from "./ListCalculatedAttributeDefinitionsCommand";
45
48
  export * from "./ListCalculatedAttributesForProfileCommand";
49
+ export * from "./ListDomainLayoutsCommand";
46
50
  export * from "./ListDomainsCommand";
47
51
  export * from "./ListEventStreamsCommand";
48
52
  export * from "./ListEventTriggersCommand";
@@ -66,5 +70,6 @@ export * from "./TagResourceCommand";
66
70
  export * from "./UntagResourceCommand";
67
71
  export * from "./UpdateCalculatedAttributeDefinitionCommand";
68
72
  export * from "./UpdateDomainCommand";
73
+ export * from "./UpdateDomainLayoutCommand";
69
74
  export * from "./UpdateEventTriggerCommand";
70
75
  export * from "./UpdateProfileCommand";
@@ -1 +1,2 @@
1
1
  export * from "./models_0";
2
+ export * from "./models_1";