Struct aws_sdk_quicksight::model::DataSourceSearchFilter
source · #[non_exhaustive]pub struct DataSourceSearchFilter { /* private fields */ }
Expand description
A filter that you apply when searching for data sources.
Implementations§
source§impl DataSourceSearchFilter
impl DataSourceSearchFilter
sourcepub fn operator(&self) -> Option<&FilterOperator>
pub fn operator(&self) -> Option<&FilterOperator>
The comparison operator that you want to use as a filter, for example "Operator": "StringEquals"
. Valid values are "StringEquals"
and "StringLike"
.
If you set the operator value to "StringEquals"
, you need to provide an ownership related filter in the "NAME"
field and the arn of the user or group whose data sources you want to search in the "Value"
field. For example, "Name":"DIRECT_QUICKSIGHT_OWNER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1"
.
If you set the value to "StringLike"
, you need to provide the name of the data sources you are searching for. For example, "Name":"DATASOURCE_NAME", "Operator": "StringLike", "Value": "Test"
. The "StringLike"
operator only supports the NAME
value DATASOURCE_NAME
.
sourcepub fn name(&self) -> Option<&DataSourceFilterAttribute>
pub fn name(&self) -> Option<&DataSourceFilterAttribute>
The name of the value that you want to use as a filter, for example, "Name": "DIRECT_QUICKSIGHT_OWNER"
.
Valid values are defined as follows:
-
DIRECT_QUICKSIGHT_VIEWER_OR_OWNER
: Provide an ARN of a user or group, and any data sources with that ARN listed as one of the owners or viewers of the data sources are returned. Implicit permissions from folders or groups are not considered. -
DIRECT_QUICKSIGHT_OWNER
: Provide an ARN of a user or group, and any data sources with that ARN listed as one of the owners if the data source are returned. Implicit permissions from folders or groups are not considered. -
DIRECT_QUICKSIGHT_SOLE_OWNER
: Provide an ARN of a user or group, and any data sources with that ARN listed as the only owner of the data source are returned. Implicit permissions from folders or groups are not considered. -
DATASOURCE_NAME
: Any data sources whose names have a substring match to the provided value are returned.
source§impl DataSourceSearchFilter
impl DataSourceSearchFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DataSourceSearchFilter
.
Trait Implementations§
source§impl Clone for DataSourceSearchFilter
impl Clone for DataSourceSearchFilter
source§fn clone(&self) -> DataSourceSearchFilter
fn clone(&self) -> DataSourceSearchFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataSourceSearchFilter
impl Debug for DataSourceSearchFilter
source§impl PartialEq<DataSourceSearchFilter> for DataSourceSearchFilter
impl PartialEq<DataSourceSearchFilter> for DataSourceSearchFilter
source§fn eq(&self, other: &DataSourceSearchFilter) -> bool
fn eq(&self, other: &DataSourceSearchFilter) -> bool
self
and other
values to be equal, and is used
by ==
.