Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.RemoveTargets C# (CSharp) Method

RemoveTargets() public method

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.

/// This exception occurs if there is concurrent modification on rule or target. /// /// This exception occurs due to unexpected causes. /// /// The rule does not exist. ///
public RemoveTargets ( RemoveTargetsRequest request ) : RemoveTargetsResponse
request Amazon.CloudWatchEvents.Model.RemoveTargetsRequest Container for the necessary parameters to execute the RemoveTargets service method.
return Amazon.CloudWatchEvents.Model.RemoveTargetsResponse
        public RemoveTargetsResponse RemoveTargets(RemoveTargetsRequest request)
        {
            var marshaller = new RemoveTargetsRequestMarshaller();
            var unmarshaller = RemoveTargetsResponseUnmarshaller.Instance;

            return Invoke<RemoveTargetsRequest,RemoveTargetsResponse>(request, marshaller, unmarshaller);
        }