Smaws_Client_PI.GetPerformanceAnalysisReportRetrieves the report including the report ID, status, time details, and the insights with recommendations. The report status can be RUNNING, SUCCEEDED, or FAILED. The insights include the description and recommendation fields.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidArgumentException of Types.invalid_argument_exception
| `NotAuthorizedException of Types.not_authorized_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_performance_analysis_report_request ->
(Types.get_performance_analysis_report_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidArgumentException of Types.invalid_argument_exception
| `NotAuthorizedException of Types.not_authorized_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_performance_analysis_report_request ->
(Types.get_performance_analysis_report_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidArgumentException of Types.invalid_argument_exception
| `NotAuthorizedException of Types.not_authorized_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result