import * as pulumi from "@pulumi/pulumi"; /** * Removes existing fields. If one field doesn’t exist, an exception will be thrown. * * See: https://www.elastic.co/guide/en/elasticsearch/reference/current/remove-processor.html * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as elasticstack from "@pulumi/elasticstack"; * * const remove = elasticstack.ElasticsearchIngestProcessorRemove({ * fields: [ * "user_agent", * "url", * ], * }); * const myIngestPipeline = new elasticstack.ElasticsearchIngestPipeline("myIngestPipeline", {processors: [remove.then(remove => remove.json)]}); * ``` */ export declare function elasticsearchIngestProcessorRemove(args: ElasticsearchIngestProcessorRemoveArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking ElasticsearchIngestProcessorRemove. */ export interface ElasticsearchIngestProcessorRemoveArgs { /** * Description of the processor. */ description?: string; /** * Fields to be removed. */ fields: string[]; /** * Conditionally execute the processor */ if?: string; /** * Ignore failures for the processor. */ ignoreFailure?: boolean; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ ignoreMissing?: boolean; /** * Handle failures for the processor. */ onFailures?: string[]; /** * Identifier for the processor. */ tag?: string; } /** * A collection of values returned by ElasticsearchIngestProcessorRemove. */ export interface ElasticsearchIngestProcessorRemoveResult { /** * Description of the processor. */ readonly description?: string; /** * Fields to be removed. */ readonly fields: string[]; /** * Internal identifier of the resource. */ readonly id: string; /** * Conditionally execute the processor */ readonly if?: string; /** * Ignore failures for the processor. */ readonly ignoreFailure?: boolean; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ readonly ignoreMissing?: boolean; /** * JSON representation of this data source. */ readonly json: string; /** * Handle failures for the processor. */ readonly onFailures?: string[]; /** * Identifier for the processor. */ readonly tag?: string; } export declare function elasticsearchIngestProcessorRemoveOutput(args: ElasticsearchIngestProcessorRemoveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking ElasticsearchIngestProcessorRemove. */ export interface ElasticsearchIngestProcessorRemoveOutputArgs { /** * Description of the processor. */ description?: pulumi.Input; /** * Fields to be removed. */ fields: pulumi.Input[]>; /** * Conditionally execute the processor */ if?: pulumi.Input; /** * Ignore failures for the processor. */ ignoreFailure?: pulumi.Input; /** * If `true` and `field` does not exist or is `null`, the processor quietly exits without modifying the document. */ ignoreMissing?: pulumi.Input; /** * Handle failures for the processor. */ onFailures?: pulumi.Input[]>; /** * Identifier for the processor. */ tag?: pulumi.Input; }