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 |
Describe a specific log pattern from a LogPatternSet
.
Synopsis
- data DescribeLogPattern = DescribeLogPattern' {}
- newDescribeLogPattern :: Text -> Text -> Text -> DescribeLogPattern
- describeLogPattern_resourceGroupName :: Lens' DescribeLogPattern Text
- describeLogPattern_patternSetName :: Lens' DescribeLogPattern Text
- describeLogPattern_patternName :: Lens' DescribeLogPattern Text
- data DescribeLogPatternResponse = DescribeLogPatternResponse' {}
- newDescribeLogPatternResponse :: Int -> DescribeLogPatternResponse
- describeLogPatternResponse_logPattern :: Lens' DescribeLogPatternResponse (Maybe LogPattern)
- describeLogPatternResponse_resourceGroupName :: Lens' DescribeLogPatternResponse (Maybe Text)
- describeLogPatternResponse_httpStatus :: Lens' DescribeLogPatternResponse Int
Creating a Request
data DescribeLogPattern Source #
See: newDescribeLogPattern
smart constructor.
DescribeLogPattern' | |
|
Instances
newDescribeLogPattern Source #
:: Text | |
-> Text | |
-> Text | |
-> DescribeLogPattern |
Create a value of DescribeLogPattern
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:DescribeLogPattern'
, describeLogPattern_resourceGroupName
- The name of the resource group.
$sel:patternSetName:DescribeLogPattern'
, describeLogPattern_patternSetName
- The name of the log pattern set.
$sel:patternName:DescribeLogPattern'
, describeLogPattern_patternName
- The name of the log pattern.
Request Lenses
describeLogPattern_resourceGroupName :: Lens' DescribeLogPattern Text Source #
The name of the resource group.
describeLogPattern_patternSetName :: Lens' DescribeLogPattern Text Source #
The name of the log pattern set.
describeLogPattern_patternName :: Lens' DescribeLogPattern Text Source #
The name of the log pattern.
Destructuring the Response
data DescribeLogPatternResponse Source #
See: newDescribeLogPatternResponse
smart constructor.
DescribeLogPatternResponse' | |
|
Instances
newDescribeLogPatternResponse Source #
Create a value of DescribeLogPatternResponse
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:logPattern:DescribeLogPatternResponse'
, describeLogPatternResponse_logPattern
- The successfully created log pattern.
$sel:resourceGroupName:DescribeLogPattern'
, describeLogPatternResponse_resourceGroupName
- The name of the resource group.
$sel:httpStatus:DescribeLogPatternResponse'
, describeLogPatternResponse_httpStatus
- The response's http status code.
Response Lenses
describeLogPatternResponse_logPattern :: Lens' DescribeLogPatternResponse (Maybe LogPattern) Source #
The successfully created log pattern.
describeLogPatternResponse_resourceGroupName :: Lens' DescribeLogPatternResponse (Maybe Text) Source #
The name of the resource group.
describeLogPatternResponse_httpStatus :: Lens' DescribeLogPatternResponse Int Source #
The response's http status code.