| 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.DescribeLogPattern
Description
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.
Constructors
| DescribeLogPattern' | |
Fields
| |
Instances
newDescribeLogPattern Source #
Arguments
| :: 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:
DescribeLogPattern, describeLogPattern_resourceGroupName - The name of the resource group.
DescribeLogPattern, describeLogPattern_patternSetName - The name of the log pattern set.
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.
Constructors
| DescribeLogPatternResponse' | |
Fields
| |
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.
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.