View a markdown version of this page

Actions, resources, and condition keys for AWS Marketplace Discovery - Service Authorization Reference

Actions, resources, and condition keys for AWS Marketplace Discovery

AWS Marketplace Discovery (service prefix: aws-marketplace) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by AWS Marketplace Discovery

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

GetListing

aws-marketplace:GetListing

Read

GetOffer

aws-marketplace:GetOffer

Read

GetOfferSet

aws-marketplace:GetOfferSet

Read

GetOfferTerms

aws-marketplace:GetOfferTerms

Read

GetProduct

aws-marketplace:GetProduct

Read

ListFulfillmentOptions

aws-marketplace:ListFulfillmentOptions

List

ListPurchaseOptions

aws-marketplace:ListPrivateListings

List

aws-marketplace:ListPurchaseOptions

List

SearchFacets

aws-marketplace:SearchFacets

List

SearchListings

aws-marketplace:SearchListings

List

Actions defined by AWS Marketplace Discovery

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

GetListing

Grants permission to retrieve information about a listing

Listing*

Read

GetOffer

Grants permission to retrieve information about an offer

Offer*

Read

GetOfferSet

Grants permission to retrieve information about an offer set

OfferSet*

Read

GetOfferTerms

Grants permission to retrieve terms for an offer

Offer*

Read

GetProduct

Grants permission to retrieve information about a product

Product*

Read

ListFulfillmentOptions

Grants permission to list fulfillment options for a product

Product*

List

ListPrivateListings

Grants permission to list private offers

List

ListPurchaseOptions

Grants permission to list purchase options available to the buyer

AllPurchaseOptions*

List

SearchFacets

Grants permission to search for facet values to filter listings

AllListings*

List

SearchListings

Grants permission to search for product listings

AllListings*

List

Resource types defined by AWS Marketplace Discovery

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements.

Resource types ARN Condition keys

AllListings

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/listing/*

AllPurchaseOptions

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/purchaseOption/*

Listing

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/listing/${ListingId}

Offer

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/offer/${OfferId}

OfferSet

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/offerSet/${OfferSetId}

Product

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/product/${ProductId}

PurchaseOption

arn:${Partition}:aws-marketplace:::catalog/${CatalogName}/purchaseOption/${PurchaseOptionId}

Condition keys for AWS Marketplace Discovery

AWS Marketplace Discovery has no service-specific condition keys that can be used in the Condition element of policy statements.