@aws-sdk/client-customer-profiles 3.825.0 → 3.827.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.
- package/README.md +40 -0
- package/dist-cjs/index.js +439 -33
- package/dist-es/CustomerProfiles.js +10 -0
- package/dist-es/commands/CreateDomainLayoutCommand.js +23 -0
- package/dist-es/commands/DeleteDomainLayoutCommand.js +22 -0
- package/dist-es/commands/GetDomainLayoutCommand.js +23 -0
- package/dist-es/commands/ListDomainLayoutsCommand.js +23 -0
- package/dist-es/commands/UpdateDomainLayoutCommand.js +23 -0
- package/dist-es/commands/UpdateProfileCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +51 -26
- package/dist-es/models/models_1.js +27 -0
- package/dist-es/pagination/ListDomainLayoutsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +240 -2
- package/dist-types/CustomerProfiles.d.ts +35 -0
- package/dist-types/CustomerProfilesClient.d.ts +7 -2
- package/dist-types/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +23 -4
- package/dist-types/commands/CreateDomainLayoutCommand.d.ts +108 -0
- package/dist-types/commands/DeleteDomainLayoutCommand.d.ts +89 -0
- package/dist-types/commands/DetectProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +14 -2
- package/dist-types/commands/GetCalculatedAttributeForProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetDomainLayoutCommand.d.ts +100 -0
- package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListCalculatedAttributeDefinitionsCommand.d.ts +2 -0
- package/dist-types/commands/ListCalculatedAttributesForProfileCommand.d.ts +1 -0
- package/dist-types/commands/ListDomainLayoutsCommand.d.ts +104 -0
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +22 -4
- package/dist-types/commands/UpdateDomainLayoutCommand.d.ts +105 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +631 -173
- package/dist-types/models/models_1.d.ts +152 -0
- package/dist-types/pagination/ListDomainLayoutsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +85 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateDomainLayoutCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDomainLayoutCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDomainLayoutCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListDomainLayoutsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDomainLayoutCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -35
- package/dist-types/ts3.4/models/models_1.d.ts +34 -0
- package/dist-types/ts3.4/pagination/ListDomainLayoutsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +11 -11
|
@@ -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/
|
|
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";
|