Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets the metrics for the specified solution version.
Synopsis
- data GetSolutionMetrics = GetSolutionMetrics' {}
- newGetSolutionMetrics :: Text -> GetSolutionMetrics
- getSolutionMetrics_solutionVersionArn :: Lens' GetSolutionMetrics Text
- data GetSolutionMetricsResponse = GetSolutionMetricsResponse' {
- metrics :: Maybe (HashMap Text Double)
- solutionVersionArn :: Maybe Text
- httpStatus :: Int
- newGetSolutionMetricsResponse :: Int -> GetSolutionMetricsResponse
- getSolutionMetricsResponse_metrics :: Lens' GetSolutionMetricsResponse (Maybe (HashMap Text Double))
- getSolutionMetricsResponse_solutionVersionArn :: Lens' GetSolutionMetricsResponse (Maybe Text)
- getSolutionMetricsResponse_httpStatus :: Lens' GetSolutionMetricsResponse Int
Creating a Request
data GetSolutionMetrics Source #
See: newGetSolutionMetrics
smart constructor.
GetSolutionMetrics' | |
|
Instances
newGetSolutionMetrics Source #
Create a value of GetSolutionMetrics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:solutionVersionArn:GetSolutionMetrics'
, getSolutionMetrics_solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version for which to get
metrics.
Request Lenses
getSolutionMetrics_solutionVersionArn :: Lens' GetSolutionMetrics Text Source #
The Amazon Resource Name (ARN) of the solution version for which to get metrics.
Destructuring the Response
data GetSolutionMetricsResponse Source #
See: newGetSolutionMetricsResponse
smart constructor.
GetSolutionMetricsResponse' | |
|
Instances
newGetSolutionMetricsResponse Source #
Create a value of GetSolutionMetricsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:metrics:GetSolutionMetricsResponse'
, getSolutionMetricsResponse_metrics
- The metrics for the solution version.
$sel:solutionVersionArn:GetSolutionMetrics'
, getSolutionMetricsResponse_solutionVersionArn
- The same solution version ARN as specified in the request.
$sel:httpStatus:GetSolutionMetricsResponse'
, getSolutionMetricsResponse_httpStatus
- The response's http status code.
Response Lenses
getSolutionMetricsResponse_metrics :: Lens' GetSolutionMetricsResponse (Maybe (HashMap Text Double)) Source #
The metrics for the solution version.
getSolutionMetricsResponse_solutionVersionArn :: Lens' GetSolutionMetricsResponse (Maybe Text) Source #
The same solution version ARN as specified in the request.
getSolutionMetricsResponse_httpStatus :: Lens' GetSolutionMetricsResponse Int Source #
The response's http status code.