class Aws::CloudWatchEvents::Types::RemoveTargetsRequest
@note When making an API call, you may pass RemoveTargetsRequest
data as a hash: { rule: "RuleName", # required event_bus_name: "EventBusNameOrArn", ids: ["TargetId"], # required force: false, }
@!attribute [rw] rule
The name of the rule. @return [String]
@!attribute [rw] event_bus_name
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used. @return [String]
@!attribute [rw] ids
The IDs of the targets to remove from the rule. @return [Array<String>]
@!attribute [rw] force
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify `Force` as `True` to remove targets. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by using `DescribeRule` or `ListRules` and checking the `ManagedBy` field of the response. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargetsRequest AWS API Documentation
Constants
- SENSITIVE