Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on AWS DMS events, see Working with Events and Notifications .
This operation returns paginated results.
- describeEvents :: DescribeEvents
- data DescribeEvents
- deStartTime :: Lens' DescribeEvents (Maybe UTCTime)
- deSourceType :: Lens' DescribeEvents (Maybe SourceType)
- deFilters :: Lens' DescribeEvents [Filter]
- deSourceIdentifier :: Lens' DescribeEvents (Maybe Text)
- deEventCategories :: Lens' DescribeEvents [Text]
- deMarker :: Lens' DescribeEvents (Maybe Text)
- deMaxRecords :: Lens' DescribeEvents (Maybe Int)
- deEndTime :: Lens' DescribeEvents (Maybe UTCTime)
- deDuration :: Lens' DescribeEvents (Maybe Int)
- describeEventsResponse :: Int -> DescribeEventsResponse
- data DescribeEventsResponse
- deersEvents :: Lens' DescribeEventsResponse [Event]
- deersMarker :: Lens' DescribeEventsResponse (Maybe Text)
- deersResponseStatus :: Lens' DescribeEventsResponse Int
Creating a Request
describeEvents :: DescribeEvents Source #
Creates a value of DescribeEvents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deStartTime
- The start time for the events to be listed.deSourceType
- The type of AWS DMS resource that generates events. Valid values: replication-instance | migration-taskdeFilters
- Filters applied to the action.deSourceIdentifier
- The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.deEventCategories
- A list of event categories for a source type that you want to subscribe to.deMarker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.deMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.deEndTime
- The end time for the events to be listed.deDuration
- The duration of the events to be listed.
data DescribeEvents Source #
See: describeEvents
smart constructor.
Request Lenses
deStartTime :: Lens' DescribeEvents (Maybe UTCTime) Source #
The start time for the events to be listed.
deSourceType :: Lens' DescribeEvents (Maybe SourceType) Source #
The type of AWS DMS resource that generates events. Valid values: replication-instance | migration-task
deSourceIdentifier :: Lens' DescribeEvents (Maybe Text) Source #
The identifier of the event source. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens. It cannot end with a hyphen or contain two consecutive hyphens.
deEventCategories :: Lens' DescribeEvents [Text] Source #
A list of event categories for a source type that you want to subscribe to.
deMarker :: Lens' DescribeEvents (Maybe Text) Source #
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
deMaxRecords :: Lens' DescribeEvents (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
deDuration :: Lens' DescribeEvents (Maybe Int) Source #
The duration of the events to be listed.
Destructuring the Response
describeEventsResponse Source #
Creates a value of DescribeEventsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deersEvents
- The events described.deersMarker
- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.deersResponseStatus
- -- | The response status code.
data DescribeEventsResponse Source #
See: describeEventsResponse
smart constructor.
Response Lenses
deersEvents :: Lens' DescribeEventsResponse [Event] Source #
The events described.
deersMarker :: Lens' DescribeEventsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
deersResponseStatus :: Lens' DescribeEventsResponse Int Source #
- - | The response status code.