@aws-sdk/client-customer-profiles 3.693.0 → 3.695.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 +104 -0
- package/dist-cjs/index.js +1265 -46
- package/dist-es/CustomerProfiles.js +26 -0
- package/dist-es/commands/BatchGetCalculatedAttributeForProfileCommand.js +23 -0
- package/dist-es/commands/BatchGetProfileCommand.js +23 -0
- package/dist-es/commands/CreateSegmentDefinitionCommand.js +23 -0
- package/dist-es/commands/CreateSegmentEstimateCommand.js +23 -0
- package/dist-es/commands/CreateSegmentSnapshotCommand.js +22 -0
- package/dist-es/commands/DeleteSegmentDefinitionCommand.js +22 -0
- package/dist-es/commands/GetSegmentDefinitionCommand.js +23 -0
- package/dist-es/commands/GetSegmentEstimateCommand.js +22 -0
- package/dist-es/commands/GetSegmentMembershipCommand.js +23 -0
- package/dist-es/commands/GetSegmentSnapshotCommand.js +22 -0
- package/dist-es/commands/ListObjectTypeAttributesCommand.js +22 -0
- package/dist-es/commands/ListProfileAttributeValuesCommand.js +22 -0
- package/dist-es/commands/ListSegmentDefinitionsCommand.js +23 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +208 -34
- package/dist-es/pagination/GetSimilarProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListObjectTypeAttributesPaginator.js +4 -0
- package/dist-es/pagination/ListRuleBasedMatchesPaginator.js +4 -0
- package/dist-es/pagination/ListSegmentDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +739 -2
- package/dist-types/CustomerProfiles.d.ts +91 -0
- package/dist-types/CustomerProfilesClient.d.ts +15 -2
- package/dist-types/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +119 -0
- package/dist-types/commands/BatchGetProfileCommand.d.ts +177 -0
- package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +40 -0
- package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +221 -0
- package/dist-types/commands/CreateSegmentEstimateCommand.d.ts +210 -0
- package/dist-types/commands/CreateSegmentSnapshotCommand.d.ts +91 -0
- package/dist-types/commands/DeleteSegmentDefinitionCommand.d.ts +87 -0
- package/dist-types/commands/DetectProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +20 -0
- package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +216 -0
- package/dist-types/commands/GetSegmentEstimateCommand.d.ts +92 -0
- package/dist-types/commands/GetSegmentMembershipCommand.d.ts +183 -0
- package/dist-types/commands/GetSegmentSnapshotCommand.d.ts +94 -0
- package/dist-types/commands/ListObjectTypeAttributesCommand.d.ts +95 -0
- package/dist-types/commands/ListProfileAttributeValuesCommand.d.ts +94 -0
- package/dist-types/commands/ListSegmentDefinitionsCommand.d.ts +100 -0
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +2277 -826
- package/dist-types/pagination/GetSimilarProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListObjectTypeAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRuleBasedMatchesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSegmentDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +227 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetProfileCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSegmentEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSegmentSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentMembershipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectTypeAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProfileAttributeValuesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSegmentDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +503 -44
- package/dist-types/ts3.4/pagination/GetSimilarProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListObjectTypeAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRuleBasedMatchesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSegmentDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@ declare const GetProfileObjectTypeTemplateCommand_base: {
|
|
|
60
60
|
* // "<keys>": [ // ObjectTypeKeyList
|
|
61
61
|
* // { // ObjectTypeKey
|
|
62
62
|
* // StandardIdentifiers: [ // StandardIdentifierList
|
|
63
|
-
* // "PROFILE" || "ASSET" || "CASE" || "
|
|
63
|
+
* // "PROFILE" || "ASSET" || "CASE" || "ORDER" || "COMMUNICATION_RECORD" || "UNIQUE" || "SECONDARY" || "LOOKUP_ONLY" || "NEW_ONLY",
|
|
64
64
|
* // ],
|
|
65
65
|
* // FieldNames: [ // FieldNameList
|
|
66
66
|
* // "STRING_VALUE",
|
|
@@ -0,0 +1,216 @@
|
|
|
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 { GetSegmentDefinitionRequest, GetSegmentDefinitionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSegmentDefinitionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSegmentDefinitionCommandInput extends GetSegmentDefinitionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSegmentDefinitionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSegmentDefinitionCommandOutput extends GetSegmentDefinitionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSegmentDefinitionCommand_base: {
|
|
25
|
+
new (input: GetSegmentDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentDefinitionCommandInput, GetSegmentDefinitionCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSegmentDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentDefinitionCommandInput, GetSegmentDefinitionCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets a segment definition from the 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, GetSegmentDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
35
|
+
* // const { CustomerProfilesClient, GetSegmentDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
36
|
+
* const client = new CustomerProfilesClient(config);
|
|
37
|
+
* const input = { // GetSegmentDefinitionRequest
|
|
38
|
+
* DomainName: "STRING_VALUE", // required
|
|
39
|
+
* SegmentDefinitionName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetSegmentDefinitionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetSegmentDefinitionResponse
|
|
44
|
+
* // SegmentDefinitionName: "STRING_VALUE",
|
|
45
|
+
* // DisplayName: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // SegmentGroups: { // SegmentGroup
|
|
48
|
+
* // Groups: [ // SegmentGroupList
|
|
49
|
+
* // { // Group
|
|
50
|
+
* // Dimensions: [ // DimensionList
|
|
51
|
+
* // { // Dimension Union: only one key present
|
|
52
|
+
* // ProfileAttributes: { // ProfileAttributes
|
|
53
|
+
* // AccountNumber: { // ProfileDimension
|
|
54
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
55
|
+
* // Values: [ // Values // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // AdditionalInformation: { // ExtraLengthValueProfileDimension
|
|
60
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
61
|
+
* // Values: [ // ExtraLengthValues // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // FirstName: {
|
|
66
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
67
|
+
* // Values: [ // required
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // LastName: {
|
|
72
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
73
|
+
* // Values: [ // required
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // MiddleName: {
|
|
78
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
79
|
+
* // Values: [ // required
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // GenderString: {
|
|
84
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH", // required
|
|
85
|
+
* // Values: [ // required
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // PartyTypeString: "<ProfileDimension>",
|
|
90
|
+
* // BirthDate: { // DateDimension
|
|
91
|
+
* // DimensionType: "BEFORE" || "AFTER" || "BETWEEN" || "NOT_BETWEEN" || "ON", // required
|
|
92
|
+
* // Values: [ // DateValues // required
|
|
93
|
+
* // "STRING_VALUE",
|
|
94
|
+
* // ],
|
|
95
|
+
* // },
|
|
96
|
+
* // PhoneNumber: "<ProfileDimension>",
|
|
97
|
+
* // BusinessName: "<ProfileDimension>",
|
|
98
|
+
* // BusinessPhoneNumber: "<ProfileDimension>",
|
|
99
|
+
* // HomePhoneNumber: "<ProfileDimension>",
|
|
100
|
+
* // MobilePhoneNumber: "<ProfileDimension>",
|
|
101
|
+
* // EmailAddress: "<ProfileDimension>",
|
|
102
|
+
* // PersonalEmailAddress: "<ProfileDimension>",
|
|
103
|
+
* // BusinessEmailAddress: "<ProfileDimension>",
|
|
104
|
+
* // Address: { // AddressDimension
|
|
105
|
+
* // City: "<ProfileDimension>",
|
|
106
|
+
* // Country: "<ProfileDimension>",
|
|
107
|
+
* // County: "<ProfileDimension>",
|
|
108
|
+
* // PostalCode: "<ProfileDimension>",
|
|
109
|
+
* // Province: "<ProfileDimension>",
|
|
110
|
+
* // State: "<ProfileDimension>",
|
|
111
|
+
* // },
|
|
112
|
+
* // ShippingAddress: {
|
|
113
|
+
* // City: "<ProfileDimension>",
|
|
114
|
+
* // Country: "<ProfileDimension>",
|
|
115
|
+
* // County: "<ProfileDimension>",
|
|
116
|
+
* // PostalCode: "<ProfileDimension>",
|
|
117
|
+
* // Province: "<ProfileDimension>",
|
|
118
|
+
* // State: "<ProfileDimension>",
|
|
119
|
+
* // },
|
|
120
|
+
* // MailingAddress: {
|
|
121
|
+
* // City: "<ProfileDimension>",
|
|
122
|
+
* // Country: "<ProfileDimension>",
|
|
123
|
+
* // County: "<ProfileDimension>",
|
|
124
|
+
* // PostalCode: "<ProfileDimension>",
|
|
125
|
+
* // Province: "<ProfileDimension>",
|
|
126
|
+
* // State: "<ProfileDimension>",
|
|
127
|
+
* // },
|
|
128
|
+
* // BillingAddress: {
|
|
129
|
+
* // City: "<ProfileDimension>",
|
|
130
|
+
* // Country: "<ProfileDimension>",
|
|
131
|
+
* // County: "<ProfileDimension>",
|
|
132
|
+
* // PostalCode: "<ProfileDimension>",
|
|
133
|
+
* // Province: "<ProfileDimension>",
|
|
134
|
+
* // State: "<ProfileDimension>",
|
|
135
|
+
* // },
|
|
136
|
+
* // Attributes: { // CustomAttributes
|
|
137
|
+
* // "<keys>": { // AttributeDimension
|
|
138
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH" || "BEFORE" || "AFTER" || "BETWEEN" || "NOT_BETWEEN" || "ON" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL", // required
|
|
139
|
+
* // Values: "<Values>", // required
|
|
140
|
+
* // },
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // CalculatedAttributes: { // CalculatedCustomAttributes
|
|
144
|
+
* // "<keys>": { // CalculatedAttributeDimension
|
|
145
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEGINS_WITH" || "ENDS_WITH" || "BEFORE" || "AFTER" || "BETWEEN" || "NOT_BETWEEN" || "ON" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL", // required
|
|
146
|
+
* // Values: "<Values>", // required
|
|
147
|
+
* // ConditionOverrides: { // ConditionOverrides
|
|
148
|
+
* // Range: { // RangeOverride
|
|
149
|
+
* // Start: Number("int"), // required
|
|
150
|
+
* // End: Number("int"),
|
|
151
|
+
* // Unit: "DAYS", // required
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // SourceSegments: [ // SourceSegmentList
|
|
159
|
+
* // { // SourceSegment
|
|
160
|
+
* // SegmentDefinitionName: "STRING_VALUE",
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // SourceType: "ALL" || "ANY" || "NONE",
|
|
164
|
+
* // Type: "ALL" || "ANY" || "NONE",
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // Include: "ALL" || "ANY" || "NONE",
|
|
168
|
+
* // },
|
|
169
|
+
* // SegmentDefinitionArn: "STRING_VALUE", // required
|
|
170
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
171
|
+
* // Tags: { // TagMap
|
|
172
|
+
* // "<keys>": "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // };
|
|
175
|
+
*
|
|
176
|
+
* ```
|
|
177
|
+
*
|
|
178
|
+
* @param GetSegmentDefinitionCommandInput - {@link GetSegmentDefinitionCommandInput}
|
|
179
|
+
* @returns {@link GetSegmentDefinitionCommandOutput}
|
|
180
|
+
* @see {@link GetSegmentDefinitionCommandInput} for command's `input` shape.
|
|
181
|
+
* @see {@link GetSegmentDefinitionCommandOutput} for command's `response` shape.
|
|
182
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
185
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link BadRequestException} (client fault)
|
|
188
|
+
* <p>The input you provided is invalid.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link InternalServerException} (server fault)
|
|
191
|
+
* <p>An internal service error occurred.</p>
|
|
192
|
+
*
|
|
193
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
194
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
195
|
+
*
|
|
196
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
197
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
198
|
+
*
|
|
199
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
200
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
201
|
+
*
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class GetSegmentDefinitionCommand extends GetSegmentDefinitionCommand_base {
|
|
205
|
+
/** @internal type navigation helper, not in runtime. */
|
|
206
|
+
protected static __types: {
|
|
207
|
+
api: {
|
|
208
|
+
input: GetSegmentDefinitionRequest;
|
|
209
|
+
output: GetSegmentDefinitionResponse;
|
|
210
|
+
};
|
|
211
|
+
sdk: {
|
|
212
|
+
input: GetSegmentDefinitionCommandInput;
|
|
213
|
+
output: GetSegmentDefinitionCommandOutput;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { GetSegmentEstimateRequest, GetSegmentEstimateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSegmentEstimateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSegmentEstimateCommandInput extends GetSegmentEstimateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSegmentEstimateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSegmentEstimateCommandOutput extends GetSegmentEstimateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSegmentEstimateCommand_base: {
|
|
25
|
+
new (input: GetSegmentEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentEstimateCommandInput, GetSegmentEstimateCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSegmentEstimateCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentEstimateCommandInput, GetSegmentEstimateCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets the result of a segment estimate query.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CustomerProfilesClient, GetSegmentEstimateCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
35
|
+
* // const { CustomerProfilesClient, GetSegmentEstimateCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
36
|
+
* const client = new CustomerProfilesClient(config);
|
|
37
|
+
* const input = { // GetSegmentEstimateRequest
|
|
38
|
+
* DomainName: "STRING_VALUE", // required
|
|
39
|
+
* EstimateId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetSegmentEstimateCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetSegmentEstimateResponse
|
|
44
|
+
* // DomainName: "STRING_VALUE",
|
|
45
|
+
* // EstimateId: "STRING_VALUE",
|
|
46
|
+
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED",
|
|
47
|
+
* // Estimate: "STRING_VALUE",
|
|
48
|
+
* // Message: "STRING_VALUE",
|
|
49
|
+
* // StatusCode: Number("int"),
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetSegmentEstimateCommandInput - {@link GetSegmentEstimateCommandInput}
|
|
55
|
+
* @returns {@link GetSegmentEstimateCommandOutput}
|
|
56
|
+
* @see {@link GetSegmentEstimateCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetSegmentEstimateCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>The input you provided is invalid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal service error occurred.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetSegmentEstimateCommand extends GetSegmentEstimateCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetSegmentEstimateRequest;
|
|
85
|
+
output: GetSegmentEstimateResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetSegmentEstimateCommandInput;
|
|
89
|
+
output: GetSegmentEstimateCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
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 { GetSegmentMembershipRequest, GetSegmentMembershipResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSegmentMembershipCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSegmentMembershipCommandInput extends GetSegmentMembershipRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSegmentMembershipCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSegmentMembershipCommandOutput extends GetSegmentMembershipResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSegmentMembershipCommand_base: {
|
|
25
|
+
new (input: GetSegmentMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentMembershipCommandInput, GetSegmentMembershipCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSegmentMembershipCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentMembershipCommandInput, GetSegmentMembershipCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Determines if the given profiles are within a segment.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CustomerProfilesClient, GetSegmentMembershipCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
35
|
+
* // const { CustomerProfilesClient, GetSegmentMembershipCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
36
|
+
* const client = new CustomerProfilesClient(config);
|
|
37
|
+
* const input = { // GetSegmentMembershipRequest
|
|
38
|
+
* DomainName: "STRING_VALUE", // required
|
|
39
|
+
* SegmentDefinitionName: "STRING_VALUE", // required
|
|
40
|
+
* ProfileIds: [ // ProfileIds // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetSegmentMembershipCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetSegmentMembershipResponse
|
|
47
|
+
* // SegmentDefinitionName: "STRING_VALUE",
|
|
48
|
+
* // Profiles: [ // Profiles
|
|
49
|
+
* // { // ProfileQueryResult
|
|
50
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
51
|
+
* // QueryResult: "PRESENT" || "ABSENT", // required
|
|
52
|
+
* // Profile: { // Profile
|
|
53
|
+
* // ProfileId: "STRING_VALUE",
|
|
54
|
+
* // AccountNumber: "STRING_VALUE",
|
|
55
|
+
* // AdditionalInformation: "STRING_VALUE",
|
|
56
|
+
* // PartyType: "INDIVIDUAL" || "BUSINESS" || "OTHER",
|
|
57
|
+
* // BusinessName: "STRING_VALUE",
|
|
58
|
+
* // FirstName: "STRING_VALUE",
|
|
59
|
+
* // MiddleName: "STRING_VALUE",
|
|
60
|
+
* // LastName: "STRING_VALUE",
|
|
61
|
+
* // BirthDate: "STRING_VALUE",
|
|
62
|
+
* // Gender: "MALE" || "FEMALE" || "UNSPECIFIED",
|
|
63
|
+
* // PhoneNumber: "STRING_VALUE",
|
|
64
|
+
* // MobilePhoneNumber: "STRING_VALUE",
|
|
65
|
+
* // HomePhoneNumber: "STRING_VALUE",
|
|
66
|
+
* // BusinessPhoneNumber: "STRING_VALUE",
|
|
67
|
+
* // EmailAddress: "STRING_VALUE",
|
|
68
|
+
* // PersonalEmailAddress: "STRING_VALUE",
|
|
69
|
+
* // BusinessEmailAddress: "STRING_VALUE",
|
|
70
|
+
* // Address: { // Address
|
|
71
|
+
* // Address1: "STRING_VALUE",
|
|
72
|
+
* // Address2: "STRING_VALUE",
|
|
73
|
+
* // Address3: "STRING_VALUE",
|
|
74
|
+
* // Address4: "STRING_VALUE",
|
|
75
|
+
* // City: "STRING_VALUE",
|
|
76
|
+
* // County: "STRING_VALUE",
|
|
77
|
+
* // State: "STRING_VALUE",
|
|
78
|
+
* // Province: "STRING_VALUE",
|
|
79
|
+
* // Country: "STRING_VALUE",
|
|
80
|
+
* // PostalCode: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // ShippingAddress: {
|
|
83
|
+
* // Address1: "STRING_VALUE",
|
|
84
|
+
* // Address2: "STRING_VALUE",
|
|
85
|
+
* // Address3: "STRING_VALUE",
|
|
86
|
+
* // Address4: "STRING_VALUE",
|
|
87
|
+
* // City: "STRING_VALUE",
|
|
88
|
+
* // County: "STRING_VALUE",
|
|
89
|
+
* // State: "STRING_VALUE",
|
|
90
|
+
* // Province: "STRING_VALUE",
|
|
91
|
+
* // Country: "STRING_VALUE",
|
|
92
|
+
* // PostalCode: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
94
|
+
* // MailingAddress: {
|
|
95
|
+
* // Address1: "STRING_VALUE",
|
|
96
|
+
* // Address2: "STRING_VALUE",
|
|
97
|
+
* // Address3: "STRING_VALUE",
|
|
98
|
+
* // Address4: "STRING_VALUE",
|
|
99
|
+
* // City: "STRING_VALUE",
|
|
100
|
+
* // County: "STRING_VALUE",
|
|
101
|
+
* // State: "STRING_VALUE",
|
|
102
|
+
* // Province: "STRING_VALUE",
|
|
103
|
+
* // Country: "STRING_VALUE",
|
|
104
|
+
* // PostalCode: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // BillingAddress: {
|
|
107
|
+
* // Address1: "STRING_VALUE",
|
|
108
|
+
* // Address2: "STRING_VALUE",
|
|
109
|
+
* // Address3: "STRING_VALUE",
|
|
110
|
+
* // Address4: "STRING_VALUE",
|
|
111
|
+
* // City: "STRING_VALUE",
|
|
112
|
+
* // County: "STRING_VALUE",
|
|
113
|
+
* // State: "STRING_VALUE",
|
|
114
|
+
* // Province: "STRING_VALUE",
|
|
115
|
+
* // Country: "STRING_VALUE",
|
|
116
|
+
* // PostalCode: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // Attributes: { // Attributes
|
|
119
|
+
* // "<keys>": "STRING_VALUE",
|
|
120
|
+
* // },
|
|
121
|
+
* // FoundByItems: [ // foundByList
|
|
122
|
+
* // { // FoundByKeyValue
|
|
123
|
+
* // KeyName: "STRING_VALUE",
|
|
124
|
+
* // Values: [ // requestValueList
|
|
125
|
+
* // "STRING_VALUE",
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
129
|
+
* // PartyTypeString: "STRING_VALUE",
|
|
130
|
+
* // GenderString: "STRING_VALUE",
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // Failures: [ // Failures
|
|
135
|
+
* // { // ProfileQueryFailures
|
|
136
|
+
* // ProfileId: "STRING_VALUE", // required
|
|
137
|
+
* // Message: "STRING_VALUE", // required
|
|
138
|
+
* // Status: Number("int"),
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // };
|
|
142
|
+
*
|
|
143
|
+
* ```
|
|
144
|
+
*
|
|
145
|
+
* @param GetSegmentMembershipCommandInput - {@link GetSegmentMembershipCommandInput}
|
|
146
|
+
* @returns {@link GetSegmentMembershipCommandOutput}
|
|
147
|
+
* @see {@link GetSegmentMembershipCommandInput} for command's `input` shape.
|
|
148
|
+
* @see {@link GetSegmentMembershipCommandOutput} for command's `response` shape.
|
|
149
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
152
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link BadRequestException} (client fault)
|
|
155
|
+
* <p>The input you provided is invalid.</p>
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link InternalServerException} (server fault)
|
|
158
|
+
* <p>An internal service error occurred.</p>
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
161
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
162
|
+
*
|
|
163
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
164
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
167
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
168
|
+
*
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export declare class GetSegmentMembershipCommand extends GetSegmentMembershipCommand_base {
|
|
172
|
+
/** @internal type navigation helper, not in runtime. */
|
|
173
|
+
protected static __types: {
|
|
174
|
+
api: {
|
|
175
|
+
input: GetSegmentMembershipRequest;
|
|
176
|
+
output: GetSegmentMembershipResponse;
|
|
177
|
+
};
|
|
178
|
+
sdk: {
|
|
179
|
+
input: GetSegmentMembershipCommandInput;
|
|
180
|
+
output: GetSegmentMembershipCommandOutput;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { GetSegmentSnapshotRequest, GetSegmentSnapshotResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetSegmentSnapshotCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetSegmentSnapshotCommandInput extends GetSegmentSnapshotRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetSegmentSnapshotCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetSegmentSnapshotCommandOutput extends GetSegmentSnapshotResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetSegmentSnapshotCommand_base: {
|
|
25
|
+
new (input: GetSegmentSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentSnapshotCommandInput, GetSegmentSnapshotCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetSegmentSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<GetSegmentSnapshotCommandInput, GetSegmentSnapshotCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieve the latest status of a segment snapshot.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CustomerProfilesClient, GetSegmentSnapshotCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
35
|
+
* // const { CustomerProfilesClient, GetSegmentSnapshotCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
36
|
+
* const client = new CustomerProfilesClient(config);
|
|
37
|
+
* const input = { // GetSegmentSnapshotRequest
|
|
38
|
+
* DomainName: "STRING_VALUE", // required
|
|
39
|
+
* SegmentDefinitionName: "STRING_VALUE", // required
|
|
40
|
+
* SnapshotId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetSegmentSnapshotCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetSegmentSnapshotResponse
|
|
45
|
+
* // SnapshotId: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "COMPLETED" || "IN_PROGRESS" || "FAILED", // required
|
|
47
|
+
* // StatusMessage: "STRING_VALUE",
|
|
48
|
+
* // DataFormat: "CSV" || "JSONL" || "ORC", // required
|
|
49
|
+
* // EncryptionKey: "STRING_VALUE",
|
|
50
|
+
* // RoleArn: "STRING_VALUE",
|
|
51
|
+
* // DestinationUri: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetSegmentSnapshotCommandInput - {@link GetSegmentSnapshotCommandInput}
|
|
57
|
+
* @returns {@link GetSegmentSnapshotCommandOutput}
|
|
58
|
+
* @see {@link GetSegmentSnapshotCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetSegmentSnapshotCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link BadRequestException} (client fault)
|
|
66
|
+
* <p>The input you provided is invalid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>An internal service error occurred.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetSegmentSnapshotCommand extends GetSegmentSnapshotCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetSegmentSnapshotRequest;
|
|
87
|
+
output: GetSegmentSnapshotResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetSegmentSnapshotCommandInput;
|
|
91
|
+
output: GetSegmentSnapshotCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|