

# ExportFilter
<a name="API_ExportFilter"></a>

Used to select which agent's data is to be exported. A single agent ID may be selected for export using the [StartExportTask](http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html) action.

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

 ** condition **   <a name="DiscServ-Type-ExportFilter-condition"></a>
Supported condition: `EQUALS`   
Type: String  
Length Constraints: Maximum length of 200.  
Pattern: `\S+`   
Required: Yes

 ** name **   <a name="DiscServ-Type-ExportFilter-name"></a>
A single `ExportFilter` name. Supported filters: `agentIds`.  
Type: String  
Length Constraints: Maximum length of 1000.  
Pattern: `[\s\S]*\S[\s\S]*`   
Required: Yes

 ** values **   <a name="DiscServ-Type-ExportFilter-values"></a>
A single agent ID for a Discovery Agent. An agent ID can be found using the [DescribeAgents](http://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeAgents.html) action. Typically an ADS agent ID is in the form `o-0123456789abcdef0`.  
Type: Array of strings  
Length Constraints: Maximum length of 1000.  
Pattern: `(^$|[\s\S]*\S[\s\S]*)`   
Required: Yes

## See Also
<a name="API_ExportFilter_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/discovery-2015-11-01/ExportFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/discovery-2015-11-01/ExportFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/discovery-2015-11-01/ExportFilter) 