@aws-sdk/client-customer-profiles 3.696.0 → 3.703.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 (42) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +357 -0
  3. package/dist-es/CustomerProfiles.js +10 -0
  4. package/dist-es/commands/CreateEventTriggerCommand.js +23 -0
  5. package/dist-es/commands/DeleteEventTriggerCommand.js +22 -0
  6. package/dist-es/commands/GetEventTriggerCommand.js +23 -0
  7. package/dist-es/commands/ListEventTriggersCommand.js +23 -0
  8. package/dist-es/commands/UpdateEventTriggerCommand.js +23 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +57 -0
  11. package/dist-es/pagination/ListEventTriggersPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_restJson1.js +189 -0
  14. package/dist-types/CustomerProfiles.d.ts +35 -0
  15. package/dist-types/CustomerProfilesClient.d.ts +7 -2
  16. package/dist-types/commands/CreateEventTriggerCommand.d.ts +164 -0
  17. package/dist-types/commands/DeleteEventTriggerCommand.d.ts +90 -0
  18. package/dist-types/commands/GetEventTriggerCommand.d.ts +125 -0
  19. package/dist-types/commands/GetIntegrationCommand.d.ts +3 -0
  20. package/dist-types/commands/ListAccountIntegrationsCommand.d.ts +3 -0
  21. package/dist-types/commands/ListEventTriggersCommand.d.ts +100 -0
  22. package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -0
  23. package/dist-types/commands/PutIntegrationCommand.d.ts +6 -0
  24. package/dist-types/commands/UpdateEventTriggerCommand.d.ts +158 -0
  25. package/dist-types/commands/index.d.ts +5 -0
  26. package/dist-types/models/models_0.d.ts +585 -19
  27. package/dist-types/pagination/ListEventTriggersPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  30. package/dist-types/ts3.4/CustomerProfiles.d.ts +85 -0
  31. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/CreateEventTriggerCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/DeleteEventTriggerCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/GetEventTriggerCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/ListEventTriggersCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/UpdateEventTriggerCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +158 -0
  39. package/dist-types/ts3.4/pagination/ListEventTriggersPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  42. package/package.json +4 -4
@@ -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 { ListEventTriggersRequest, ListEventTriggersResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEventTriggersCommand}.
14
+ */
15
+ export interface ListEventTriggersCommandInput extends ListEventTriggersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEventTriggersCommand}.
21
+ */
22
+ export interface ListEventTriggersCommandOutput extends ListEventTriggersResponse, __MetadataBearer {
23
+ }
24
+ declare const ListEventTriggersCommand_base: {
25
+ new (input: ListEventTriggersCommandInput): import("@smithy/smithy-client").CommandImpl<ListEventTriggersCommandInput, ListEventTriggersCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListEventTriggersCommandInput): import("@smithy/smithy-client").CommandImpl<ListEventTriggersCommandInput, ListEventTriggersCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List all Event Triggers under a domain.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, ListEventTriggersCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, ListEventTriggersCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * const client = new CustomerProfilesClient(config);
37
+ * const input = { // ListEventTriggersRequest
38
+ * DomainName: "STRING_VALUE", // required
39
+ * NextToken: "STRING_VALUE",
40
+ * MaxResults: Number("int"),
41
+ * };
42
+ * const command = new ListEventTriggersCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListEventTriggersResponse
45
+ * // Items: [ // EventTriggerSummaryList
46
+ * // { // EventTriggerSummaryItem
47
+ * // ObjectTypeName: "STRING_VALUE",
48
+ * // EventTriggerName: "STRING_VALUE",
49
+ * // Description: "STRING_VALUE",
50
+ * // CreatedAt: new Date("TIMESTAMP"),
51
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
52
+ * // Tags: { // TagMap
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListEventTriggersCommandInput - {@link ListEventTriggersCommandInput}
63
+ * @returns {@link ListEventTriggersCommandOutput}
64
+ * @see {@link ListEventTriggersCommandInput} for command's `input` shape.
65
+ * @see {@link ListEventTriggersCommandOutput} for command's `response` shape.
66
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>You do not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link BadRequestException} (client fault)
72
+ * <p>The input you provided is invalid.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal service error occurred.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The requested resource does not exist, or access was denied.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>You exceeded the maximum number of requests.</p>
82
+ *
83
+ * @throws {@link CustomerProfilesServiceException}
84
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ListEventTriggersCommand extends ListEventTriggersCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ListEventTriggersRequest;
93
+ output: ListEventTriggersResponse;
94
+ };
95
+ sdk: {
96
+ input: ListEventTriggersCommandInput;
97
+ output: ListEventTriggersCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -59,6 +59,9 @@ declare const ListIntegrationsCommand_base: {
59
59
  * // WorkflowId: "STRING_VALUE",
60
60
  * // IsUnstructured: true || false,
61
61
  * // RoleArn: "STRING_VALUE",
62
+ * // EventTriggerNames: [ // EventTriggerNames
63
+ * // "STRING_VALUE",
64
+ * // ],
62
65
  * // },
63
66
  * // ],
64
67
  * // NextToken: "STRING_VALUE",
@@ -115,6 +115,9 @@ declare const PutIntegrationCommand_base: {
115
115
  * "<keys>": "STRING_VALUE",
116
116
  * },
117
117
  * RoleArn: "STRING_VALUE",
118
+ * EventTriggerNames: [ // EventTriggerNames
119
+ * "STRING_VALUE",
120
+ * ],
118
121
  * };
119
122
  * const command = new PutIntegrationCommand(input);
120
123
  * const response = await client.send(command);
@@ -133,6 +136,9 @@ declare const PutIntegrationCommand_base: {
133
136
  * // WorkflowId: "STRING_VALUE",
134
137
  * // IsUnstructured: true || false,
135
138
  * // RoleArn: "STRING_VALUE",
139
+ * // EventTriggerNames: [ // EventTriggerNames
140
+ * // "STRING_VALUE",
141
+ * // ],
136
142
  * // };
137
143
  *
138
144
  * ```
@@ -0,0 +1,158 @@
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 { UpdateEventTriggerRequest, UpdateEventTriggerResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateEventTriggerCommand}.
14
+ */
15
+ export interface UpdateEventTriggerCommandInput extends UpdateEventTriggerRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateEventTriggerCommand}.
21
+ */
22
+ export interface UpdateEventTriggerCommandOutput extends UpdateEventTriggerResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateEventTriggerCommand_base: {
25
+ new (input: UpdateEventTriggerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEventTriggerCommandInput, UpdateEventTriggerCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateEventTriggerCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEventTriggerCommandInput, UpdateEventTriggerCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update the properties of an Event Trigger.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, UpdateEventTriggerCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, UpdateEventTriggerCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * const client = new CustomerProfilesClient(config);
37
+ * const input = { // UpdateEventTriggerRequest
38
+ * DomainName: "STRING_VALUE", // required
39
+ * EventTriggerName: "STRING_VALUE", // required
40
+ * ObjectTypeName: "STRING_VALUE",
41
+ * Description: "STRING_VALUE",
42
+ * EventTriggerConditions: [ // EventTriggerConditions
43
+ * { // EventTriggerCondition
44
+ * EventTriggerDimensions: [ // EventTriggerDimensions // required
45
+ * { // EventTriggerDimension
46
+ * ObjectAttributes: [ // ObjectAttributes // required
47
+ * { // ObjectAttribute
48
+ * Source: "STRING_VALUE",
49
+ * FieldName: "STRING_VALUE",
50
+ * ComparisonOperator: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL" || "BEFORE" || "AFTER" || "ON" || "BETWEEN" || "NOT_BETWEEN", // required
51
+ * Values: [ // EventTriggerValues // required
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * },
55
+ * ],
56
+ * },
57
+ * ],
58
+ * LogicalOperator: "ANY" || "ALL" || "NONE", // required
59
+ * },
60
+ * ],
61
+ * SegmentFilter: "STRING_VALUE",
62
+ * EventTriggerLimits: { // EventTriggerLimits
63
+ * EventExpiration: Number("long"),
64
+ * Periods: [ // Periods
65
+ * { // Period
66
+ * Unit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS", // required
67
+ * Value: Number("int"), // required
68
+ * MaxInvocationsPerProfile: Number("int"),
69
+ * Unlimited: true || false,
70
+ * },
71
+ * ],
72
+ * },
73
+ * };
74
+ * const command = new UpdateEventTriggerCommand(input);
75
+ * const response = await client.send(command);
76
+ * // { // UpdateEventTriggerResponse
77
+ * // EventTriggerName: "STRING_VALUE",
78
+ * // ObjectTypeName: "STRING_VALUE",
79
+ * // Description: "STRING_VALUE",
80
+ * // EventTriggerConditions: [ // EventTriggerConditions
81
+ * // { // EventTriggerCondition
82
+ * // EventTriggerDimensions: [ // EventTriggerDimensions // required
83
+ * // { // EventTriggerDimension
84
+ * // ObjectAttributes: [ // ObjectAttributes // required
85
+ * // { // ObjectAttribute
86
+ * // Source: "STRING_VALUE",
87
+ * // FieldName: "STRING_VALUE",
88
+ * // ComparisonOperator: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL" || "BEFORE" || "AFTER" || "ON" || "BETWEEN" || "NOT_BETWEEN", // required
89
+ * // Values: [ // EventTriggerValues // required
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // },
93
+ * // ],
94
+ * // },
95
+ * // ],
96
+ * // LogicalOperator: "ANY" || "ALL" || "NONE", // required
97
+ * // },
98
+ * // ],
99
+ * // SegmentFilter: "STRING_VALUE",
100
+ * // EventTriggerLimits: { // EventTriggerLimits
101
+ * // EventExpiration: Number("long"),
102
+ * // Periods: [ // Periods
103
+ * // { // Period
104
+ * // Unit: "HOURS" || "DAYS" || "WEEKS" || "MONTHS", // required
105
+ * // Value: Number("int"), // required
106
+ * // MaxInvocationsPerProfile: Number("int"),
107
+ * // Unlimited: true || false,
108
+ * // },
109
+ * // ],
110
+ * // },
111
+ * // CreatedAt: new Date("TIMESTAMP"),
112
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
113
+ * // Tags: { // TagMap
114
+ * // "<keys>": "STRING_VALUE",
115
+ * // },
116
+ * // };
117
+ *
118
+ * ```
119
+ *
120
+ * @param UpdateEventTriggerCommandInput - {@link UpdateEventTriggerCommandInput}
121
+ * @returns {@link UpdateEventTriggerCommandOutput}
122
+ * @see {@link UpdateEventTriggerCommandInput} for command's `input` shape.
123
+ * @see {@link UpdateEventTriggerCommandOutput} for command's `response` shape.
124
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
125
+ *
126
+ * @throws {@link AccessDeniedException} (client fault)
127
+ * <p>You do not have sufficient access to perform this action.</p>
128
+ *
129
+ * @throws {@link BadRequestException} (client fault)
130
+ * <p>The input you provided is invalid.</p>
131
+ *
132
+ * @throws {@link InternalServerException} (server fault)
133
+ * <p>An internal service error occurred.</p>
134
+ *
135
+ * @throws {@link ResourceNotFoundException} (client fault)
136
+ * <p>The requested resource does not exist, or access was denied.</p>
137
+ *
138
+ * @throws {@link ThrottlingException} (client fault)
139
+ * <p>You exceeded the maximum number of requests.</p>
140
+ *
141
+ * @throws {@link CustomerProfilesServiceException}
142
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
143
+ *
144
+ * @public
145
+ */
146
+ export declare class UpdateEventTriggerCommand extends UpdateEventTriggerCommand_base {
147
+ /** @internal type navigation helper, not in runtime. */
148
+ protected static __types: {
149
+ api: {
150
+ input: UpdateEventTriggerRequest;
151
+ output: UpdateEventTriggerResponse;
152
+ };
153
+ sdk: {
154
+ input: UpdateEventTriggerCommandInput;
155
+ output: UpdateEventTriggerCommandOutput;
156
+ };
157
+ };
158
+ }
@@ -4,6 +4,7 @@ export * from "./BatchGetProfileCommand";
4
4
  export * from "./CreateCalculatedAttributeDefinitionCommand";
5
5
  export * from "./CreateDomainCommand";
6
6
  export * from "./CreateEventStreamCommand";
7
+ export * from "./CreateEventTriggerCommand";
7
8
  export * from "./CreateIntegrationWorkflowCommand";
8
9
  export * from "./CreateProfileCommand";
9
10
  export * from "./CreateSegmentDefinitionCommand";
@@ -12,6 +13,7 @@ export * from "./CreateSegmentSnapshotCommand";
12
13
  export * from "./DeleteCalculatedAttributeDefinitionCommand";
13
14
  export * from "./DeleteDomainCommand";
14
15
  export * from "./DeleteEventStreamCommand";
16
+ export * from "./DeleteEventTriggerCommand";
15
17
  export * from "./DeleteIntegrationCommand";
16
18
  export * from "./DeleteProfileCommand";
17
19
  export * from "./DeleteProfileKeyCommand";
@@ -25,6 +27,7 @@ export * from "./GetCalculatedAttributeDefinitionCommand";
25
27
  export * from "./GetCalculatedAttributeForProfileCommand";
26
28
  export * from "./GetDomainCommand";
27
29
  export * from "./GetEventStreamCommand";
30
+ export * from "./GetEventTriggerCommand";
28
31
  export * from "./GetIdentityResolutionJobCommand";
29
32
  export * from "./GetIntegrationCommand";
30
33
  export * from "./GetMatchesCommand";
@@ -42,6 +45,7 @@ export * from "./ListCalculatedAttributeDefinitionsCommand";
42
45
  export * from "./ListCalculatedAttributesForProfileCommand";
43
46
  export * from "./ListDomainsCommand";
44
47
  export * from "./ListEventStreamsCommand";
48
+ export * from "./ListEventTriggersCommand";
45
49
  export * from "./ListIdentityResolutionJobsCommand";
46
50
  export * from "./ListIntegrationsCommand";
47
51
  export * from "./ListObjectTypeAttributesCommand";
@@ -62,4 +66,5 @@ export * from "./TagResourceCommand";
62
66
  export * from "./UntagResourceCommand";
63
67
  export * from "./UpdateCalculatedAttributeDefinitionCommand";
64
68
  export * from "./UpdateDomainCommand";
69
+ export * from "./UpdateEventTriggerCommand";
65
70
  export * from "./UpdateProfileCommand";