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 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 #
See: newDescribeEventCategories
smart constructor.
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 | db-snapshot
$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 | db-snapshot
describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter]) Source #
This parameter is not currently supported.
Destructuring the Response
data DescribeEventCategoriesResponse Source #
See: newDescribeEventCategoriesResponse
smart constructor.
DescribeEventCategoriesResponse' | |
|
Instances
Eq DescribeEventCategoriesResponse Source # | |
Read DescribeEventCategoriesResponse Source # | |
Show DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.Neptune.DescribeEventCategories | |
Generic DescribeEventCategoriesResponse Source # | |
NFData DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.Neptune.DescribeEventCategories rnf :: DescribeEventCategoriesResponse -> () # | |
type Rep DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.Neptune.DescribeEventCategories type Rep DescribeEventCategoriesResponse = D1 ('MetaData "DescribeEventCategoriesResponse" "Amazonka.Neptune.DescribeEventCategories" "libZSservicesZSamazonka-neptuneZSamazonka-neptune" 'False) (C1 ('MetaCons "DescribeEventCategoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventCategoriesMapList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventCategoriesMap])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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 EventCategoriesMap data types.
$sel:httpStatus:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventCategoriesResponse_eventCategoriesMapList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoriesMap]) Source #
A list of EventCategoriesMap data types.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int Source #
The response's http status code.