MarketplaceReportingServiceClient#
Index > MarketplaceReportingService > MarketplaceReportingServiceClient
Auto-generated documentation for MarketplaceReportingService type annotations stubs module mypy-boto3-marketplace-reporting.
MarketplaceReportingServiceClient#
Type annotations and code completion for boto3.client("marketplace-reporting").
 boto3 documentation
# MarketplaceReportingServiceClient usage example
from boto3.session import Session
from mypy_boto3_marketplace_reporting.client import MarketplaceReportingServiceClient
def get_marketplace-reporting_client() -> MarketplaceReportingServiceClient:
    return Session().client("marketplace-reporting")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("marketplace-reporting").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("marketplace-reporting")
try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.BadRequestException,
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.UnauthorizedException,
) as e:
    print(e)# Exceptions.exceptions type checking example
from mypy_boto3_marketplace_reporting.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("marketplace-reporting").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-reporting").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_buyer_dashboard#
Generates an embedding URL for an Amazon QuickSight dashboard for an anonymous user.
Type annotations and code completion for boto3.client("marketplace-reporting").get_buyer_dashboard method.
 boto3 documentation
# get_buyer_dashboard method definition
def get_buyer_dashboard(
    self,
    *,
    dashboardIdentifier: str,
    embeddingDomains: Sequence[str],
) -> GetBuyerDashboardOutputTypeDef:  # (1)
    ...# get_buyer_dashboard method usage example with argument unpacking
kwargs: GetBuyerDashboardInputTypeDef = {  # (1)
    "dashboardIdentifier": ...,
    "embeddingDomains": ...,
}
parent.get_buyer_dashboard(**kwargs)