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 |
Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.
Synopsis
- data DescribeEventCategories = DescribeEventCategories' {
- sourceType :: Maybe Text
- newDescribeEventCategories :: DescribeEventCategories
- describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text)
- data DescribeEventCategoriesResponse = DescribeEventCategoriesResponse' {}
- newDescribeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse
- describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap])
- describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int
Creating a Request
data DescribeEventCategories Source #
See: newDescribeEventCategories
smart constructor.
DescribeEventCategories' | |
|
Instances
newDescribeEventCategories :: DescribeEventCategories Source #
Create a value of DescribeEventCategories
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:sourceType:DescribeEventCategories'
, describeEventCategories_sourceType
- The source type, such as cluster or parameter group, to which the
described event categories apply.
Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.
Request Lenses
describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text) Source #
The source type, such as cluster or parameter group, to which the described event categories apply.
Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.
Destructuring the Response
data DescribeEventCategoriesResponse Source #
See: newDescribeEventCategoriesResponse
smart constructor.
DescribeEventCategoriesResponse' | |
|
Instances
newDescribeEventCategoriesResponse Source #
Create a value of DescribeEventCategoriesResponse
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:eventCategoriesMapList:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_eventCategoriesMapList
- A list of event categories descriptions.
$sel:httpStatus:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap]) Source #
A list of event categories descriptions.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int Source #
The response's http status code.