libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Description

 
Synopsis

Documentation

data PutPartnerEventsRequestEntry Source #

The details about an event generated by an SaaS partner.

See: newPutPartnerEventsRequestEntry smart constructor.

Constructors

PutPartnerEventsRequestEntry' 

Fields

  • time :: Maybe POSIX

    The date and time of the event.

  • detailType :: Maybe Text

    A free-form string used to decide what fields to expect in the event detail.

  • resources :: Maybe [Text]

    Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

  • source :: Maybe Text

    The event source that is generating the entry.

  • detail :: Maybe Text

    A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

Instances

Instances details
Eq PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Read PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Show PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Generic PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Associated Types

type Rep PutPartnerEventsRequestEntry :: Type -> Type #

NFData PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

Hashable PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

ToJSON PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

type Rep PutPartnerEventsRequestEntry Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry

type Rep PutPartnerEventsRequestEntry = D1 ('MetaData "PutPartnerEventsRequestEntry" "Amazonka.CloudWatchEvents.Types.PutPartnerEventsRequestEntry" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "PutPartnerEventsRequestEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "detailType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newPutPartnerEventsRequestEntry :: PutPartnerEventsRequestEntry Source #

Create a value of PutPartnerEventsRequestEntry 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:PutPartnerEventsRequestEntry', putPartnerEventsRequestEntry_time - The date and time of the event.

$sel:detailType:PutPartnerEventsRequestEntry', putPartnerEventsRequestEntry_detailType - A free-form string used to decide what fields to expect in the event detail.

$sel:resources:PutPartnerEventsRequestEntry', putPartnerEventsRequestEntry_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:PutPartnerEventsRequestEntry', putPartnerEventsRequestEntry_source - The event source that is generating the entry.

$sel:detail:PutPartnerEventsRequestEntry', putPartnerEventsRequestEntry_detail - A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

putPartnerEventsRequestEntry_detailType :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

A free-form string used to decide what fields to expect in the event detail.

putPartnerEventsRequestEntry_resources :: Lens' PutPartnerEventsRequestEntry (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.

putPartnerEventsRequestEntry_source :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

The event source that is generating the entry.

putPartnerEventsRequestEntry_detail :: Lens' PutPartnerEventsRequestEntry (Maybe Text) Source #

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.