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 |
Synopsis
- data PutEventsRequestEntry = PutEventsRequestEntry' {}
- newPutEventsRequestEntry :: PutEventsRequestEntry
- putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime)
- putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text])
- putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text)
Documentation
data PutEventsRequestEntry Source #
Represents an event to be submitted.
See: newPutEventsRequestEntry
smart constructor.
PutEventsRequestEntry' | |
|
Instances
newPutEventsRequestEntry :: PutEventsRequestEntry Source #
Create a value of PutEventsRequestEntry
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:time:PutEventsRequestEntry'
, putEventsRequestEntry_time
- The time stamp of the event, per
RFC3339. If no time stamp
is provided, the time stamp of the
PutEvents
call is used.
$sel:detailType:PutEventsRequestEntry'
, putEventsRequestEntry_detailType
- Free-form string used to decide what fields to expect in the event
detail.
$sel:resources:PutEventsRequestEntry'
, putEventsRequestEntry_resources
- Amazon Web Services resources, identified by Amazon Resource Name (ARN),
which the event primarily concerns. Any number, including zero, may be
present.
$sel:eventBusName:PutEventsRequestEntry'
, putEventsRequestEntry_eventBusName
- The name or ARN of the event bus to receive the event. Only the rules
that are associated with this event bus are used to match the event. If
you omit this, the default event bus is used.
$sel:source:PutEventsRequestEntry'
, putEventsRequestEntry_source
- The source of the event.
$sel:traceHeader:PutEventsRequestEntry'
, putEventsRequestEntry_traceHeader
- An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that
contains the trace-id associated with the event.
To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.
$sel:detail:PutEventsRequestEntry'
, putEventsRequestEntry_detail
- A valid JSON string. There is no other schema imposed. The JSON string
may contain fields and nested subobjects.
putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text) Source #
Free-form string used to decide what fields to expect in the event detail.
putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text]) Source #
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text) Source #
The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.
putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text) Source #
The source of the event.
putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text) Source #
An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.
To learn more about X-Ray trace headers, see Tracing header in the X-Ray Developer Guide.
putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text) Source #
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.