amazonka-devops-guru-2.0: Amazon DevOps Guru SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DevOpsGuru.Types.EventResource

Description

 
Synopsis

Documentation

data EventResource Source #

The Amazon Web Services resource that emitted an event. Amazon Web Services 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
FromJSON 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 #

Read EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Show EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

NFData EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Methods

rnf :: EventResource -> () #

Eq EventResource Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.EventResource

Hashable 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" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" '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.