| 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 |
Amazonka.ApplicationInsights.ListProblems
Description
Lists the problems with your application.
Synopsis
- data ListProblems = ListProblems' {}
- newListProblems :: ListProblems
- listProblems_componentName :: Lens' ListProblems (Maybe Text)
- listProblems_endTime :: Lens' ListProblems (Maybe UTCTime)
- listProblems_maxResults :: Lens' ListProblems (Maybe Natural)
- listProblems_nextToken :: Lens' ListProblems (Maybe Text)
- listProblems_resourceGroupName :: Lens' ListProblems (Maybe Text)
- listProblems_startTime :: Lens' ListProblems (Maybe UTCTime)
- data ListProblemsResponse = ListProblemsResponse' {
- nextToken :: Maybe Text
- problemList :: Maybe [Problem]
- resourceGroupName :: Maybe Text
- httpStatus :: Int
- newListProblemsResponse :: Int -> ListProblemsResponse
- listProblemsResponse_nextToken :: Lens' ListProblemsResponse (Maybe Text)
- listProblemsResponse_problemList :: Lens' ListProblemsResponse (Maybe [Problem])
- listProblemsResponse_resourceGroupName :: Lens' ListProblemsResponse (Maybe Text)
- listProblemsResponse_httpStatus :: Lens' ListProblemsResponse Int
Creating a Request
data ListProblems Source #
See: newListProblems smart constructor.
Constructors
| ListProblems' | |
Fields
| |
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:
ListProblems, listProblems_componentName - The name of the component.
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.
ListProblems, listProblems_nextToken - The token to request the next page of results.
ListProblems, listProblems_resourceGroupName - The name of the resource group.
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.
Request Lenses
listProblems_componentName :: Lens' ListProblems (Maybe Text) Source #
The name of the component.
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.
listProblems_nextToken :: Lens' ListProblems (Maybe Text) Source #
The token to request the next page of results.
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.
Destructuring the Response
data ListProblemsResponse Source #
See: newListProblemsResponse smart constructor.
Constructors
| ListProblemsResponse' | |
Fields
| |
Instances
newListProblemsResponse Source #
Arguments
| :: Int | |
| -> ListProblemsResponse |
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:
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.
ListProblems, listProblemsResponse_resourceGroupName - The name of the resource group.
$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_resourceGroupName :: Lens' ListProblemsResponse (Maybe Text) Source #
The name of the resource group.
listProblemsResponse_httpStatus :: Lens' ListProblemsResponse Int Source #
The response's http status code.