AWS OpenSearch: Request
| Parameter | Purpose | Example |
|---|---|---|
| auth_type | Authentication type for AWS | "IAM" |
| key_id | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| access_key | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| region | AWS region for OpenSearch | "us-east-1", "eu-west-1" |
| method | HTTP method for the request | "GET", "POST", "PUT", "DELETE" |
| url | OpenSearch endpoint URL | "https://search-domain.region.es.amazonaws.com" |
| query | Query to send to OpenSearch | {query: {match_all: {}}} |
| as | Alias to reference the response | x1, search_results |
Example
Example
- Makes requests to AWS OpenSearch service
- Supports IAM authentication
- Can perform search and index operations
- Returns OpenSearch response data
AWS OpenSearch: Document (CRUD)
| Parameter | Purpose | Example |
|---|---|---|
| auth_type | Authentication type for AWS | "IAM" |
| key_id | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| access_key | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| region | AWS region for OpenSearch | "us-east-1", "eu-west-1" |
| method | CRUD operation type | "GET", "POST", "PUT", "DELETE" |
| index | OpenSearch index name | "products", "users" |
| doc_id | Document identifier | "123", $item.id |
| doc | Document data for create/update | {title: "New Product", price: 99.99} |
| as | Alias to reference the response | x2, document_result |
Example
Example
- Performs CRUD operations on OpenSearch documents
- Supports create, read, update, delete operations
- Works with specific document IDs
- Returns operation result data
AWS OpenSearch: Search Query
| Parameter | Purpose | Example |
|---|---|---|
| auth_type | Authentication type for AWS | "IAM" |
| key_id | AWS access key ID | "AKIAXXXXXXXXXXXXXXXX" |
| access_key | AWS secret access key | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
| region | AWS region for OpenSearch | "us-east-1", "eu-west-1" |
| index | OpenSearch index to query | "products", "users" |
| payload | Query payload | {match: {field: "value"}} |
| expression | Array of query expressions | ["term1", "term2"] |
| size | Number of results to return | 10, 50, 100 |
| from | Starting position for results | 0, 20, 100 |
| sort | Array of sort criteria | [{field: "asc"}] |
| included_fields | Fields to include in results | ["name", "price", "description"] |
| return_type | Type of search response | "search", "count" |
| as | Alias to reference the results | x3, search_results |
Example
Example
- Performs advanced queries on OpenSearch
- Supports pagination with size and from
- Can sort and filter results
- Allows field selection
- Supports different return types