Skip to content

/AWS1/CL_MPC=>LISTENTITIES()

About ListEntities

Provides the list of entities of a given type.

Method Signature

IMPORTING

Required arguments:

IV_CATALOG TYPE /AWS1/MPCCATALOG /AWS1/MPCCATALOG

The catalog related to the request. Fixed value: AWSMarketplace

IV_ENTITYTYPE TYPE /AWS1/MPCENTITYTYPE /AWS1/MPCENTITYTYPE

The type of entities to retrieve. Valid values are: AmiProduct, ContainerProduct, DataProduct, SaaSProduct, ProcurementPolicy, Experience, Audience, BrandingSettings, Offer, Seller, ResaleAuthorization.

Optional arguments:

IT_FILTERLIST TYPE /AWS1/CL_MPCFILTER=>TT_FILTERLIST TT_FILTERLIST

An array of filter objects. Each filter object contains two attributes, filterName and filterValues.

IO_SORT TYPE REF TO /AWS1/CL_MPCSORT /AWS1/CL_MPCSORT

An object that contains two attributes, SortBy and SortOrder.

IV_NEXTTOKEN TYPE /AWS1/MPCNEXTTOKEN /AWS1/MPCNEXTTOKEN

The value of the next token, if it exists. Null if there are no more results.

IV_MAXRESULTS TYPE /AWS1/MPCLSTENTSMAXRSLTINTEGER /AWS1/MPCLSTENTSMAXRSLTINTEGER

Specifies the upper limit of the elements on a single page. If a value isn't provided, the default value is 20.

IV_OWNERSHIPTYPE TYPE /AWS1/MPCOWNERSHIPTYPE /AWS1/MPCOWNERSHIPTYPE

Filters the returned set of entities based on their owner. The default is SELF. To list entities shared with you through AWS Resource Access Manager (AWS RAM), set to SHARED. Entities shared through the AWS Marketplace Catalog API PutResourcePolicy operation can't be discovered through the SHARED parameter.

IO_ENTITYTYPEFILTERS TYPE REF TO /AWS1/CL_MPCENTITYTYPEFILTERS /AWS1/CL_MPCENTITYTYPEFILTERS

A Union object containing filter shapes for all EntityTypes. Each EntityTypeFilter shape will have filters applicable for that EntityType that can be used to search or filter entities.

IO_ENTITYTYPESORT TYPE REF TO /AWS1/CL_MPCENTITYTYPESORT /AWS1/CL_MPCENTITYTYPESORT

A Union object containing Sort shapes for all EntityTypes. Each EntityTypeSort shape will have SortBy and SortOrder applicable for fields on that EntityType. This can be used to sort the results of the filter query.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MPCLISTENTSRESPONSE /AWS1/CL_MPCLISTENTSRESPONSE