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.ManagedRuleState

Description

 
Synopsis

Documentation

data ManagedRuleState Source #

The status of a managed Contributor Insights rule.

See: newManagedRuleState smart constructor.

Constructors

ManagedRuleState' 

Fields

  • ruleName :: Text

    The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

  • state :: Text

    Indicates whether the rule is enabled or disabled.

Instances

Instances details
FromXML ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Generic ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Associated Types

type Rep ManagedRuleState :: Type -> Type #

Read ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Show ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

NFData ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Methods

rnf :: ManagedRuleState -> () #

Eq ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

Hashable ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

type Rep ManagedRuleState Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.ManagedRuleState

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

newManagedRuleState Source #

Create a value of ManagedRuleState 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:ruleName:ManagedRuleState', managedRuleState_ruleName - The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

$sel:state:ManagedRuleState', managedRuleState_state - Indicates whether the rule is enabled or disabled.

managedRuleState_ruleName :: Lens' ManagedRuleState Text Source #

The name of the Contributor Insights rule that contains data for the specified Amazon Web Services resource.

managedRuleState_state :: Lens' ManagedRuleState Text Source #

Indicates whether the rule is enabled or disabled.