/AWS1/CL_MPG=>SEARCHAGREEMENTS()
¶
About SearchAgreements¶
Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.
The following filter combinations are supported:
-
PartyType
asProposer
+AgreementType
+ResourceIdentifier
-
PartyType
asProposer
+AgreementType
+OfferId
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
-
PartyType
asProposer
+AgreementType
+Status
-
PartyType
asProposer
+AgreementType
+ResourceIdentifier
+Status
-
PartyType
asProposer
+AgreementType
+OfferId
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+Status
-
PartyType
asProposer
+AgreementType
+ResourceType
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceType
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+OfferId
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+OfferId
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceIdentifier
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceIdentifier
+Status
-
PartyType
asProposer
+AgreementType
+AcceptorAccountId
+ResourceType
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_CATALOG
TYPE /AWS1/MPGCATALOG
/AWS1/MPGCATALOG
¶
The catalog in which the agreement was created.
IT_FILTERS
TYPE /AWS1/CL_MPGFILTER=>TT_FILTERLIST
TT_FILTERLIST
¶
The filter name and value pair used to return a specific list of results.
The following filters are supported:
ResourceIdentifier
– The unique identifier of the resource.
ResourceType
– Type of the resource, which is the product (AmiProduct
,ContainerProduct
, orSaaSProduct
).
PartyType
– The party type (eitherAcceptor
orProposer
) of the caller. For agreements where the caller is the proposer, use theProposer
filter. For agreements where the caller is the acceptor, use theAcceptor
filter.
AcceptorAccountId
– The AWS account ID of the party accepting the agreement terms.
OfferId
– The unique identifier of the offer in which the terms are registered in the agreement token.
Status
– The current status of the agreement. Values includeACTIVE
,ARCHIVED
,CANCELLED
,EXPIRED
,RENEWED
,REPLACED
, andTERMINATED
.
BeforeEndTime
– A date used to filter agreements with a date before theendTime
of an agreement.
AfterEndTime
– A date used to filter agreements with a date after theendTime
of an agreement.
AgreementType
– The type of agreement. Values includePurchaseAgreement
orVendorInsightsAgreement
.
IO_SORT
TYPE REF TO /AWS1/CL_MPGSORT
/AWS1/CL_MPGSORT
¶
An object that contains the
SortBy
andSortOrder
attributes.
IV_MAXRESULTS
TYPE /AWS1/MPGMAXRESULTS
/AWS1/MPGMAXRESULTS
¶
The maximum number of agreements to return in the response.
IV_NEXTTOKEN
TYPE /AWS1/MPGNEXTTOKEN
/AWS1/MPGNEXTTOKEN
¶
A token to specify where to start pagination.