

# AnalysisSearchFilter
<a name="API_AnalysisSearchFilter"></a>

A filter that you apply when searching for one or more analyses.

## Contents
<a name="API_AnalysisSearchFilter_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** Name **   <a name="QS-Type-AnalysisSearchFilter-Name"></a>
The name of the value that you want to use as a filter, for example `"Name": "QUICKSIGHT_OWNER"`.  
Valid values are defined as follows:  
+  `QUICKSIGHT_VIEWER_OR_OWNER`: Provide an ARN of a user or group, and any analyses with that ARN listed as one of the analysis' owners or viewers are returned. Implicit permissions from folders or groups are considered. 
+  `QUICKSIGHT_OWNER`: Provide an ARN of a user or group, and any analyses with that ARN listed as one of the owners of the analyses are returned. Implicit permissions from folders or groups are considered.
+  `DIRECT_QUICKSIGHT_SOLE_OWNER`: Provide an ARN of a user or group, and any analyses with that ARN listed as the only owner of the analysis are returned. Implicit permissions from folders or groups are not considered.
+  `DIRECT_QUICKSIGHT_OWNER`: Provide an ARN of a user or group, and any analyses with that ARN listed as one of the owners of the analyses are returned. Implicit permissions from folders or groups are not considered.
+  `DIRECT_QUICKSIGHT_VIEWER_OR_OWNER`: Provide an ARN of a user or group, and any analyses with that ARN listed as one of the owners or viewers of the analyses are returned. Implicit permissions from folders or groups are not considered. 
+  `ANALYSIS_NAME`: Any analyses whose names have a substring match to this value will be returned.
Type: String  
Valid Values: `QUICKSIGHT_USER | QUICKSIGHT_VIEWER_OR_OWNER | DIRECT_QUICKSIGHT_VIEWER_OR_OWNER | QUICKSIGHT_OWNER | DIRECT_QUICKSIGHT_OWNER | DIRECT_QUICKSIGHT_SOLE_OWNER | ANALYSIS_NAME`   
Required: No

 ** Operator **   <a name="QS-Type-AnalysisSearchFilter-Operator"></a>
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 folders 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 folders you are searching for. For example, `"Name":"ANALYSIS_NAME", "Operator": "StringLike", "Value": "Test"`. The `"StringLike"` operator only supports the `NAME` value `ANALYSIS_NAME`.  
Type: String  
Valid Values: `StringEquals | StringLike`   
Required: No

 ** Value **   <a name="QS-Type-AnalysisSearchFilter-Value"></a>
The value of the named item, in this case `QUICKSIGHT_USER`, that you want to use as a filter, for example `"Value"`. An example is `"arn:aws:quicksight:us-east-1:1:user/default/UserName1"`.  
Type: String  
Required: No

## See Also
<a name="API_AnalysisSearchFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/quicksight-2018-04-01/AnalysisSearchFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/quicksight-2018-04-01/AnalysisSearchFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/quicksight-2018-04-01/AnalysisSearchFilter) 