Skip to content

Commit 52c54e4

Browse files
This release adds support for 1) highlighting relevant text in returned results for Search and SearchListings APIs and 2) returning aggregated counts of values for specified attributes for SearchListings API.
1 parent b92bb9a commit 52c54e4

File tree

43 files changed

+2248
-18
lines changed

Some content is hidden

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

43 files changed

+2248
-18
lines changed

generator/ServiceModels/datazone/datazone-2018-05-10.api.json

Lines changed: 116 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3262,6 +3262,51 @@
32623262
"includeChildDomainUnits":{"shape":"Boolean"}
32633263
}
32643264
},
3265+
"AggregationAttributeDisplayValue":{"type":"string"},
3266+
"AggregationAttributeValue":{"type":"string"},
3267+
"AggregationDisplayValue":{
3268+
"type":"string",
3269+
"max":100,
3270+
"min":1
3271+
},
3272+
"AggregationList":{
3273+
"type":"list",
3274+
"member":{"shape":"AggregationListItem"},
3275+
"max":10,
3276+
"min":1
3277+
},
3278+
"AggregationListItem":{
3279+
"type":"structure",
3280+
"required":["attribute"],
3281+
"members":{
3282+
"attribute":{"shape":"Attribute"},
3283+
"displayValue":{"shape":"AggregationDisplayValue"}
3284+
}
3285+
},
3286+
"AggregationOutput":{
3287+
"type":"structure",
3288+
"members":{
3289+
"attribute":{"shape":"Attribute"},
3290+
"displayValue":{"shape":"AggregationDisplayValue"},
3291+
"items":{"shape":"AggregationOutputItems"}
3292+
}
3293+
},
3294+
"AggregationOutputItem":{
3295+
"type":"structure",
3296+
"members":{
3297+
"count":{"shape":"Integer"},
3298+
"displayValue":{"shape":"AggregationAttributeDisplayValue"},
3299+
"value":{"shape":"AggregationAttributeValue"}
3300+
}
3301+
},
3302+
"AggregationOutputItems":{
3303+
"type":"list",
3304+
"member":{"shape":"AggregationOutputItem"}
3305+
},
3306+
"AggregationOutputList":{
3307+
"type":"list",
3308+
"member":{"shape":"AggregationOutput"}
3309+
},
32653310
"AllDomainUnitsGrantFilter":{
32663311
"type":"structure",
32673312
"members":{
@@ -3361,6 +3406,7 @@
33613406
"members":{
33623407
"formsOutput":{"shape":"FormOutputList"},
33633408
"latestTimeSeriesDataPointFormsOutput":{"shape":"TimeSeriesDataPointSummaryFormOutputList"},
3409+
"matchRationale":{"shape":"MatchRationale"},
33643410
"readOnlyFormsOutput":{"shape":"FormOutputList"}
33653411
}
33663412
},
@@ -3410,7 +3456,8 @@
34103456
"type":"structure",
34113457
"members":{
34123458
"forms":{"shape":"Forms"},
3413-
"latestTimeSeriesDataPointForms":{"shape":"TimeSeriesDataPointSummaryFormOutputList"}
3459+
"latestTimeSeriesDataPointForms":{"shape":"TimeSeriesDataPointSummaryFormOutputList"},
3460+
"matchRationale":{"shape":"MatchRationale"}
34143461
}
34153462
},
34163463
"AssetName":{
@@ -5405,6 +5452,12 @@
54055452
"revision":{"shape":"Revision"}
54065453
}
54075454
},
5455+
"DataProductItemAdditionalAttributes":{
5456+
"type":"structure",
5457+
"members":{
5458+
"matchRationale":{"shape":"MatchRationale"}
5459+
}
5460+
},
54085461
"DataProductItemType":{
54095462
"type":"string",
54105463
"enum":["ASSET"]
@@ -5447,7 +5500,8 @@
54475500
"DataProductListingItemAdditionalAttributes":{
54485501
"type":"structure",
54495502
"members":{
5450-
"forms":{"shape":"Forms"}
5503+
"forms":{"shape":"Forms"},
5504+
"matchRationale":{"shape":"MatchRationale"}
54515505
}
54525506
},
54535507
"DataProductName":{
@@ -5465,6 +5519,7 @@
54655519
"owningProjectId"
54665520
],
54675521
"members":{
5522+
"additionalAttributes":{"shape":"DataProductItemAdditionalAttributes"},
54685523
"createdAt":{"shape":"CreatedAt"},
54695524
"createdBy":{"shape":"CreatedBy"},
54705525
"description":{"shape":"DataProductDescription"},
@@ -8740,6 +8795,7 @@
87408795
"status"
87418796
],
87428797
"members":{
8798+
"additionalAttributes":{"shape":"GlossaryItemAdditionalAttributes"},
87438799
"createdAt":{"shape":"CreatedAt"},
87448800
"createdBy":{"shape":"CreatedBy"},
87458801
"description":{"shape":"GlossaryDescription"},
@@ -8752,6 +8808,12 @@
87528808
"updatedBy":{"shape":"UpdatedBy"}
87538809
}
87548810
},
8811+
"GlossaryItemAdditionalAttributes":{
8812+
"type":"structure",
8813+
"members":{
8814+
"matchRationale":{"shape":"MatchRationale"}
8815+
}
8816+
},
87558817
"GlossaryName":{
87568818
"type":"string",
87578819
"max":256,
@@ -8779,6 +8841,7 @@
87798841
"status"
87808842
],
87818843
"members":{
8844+
"additionalAttributes":{"shape":"GlossaryTermItemAdditionalAttributes"},
87828845
"createdAt":{"shape":"CreatedAt"},
87838846
"createdBy":{"shape":"CreatedBy"},
87848847
"domainId":{"shape":"DomainId"},
@@ -8793,6 +8856,12 @@
87938856
"updatedBy":{"shape":"UpdatedBy"}
87948857
}
87958858
},
8859+
"GlossaryTermItemAdditionalAttributes":{
8860+
"type":"structure",
8861+
"members":{
8862+
"matchRationale":{"shape":"MatchRationale"}
8863+
}
8864+
},
87968865
"GlossaryTermName":{
87978866
"type":"string",
87988867
"max":256,
@@ -11088,6 +11157,28 @@
1108811157
"max":10,
1108911158
"min":0
1109011159
},
11160+
"MatchOffset":{
11161+
"type":"structure",
11162+
"members":{
11163+
"endOffset":{"shape":"Integer"},
11164+
"startOffset":{"shape":"Integer"}
11165+
}
11166+
},
11167+
"MatchOffsets":{
11168+
"type":"list",
11169+
"member":{"shape":"MatchOffset"}
11170+
},
11171+
"MatchRationale":{
11172+
"type":"list",
11173+
"member":{"shape":"MatchRationaleItem"}
11174+
},
11175+
"MatchRationaleItem":{
11176+
"type":"structure",
11177+
"members":{
11178+
"textMatches":{"shape":"TextMatches"}
11179+
},
11180+
"union":true
11181+
},
1109111182
"MaxResults":{
1109211183
"type":"integer",
1109311184
"box":true,
@@ -12757,6 +12848,7 @@
1275712848
"required":["domainIdentifier"],
1275812849
"members":{
1275912850
"additionalAttributes":{"shape":"SearchOutputAdditionalAttributes"},
12851+
"aggregations":{"shape":"AggregationList"},
1276012852
"domainIdentifier":{
1276112853
"shape":"DomainId",
1276212854
"location":"uri",
@@ -12766,13 +12858,19 @@
1276612858
"maxResults":{"shape":"MaxResults"},
1276712859
"nextToken":{"shape":"PaginationToken"},
1276812860
"searchIn":{"shape":"SearchInList"},
12769-
"searchText":{"shape":"String"},
12861+
"searchText":{"shape":"SearchListingsInputSearchTextString"},
1277012862
"sort":{"shape":"SearchSort"}
1277112863
}
1277212864
},
12865+
"SearchListingsInputSearchTextString":{
12866+
"type":"string",
12867+
"max":512,
12868+
"min":0
12869+
},
1277312870
"SearchListingsOutput":{
1277412871
"type":"structure",
1277512872
"members":{
12873+
"aggregates":{"shape":"AggregationOutputList"},
1277612874
"items":{"shape":"SearchResultItems"},
1277712875
"nextToken":{"shape":"PaginationToken"},
1277812876
"totalMatchCount":{"shape":"Integer"}
@@ -12790,7 +12888,8 @@
1279012888
"type":"string",
1279112889
"enum":[
1279212890
"FORMS",
12793-
"TIME_SERIES_DATA_POINT_FORMS"
12891+
"TIME_SERIES_DATA_POINT_FORMS",
12892+
"TEXT_MATCH_RATIONALE"
1279412893
]
1279512894
},
1279612895
"SearchOutputAdditionalAttributes":{
@@ -12819,7 +12918,7 @@
1281912918
},
1282012919
"SearchText":{
1282112920
"type":"string",
12822-
"max":4096,
12921+
"max":512,
1282312922
"min":1
1282412923
},
1282512924
"SearchTypesInput":{
@@ -13720,6 +13819,18 @@
1372013819
"max":10,
1372113820
"min":1
1372213821
},
13822+
"TextMatchItem":{
13823+
"type":"structure",
13824+
"members":{
13825+
"attribute":{"shape":"Attribute"},
13826+
"matchOffsets":{"shape":"MatchOffsets"},
13827+
"text":{"shape":"String"}
13828+
}
13829+
},
13830+
"TextMatches":{
13831+
"type":"list",
13832+
"member":{"shape":"TextMatchItem"}
13833+
},
1372313834
"ThrottlingException":{
1372413835
"type":"structure",
1372513836
"required":["message"],

0 commit comments

Comments
 (0)