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 |
Lists the problems with your application.
Synopsis
- data ListProblems = ListProblems' {}
- newListProblems :: ListProblems
- listProblems_resourceGroupName :: Lens' ListProblems (Maybe Text)
- listProblems_startTime :: Lens' ListProblems (Maybe UTCTime)
- listProblems_nextToken :: Lens' ListProblems (Maybe Text)
- listProblems_endTime :: Lens' ListProblems (Maybe UTCTime)
- listProblems_maxResults :: Lens' ListProblems (Maybe Natural)
- data ListProblemsResponse = ListProblemsResponse' {
- nextToken :: Maybe Text
- problemList :: Maybe [Problem]
- httpStatus :: Int
- newListProblemsResponse :: Int -> ListProblemsResponse
- listProblemsResponse_nextToken :: Lens' ListProblemsResponse (Maybe Text)
- listProblemsResponse_problemList :: Lens' ListProblemsResponse (Maybe [Problem])
- listProblemsResponse_httpStatus :: Lens' ListProblemsResponse Int
Creating a Request
data ListProblems Source #
See: newListProblems
smart constructor.
ListProblems' | |
|
Instances
newListProblems :: ListProblems Source #
Create a value of ListProblems
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:resourceGroupName:ListProblems'
, listProblems_resourceGroupName
- The name of the resource group.
$sel:startTime:ListProblems'
, listProblems_startTime
- The time when the problem was detected, in epoch seconds. If you don't
specify a time frame for the request, problems within the past seven
days are returned.
$sel:nextToken:ListProblems'
, listProblems_nextToken
- The token to request the next page of results.
$sel:endTime:ListProblems'
, listProblems_endTime
- The time when the problem ended, in epoch seconds. If not specified,
problems within the past seven days are returned.
$sel:maxResults:ListProblems'
, listProblems_maxResults
- The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value.
Request Lenses
listProblems_resourceGroupName :: Lens' ListProblems (Maybe Text) Source #
The name of the resource group.
listProblems_startTime :: Lens' ListProblems (Maybe UTCTime) Source #
The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
listProblems_nextToken :: Lens' ListProblems (Maybe Text) Source #
The token to request the next page of results.
listProblems_endTime :: Lens' ListProblems (Maybe UTCTime) Source #
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
listProblems_maxResults :: Lens' ListProblems (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value.
Destructuring the Response
data ListProblemsResponse Source #
See: newListProblemsResponse
smart constructor.
ListProblemsResponse' | |
|
Instances
newListProblemsResponse Source #
Create a value of ListProblemsResponse
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:nextToken:ListProblems'
, listProblemsResponse_nextToken
- The token used to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:problemList:ListProblemsResponse'
, listProblemsResponse_problemList
- The list of problems.
$sel:httpStatus:ListProblemsResponse'
, listProblemsResponse_httpStatus
- The response's http status code.
Response Lenses
listProblemsResponse_nextToken :: Lens' ListProblemsResponse (Maybe Text) Source #
The token used to retrieve the next page of results. This value is
null
when there are no more results to return.
listProblemsResponse_problemList :: Lens' ListProblemsResponse (Maybe [Problem]) Source #
The list of problems.
listProblemsResponse_httpStatus :: Lens' ListProblemsResponse Int Source #
The response's http status code.