Struct aws_sdk_codestarnotifications::model::ListTargetsFilter [−][src]
#[non_exhaustive]pub struct ListTargetsFilter {
pub name: Option<ListTargetsFilterName>,
pub value: Option<String>,
}
Expand description
Information about a filter to apply to the list of returned targets. You can filter by target type, address, or status. For example, to filter results to notification rules that have active Amazon SNS topics as targets, you could specify a ListTargetsFilter Name as TargetType and a Value of SNS, and a Name of TARGET_STATUS and a Value of ACTIVE.
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.name: Option<ListTargetsFilterName>
The name of the attribute you want to use to filter the returned targets.
value: Option<String>
The value of the attribute you want to use to filter the returned targets. For example, if you specify SNS for the Target type, you could specify an Amazon Resource Name (ARN) for a topic as the value.
Implementations
The name of the attribute you want to use to filter the returned targets.
Creates a new builder-style object to manufacture ListTargetsFilter
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListTargetsFilter
impl Send for ListTargetsFilter
impl Sync for ListTargetsFilter
impl Unpin for ListTargetsFilter
impl UnwindSafe for ListTargetsFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more