Skip to content

Commit decb184

Browse files
author
awstools
committed
feat(client-marketplace-catalog): This release enhances the ListEntities API to support new entity type-specific strongly typed filters in the request and entity type-specific strongly typed summaries in the response.
1 parent e8c53cd commit decb184

File tree

4 files changed

+5751
-679
lines changed

4 files changed

+5751
-679
lines changed

clients/client-marketplace-catalog/src/commands/ListEntitiesCommand.ts

Lines changed: 298 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,262 @@ export interface ListEntitiesCommandOutput extends ListEntitiesResponse, __Metad
6666
* NextToken: "STRING_VALUE",
6767
* MaxResults: Number("int"),
6868
* OwnershipType: "SELF" || "SHARED",
69+
* EntityTypeFilters: { // EntityTypeFilters Union: only one key present
70+
* DataProductFilters: { // DataProductFilters
71+
* EntityId: { // DataProductEntityIdFilter
72+
* ValueList: [ // DataProductEntityIdFilterValueList
73+
* "STRING_VALUE",
74+
* ],
75+
* },
76+
* ProductTitle: { // DataProductTitleFilter
77+
* ValueList: [ // DataProductTitleFilterValueList
78+
* "STRING_VALUE",
79+
* ],
80+
* WildCardValue: "STRING_VALUE",
81+
* },
82+
* Visibility: { // DataProductVisibilityFilter
83+
* ValueList: [ // DataProductVisibilityFilterValueList
84+
* "Limited" || "Public" || "Restricted" || "Unavailable" || "Draft",
85+
* ],
86+
* },
87+
* LastModifiedDate: { // DataProductLastModifiedDateFilter
88+
* DateRange: { // DataProductLastModifiedDateFilterDateRange
89+
* AfterValue: "STRING_VALUE",
90+
* BeforeValue: "STRING_VALUE",
91+
* },
92+
* },
93+
* },
94+
* SaaSProductFilters: { // SaaSProductFilters
95+
* EntityId: { // SaaSProductEntityIdFilter
96+
* ValueList: [ // SaaSProductEntityIdFilterValueList
97+
* "STRING_VALUE",
98+
* ],
99+
* },
100+
* ProductTitle: { // SaaSProductTitleFilter
101+
* ValueList: [ // SaaSProductTitleFilterValueList
102+
* "STRING_VALUE",
103+
* ],
104+
* WildCardValue: "STRING_VALUE",
105+
* },
106+
* Visibility: { // SaaSProductVisibilityFilter
107+
* ValueList: [ // SaaSProductVisibilityFilterValueList
108+
* "Limited" || "Public" || "Restricted" || "Draft",
109+
* ],
110+
* },
111+
* LastModifiedDate: { // SaaSProductLastModifiedDateFilter
112+
* DateRange: { // SaaSProductLastModifiedDateFilterDateRange
113+
* AfterValue: "STRING_VALUE",
114+
* BeforeValue: "STRING_VALUE",
115+
* },
116+
* },
117+
* },
118+
* AmiProductFilters: { // AmiProductFilters
119+
* EntityId: { // AmiProductEntityIdFilter
120+
* ValueList: [ // AmiProductEntityIdFilterValueList
121+
* "STRING_VALUE",
122+
* ],
123+
* },
124+
* LastModifiedDate: { // AmiProductLastModifiedDateFilter
125+
* DateRange: { // AmiProductLastModifiedDateFilterDateRange
126+
* AfterValue: "STRING_VALUE",
127+
* BeforeValue: "STRING_VALUE",
128+
* },
129+
* },
130+
* ProductTitle: { // AmiProductTitleFilter
131+
* ValueList: [ // AmiProductTitleFilterValueList
132+
* "STRING_VALUE",
133+
* ],
134+
* WildCardValue: "STRING_VALUE",
135+
* },
136+
* Visibility: { // AmiProductVisibilityFilter
137+
* ValueList: [ // AmiProductVisibilityFilterValueList
138+
* "Limited" || "Public" || "Restricted" || "Draft",
139+
* ],
140+
* },
141+
* },
142+
* OfferFilters: { // OfferFilters
143+
* EntityId: { // OfferEntityIdFilter
144+
* ValueList: [ // OfferEntityIdFilterValueList
145+
* "STRING_VALUE",
146+
* ],
147+
* },
148+
* Name: { // OfferNameFilter
149+
* ValueList: [ // OfferNameFilterValueList
150+
* "STRING_VALUE",
151+
* ],
152+
* WildCardValue: "STRING_VALUE",
153+
* },
154+
* ProductId: { // OfferProductIdFilter
155+
* ValueList: [ // OfferProductIdFilterValueList
156+
* "STRING_VALUE",
157+
* ],
158+
* },
159+
* ReleaseDate: { // OfferReleaseDateFilter
160+
* DateRange: { // OfferReleaseDateFilterDateRange
161+
* AfterValue: "STRING_VALUE",
162+
* BeforeValue: "STRING_VALUE",
163+
* },
164+
* },
165+
* AvailabilityEndDate: { // OfferAvailabilityEndDateFilter
166+
* DateRange: { // OfferAvailabilityEndDateFilterDateRange
167+
* AfterValue: "STRING_VALUE",
168+
* BeforeValue: "STRING_VALUE",
169+
* },
170+
* },
171+
* BuyerAccounts: { // OfferBuyerAccountsFilter
172+
* WildCardValue: "STRING_VALUE",
173+
* },
174+
* State: { // OfferStateFilter
175+
* ValueList: [ // OfferStateFilterValueList
176+
* "Draft" || "Released",
177+
* ],
178+
* },
179+
* Targeting: { // OfferTargetingFilter
180+
* ValueList: [ // OfferTargetingFilterValueList
181+
* "BuyerAccounts" || "ParticipatingPrograms" || "CountryCodes" || "None",
182+
* ],
183+
* },
184+
* LastModifiedDate: { // OfferLastModifiedDateFilter
185+
* DateRange: { // OfferLastModifiedDateFilterDateRange
186+
* AfterValue: "STRING_VALUE",
187+
* BeforeValue: "STRING_VALUE",
188+
* },
189+
* },
190+
* },
191+
* ContainerProductFilters: { // ContainerProductFilters
192+
* EntityId: { // ContainerProductEntityIdFilter
193+
* ValueList: [ // ContainerProductEntityIdFilterValueList
194+
* "STRING_VALUE",
195+
* ],
196+
* },
197+
* LastModifiedDate: { // ContainerProductLastModifiedDateFilter
198+
* DateRange: { // ContainerProductLastModifiedDateFilterDateRange
199+
* AfterValue: "STRING_VALUE",
200+
* BeforeValue: "STRING_VALUE",
201+
* },
202+
* },
203+
* ProductTitle: { // ContainerProductTitleFilter
204+
* ValueList: [ // ContainerProductTitleFilterValueList
205+
* "STRING_VALUE",
206+
* ],
207+
* WildCardValue: "STRING_VALUE",
208+
* },
209+
* Visibility: { // ContainerProductVisibilityFilter
210+
* ValueList: [ // ContainerProductVisibilityFilterValueList
211+
* "Limited" || "Public" || "Restricted" || "Draft",
212+
* ],
213+
* },
214+
* },
215+
* ResaleAuthorizationFilters: { // ResaleAuthorizationFilters
216+
* EntityId: { // ResaleAuthorizationEntityIdFilter
217+
* ValueList: [ // ResaleAuthorizationEntityIdFilterValueList
218+
* "STRING_VALUE",
219+
* ],
220+
* },
221+
* Name: { // ResaleAuthorizationNameFilter
222+
* ValueList: [ // ResaleAuthorizationNameFilterValueList
223+
* "STRING_VALUE",
224+
* ],
225+
* WildCardValue: "STRING_VALUE",
226+
* },
227+
* ProductId: { // ResaleAuthorizationProductIdFilter
228+
* ValueList: [ // ResaleAuthorizationProductIdFilterValueList
229+
* "STRING_VALUE",
230+
* ],
231+
* WildCardValue: "STRING_VALUE",
232+
* },
233+
* CreatedDate: { // ResaleAuthorizationCreatedDateFilter
234+
* DateRange: { // ResaleAuthorizationCreatedDateFilterDateRange
235+
* AfterValue: "STRING_VALUE",
236+
* BeforeValue: "STRING_VALUE",
237+
* },
238+
* ValueList: [ // ResaleAuthorizationCreatedDateFilterValueList
239+
* "STRING_VALUE",
240+
* ],
241+
* },
242+
* AvailabilityEndDate: { // ResaleAuthorizationAvailabilityEndDateFilter
243+
* DateRange: { // ResaleAuthorizationAvailabilityEndDateFilterDateRange
244+
* AfterValue: "STRING_VALUE",
245+
* BeforeValue: "STRING_VALUE",
246+
* },
247+
* ValueList: [ // ResaleAuthorizationAvailabilityEndDateFilterValueList
248+
* "STRING_VALUE",
249+
* ],
250+
* },
251+
* ManufacturerAccountId: { // ResaleAuthorizationManufacturerAccountIdFilter
252+
* ValueList: [ // ResaleAuthorizationManufacturerAccountIdFilterValueList
253+
* "STRING_VALUE",
254+
* ],
255+
* WildCardValue: "STRING_VALUE",
256+
* },
257+
* ProductName: { // ResaleAuthorizationProductNameFilter
258+
* ValueList: [ // ResaleAuthorizationProductNameFilterValueList
259+
* "STRING_VALUE",
260+
* ],
261+
* WildCardValue: "STRING_VALUE",
262+
* },
263+
* ManufacturerLegalName: { // ResaleAuthorizationManufacturerLegalNameFilter
264+
* ValueList: [ // ResaleAuthorizationManufacturerLegalNameFilterValueList
265+
* "STRING_VALUE",
266+
* ],
267+
* WildCardValue: "STRING_VALUE",
268+
* },
269+
* ResellerAccountID: { // ResaleAuthorizationResellerAccountIDFilter
270+
* ValueList: [ // ResaleAuthorizationResellerAccountIDFilterValueList
271+
* "STRING_VALUE",
272+
* ],
273+
* WildCardValue: "STRING_VALUE",
274+
* },
275+
* ResellerLegalName: { // ResaleAuthorizationResellerLegalNameFilter
276+
* ValueList: [ // ResaleAuthorizationResellerLegalNameFilterValueList
277+
* "STRING_VALUE",
278+
* ],
279+
* WildCardValue: "STRING_VALUE",
280+
* },
281+
* Status: { // ResaleAuthorizationStatusFilter
282+
* ValueList: [ // ResaleAuthorizationStatusFilterValueList
283+
* "Draft" || "Active" || "Restricted",
284+
* ],
285+
* },
286+
* OfferExtendedStatus: { // ResaleAuthorizationOfferExtendedStatusFilter
287+
* ValueList: [ // ResaleAuthorizationOfferExtendedStatusFilterValueList
288+
* "STRING_VALUE",
289+
* ],
290+
* },
291+
* LastModifiedDate: { // ResaleAuthorizationLastModifiedDateFilter
292+
* DateRange: { // ResaleAuthorizationLastModifiedDateFilterDateRange
293+
* AfterValue: "STRING_VALUE",
294+
* BeforeValue: "STRING_VALUE",
295+
* },
296+
* },
297+
* },
298+
* },
299+
* EntityTypeSort: { // EntityTypeSort Union: only one key present
300+
* DataProductSort: { // DataProductSort
301+
* SortBy: "EntityId" || "ProductTitle" || "Visibility" || "LastModifiedDate",
302+
* SortOrder: "ASCENDING" || "DESCENDING",
303+
* },
304+
* SaaSProductSort: { // SaaSProductSort
305+
* SortBy: "EntityId" || "ProductTitle" || "Visibility" || "LastModifiedDate",
306+
* SortOrder: "ASCENDING" || "DESCENDING",
307+
* },
308+
* AmiProductSort: { // AmiProductSort
309+
* SortBy: "EntityId" || "LastModifiedDate" || "ProductTitle" || "Visibility",
310+
* SortOrder: "ASCENDING" || "DESCENDING",
311+
* },
312+
* OfferSort: { // OfferSort
313+
* SortBy: "EntityId" || "Name" || "ProductId" || "ReleaseDate" || "AvailabilityEndDate" || "BuyerAccounts" || "State" || "Targeting" || "LastModifiedDate",
314+
* SortOrder: "ASCENDING" || "DESCENDING",
315+
* },
316+
* ContainerProductSort: { // ContainerProductSort
317+
* SortBy: "EntityId" || "LastModifiedDate" || "ProductTitle" || "Visibility",
318+
* SortOrder: "ASCENDING" || "DESCENDING",
319+
* },
320+
* ResaleAuthorizationSort: { // ResaleAuthorizationSort
321+
* SortBy: "EntityId" || "Name" || "ProductId" || "ProductName" || "ManufacturerAccountId" || "ManufacturerLegalName" || "ResellerAccountID" || "ResellerLegalName" || "Status" || "OfferExtendedStatus" || "CreatedDate" || "AvailabilityEndDate" || "LastModifiedDate",
322+
* SortOrder: "ASCENDING" || "DESCENDING",
323+
* },
324+
* },
69325
* };
70326
* const command = new ListEntitiesCommand(input);
71327
* const response = await client.send(command);
@@ -78,6 +334,48 @@ export interface ListEntitiesCommandOutput extends ListEntitiesResponse, __Metad
78334
* // EntityArn: "STRING_VALUE",
79335
* // LastModifiedDate: "STRING_VALUE",
80336
* // Visibility: "STRING_VALUE",
337+
* // AmiProductSummary: { // AmiProductSummary
338+
* // ProductTitle: "STRING_VALUE",
339+
* // Visibility: "Limited" || "Public" || "Restricted" || "Draft",
340+
* // },
341+
* // ContainerProductSummary: { // ContainerProductSummary
342+
* // ProductTitle: "STRING_VALUE",
343+
* // Visibility: "Limited" || "Public" || "Restricted" || "Draft",
344+
* // },
345+
* // DataProductSummary: { // DataProductSummary
346+
* // ProductTitle: "STRING_VALUE",
347+
* // Visibility: "Limited" || "Public" || "Restricted" || "Unavailable" || "Draft",
348+
* // },
349+
* // SaaSProductSummary: { // SaaSProductSummary
350+
* // ProductTitle: "STRING_VALUE",
351+
* // Visibility: "Limited" || "Public" || "Restricted" || "Draft",
352+
* // },
353+
* // OfferSummary: { // OfferSummary
354+
* // Name: "STRING_VALUE",
355+
* // ProductId: "STRING_VALUE",
356+
* // ReleaseDate: "STRING_VALUE",
357+
* // AvailabilityEndDate: "STRING_VALUE",
358+
* // BuyerAccounts: [ // OfferBuyerAccountsList
359+
* // "STRING_VALUE",
360+
* // ],
361+
* // State: "Draft" || "Released",
362+
* // Targeting: [ // OfferTargetingList
363+
* // "BuyerAccounts" || "ParticipatingPrograms" || "CountryCodes" || "None",
364+
* // ],
365+
* // },
366+
* // ResaleAuthorizationSummary: { // ResaleAuthorizationSummary
367+
* // Name: "STRING_VALUE",
368+
* // ProductId: "STRING_VALUE",
369+
* // ProductName: "STRING_VALUE",
370+
* // ManufacturerAccountId: "STRING_VALUE",
371+
* // ManufacturerLegalName: "STRING_VALUE",
372+
* // ResellerAccountID: "STRING_VALUE",
373+
* // ResellerLegalName: "STRING_VALUE",
374+
* // Status: "Draft" || "Active" || "Restricted",
375+
* // OfferExtendedStatus: "STRING_VALUE",
376+
* // CreatedDate: "STRING_VALUE",
377+
* // AvailabilityEndDate: "STRING_VALUE",
378+
* // },
81379
* // },
82380
* // ],
83381
* // NextToken: "STRING_VALUE",

0 commit comments

Comments
 (0)