getBuyerDashboard

Generates an embedding URL for an Amazon QuickSight dashboard for an anonymous user.

This API is available only to Amazon Web Services Organization management accounts or delegated administrators registered for the procurement insights (procurement-insights.marketplace.amazonaws.com) feature.

The following rules apply to a generated URL:

  • It contains a temporary bearer token, valid for 5 minutes after it is generated. Once redeemed within that period, it cannot be re-used again.

  • It has a session lifetime of one hour. The 5-minute validity period runs separately from the session lifetime.

Samples


fun main() { 
   //sampleStart 
   // The following example shows how to obtain a dashboard for active agreements
val resp = marketplaceReportingClient.getBuyerDashboard {
    dashboardIdentifier = "arn:aws:aws-marketplace::123456789012:AWSMarketplace/ReportingData/Agreement_V1/Dashboard/AgreementSummary_V1"
    embeddingDomains = listOf<String>(
        "https://*.amazon.com"
    )
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // The following example shows how to obtain a dashboard for cost analysis
val resp = marketplaceReportingClient.getBuyerDashboard {
    dashboardIdentifier = "arn:aws:aws-marketplace::123456789012:AWSMarketplace/ReportingData/BillingEvent_V1/Dashboard/CostAnalysis_V1"
    embeddingDomains = listOf<String>(
        "https://*.amazon.com"
    )
} 
   //sampleEnd
}