#[non_exhaustive]pub struct RemoveTargetsInput {
pub rule: Option<String>,
pub event_bus_name: Option<String>,
pub ids: Option<Vec<String>>,
pub force: Option<bool>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rule: Option<String>The name of the rule.
event_bus_name: Option<String>The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
ids: Option<Vec<String>>The IDs of the targets to remove from the rule.
force: Option<bool>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.
Implementations§
source§impl RemoveTargetsInput
impl RemoveTargetsInput
sourcepub fn event_bus_name(&self) -> Option<&str>
pub fn event_bus_name(&self) -> Option<&str>
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
sourcepub fn ids(&self) -> &[String]
pub fn ids(&self) -> &[String]
The IDs of the targets to remove from the rule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ids.is_none().
sourcepub fn force(&self) -> Option<bool>
pub fn force(&self) -> Option<bool>
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.
source§impl RemoveTargetsInput
impl RemoveTargetsInput
sourcepub fn builder() -> RemoveTargetsInputBuilder
pub fn builder() -> RemoveTargetsInputBuilder
Creates a new builder-style object to manufacture RemoveTargetsInput.
Trait Implementations§
source§impl Clone for RemoveTargetsInput
impl Clone for RemoveTargetsInput
source§fn clone(&self) -> RemoveTargetsInput
fn clone(&self) -> RemoveTargetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RemoveTargetsInput
impl Debug for RemoveTargetsInput
source§impl PartialEq for RemoveTargetsInput
impl PartialEq for RemoveTargetsInput
source§fn eq(&self, other: &RemoveTargetsInput) -> bool
fn eq(&self, other: &RemoveTargetsInput) -> bool
self and other values to be equal, and is used
by ==.