Skip to content

Commit 9b62af2

Browse files
This release introduces capability of Profile Explorer, using correct ingestion timestamp & using historical data for computing calculated attributes, and new standard objects for T&H as part of Amazon Connect Customer Profiles service.
1 parent 7aef9dd commit 9b62af2

File tree

69 files changed

+7693
-372
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+7693
-372
lines changed

generator/ServiceModels/customer-profiles/customer-profiles-2020-08-15.api.json

Lines changed: 378 additions & 30 deletions
Large diffs are not rendered by default.

generator/ServiceModels/customer-profiles/customer-profiles-2020-08-15.docs.json

Lines changed: 331 additions & 295 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

generator/ServiceModels/customer-profiles/customer-profiles-2020-08-15.normal.json

Lines changed: 618 additions & 29 deletions
Large diffs are not rendered by default.

generator/ServiceModels/customer-profiles/customer-profiles-2020-08-15.paginators.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"limit_key": "MaxResults",
77
"result_key": "ProfileIds"
88
},
9+
"ListDomainLayouts": {
10+
"input_token": "NextToken",
11+
"output_token": "NextToken",
12+
"limit_key": "MaxResults",
13+
"result_key": "Items"
14+
},
915
"ListEventStreams": {
1016
"input_token": "NextToken",
1117
"output_token": "NextToken",

sdk/code-analysis/ServiceAnalysis/CustomerProfiles/Generated/PropertyValueRules.xml

Lines changed: 215 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,61 @@
122122
<max>64</max>
123123
<pattern>^[a-zA-Z0-9_-]+$</pattern>
124124
</property-value-rule>
125+
<property-value-rule>
126+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutRequest.Description</property>
127+
<min>1</min>
128+
<max>1000</max>
129+
</property-value-rule>
130+
<property-value-rule>
131+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutRequest.DisplayName</property>
132+
<min>1</min>
133+
<max>255</max>
134+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
135+
</property-value-rule>
136+
<property-value-rule>
137+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutRequest.DomainName</property>
138+
<min>1</min>
139+
<max>64</max>
140+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
141+
</property-value-rule>
142+
<property-value-rule>
143+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutRequest.Layout</property>
144+
<min>1</min>
145+
<max>2000000</max>
146+
</property-value-rule>
147+
<property-value-rule>
148+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutRequest.LayoutDefinitionName</property>
149+
<min>1</min>
150+
<max>64</max>
151+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
152+
</property-value-rule>
153+
<property-value-rule>
154+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutResponse.Description</property>
155+
<min>1</min>
156+
<max>1000</max>
157+
</property-value-rule>
158+
<property-value-rule>
159+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutResponse.DisplayName</property>
160+
<min>1</min>
161+
<max>255</max>
162+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
163+
</property-value-rule>
164+
<property-value-rule>
165+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutResponse.Layout</property>
166+
<min>1</min>
167+
<max>2000000</max>
168+
</property-value-rule>
169+
<property-value-rule>
170+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutResponse.LayoutDefinitionName</property>
171+
<min>1</min>
172+
<max>64</max>
173+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
174+
</property-value-rule>
175+
<property-value-rule>
176+
<property>Amazon.CustomerProfiles.Model.CreateDomainLayoutResponse.Version</property>
177+
<min>1</min>
178+
<max>255</max>
179+
</property-value-rule>
125180
<property-value-rule>
126181
<property>Amazon.CustomerProfiles.Model.CreateEventStreamRequest.DomainName</property>
127182
<min>1</min>
@@ -421,6 +476,18 @@
421476
<max>64</max>
422477
<pattern>^[a-zA-Z0-9_-]+$</pattern>
423478
</property-value-rule>
479+
<property-value-rule>
480+
<property>Amazon.CustomerProfiles.Model.DeleteDomainLayoutRequest.DomainName</property>
481+
<min>1</min>
482+
<max>64</max>
483+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
484+
</property-value-rule>
485+
<property-value-rule>
486+
<property>Amazon.CustomerProfiles.Model.DeleteDomainLayoutRequest.LayoutDefinitionName</property>
487+
<min>1</min>
488+
<max>64</max>
489+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
490+
</property-value-rule>
424491
<property-value-rule>
425492
<property>Amazon.CustomerProfiles.Model.DeleteEventStreamRequest.DomainName</property>
426493
<min>1</min>
@@ -660,6 +727,45 @@
660727
<max>64</max>
661728
<pattern>^[a-zA-Z0-9_-]+$</pattern>
662729
</property-value-rule>
730+
<property-value-rule>
731+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutRequest.DomainName</property>
732+
<min>1</min>
733+
<max>64</max>
734+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
735+
</property-value-rule>
736+
<property-value-rule>
737+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutRequest.LayoutDefinitionName</property>
738+
<min>1</min>
739+
<max>64</max>
740+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
741+
</property-value-rule>
742+
<property-value-rule>
743+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutResponse.Description</property>
744+
<min>1</min>
745+
<max>1000</max>
746+
</property-value-rule>
747+
<property-value-rule>
748+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutResponse.DisplayName</property>
749+
<min>1</min>
750+
<max>255</max>
751+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
752+
</property-value-rule>
753+
<property-value-rule>
754+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutResponse.Layout</property>
755+
<min>1</min>
756+
<max>2000000</max>
757+
</property-value-rule>
758+
<property-value-rule>
759+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutResponse.LayoutDefinitionName</property>
760+
<min>1</min>
761+
<max>64</max>
762+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
763+
</property-value-rule>
764+
<property-value-rule>
765+
<property>Amazon.CustomerProfiles.Model.GetDomainLayoutResponse.Version</property>
766+
<min>1</min>
767+
<max>255</max>
768+
</property-value-rule>
663769
<property-value-rule>
664770
<property>Amazon.CustomerProfiles.Model.GetEventStreamRequest.DomainName</property>
665771
<min>1</min>
@@ -1165,6 +1271,27 @@
11651271
<min>1</min>
11661272
<max>1024</max>
11671273
</property-value-rule>
1274+
<property-value-rule>
1275+
<property>Amazon.CustomerProfiles.Model.ListDomainLayoutsRequest.DomainName</property>
1276+
<min>1</min>
1277+
<max>64</max>
1278+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
1279+
</property-value-rule>
1280+
<property-value-rule>
1281+
<property>Amazon.CustomerProfiles.Model.ListDomainLayoutsRequest.MaxResults</property>
1282+
<min>1</min>
1283+
<max>100</max>
1284+
</property-value-rule>
1285+
<property-value-rule>
1286+
<property>Amazon.CustomerProfiles.Model.ListDomainLayoutsRequest.NextToken</property>
1287+
<min>1</min>
1288+
<max>1024</max>
1289+
</property-value-rule>
1290+
<property-value-rule>
1291+
<property>Amazon.CustomerProfiles.Model.ListDomainLayoutsResponse.NextToken</property>
1292+
<min>1</min>
1293+
<max>1024</max>
1294+
</property-value-rule>
11681295
<property-value-rule>
11691296
<property>Amazon.CustomerProfiles.Model.ListDomainsRequest.MaxResults</property>
11701297
<min>1</min>
@@ -1730,6 +1857,61 @@
17301857
<max>64</max>
17311858
<pattern>^[a-zA-Z0-9_-]+$</pattern>
17321859
</property-value-rule>
1860+
<property-value-rule>
1861+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutRequest.Description</property>
1862+
<min>1</min>
1863+
<max>1000</max>
1864+
</property-value-rule>
1865+
<property-value-rule>
1866+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutRequest.DisplayName</property>
1867+
<min>1</min>
1868+
<max>255</max>
1869+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
1870+
</property-value-rule>
1871+
<property-value-rule>
1872+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutRequest.DomainName</property>
1873+
<min>1</min>
1874+
<max>64</max>
1875+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
1876+
</property-value-rule>
1877+
<property-value-rule>
1878+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutRequest.Layout</property>
1879+
<min>1</min>
1880+
<max>2000000</max>
1881+
</property-value-rule>
1882+
<property-value-rule>
1883+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutRequest.LayoutDefinitionName</property>
1884+
<min>1</min>
1885+
<max>64</max>
1886+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
1887+
</property-value-rule>
1888+
<property-value-rule>
1889+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutResponse.Description</property>
1890+
<min>1</min>
1891+
<max>1000</max>
1892+
</property-value-rule>
1893+
<property-value-rule>
1894+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutResponse.DisplayName</property>
1895+
<min>1</min>
1896+
<max>255</max>
1897+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
1898+
</property-value-rule>
1899+
<property-value-rule>
1900+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutResponse.Layout</property>
1901+
<min>1</min>
1902+
<max>2000000</max>
1903+
</property-value-rule>
1904+
<property-value-rule>
1905+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutResponse.LayoutDefinitionName</property>
1906+
<min>1</min>
1907+
<max>64</max>
1908+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
1909+
</property-value-rule>
1910+
<property-value-rule>
1911+
<property>Amazon.CustomerProfiles.Model.UpdateDomainLayoutResponse.Version</property>
1912+
<min>1</min>
1913+
<max>255</max>
1914+
</property-value-rule>
17331915
<property-value-rule>
17341916
<property>Amazon.CustomerProfiles.Model.UpdateEventTriggerRequest.Description</property>
17351917
<min>1</min>
@@ -2040,7 +2222,6 @@
20402222
<property-value-rule>
20412223
<property>Amazon.CustomerProfiles.Model.Conditions.ObjectCount</property>
20422224
<min>1</min>
2043-
<max>100</max>
20442225
</property-value-rule>
20452226
<property-value-rule>
20462227
<property>Amazon.CustomerProfiles.Model.ConflictResolution.SourceName</property>
@@ -2229,6 +2410,23 @@
22292410
<max>5</max>
22302411
<pattern>^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$</pattern>
22312412
</property-value-rule>
2413+
<property-value-rule>
2414+
<property>Amazon.CustomerProfiles.Model.LayoutItem.Description</property>
2415+
<min>1</min>
2416+
<max>1000</max>
2417+
</property-value-rule>
2418+
<property-value-rule>
2419+
<property>Amazon.CustomerProfiles.Model.LayoutItem.DisplayName</property>
2420+
<min>1</min>
2421+
<max>255</max>
2422+
<pattern>^[a-zA-Z_][a-zA-Z_0-9-\s]*$</pattern>
2423+
</property-value-rule>
2424+
<property-value-rule>
2425+
<property>Amazon.CustomerProfiles.Model.LayoutItem.LayoutDefinitionName</property>
2426+
<min>1</min>
2427+
<max>64</max>
2428+
<pattern>^[a-zA-Z0-9_-]+$</pattern>
2429+
</property-value-rule>
22322430
<property-value-rule>
22332431
<property>Amazon.CustomerProfiles.Model.ListCalculatedAttributeDefinitionItem.CalculatedAttributeName</property>
22342432
<min>1</min>
@@ -2502,19 +2700,29 @@
25022700
<pattern>[a-f0-9]{32}</pattern>
25032701
</property-value-rule>
25042702
<property-value-rule>
2505-
<property>Amazon.CustomerProfiles.Model.Range.Value</property>
2703+
<property>Amazon.CustomerProfiles.Model.Range.TimestampFormat</property>
25062704
<min>1</min>
2507-
<max>366</max>
2705+
<max>255</max>
25082706
</property-value-rule>
25092707
<property-value-rule>
2510-
<property>Amazon.CustomerProfiles.Model.RangeOverride.End</property>
2708+
<property>Amazon.CustomerProfiles.Model.Range.TimestampSource</property>
2709+
<min>1</min>
2710+
<max>255</max>
2711+
</property-value-rule>
2712+
<property-value-rule>
2713+
<property>Amazon.CustomerProfiles.Model.Range.Value</property>
25112714
<min>0</min>
2512-
<max>366</max>
2715+
<max>2147483647</max>
25132716
</property-value-rule>
25142717
<property-value-rule>
2515-
<property>Amazon.CustomerProfiles.Model.RangeOverride.Start</property>
2718+
<property>Amazon.CustomerProfiles.Model.Readiness.Message</property>
25162719
<min>1</min>
2517-
<max>366</max>
2720+
<max>1000</max>
2721+
</property-value-rule>
2722+
<property-value-rule>
2723+
<property>Amazon.CustomerProfiles.Model.Readiness.ProgressPercentage</property>
2724+
<min>0</min>
2725+
<max>100</max>
25182726
</property-value-rule>
25192727
<property-value-rule>
25202728
<property>Amazon.CustomerProfiles.Model.RuleBasedMatchingRequest.MaxAllowedRuleLevelForMatching</property>

sdk/src/Services/CustomerProfiles/Generated/Model/AttributeDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public partial class AttributeDetails
4343
/// A list of attribute items specified in the mathematical expression.
4444
/// </para>
4545
/// </summary>
46-
[AWSProperty(Required=true, Min=1, Max=2)]
46+
[AWSProperty(Required=true, Min=1, Max=50)]
4747
public List<AttributeItem> Attributes
4848
{
4949
get { return this._attributes; }

sdk/src/Services/CustomerProfiles/Generated/Model/CalculatedAttributeValue.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public partial class CalculatedAttributeValue
3737
private string _calculatedAttributeName;
3838
private string _displayName;
3939
private string _isDataPartial;
40+
private DateTime? _lastObjectTimestamp;
4041
private string _profileId;
4142
private string _value;
4243

@@ -98,6 +99,24 @@ internal bool IsSetIsDataPartial()
9899
return this._isDataPartial != null;
99100
}
100101

102+
/// <summary>
103+
/// Gets and sets the property LastObjectTimestamp.
104+
/// <para>
105+
/// The timestamp of the newest object included in the calculated attribute calculation.
106+
/// </para>
107+
/// </summary>
108+
public DateTime LastObjectTimestamp
109+
{
110+
get { return this._lastObjectTimestamp.GetValueOrDefault(); }
111+
set { this._lastObjectTimestamp = value; }
112+
}
113+
114+
// Check to see if LastObjectTimestamp property is set
115+
internal bool IsSetLastObjectTimestamp()
116+
{
117+
return this._lastObjectTimestamp.HasValue;
118+
}
119+
101120
/// <summary>
102121
/// Gets and sets the property ProfileId.
103122
/// <para>

sdk/src/Services/CustomerProfiles/Generated/Model/Conditions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public partial class Conditions
4444
/// The number of profile objects used for the calculated attribute.
4545
/// </para>
4646
/// </summary>
47-
[AWSProperty(Min=1, Max=100)]
47+
[AWSProperty(Min=1)]
4848
public int ObjectCount
4949
{
5050
get { return this._objectCount.GetValueOrDefault(); }

sdk/src/Services/CustomerProfiles/Generated/Model/CreateCalculatedAttributeDefinitionRequest.cs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public partial class CreateCalculatedAttributeDefinitionRequest : AmazonCustomer
4949
private Filter _filter;
5050
private Statistic _statistic;
5151
private Dictionary<string, string> _tags = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
52+
private bool? _useHistoricalData;
5253

5354
/// <summary>
5455
/// Gets and sets the property AttributeDetails.
@@ -220,5 +221,24 @@ internal bool IsSetTags()
220221
return this._tags != null && (this._tags.Count > 0 || !AWSConfigs.InitializeCollections);
221222
}
222223

224+
/// <summary>
225+
/// Gets and sets the property UseHistoricalData.
226+
/// <para>
227+
/// Whether historical data ingested before the Calculated Attribute was created should
228+
/// be included in calculations.
229+
/// </para>
230+
/// </summary>
231+
public bool UseHistoricalData
232+
{
233+
get { return this._useHistoricalData.GetValueOrDefault(); }
234+
set { this._useHistoricalData = value; }
235+
}
236+
237+
// Check to see if UseHistoricalData property is set
238+
internal bool IsSetUseHistoricalData()
239+
{
240+
return this._useHistoricalData.HasValue;
241+
}
242+
223243
}
224244
}

0 commit comments

Comments
 (0)