event_categories
Creates, updates, deletes, gets or lists an event_categories resource.
Overview
| Name | event_categories |
| Type | Resource |
| Id | aws.rds.event_categories |
Fields
The following fields are returned by SELECT queries:
- describe_event_categories
| Name | Datatype | Description |
|---|---|---|
event_categories | string | The event categories for the specified source type |
source_type | string | The source type that the returned categories belong to |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_event_categories | select | region | SourceType, Filters | Displays a list of categories for all event source types, or, if specified, for a specified source type. You can also see this list in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide . |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
Filters | array | This parameter isn't currently supported. |
SourceType | string | The type of source that is generating the events. For RDS Proxy events, specify db-proxy. Valid Values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot | db-proxy |
SELECT examples
- describe_event_categories
Displays a list of categories for all event source types, or, if specified, for a specified source type. You can also see this list in the "Amazon RDS event categories and event messages" section of the Amazon RDS User Guide or the Amazon Aurora User Guide .
SELECT
event_categories,
source_type
FROM aws.rds.event_categories
WHERE region = '{{ region }}' -- required
AND SourceType = '{{ SourceType }}'
AND Filters = '{{ Filters }}'
;