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

Contents

Description

Deletes a rule. You must remove all targets from a rule using RemoveTargets before you can delete the rule.

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

Synopsis

Creating a Request

deleteRule Source

Arguments

:: Text

drName

-> DeleteRule 

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

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

Request Lenses

drName :: Lens' DeleteRule Text Source

The name of the rule to be deleted.

Destructuring the Response

deleteRuleResponse :: DeleteRuleResponse Source

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