amazonka-cloudwatch-2.0: Amazon CloudWatch 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.CloudWatch.Types.ManagedRuleDescription

Description

 
Synopsis

Documentation

data ManagedRuleDescription Source #

Contains information about managed Contributor Insights rules, as returned by ListManagedInsightRules.

See: newManagedRuleDescription smart constructor.

Constructors

ManagedRuleDescription' 

Fields

  • resourceARN :: Maybe Text

    If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

  • ruleState :: Maybe ManagedRuleState

    Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

  • templateName :: Maybe Text

    The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

Instances

Instances details
FromXML ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Generic ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Associated Types

type Rep ManagedRuleDescription :: Type -> Type #

Read ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Show ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

NFData ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Methods

rnf :: ManagedRuleDescription -> () #

Eq ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

Hashable ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

type Rep ManagedRuleDescription Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleDescription

type Rep ManagedRuleDescription = D1 ('MetaData "ManagedRuleDescription" "Amazonka.CloudWatch.Types.ManagedRuleDescription" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "ManagedRuleDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedRuleState)) :*: S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newManagedRuleDescription :: ManagedRuleDescription Source #

Create a value of ManagedRuleDescription 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:resourceARN:ManagedRuleDescription', managedRuleDescription_resourceARN - If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

$sel:ruleState:ManagedRuleDescription', managedRuleDescription_ruleState - Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

$sel:templateName:ManagedRuleDescription', managedRuleDescription_templateName - The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

managedRuleDescription_resourceARN :: Lens' ManagedRuleDescription (Maybe Text) Source #

If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

managedRuleDescription_ruleState :: Lens' ManagedRuleDescription (Maybe ManagedRuleState) Source #

Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

managedRuleDescription_templateName :: Lens' ManagedRuleDescription (Maybe Text) Source #

The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.