Struct aws_sdk_secretsmanager::types::Filter
source · #[non_exhaustive]pub struct Filter {
pub key: Option<FilterNameStringType>,
pub values: Option<Vec<String>>,
}
Expand description
Allows you to add filters when you use the search function in Secrets Manager. For more information, see Find secrets in Secrets Manager.
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.key: Option<FilterNameStringType>
The following are keys you can use:
-
description: Prefix match, not case-sensitive.
-
name: Prefix match, case-sensitive.
-
tag-key: Prefix match, case-sensitive.
-
tag-value: Prefix match, case-sensitive.
-
primary-region: Prefix match, case-sensitive.
-
owning-service: Prefix match, case-sensitive.
-
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
values: Option<Vec<String>>
The keyword to filter for.
You can prefix your search value with an exclamation mark (!
) in order to perform negation filters.
Implementations§
source§impl Filter
impl Filter
sourcepub fn key(&self) -> Option<&FilterNameStringType>
pub fn key(&self) -> Option<&FilterNameStringType>
The following are keys you can use:
-
description: Prefix match, not case-sensitive.
-
name: Prefix match, case-sensitive.
-
tag-key: Prefix match, case-sensitive.
-
tag-value: Prefix match, case-sensitive.
-
primary-region: Prefix match, case-sensitive.
-
owning-service: Prefix match, case-sensitive.
-
all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.
Trait Implementations§
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)