MarketplaceDiscoveryClient#
Index > MarketplaceDiscovery > MarketplaceDiscoveryClient
Auto-generated documentation for MarketplaceDiscovery type annotations stubs module mypy-boto3-marketplace-discovery.
MarketplaceDiscoveryClient#
Type annotations and code completion for boto3.client("marketplace-discovery").
boto3 documentation
# MarketplaceDiscoveryClient usage example
from boto3.session import Session
from mypy_boto3_marketplace_discovery.client import MarketplaceDiscoveryClient
def get_marketplace-discovery_client() -> MarketplaceDiscoveryClient:
return Session().client("marketplace-discovery")
Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("marketplace-discovery").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("marketplace-discovery")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_marketplace_discovery.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("marketplace-discovery").can_paginate method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("marketplace-discovery").generate_presigned_url method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_listing#
Provides details about a listing, such as descriptions, badges, categories, pricing model summaries, reviews, and associated products and offers.
Type annotations and code completion for boto3.client("marketplace-discovery").get_listing method.
boto3 documentation
# get_listing method definition
def get_listing(
self,
*,
listingId: str,
) -> GetListingOutputTypeDef: # (1)
...
# get_listing method usage example with argument unpacking
kwargs: GetListingInputTypeDef = { # (1)
"listingId": ...,
}
parent.get_listing(**kwargs)
get_offer#
Provides details about an offer, such as the pricing model, seller of record, availability dates, badges, and associated products.
Type annotations and code completion for boto3.client("marketplace-discovery").get_offer method.
boto3 documentation
# get_offer method definition
def get_offer(
self,
*,
offerId: str,
) -> GetOfferOutputTypeDef: # (1)
...
# get_offer method usage example with argument unpacking
kwargs: GetOfferInputTypeDef = { # (1)
"offerId": ...,
}
parent.get_offer(**kwargs)
get_offer_set#
Provides details about an offer set, which is a bundle of offers across multiple products.
Type annotations and code completion for boto3.client("marketplace-discovery").get_offer_set method.
boto3 documentation
# get_offer_set method definition
def get_offer_set(
self,
*,
offerSetId: str,
) -> GetOfferSetOutputTypeDef: # (1)
...
# get_offer_set method usage example with argument unpacking
kwargs: GetOfferSetInputTypeDef = { # (1)
"offerSetId": ...,
}
parent.get_offer_set(**kwargs)
get_offer_terms#
Returns the terms attached to an offer, such as pricing terms (usage-based, contract, BYOL, free trial), legal terms, payment schedules, validity terms, support terms, and renewal terms.
Type annotations and code completion for boto3.client("marketplace-discovery").get_offer_terms method.
boto3 documentation
# get_offer_terms method definition
def get_offer_terms(
self,
*,
offerId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> GetOfferTermsOutputTypeDef: # (1)
...
# get_offer_terms method usage example with argument unpacking
kwargs: GetOfferTermsInputTypeDef = { # (1)
"offerId": ...,
}
parent.get_offer_terms(**kwargs)
get_product#
Provides details about a product, such as descriptions, highlights, categories, fulfillment option summaries, promotional media, and seller engagement options.
Type annotations and code completion for boto3.client("marketplace-discovery").get_product method.
boto3 documentation
# get_product method definition
def get_product(
self,
*,
productId: str,
) -> GetProductOutputTypeDef: # (1)
...
# get_product method usage example with argument unpacking
kwargs: GetProductInputTypeDef = { # (1)
"productId": ...,
}
parent.get_product(**kwargs)
list_fulfillment_options#
Returns the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes.
Type annotations and code completion for boto3.client("marketplace-discovery").list_fulfillment_options method.
boto3 documentation
# list_fulfillment_options method definition
def list_fulfillment_options(
self,
*,
productId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListFulfillmentOptionsOutputTypeDef: # (1)
...
# list_fulfillment_options method usage example with argument unpacking
kwargs: ListFulfillmentOptionsInputTypeDef = { # (1)
"productId": ...,
}
parent.list_fulfillment_options(**kwargs)
list_purchase_options#
Returns the purchase options (offers and offer sets) available to the buyer.
Type annotations and code completion for boto3.client("marketplace-discovery").list_purchase_options method.
boto3 documentation
# list_purchase_options method definition
def list_purchase_options(
self,
*,
filters: Sequence[PurchaseOptionFilterTypeDef] = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListPurchaseOptionsOutputTypeDef: # (2)
...
- See
Sequence[PurchaseOptionFilterTypeDef] - See ListPurchaseOptionsOutputTypeDef
# list_purchase_options method usage example with argument unpacking
kwargs: ListPurchaseOptionsInputTypeDef = { # (1)
"filters": ...,
}
parent.list_purchase_options(**kwargs)
search_facets#
Returns available facet values for filtering listings, such as categories, pricing models, fulfillment option types, publishers, and customer ratings.
Type annotations and code completion for boto3.client("marketplace-discovery").search_facets method.
boto3 documentation
# search_facets method definition
def search_facets(
self,
*,
searchText: str = ...,
filters: Sequence[SearchFilterTypeDef] = ..., # (1)
facetTypes: Sequence[SearchFacetTypeType] = ..., # (2)
nextToken: str = ...,
) -> SearchFacetsOutputTypeDef: # (3)
...
- See
Sequence[SearchFilterTypeDef] - See
Sequence[SearchFacetTypeType] - See SearchFacetsOutputTypeDef
# search_facets method usage example with argument unpacking
kwargs: SearchFacetsInputTypeDef = { # (1)
"searchText": ...,
}
parent.search_facets(**kwargs)
search_listings#
Returns a list of product listings based on search criteria and filters.
Type annotations and code completion for boto3.client("marketplace-discovery").search_listings method.
boto3 documentation
# search_listings method definition
def search_listings(
self,
*,
searchText: str = ...,
filters: Sequence[SearchFilterTypeDef] = ..., # (1)
maxResults: int = ...,
sortBy: SearchListingsSortByType = ..., # (2)
sortOrder: SearchListingsSortOrderType = ..., # (3)
nextToken: str = ...,
) -> SearchListingsOutputTypeDef: # (4)
...
- See
Sequence[SearchFilterTypeDef] - See SearchListingsSortByType
- See SearchListingsSortOrderType
- See SearchListingsOutputTypeDef
# search_listings method usage example with argument unpacking
kwargs: SearchListingsInputTypeDef = { # (1)
"searchText": ...,
}
parent.search_listings(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("marketplace-discovery").get_paginator method with overloads.
client.get_paginator("get_offer_terms")-> GetOfferTermsPaginatorclient.get_paginator("list_fulfillment_options")-> ListFulfillmentOptionsPaginatorclient.get_paginator("list_purchase_options")-> ListPurchaseOptionsPaginatorclient.get_paginator("search_facets")-> SearchFacetsPaginatorclient.get_paginator("search_listings")-> SearchListingsPaginator