Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PutEventsRequestEntry = PutEventsRequestEntry' {}
- newPutEventsRequestEntry :: PutEventsRequestEntry
- putEventsRequestEntry_detail :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_detailType :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_eventBusName :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_resources :: Lens' PutEventsRequestEntry (Maybe [Text])
- putEventsRequestEntry_source :: Lens' PutEventsRequestEntry (Maybe Text)
- putEventsRequestEntry_time :: Lens' PutEventsRequestEntry (Maybe UTCTime)
- putEventsRequestEntry_traceHeader :: 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:detail:PutEventsRequestEntry'
, putEventsRequestEntry_detail
- A valid JSON object. There is no other schema imposed. The JSON object
may contain fields and nested subobjects.
$sel:detailType:PutEventsRequestEntry'
, putEventsRequestEntry_detailType
- Free-form string used to decide what fields to expect in the event
detail.
$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.
If you're using a global endpoint with a custom bus, you must enter the
name, not the ARN, of the event bus in either the primary or secondary
Region here and the corresponding event bus in the other Region will be
determined based on the endpoint referenced by the EndpointId
.
$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:source:PutEventsRequestEntry'
, putEventsRequestEntry_source
- The source of the event.
$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:traceHeader:PutEventsRequestEntry'
, putEventsRequestEntry_traceHeader
- An X-Ray trace 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 object. There is no other schema imposed. The JSON object 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_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.
If you're using a global endpoint with a custom bus, you must enter the
name, not the ARN, of the event bus in either the primary or secondary
Region here and the corresponding event bus in the other Region will be
determined based on the endpoint referenced by the EndpointId
.
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_source :: Lens' PutEventsRequestEntry (Maybe Text) Source #
The source of the event.
putEventsRequestEntry_traceHeader :: Lens' PutEventsRequestEntry (Maybe Text) Source #
An X-Ray trace 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.