Skip to content

Commit 01b582d

Browse files
author
AWS
committed
Amazon Connect Customer Profiles Update: This release introduces DetectProfileObjectType API to auto generate object type mapping.
1 parent 5bfe322 commit 01b582d

File tree

3 files changed

+100
-20
lines changed

3 files changed

+100
-20
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Connect Customer Profiles",
4+
"contributor": "",
5+
"description": "This release introduces DetectProfileObjectType API to auto generate object type mapping."
6+
}

services/customerprofiles/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,11 +212,11 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [],
@@ -231,14 +227,16 @@
231227
},
232228
"type": "endpoint"
233229
}
234-
]
230+
],
231+
"type": "tree"
235232
},
236233
{
237234
"conditions": [],
238235
"error": "FIPS is enabled but this partition does not support FIPS",
239236
"type": "error"
240237
}
241-
]
238+
],
239+
"type": "tree"
242240
},
243241
{
244242
"conditions": [
@@ -252,7 +250,6 @@
252250
]
253251
}
254252
],
255-
"type": "tree",
256253
"rules": [
257254
{
258255
"conditions": [
@@ -272,7 +269,6 @@
272269
]
273270
}
274271
],
275-
"type": "tree",
276272
"rules": [
277273
{
278274
"conditions": [],
@@ -283,14 +279,16 @@
283279
},
284280
"type": "endpoint"
285281
}
286-
]
282+
],
283+
"type": "tree"
287284
},
288285
{
289286
"conditions": [],
290287
"error": "DualStack is enabled but this partition does not support DualStack",
291288
"type": "error"
292289
}
293-
]
290+
],
291+
"type": "tree"
294292
},
295293
{
296294
"conditions": [],
@@ -301,9 +299,11 @@
301299
},
302300
"type": "endpoint"
303301
}
304-
]
302+
],
303+
"type": "tree"
305304
}
306-
]
305+
],
306+
"type": "tree"
307307
},
308308
{
309309
"conditions": [],

services/customerprofiles/src/main/resources/codegen-resources/service-2.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,23 @@
269269
],
270270
"documentation":"<p>Deletes the specified workflow and all its corresponding resources. This is an async process.</p>"
271271
},
272+
"DetectProfileObjectType":{
273+
"name":"DetectProfileObjectType",
274+
"http":{
275+
"method":"POST",
276+
"requestUri":"/domains/{DomainName}/detect/object-types"
277+
},
278+
"input":{"shape":"DetectProfileObjectTypeRequest"},
279+
"output":{"shape":"DetectProfileObjectTypeResponse"},
280+
"errors":[
281+
{"shape":"BadRequestException"},
282+
{"shape":"ResourceNotFoundException"},
283+
{"shape":"AccessDeniedException"},
284+
{"shape":"ThrottlingException"},
285+
{"shape":"InternalServerException"}
286+
],
287+
"documentation":"<p>The process of detecting profile object type mapping by using given objects.</p>"
288+
},
272289
"GetAutoMergingPreview":{
273290
"name":"GetAutoMergingPreview",
274291
"http":{
@@ -2034,6 +2051,56 @@
20342051
},
20352052
"documentation":"<p>Summary information about the Kinesis data stream</p>"
20362053
},
2054+
"DetectProfileObjectTypeRequest":{
2055+
"type":"structure",
2056+
"required":[
2057+
"Objects",
2058+
"DomainName"
2059+
],
2060+
"members":{
2061+
"Objects":{
2062+
"shape":"Objects",
2063+
"documentation":"<p>A string that is serialized from a JSON object.</p>"
2064+
},
2065+
"DomainName":{
2066+
"shape":"name",
2067+
"documentation":"<p>The unique name of the domain.</p>",
2068+
"location":"uri",
2069+
"locationName":"DomainName"
2070+
}
2071+
}
2072+
},
2073+
"DetectProfileObjectTypeResponse":{
2074+
"type":"structure",
2075+
"members":{
2076+
"DetectedProfileObjectTypes":{
2077+
"shape":"DetectedProfileObjectTypes",
2078+
"documentation":"<p>Detected <code>ProfileObjectType</code> mappings from given objects. A maximum of one mapping is supported.</p>"
2079+
}
2080+
}
2081+
},
2082+
"DetectedProfileObjectType":{
2083+
"type":"structure",
2084+
"members":{
2085+
"SourceLastUpdatedTimestampFormat":{
2086+
"shape":"string1To255",
2087+
"documentation":"<p>The format of <code>sourceLastUpdatedTimestamp</code> that was detected in fields.</p>"
2088+
},
2089+
"Fields":{
2090+
"shape":"FieldMap",
2091+
"documentation":"<p>A map of the name and the <code>ObjectType</code> field.</p>"
2092+
},
2093+
"Keys":{
2094+
"shape":"KeyMap",
2095+
"documentation":"<p>A list of unique keys that can be used to map data to a profile.</p>"
2096+
}
2097+
},
2098+
"documentation":"<p>Contains <code>ProfileObjectType</code> mapping information from the model.</p>"
2099+
},
2100+
"DetectedProfileObjectTypes":{
2101+
"type":"list",
2102+
"member":{"shape":"DetectedProfileObjectType"}
2103+
},
20372104
"DomainList":{
20382105
"type":"list",
20392106
"member":{"shape":"ListDomainItem"}
@@ -4276,6 +4343,13 @@
42764343
"key":{"shape":"string1To255"},
42774344
"value":{"shape":"typeName"}
42784345
},
4346+
"Objects":{
4347+
"type":"list",
4348+
"member":{"shape":"stringifiedJson"},
4349+
"max":5,
4350+
"min":1,
4351+
"sensitive":true
4352+
},
42794353
"Operator":{
42804354
"type":"string",
42814355
"enum":[

0 commit comments

Comments
 (0)