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

Contents

Description

Removes target(s) from a rule so that when the rule is triggered, those targets will no longer be invoked.

Note: When you remove a target, when the associated rule triggers, removed targets might still continue to be invoked. Please allow a short period of time for changes to take effect.

Synopsis

Creating a Request

removeTargets Source

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

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

Request Lenses

rtRule :: Lens' RemoveTargets Text Source

The name of the rule you want to remove targets from.

rtIds :: Lens' RemoveTargets (NonEmpty Text) Source

The list of target IDs to remove from the rule.

Destructuring the Response

removeTargetsResponse Source

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

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

Response Lenses