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 |
Amazonka.DocumentDB.DescribeEventCategories
Description
Displays a list of categories for all event source types, or, if specified, for a specified source type.
Synopsis
- data DescribeEventCategories = DescribeEventCategories' {}
- newDescribeEventCategories :: DescribeEventCategories
- describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text)
- describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter])
- data DescribeEventCategoriesResponse = DescribeEventCategoriesResponse' {}
- newDescribeEventCategoriesResponse :: Int -> DescribeEventCategoriesResponse
- describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap])
- describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int
Creating a Request
data DescribeEventCategories Source #
Represents the input to DescribeEventCategories.
See: newDescribeEventCategories
smart constructor.
Constructors
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 type of source that is generating the events.
Valid values: db-instance
, db-parameter-group
, db-security-group
$sel:filters:DescribeEventCategories'
, describeEventCategories_filters
- This parameter is not currently supported.
Request Lenses
describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text) Source #
The type of source that is generating the events.
Valid values: db-instance
, db-parameter-group
, db-security-group
describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter]) Source #
This parameter is not currently supported.
Destructuring the Response
data DescribeEventCategoriesResponse Source #
Represents the output of DescribeEventCategories.
See: newDescribeEventCategoriesResponse
smart constructor.
Constructors
DescribeEventCategoriesResponse' | |
Fields
|
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 category maps.
$sel:httpStatus:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap]) Source #
A list of event category maps.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int Source #
The response's http status code.