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. You can see a list of the event categories and source types in Events in the Amazon RDS User Guide.
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-cluster
| db-parameter-group
|
db-security-group
| db-snapshot
| db-cluster-snapshot
$sel:filters:DescribeEventCategories'
, describeEventCategories_filters
- This parameter isn't 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-cluster
| db-parameter-group
|
db-security-group
| db-snapshot
| db-cluster-snapshot
describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter]) Source #
This parameter isn't currently supported.
Destructuring the Response
data DescribeEventCategoriesResponse Source #
Data returned from the DescribeEventCategories
operation.
See: newDescribeEventCategoriesResponse
smart constructor.
DescribeEventCategoriesResponse' | |
|
Instances
Eq DescribeEventCategoriesResponse Source # | |
Read DescribeEventCategoriesResponse Source # | |
Show DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.RDS.DescribeEventCategories | |
Generic DescribeEventCategoriesResponse Source # | |
NFData DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.RDS.DescribeEventCategories rnf :: DescribeEventCategoriesResponse -> () # | |
type Rep DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.RDS.DescribeEventCategories type Rep DescribeEventCategoriesResponse = D1 ('MetaData "DescribeEventCategoriesResponse" "Amazonka.RDS.DescribeEventCategories" "libZSservicesZSamazonka-rdsZSamazonka-rds" '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.