Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- removeTargets :: Text -> NonEmpty Text -> RemoveTargets
- data RemoveTargets
- rtRule :: Lens' RemoveTargets Text
- rtIds :: Lens' RemoveTargets (NonEmpty Text)
- removeTargetsResponse :: Int -> RemoveTargetsResponse
- data RemoveTargetsResponse
- rtrsFailedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int)
- rtrsFailedEntries :: Lens' RemoveTargetsResponse [RemoveTargetsResultEntry]
- rtrsResponseStatus :: Lens' RemoveTargetsResponse Int
Creating a Request
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:
data RemoveTargets Source #
Container for the parameters to the RemoveTargets operation.
See: removeTargets
smart constructor.
Request Lenses
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:
data RemoveTargetsResponse Source #
The result of the RemoveTargets operation.
See: removeTargetsResponse
smart constructor.
Response Lenses
rtrsFailedEntryCount :: Lens' RemoveTargetsResponse (Maybe Int) Source #
The number of failed entries.
rtrsFailedEntries :: Lens' RemoveTargetsResponse [RemoveTargetsResultEntry] Source #
An array of failed target entries.
rtrsResponseStatus :: Lens' RemoveTargetsResponse Int Source #
The response status code.