aws-sdk 2.1387.0 → 2.1389.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.
@@ -19,6 +19,14 @@ declare class CustomerProfiles extends Service {
19
19
  * Associates a new key value with a specific profile, such as a Contact Record ContactId. A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.
20
20
  */
21
21
  addProfileKey(callback?: (err: AWSError, data: CustomerProfiles.Types.AddProfileKeyResponse) => void): Request<CustomerProfiles.Types.AddProfileKeyResponse, AWSError>;
22
+ /**
23
+ * Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the GetCalculatedAttributeForProfile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.
24
+ */
25
+ createCalculatedAttributeDefinition(params: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse, AWSError>;
26
+ /**
27
+ * Creates a new calculated attribute definition. After creation, new object data ingested into Customer Profiles will be included in the calculated attribute, which can be retrieved for a profile using the GetCalculatedAttributeForProfile API. Defining a calculated attribute makes it available for all profiles within a domain. Each calculated attribute can only reference one ObjectType and at most, two fields from that ObjectType.
28
+ */
29
+ createCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.CreateCalculatedAttributeDefinitionResponse, AWSError>;
22
30
  /**
23
31
  * Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations. Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain. Use this API or UpdateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.
24
32
  */
@@ -43,6 +51,14 @@ declare class CustomerProfiles extends Service {
43
51
  * Creates a standard profile. A standard profile represents the following attributes for a customer profile in a domain.
44
52
  */
45
53
  createProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.CreateProfileResponse) => void): Request<CustomerProfiles.Types.CreateProfileResponse, AWSError>;
54
+ /**
55
+ * Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.
56
+ */
57
+ deleteCalculatedAttributeDefinition(params: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse, AWSError>;
58
+ /**
59
+ * Deletes an existing calculated attribute definition. Note that deleting a default calculated attribute is possible, however once deleted, you will be unable to undo that action and will need to recreate it on your own using the CreateCalculatedAttributeDefinition API if you want it back.
60
+ */
61
+ deleteCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.DeleteCalculatedAttributeDefinitionResponse, AWSError>;
46
62
  /**
47
63
  * Deletes a specific domain and all of its customer data, such as customer profile attributes and their related objects.
48
64
  */
@@ -107,6 +123,22 @@ declare class CustomerProfiles extends Service {
107
123
  * Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly selects a sample of matching groups from the existing matching results, and applies the automerging settings that you provided. You can then view the number of profiles in the sample, the number of matches, and the number of profiles identified to be merged. This enables you to evaluate the accuracy of the attributes in your matching list. You can't view which profiles are matched and would be merged. We strongly recommend you use this API to do a dry run of the automerging process before running the Identity Resolution Job. Include at least two matching attributes. If your matching list includes too few attributes (such as only FirstName or only LastName), there may be a large number of matches. This increases the chances of erroneous merges.
108
124
  */
109
125
  getAutoMergingPreview(callback?: (err: AWSError, data: CustomerProfiles.Types.GetAutoMergingPreviewResponse) => void): Request<CustomerProfiles.Types.GetAutoMergingPreviewResponse, AWSError>;
126
+ /**
127
+ * Provides more information on a calculated attribute definition for Customer Profiles.
128
+ */
129
+ getCalculatedAttributeDefinition(params: CustomerProfiles.Types.GetCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse, AWSError>;
130
+ /**
131
+ * Provides more information on a calculated attribute definition for Customer Profiles.
132
+ */
133
+ getCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeDefinitionResponse, AWSError>;
134
+ /**
135
+ * Retrieve a calculated attribute for a customer profile.
136
+ */
137
+ getCalculatedAttributeForProfile(params: CustomerProfiles.Types.GetCalculatedAttributeForProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse, AWSError>;
138
+ /**
139
+ * Retrieve a calculated attribute for a customer profile.
140
+ */
141
+ getCalculatedAttributeForProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse) => void): Request<CustomerProfiles.Types.GetCalculatedAttributeForProfileResponse, AWSError>;
110
142
  /**
111
143
  * Returns information about a specific domain.
112
144
  */
@@ -179,6 +211,22 @@ declare class CustomerProfiles extends Service {
179
211
  * Lists all of the integrations associated to a specific URI in the AWS account.
180
212
  */
181
213
  listAccountIntegrations(callback?: (err: AWSError, data: CustomerProfiles.Types.ListAccountIntegrationsResponse) => void): Request<CustomerProfiles.Types.ListAccountIntegrationsResponse, AWSError>;
214
+ /**
215
+ * Lists calculated attribute definitions for Customer Profiles
216
+ */
217
+ listCalculatedAttributeDefinitions(params: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse, AWSError>;
218
+ /**
219
+ * Lists calculated attribute definitions for Customer Profiles
220
+ */
221
+ listCalculatedAttributeDefinitions(callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributeDefinitionsResponse, AWSError>;
222
+ /**
223
+ * Retrieve a list of calculated attributes for a customer profile.
224
+ */
225
+ listCalculatedAttributesForProfile(params: CustomerProfiles.Types.ListCalculatedAttributesForProfileRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse, AWSError>;
226
+ /**
227
+ * Retrieve a list of calculated attributes for a customer profile.
228
+ */
229
+ listCalculatedAttributesForProfile(callback?: (err: AWSError, data: CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse) => void): Request<CustomerProfiles.Types.ListCalculatedAttributesForProfileResponse, AWSError>;
182
230
  /**
183
231
  * Returns a list of all the domains for an AWS account that have been created.
184
232
  */
@@ -299,6 +347,14 @@ declare class CustomerProfiles extends Service {
299
347
  * Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.
300
348
  */
301
349
  untagResource(callback?: (err: AWSError, data: CustomerProfiles.Types.UntagResourceResponse) => void): Request<CustomerProfiles.Types.UntagResourceResponse, AWSError>;
350
+ /**
351
+ * Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.
352
+ */
353
+ updateCalculatedAttributeDefinition(params: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionRequest, callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse, AWSError>;
354
+ /**
355
+ * Updates an existing calculated attribute definition. When updating the Conditions, note that increasing the date range of a calculated attribute will not trigger inclusion of historical data greater than the current date range.
356
+ */
357
+ updateCalculatedAttributeDefinition(callback?: (err: AWSError, data: CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse) => void): Request<CustomerProfiles.Types.UpdateCalculatedAttributeDefinitionResponse, AWSError>;
302
358
  /**
303
359
  * Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key. After a domain is created, the name can’t be changed. Use this API or CreateDomain to enable identity resolution: set Matching to true. To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply. To add or remove tags on an existing Domain, see TagResource/UntagResource.
304
360
  */
@@ -467,6 +523,23 @@ declare namespace CustomerProfiles {
467
523
  */
468
524
  LastUpdatedAt: timestamp;
469
525
  }
526
+ export interface AttributeDetails {
527
+ /**
528
+ * A list of attribute items specified in the mathematical expression.
529
+ */
530
+ Attributes: AttributeList;
531
+ /**
532
+ * Mathematical expression that is performed on attribute items provided in the attribute list. Each element in the expression should follow the structure of \"{ObjectTypeName.AttributeName}\".
533
+ */
534
+ Expression: string1To255;
535
+ }
536
+ export interface AttributeItem {
537
+ /**
538
+ * The name of an attribute defined in a profile object type.
539
+ */
540
+ Name: attributeName;
541
+ }
542
+ export type AttributeList = AttributeItem[];
470
543
  export type AttributeSourceIdMap = {[key: string]: uuid};
471
544
  export type Attributes = {[key: string]: string1To255};
472
545
  export interface AutoMerging {
@@ -500,6 +573,22 @@ declare namespace CustomerProfiles {
500
573
  export type Batches = Batch[];
501
574
  export type BucketName = string;
502
575
  export type BucketPrefix = string;
576
+ export type CalculatedAttributeDefinitionsList = ListCalculatedAttributeDefinitionItem[];
577
+ export type CalculatedAttributesForProfileList = ListCalculatedAttributeForProfileItem[];
578
+ export interface Conditions {
579
+ /**
580
+ * The relative time period over which data is included in the aggregation.
581
+ */
582
+ Range?: Range;
583
+ /**
584
+ * The number of profile objects used for the calculated attribute.
585
+ */
586
+ ObjectCount?: ObjectCount;
587
+ /**
588
+ * The threshold for the calculated attribute.
589
+ */
590
+ Threshold?: Threshold;
591
+ }
503
592
  export interface ConflictResolution {
504
593
  /**
505
594
  * How the auto-merging process should resolve conflicts between different profiles. RECENCY: Uses the data that was most recently updated. SOURCE: Uses the data from a specific source. For example, if a company has been aquired or two departments have merged, data from the specified source is used. If two duplicate profiles are from the same source, then RECENCY is used again.
@@ -540,6 +629,78 @@ declare namespace CustomerProfiles {
540
629
  */
541
630
  MatchingAttributesList: MatchingAttributesList;
542
631
  }
632
+ export interface CreateCalculatedAttributeDefinitionRequest {
633
+ /**
634
+ * The unique name of the domain.
635
+ */
636
+ DomainName: name;
637
+ /**
638
+ * The unique name of the calculated attribute.
639
+ */
640
+ CalculatedAttributeName: typeName;
641
+ /**
642
+ * The display name of the calculated attribute.
643
+ */
644
+ DisplayName?: displayName;
645
+ /**
646
+ * The description of the calculated attribute.
647
+ */
648
+ Description?: text;
649
+ /**
650
+ * Mathematical expression and a list of attribute items specified in that expression.
651
+ */
652
+ AttributeDetails: AttributeDetails;
653
+ /**
654
+ * The conditions including range, object count, and threshold for the calculated attribute.
655
+ */
656
+ Conditions?: Conditions;
657
+ /**
658
+ * The aggregation operation to perform for the calculated attribute.
659
+ */
660
+ Statistic: Statistic;
661
+ /**
662
+ * The tags used to organize, track, or control access for this resource.
663
+ */
664
+ Tags?: TagMap;
665
+ }
666
+ export interface CreateCalculatedAttributeDefinitionResponse {
667
+ /**
668
+ * The unique name of the calculated attribute.
669
+ */
670
+ CalculatedAttributeName?: typeName;
671
+ /**
672
+ * The display name of the calculated attribute.
673
+ */
674
+ DisplayName?: displayName;
675
+ /**
676
+ * The description of the calculated attribute.
677
+ */
678
+ Description?: text;
679
+ /**
680
+ * Mathematical expression and a list of attribute items specified in that expression.
681
+ */
682
+ AttributeDetails?: AttributeDetails;
683
+ /**
684
+ * The conditions including range, object count, and threshold for the calculated attribute.
685
+ */
686
+ Conditions?: Conditions;
687
+ /**
688
+ * The aggregation operation to perform for the calculated attribute.
689
+ */
690
+ Statistic?: Statistic;
691
+ /**
692
+ * The timestamp of when the calculated attribute definition was created.
693
+ */
694
+ CreatedAt?: timestamp;
695
+ /**
696
+ * The timestamp of when the calculated attribute definition was most recently edited.
697
+ */
698
+ LastUpdatedAt?: timestamp;
699
+ /**
700
+ * The tags used to organize, track, or control access for this resource.
701
+ */
702
+ Tags?: TagMap;
703
+ }
543
704
  export interface CreateDomainRequest {
544
705
  /**
545
706
  * The unique name of the domain.
@@ -743,6 +904,18 @@ declare namespace CustomerProfiles {
743
904
  export type DataPullMode = "Incremental"|"Complete"|string;
744
905
  export type _Date = Date;
745
906
  export type DatetimeTypeFieldName = string;
907
+ export interface DeleteCalculatedAttributeDefinitionRequest {
908
+ /**
909
+ * The unique name of the domain.
910
+ */
911
+ DomainName: name;
912
+ /**
913
+ * The unique name of the calculated attribute.
914
+ */
915
+ CalculatedAttributeName: typeName;
916
+ }
917
+ export interface DeleteCalculatedAttributeDefinitionResponse {
918
+ }
746
919
  export interface DeleteDomainRequest {
747
920
  /**
748
921
  * The unique name of the domain.
@@ -1061,6 +1234,86 @@ declare namespace CustomerProfiles {
1061
1234
  */
1062
1235
  NumberOfProfilesWillBeMerged?: long;
1063
1236
  }
1237
+ export interface GetCalculatedAttributeDefinitionRequest {
1238
+ /**
1239
+ * The unique name of the domain.
1240
+ */
1241
+ DomainName: name;
1242
+ /**
1243
+ * The unique name of the calculated attribute.
1244
+ */
1245
+ CalculatedAttributeName: typeName;
1246
+ }
1247
+ export interface GetCalculatedAttributeDefinitionResponse {
1248
+ /**
1249
+ * The unique name of the calculated attribute.
1250
+ */
1251
+ CalculatedAttributeName?: typeName;
1252
+ /**
1253
+ * The display name of the calculated attribute.
1254
+ */
1255
+ DisplayName?: displayName;
1256
+ /**
1257
+ * The description of the calculated attribute.
1258
+ */
1259
+ Description?: text;
1260
+ /**
1261
+ * The timestamp of when the calculated attribute definition was created.
1262
+ */
1263
+ CreatedAt?: timestamp;
1264
+ /**
1265
+ * The timestamp of when the calculated attribute definition was most recently edited.
1266
+ */
1267
+ LastUpdatedAt?: timestamp;
1268
+ /**
1269
+ * The aggregation operation to perform for the calculated attribute.
1270
+ */
1271
+ Statistic?: Statistic;
1272
+ /**
1273
+ * The conditions including range, object count, and threshold for the calculated attribute.
1274
+ */
1275
+ Conditions?: Conditions;
1276
+ /**
1277
+ * Mathematical expression and a list of attribute items specified in that expression.
1278
+ */
1279
+ AttributeDetails?: AttributeDetails;
1280
+ /**
1281
+ * The tags used to organize, track, or control access for this resource.
1282
+ */
1283
+ Tags?: TagMap;
1284
+ }
1285
+ export interface GetCalculatedAttributeForProfileRequest {
1286
+ /**
1287
+ * The unique name of the domain.
1288
+ */
1289
+ DomainName: name;
1290
+ /**
1291
+ * The unique identifier of a customer profile.
1292
+ */
1293
+ ProfileId: uuid;
1294
+ /**
1295
+ * The unique name of the calculated attribute.
1296
+ */
1297
+ CalculatedAttributeName: typeName;
1298
+ }
1299
+ export interface GetCalculatedAttributeForProfileResponse {
1300
+ /**
1301
+ * The unique name of the calculated attribute.
1302
+ */
1303
+ CalculatedAttributeName?: typeName;
1304
+ /**
1305
+ * The display name of the calculated attribute.
1306
+ */
1307
+ DisplayName?: displayName;
1308
+ /**
1309
+ * Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.
1310
+ */
1311
+ IsDataPartial?: string1To255;
1312
+ /**
1313
+ * The value of the calculated attribute.
1314
+ */
1315
+ Value?: string1To255;
1316
+ }
1064
1317
  export interface GetDomainRequest {
1065
1318
  /**
1066
1319
  * The unique name of the domain.
@@ -1522,6 +1775,102 @@ declare namespace CustomerProfiles {
1522
1775
  */
1523
1776
  NextToken?: token;
1524
1777
  }
1778
+ export interface ListCalculatedAttributeDefinitionItem {
1779
+ /**
1780
+ * The unique name of the calculated attribute.
1781
+ */
1782
+ CalculatedAttributeName?: typeName;
1783
+ /**
1784
+ * The display name of the calculated attribute.
1785
+ */
1786
+ DisplayName?: displayName;
1787
+ /**
1788
+ * The threshold for the calculated attribute.
1789
+ */
1790
+ Description?: text;
1791
+ /**
1792
+ * The threshold for the calculated attribute.
1793
+ */
1794
+ CreatedAt?: timestamp;
1795
+ /**
1796
+ * The timestamp of when the calculated attribute definition was most recently edited.
1797
+ */
1798
+ LastUpdatedAt?: timestamp;
1799
+ /**
1800
+ * The tags used to organize, track, or control access for this resource.
1801
+ */
1802
+ Tags?: TagMap;
1803
+ }
1804
+ export interface ListCalculatedAttributeDefinitionsRequest {
1805
+ /**
1806
+ * The unique name of the domain.
1807
+ */
1808
+ DomainName: name;
1809
+ /**
1810
+ * The pagination token from the previous call to ListCalculatedAttributeDefinitions.
1811
+ */
1812
+ NextToken?: token;
1813
+ /**
1814
+ * The maximum number of calculated attribute definitions returned per page.
1815
+ */
1816
+ MaxResults?: maxSize100;
1817
+ }
1818
+ export interface ListCalculatedAttributeDefinitionsResponse {
1819
+ /**
1820
+ * The list of calculated attribute definitions.
1821
+ */
1822
+ Items?: CalculatedAttributeDefinitionsList;
1823
+ /**
1824
+ * The pagination token from the previous call to ListCalculatedAttributeDefinitions.
1825
+ */
1826
+ NextToken?: token;
1827
+ }
1828
+ export interface ListCalculatedAttributeForProfileItem {
1829
+ /**
1830
+ * The unique name of the calculated attribute.
1831
+ */
1832
+ CalculatedAttributeName?: typeName;
1833
+ /**
1834
+ * The display name of the calculated attribute.
1835
+ */
1836
+ DisplayName?: displayName;
1837
+ /**
1838
+ * Indicates whether the calculated attribute’s value is based on partial data. If data is partial, it is set to true.
1839
+ */
1840
+ IsDataPartial?: string1To255;
1841
+ /**
1842
+ * The value of the calculated attribute.
1843
+ */
1844
+ Value?: string1To255;
1845
+ }
1846
+ export interface ListCalculatedAttributesForProfileRequest {
1847
+ /**
1848
+ * The pagination token from the previous call to ListCalculatedAttributesForProfile.
1849
+ */
1850
+ NextToken?: token;
1851
+ /**
1852
+ * The maximum number of calculated attributes returned per page.
1853
+ */
1854
+ MaxResults?: maxSize100;
1855
+ /**
1856
+ * The unique name of the domain.
1857
+ */
1858
+ DomainName: name;
1859
+ /**
1860
+ * The unique identifier of a customer profile.
1861
+ */
1862
+ ProfileId: uuid;
1863
+ }
1864
+ export interface ListCalculatedAttributesForProfileResponse {
1865
+ /**
1866
+ * The list of calculated attributes.
1867
+ */
1868
+ Items?: CalculatedAttributesForProfileList;
1869
+ /**
1870
+ * The pagination token from the previous call to ListCalculatedAttributesForProfile.
1871
+ */
1872
+ NextToken?: token;
1873
+ }
1525
1874
  export interface ListDomainItem {
1526
1875
  /**
1527
1876
  * The unique name of the domain.
@@ -1766,7 +2115,7 @@ declare namespace CustomerProfiles {
1766
2115
  */
1767
2116
  ProfileId: uuid;
1768
2117
  /**
1769
- * Applies a filter to the response to include profile objects with the specified index values. This filter is only supported for ObjectTypeName _asset, _case and _order.
2118
+ * Applies a filter to the response to include profile objects with the specified index values.
1770
2119
  */
1771
2120
  ObjectFilter?: ObjectFilter;
1772
2121
  }
@@ -1943,9 +2292,10 @@ declare namespace CustomerProfiles {
1943
2292
  Message?: message;
1944
2293
  }
1945
2294
  export type Object = string;
2295
+ export type ObjectCount = number;
1946
2296
  export interface ObjectFilter {
1947
2297
  /**
1948
- * A searchable identifier of a standard profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.
2298
+ * A searchable identifier of a profile object. The predefined keys you can use to search for _asset include: _assetId, _assetName, and _serialNumber. The predefined keys you can use to search for _case include: _caseId. The predefined keys you can use to search for _order include: _orderId.
1949
2299
  */
1950
2300
  KeyName: name;
1951
2301
  /**
@@ -1979,6 +2329,7 @@ declare namespace CustomerProfiles {
1979
2329
  }
1980
2330
  export type ObjectTypeKeyList = ObjectTypeKey[];
1981
2331
  export type ObjectTypeNames = {[key: string]: typeName};
2332
+ export type Operator = "EQUAL_TO"|"GREATER_THAN"|"LESS_THAN"|"NOT_EQUAL_TO"|string;
1982
2333
  export type OperatorPropertiesKeys = "VALUE"|"VALUES"|"DATA_TYPE"|"UPPER_BOUND"|"LOWER_BOUND"|"SOURCE_DATA_TYPE"|"DESTINATION_DATA_TYPE"|"VALIDATION_ACTION"|"MASK_VALUE"|"MASK_LENGTH"|"TRUNCATE_LENGTH"|"MATH_OPERATION_FIELDS_ORDER"|"CONCAT_FORMAT"|"SUBFIELD_CATEGORY_MAP"|string;
1983
2334
  export type PartyType = "INDIVIDUAL"|"BUSINESS"|"OTHER"|string;
1984
2335
  export interface Profile {
@@ -2270,6 +2621,16 @@ declare namespace CustomerProfiles {
2270
2621
  */
2271
2622
  Tags?: TagMap;
2272
2623
  }
2624
+ export interface Range {
2625
+ /**
2626
+ * The amount of time of the specified unit.
2627
+ */
2628
+ Value: Value;
2629
+ /**
2630
+ * The unit of time.
2631
+ */
2632
+ Unit: Unit;
2633
+ }
2273
2634
  export type RoleArn = string;
2274
2635
  export type S3ConnectorOperator = "PROJECTION"|"LESS_THAN"|"GREATER_THAN"|"BETWEEN"|"LESS_THAN_OR_EQUAL_TO"|"GREATER_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"NOT_EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
2275
2636
  export interface S3ExportingConfig {
@@ -2440,6 +2801,7 @@ declare namespace CustomerProfiles {
2440
2801
  }
2441
2802
  export type StandardIdentifier = "PROFILE"|"ASSET"|"CASE"|"UNIQUE"|"SECONDARY"|"LOOKUP_ONLY"|"NEW_ONLY"|"ORDER"|string;
2442
2803
  export type StandardIdentifierList = StandardIdentifier[];
2804
+ export type Statistic = "FIRST_OCCURRENCE"|"LAST_OCCURRENCE"|"COUNT"|"SUM"|"MINIMUM"|"MAXIMUM"|"AVERAGE"|"MAX_OCCURRENCE"|string;
2443
2805
  export type Status = "NOT_STARTED"|"IN_PROGRESS"|"COMPLETE"|"FAILED"|"SPLIT"|"RETRY"|"CANCELLED"|string;
2444
2806
  export type TagArn = string;
2445
2807
  export type TagKey = string;
@@ -2483,6 +2845,16 @@ declare namespace CustomerProfiles {
2483
2845
  export type TaskPropertiesMap = {[key: string]: Property};
2484
2846
  export type TaskType = "Arithmetic"|"Filter"|"Map"|"Mask"|"Merge"|"Truncate"|"Validate"|string;
2485
2847
  export type Tasks = Task[];
2848
+ export interface Threshold {
2849
+ /**
2850
+ * The value of the threshold.
2851
+ */
2852
+ Value: string1To255;
2853
+ /**
2854
+ * The operator of the threshold.
2855
+ */
2856
+ Operator: Operator;
2857
+ }
2486
2858
  export type Timezone = string;
2487
2859
  export interface TriggerConfig {
2488
2860
  /**
@@ -2501,6 +2873,7 @@ declare namespace CustomerProfiles {
2501
2873
  Scheduled?: ScheduledTriggerProperties;
2502
2874
  }
2503
2875
  export type TriggerType = "Scheduled"|"Event"|"OnDemand"|string;
2876
+ export type Unit = "DAYS"|string;
2504
2877
  export interface UntagResourceRequest {
2505
2878
  /**
2506
2879
  * The ARN of the resource from which you are removing tags.
@@ -2556,6 +2929,66 @@ declare namespace CustomerProfiles {
2556
2929
  PostalCode?: string0To255;
2557
2930
  }
2558
2931
  export type UpdateAttributes = {[key: string]: string0To255};
2932
+ export interface UpdateCalculatedAttributeDefinitionRequest {
2933
+ /**
2934
+ * The unique name of the domain.
2935
+ */
2936
+ DomainName: name;
2937
+ /**
2938
+ * The unique name of the calculated attribute.
2939
+ */
2940
+ CalculatedAttributeName: typeName;
2941
+ /**
2942
+ * The display name of the calculated attribute.
2943
+ */
2944
+ DisplayName?: displayName;
2945
+ /**
2946
+ * The description of the calculated attribute.
2947
+ */
2948
+ Description?: text;
2949
+ /**
2950
+ * The conditions including range, object count, and threshold for the calculated attribute.
2951
+ */
2952
+ Conditions?: Conditions;
2953
+ }
2954
+ export interface UpdateCalculatedAttributeDefinitionResponse {
2955
+ /**
2956
+ * The unique name of the calculated attribute.
2957
+ */
2958
+ CalculatedAttributeName?: typeName;
2959
+ /**
2960
+ * The display name of the calculated attribute.
2961
+ */
2962
+ DisplayName?: displayName;
2963
+ /**
2964
+ * The description of the calculated attribute.
2965
+ */
2966
+ Description?: text;
2967
+ /**
2968
+ * The timestamp of when the calculated attribute definition was created.
2969
+ */
2970
+ CreatedAt?: timestamp;
2971
+ /**
2972
+ * The timestamp of when the calculated attribute definition was most recently edited.
2973
+ */
2974
+ LastUpdatedAt?: timestamp;
2975
+ /**
2976
+ * The aggregation operation to perform for the calculated attribute.
2977
+ */
2978
+ Statistic?: Statistic;
2979
+ /**
2980
+ * The conditions including range, object count, and threshold for the calculated attribute.
2981
+ */
2982
+ Conditions?: Conditions;
2983
+ /**
2984
+ * The mathematical expression and a list of attribute items specified in that expression.
2985
+ */
2986
+ AttributeDetails?: AttributeDetails;
2987
+ /**
2988
+ * The tags used to organize, track, or control access for this resource.
2989
+ */
2990
+ Tags?: TagMap;
2991
+ }
2559
2992
  export interface UpdateDomainRequest {
2560
2993
  /**
2561
2994
  * The unique name of the domain.
@@ -2724,6 +3157,7 @@ declare namespace CustomerProfiles {
2724
3157
  */
2725
3158
  ProfileId: uuid;
2726
3159
  }
3160
+ export type Value = number;
2727
3161
  export interface WorkflowAttributes {
2728
3162
  /**
2729
3163
  * Workflow attributes specific to APPFLOW_INTEGRATION workflow.
@@ -2753,6 +3187,8 @@ declare namespace CustomerProfiles {
2753
3187
  Object: Object;
2754
3188
  }
2755
3189
  export type additionalSearchKeysList = AdditionalSearchKey[];
3190
+ export type attributeName = string;
3191
+ export type displayName = string;
2756
3192
  export type encryptionKey = string;
2757
3193
  export type expirationDaysInteger = number;
2758
3194
  export type foundByList = FoundByKeyValue[];
@@ -1572,6 +1572,12 @@ declare namespace FraudDetector {
1572
1572
  }
1573
1573
  export type EventAttributeMap = {[key: string]: attributeValue};
1574
1574
  export type EventIngestion = "ENABLED"|"DISABLED"|string;
1575
+ export interface EventOrchestration {
1576
+ /**
1577
+ * Specifies if event orchestration is enabled through Amazon EventBridge.
1578
+ */
1579
+ eventBridgeEnabled: Boolean;
1580
+ }
1575
1581
  export interface EventPredictionSummary {
1576
1582
  /**
1577
1583
  * The event ID.
@@ -1640,6 +1646,10 @@ declare namespace FraudDetector {
1640
1646
  * The entity type ARN.
1641
1647
  */
1642
1648
  arn?: fraudDetectorArn;
1649
+ /**
1650
+ * The event orchestration status.
1651
+ */
1652
+ eventOrchestration?: EventOrchestration;
1643
1653
  }
1644
1654
  export type EventVariableMap = {[key: string]: variableValue};
1645
1655
  export interface EventVariableSummary {
@@ -2447,7 +2457,7 @@ declare namespace FraudDetector {
2447
2457
  */
2448
2458
  labelMapper?: labelMapper;
2449
2459
  /**
2450
- * The action to take for unlabeled events. Use IGNORE if you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled. Use FRAUD if you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent. Use LEGIT f you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate. Use AUTO if you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset. By default, Amazon Fraud Detector ignores the unlabeled data.
2460
+ * The action to take for unlabeled events. Use IGNORE if you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled. Use FRAUD if you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent. Use LEGIT if you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate. Use AUTO if you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset. By default, Amazon Fraud Detector ignores the unlabeled data.
2451
2461
  */
2452
2462
  unlabeledEventsTreatment?: UnlabeledEventsTreatment;
2453
2463
  }
@@ -2888,13 +2898,17 @@ declare namespace FraudDetector {
2888
2898
  */
2889
2899
  entityTypes: NonEmptyListOfStrings;
2890
2900
  /**
2891
- * Specifies if ingenstion is enabled or disabled.
2901
+ * Specifies if ingestion is enabled or disabled.
2892
2902
  */
2893
2903
  eventIngestion?: EventIngestion;
2894
2904
  /**
2895
2905
  * A collection of key and value pairs.
2896
2906
  */
2897
2907
  tags?: tagList;
2908
+ /**
2909
+ * Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events.
2910
+ */
2911
+ eventOrchestration?: EventOrchestration;
2898
2912
  }
2899
2913
  export interface PutEventTypeResult {
2900
2914
  }
@@ -2948,7 +2962,7 @@ declare namespace FraudDetector {
2948
2962
  */
2949
2963
  description?: description;
2950
2964
  /**
2951
- *
2965
+ * A collection of key and value pairs.
2952
2966
  */
2953
2967
  tags?: tagList;
2954
2968
  }
@@ -3198,7 +3212,7 @@ declare namespace FraudDetector {
3198
3212
  */
3199
3213
  lowerBoundValue: float;
3200
3214
  /**
3201
- * The lower bound value of the area under curve (auc).
3215
+ * The upper bound value of the area under curve (auc).
3202
3216
  */
3203
3217
  upperBoundValue: float;
3204
3218
  }