getReport

inline suspend fun ArtifactClient.getReport(crossinline block: GetReportRequest.Builder.() -> Unit): GetReportResponse

Get the content for a single report.

Samples


fun main() { 
   //sampleStart 
   // The GetReport operation is invoked on a reportId and on a optional version. Callers must provide a
// termToken, which is provided by the GetTermForReport operation. If callers do not provide a version, it will
// default to the report s latest version
val resp = artifactClient.getReport {
    reportId = "report-abcdef0123456789"
    termToken = "term-token-abcdefghijklm01234567890"
} 
   //sampleEnd
}