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 |
Describes an alert manager definition.
Synopsis
- data DescribeAlertManagerDefinition = DescribeAlertManagerDefinition' {
- workspaceId :: Text
- newDescribeAlertManagerDefinition :: Text -> DescribeAlertManagerDefinition
- describeAlertManagerDefinition_workspaceId :: Lens' DescribeAlertManagerDefinition Text
- data DescribeAlertManagerDefinitionResponse = DescribeAlertManagerDefinitionResponse' {}
- newDescribeAlertManagerDefinitionResponse :: Int -> AlertManagerDefinitionDescription -> DescribeAlertManagerDefinitionResponse
- describeAlertManagerDefinitionResponse_httpStatus :: Lens' DescribeAlertManagerDefinitionResponse Int
- describeAlertManagerDefinitionResponse_alertManagerDefinition :: Lens' DescribeAlertManagerDefinitionResponse AlertManagerDefinitionDescription
Creating a Request
data DescribeAlertManagerDefinition Source #
Represents the input of a DescribeAlertManagerDefinition operation.
See: newDescribeAlertManagerDefinition
smart constructor.
DescribeAlertManagerDefinition' | |
|
Instances
newDescribeAlertManagerDefinition Source #
Create a value of DescribeAlertManagerDefinition
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:workspaceId:DescribeAlertManagerDefinition'
, describeAlertManagerDefinition_workspaceId
- The ID of the workspace to describe.
Request Lenses
describeAlertManagerDefinition_workspaceId :: Lens' DescribeAlertManagerDefinition Text Source #
The ID of the workspace to describe.
Destructuring the Response
data DescribeAlertManagerDefinitionResponse Source #
Represents the output of a DescribeAlertManagerDefinition operation.
See: newDescribeAlertManagerDefinitionResponse
smart constructor.
DescribeAlertManagerDefinitionResponse' | |
|
Instances
newDescribeAlertManagerDefinitionResponse Source #
:: Int | |
-> AlertManagerDefinitionDescription |
|
-> DescribeAlertManagerDefinitionResponse |
Create a value of DescribeAlertManagerDefinitionResponse
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:httpStatus:DescribeAlertManagerDefinitionResponse'
, describeAlertManagerDefinitionResponse_httpStatus
- The response's http status code.
$sel:alertManagerDefinition:DescribeAlertManagerDefinitionResponse'
, describeAlertManagerDefinitionResponse_alertManagerDefinition
- The properties of the selected workspace's alert manager definition.
Response Lenses
describeAlertManagerDefinitionResponse_httpStatus :: Lens' DescribeAlertManagerDefinitionResponse Int Source #
The response's http status code.
describeAlertManagerDefinitionResponse_alertManagerDefinition :: Lens' DescribeAlertManagerDefinitionResponse AlertManagerDefinitionDescription Source #
The properties of the selected workspace's alert manager definition.