Module Smaws_Client_CloudWatchEvents.RemoveTargets

Removes the specified targets from the specified rule. When the rule is triggered, those targets are no longer be invoked.

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

This action can partially fail if too many requests are made at the same time. If that happens, FailedEntryCount is non-zero in the response and each entry in FailedEntries provides the ID of the failed target and the error code.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InternalException of Types.internal_exception | `ManagedRuleException of Types.managed_rule_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.remove_targets_request -> (Types.remove_targets_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InternalException of Types.internal_exception | `ManagedRuleException of Types.managed_rule_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.remove_targets_request -> (Types.remove_targets_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InternalException of Types.internal_exception | `ManagedRuleException of Types.managed_rule_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result