You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatchEvents::Types::RemoveTargetsRequestWhen passing RemoveTargetsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rule: "RuleName", event_bus_name: "EventBusNameOrArn",
ids: ["TargetId"], force: false,
}
Instance Attribute Summary collapse
The name or ARN of the event bus associated with the rule.
If this is a managed rule, created by an AWS service on your behalf, you must specify Force
as True
to remove targets.
The IDs of the targets to remove from the rule.
The name of the rule.
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
#force ⇒ BooleanIf this is a managed rule, created by an AWS 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.
The IDs of the targets to remove from the rule.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4