Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves overall summary including the number of servers to rehost and the overall number of anti-patterns.
Synopsis
- data GetPortfolioSummary = GetPortfolioSummary' {
- newGetPortfolioSummary :: GetPortfolioSummary
- data GetPortfolioSummaryResponse = GetPortfolioSummaryResponse' {}
- newGetPortfolioSummaryResponse :: Int -> GetPortfolioSummaryResponse
- getPortfolioSummaryResponse_assessmentSummary :: Lens' GetPortfolioSummaryResponse (Maybe AssessmentSummary)
- getPortfolioSummaryResponse_httpStatus :: Lens' GetPortfolioSummaryResponse Int
Creating a Request
data GetPortfolioSummary Source #
See: newGetPortfolioSummary
smart constructor.
Instances
newGetPortfolioSummary :: GetPortfolioSummary Source #
Create a value of GetPortfolioSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetPortfolioSummaryResponse Source #
See: newGetPortfolioSummaryResponse
smart constructor.
GetPortfolioSummaryResponse' | |
|
Instances
newGetPortfolioSummaryResponse Source #
Create a value of GetPortfolioSummaryResponse
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:assessmentSummary:GetPortfolioSummaryResponse'
, getPortfolioSummaryResponse_assessmentSummary
- An assessment summary for the portfolio including the number of servers
to rehost and the overall number of anti-patterns.
$sel:httpStatus:GetPortfolioSummaryResponse'
, getPortfolioSummaryResponse_httpStatus
- The response's http status code.
Response Lenses
getPortfolioSummaryResponse_assessmentSummary :: Lens' GetPortfolioSummaryResponse (Maybe AssessmentSummary) Source #
An assessment summary for the portfolio including the number of servers to rehost and the overall number of anti-patterns.
getPortfolioSummaryResponse_httpStatus :: Lens' GetPortfolioSummaryResponse Int Source #
The response's http status code.