amazonka-cloudwatch-events-1.4.0: Amazon CloudWatch Events SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatchEvents.DisableRule

Contents

Description

Disables a rule. A disabled rule won't match any events, and won't self-trigger if it has a schedule expression.

Note: When you disable a rule, incoming events might still continue to match to the disabled rule. Please allow a short period of time for changes to take effect.

Synopsis

Creating a Request

disableRule Source

Arguments

:: Text

dName

-> DisableRule 

Creates a value of DisableRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dName :: Lens' DisableRule Text Source

The name of the rule you want to disable.

Destructuring the Response

disableRuleResponse :: DisableRuleResponse Source

Creates a value of DisableRuleResponse with the minimum fields required to make a request.