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

Contents

Description

Enables a rule. If the rule does not exist, the operation fails.

Note: When you enable a rule, incoming events might not immediately start matching to a newly enabled rule. Please allow a short period of time for changes to take effect.

Synopsis

Creating a Request

enableRule Source

Arguments

:: Text

erName

-> EnableRule 

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

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

Request Lenses

erName :: Lens' EnableRule Text Source

The name of the rule that you want to enable.

Destructuring the Response

enableRuleResponse :: EnableRuleResponse Source

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