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 |
Lists 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 Working with Events and Notifications in the Database Migration Service 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_eventCategoryGroupList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoryGroup])
- 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 DMS resource that generates events.
Valid values: replication-instance | replication-task
$sel:filters:DescribeEventCategories'
, describeEventCategories_filters
- Filters applied to the event categories.
Request Lenses
describeEventCategories_sourceType :: Lens' DescribeEventCategories (Maybe Text) Source #
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
describeEventCategories_filters :: Lens' DescribeEventCategories (Maybe [Filter]) Source #
Filters applied to the event categories.
Destructuring the Response
data DescribeEventCategoriesResponse Source #
See: newDescribeEventCategoriesResponse
smart constructor.
DescribeEventCategoriesResponse' | |
|
Instances
Eq DescribeEventCategoriesResponse Source # | |
Read DescribeEventCategoriesResponse Source # | |
Show DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.DMS.DescribeEventCategories | |
Generic DescribeEventCategoriesResponse Source # | |
NFData DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.DMS.DescribeEventCategories rnf :: DescribeEventCategoriesResponse -> () # | |
type Rep DescribeEventCategoriesResponse Source # | |
Defined in Amazonka.DMS.DescribeEventCategories type Rep DescribeEventCategoriesResponse = D1 ('MetaData "DescribeEventCategoriesResponse" "Amazonka.DMS.DescribeEventCategories" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DescribeEventCategoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventCategoryGroupList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventCategoryGroup])) :*: 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:eventCategoryGroupList:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_eventCategoryGroupList
- A list of event categories.
$sel:httpStatus:DescribeEventCategoriesResponse'
, describeEventCategoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventCategoriesResponse_eventCategoryGroupList :: Lens' DescribeEventCategoriesResponse (Maybe [EventCategoryGroup]) Source #
A list of event categories.
describeEventCategoriesResponse_httpStatus :: Lens' DescribeEventCategoriesResponse Int Source #
The response's http status code.