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 log patterns in the specific log LogPatternSet
.
Synopsis
- data ListLogPatterns = ListLogPatterns' {}
- newListLogPatterns :: Text -> ListLogPatterns
- listLogPatterns_nextToken :: Lens' ListLogPatterns (Maybe Text)
- listLogPatterns_patternSetName :: Lens' ListLogPatterns (Maybe Text)
- listLogPatterns_maxResults :: Lens' ListLogPatterns (Maybe Natural)
- listLogPatterns_resourceGroupName :: Lens' ListLogPatterns Text
- data ListLogPatternsResponse = ListLogPatternsResponse' {
- resourceGroupName :: Maybe Text
- nextToken :: Maybe Text
- logPatterns :: Maybe [LogPattern]
- httpStatus :: Int
- newListLogPatternsResponse :: Int -> ListLogPatternsResponse
- listLogPatternsResponse_resourceGroupName :: Lens' ListLogPatternsResponse (Maybe Text)
- listLogPatternsResponse_nextToken :: Lens' ListLogPatternsResponse (Maybe Text)
- listLogPatternsResponse_logPatterns :: Lens' ListLogPatternsResponse (Maybe [LogPattern])
- listLogPatternsResponse_httpStatus :: Lens' ListLogPatternsResponse Int
Creating a Request
data ListLogPatterns Source #
See: newListLogPatterns
smart constructor.
ListLogPatterns' | |
|
Instances
Create a value of ListLogPatterns
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:ListLogPatterns'
, listLogPatterns_nextToken
- The token to request the next page of results.
$sel:patternSetName:ListLogPatterns'
, listLogPatterns_patternSetName
- The name of the log pattern set.
$sel:maxResults:ListLogPatterns'
, listLogPatterns_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.
$sel:resourceGroupName:ListLogPatterns'
, listLogPatterns_resourceGroupName
- The name of the resource group.
Request Lenses
listLogPatterns_nextToken :: Lens' ListLogPatterns (Maybe Text) Source #
The token to request the next page of results.
listLogPatterns_patternSetName :: Lens' ListLogPatterns (Maybe Text) Source #
The name of the log pattern set.
listLogPatterns_maxResults :: Lens' ListLogPatterns (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.
listLogPatterns_resourceGroupName :: Lens' ListLogPatterns Text Source #
The name of the resource group.
Destructuring the Response
data ListLogPatternsResponse Source #
See: newListLogPatternsResponse
smart constructor.
ListLogPatternsResponse' | |
|
Instances
newListLogPatternsResponse Source #
Create a value of ListLogPatternsResponse
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:ListLogPatterns'
, listLogPatternsResponse_resourceGroupName
- The name of the resource group.
$sel:nextToken:ListLogPatterns'
, listLogPatternsResponse_nextToken
- The token used to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:logPatterns:ListLogPatternsResponse'
, listLogPatternsResponse_logPatterns
- The list of log patterns.
$sel:httpStatus:ListLogPatternsResponse'
, listLogPatternsResponse_httpStatus
- The response's http status code.
Response Lenses
listLogPatternsResponse_resourceGroupName :: Lens' ListLogPatternsResponse (Maybe Text) Source #
The name of the resource group.
listLogPatternsResponse_nextToken :: Lens' ListLogPatternsResponse (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.
listLogPatternsResponse_logPatterns :: Lens' ListLogPatternsResponse (Maybe [LogPattern]) Source #
The list of log patterns.
listLogPatternsResponse_httpStatus :: Lens' ListLogPatternsResponse Int Source #
The response's http status code.