SearchPlainArgs

data class SearchPlainArgs(val queryString: String, val viewArn: String? = null) : ConvertibleToJava<SearchPlainArgs>

A collection of arguments for invoking Search.

Constructors

Link copied to clipboard
constructor(queryString: String, viewArn: String? = null)

Properties

Link copied to clipboard

String that includes keywords and filters that specify the resources that you want to include in the results. For the complete syntax supported by the QueryString parameter, see Search query syntax reference for Resource Explorer. The search is completely case insensitive. You can specify an empty string to return all results up to the limit of 1,000 total results. The operation can return only the first 1,000 results. If the resource you want is not included, then use a different value for QueryString to refine the results. The following arguments are optional:

Link copied to clipboard
val viewArn: String? = null

Specifies the Amazon resource name (ARN) of the view to use for the query. If you don't specify a value for this parameter, then the operation automatically uses the default view for the AWS Region in which you called this operation. If the Region either doesn't have a default view or if you don't have permission to use the default view, then the operation fails with a 401 Unauthorized exception.

Functions

Link copied to clipboard
open override fun toJava(): SearchPlainArgs