libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.Types.EventResource

Description

 
Synopsis

Documentation

data EventResource Source #

The AWS resource that emitted an event. AWS resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.

See: newEventResource smart constructor.

Constructors

EventResource' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the resource that emitted an event.

  • name :: Maybe Text

    The name of the resource that emitted an event.

  • type' :: Maybe Text

    The type of resource that emitted an event.

Instances

Instances details
Eq EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Read EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Show EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Generic EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Associated Types

type Rep EventResource :: Type -> Type #

NFData EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Methods

rnf :: EventResource -> () #

Hashable EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

FromJSON EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

type Rep EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

type Rep EventResource = D1 ('MetaData "EventResource" "Amazonka.DevOpsGuru.Types.EventResource" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "EventResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEventResource :: EventResource Source #

Create a value of EventResource 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:arn:EventResource', eventResource_arn - The Amazon Resource Name (ARN) of the resource that emitted an event.

$sel:name:EventResource', eventResource_name - The name of the resource that emitted an event.

$sel:type':EventResource', eventResource_type - The type of resource that emitted an event.

eventResource_arn :: Lens' EventResource (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource that emitted an event.

eventResource_name :: Lens' EventResource (Maybe Text) Source #

The name of the resource that emitted an event.

eventResource_type :: Lens' EventResource (Maybe Text) Source #

The type of resource that emitted an event.