@@ -56,14 +56,14 @@ async def get_pipeline(
56
56
headers : Any = None ,
57
57
) -> Any :
58
58
"""
59
- Returns a pipeline.
59
+ Returns an ingest pipeline.
60
60
61
61
62
- :arg id: Comma -separated list of pipeline IDs to retrieve.
62
+ :arg id: A comma -separated list of pipeline IDs to retrieve.
63
63
Wildcard (`*`) expressions are supported. To get all ingest pipelines,
64
64
omit this parameter or use `*`.
65
- :arg cluster_manager_timeout: Operation timeout for connection
66
- to cluster- manager node.
65
+ :arg cluster_manager_timeout: The amount of time allowed to
66
+ establish a connection to the cluster manager node.
67
67
:arg error_trace: Whether to include the stack trace of returned
68
68
errors. Default is false.
69
69
:arg filter_path: Used to reduce the response. This parameter
@@ -103,13 +103,13 @@ async def put_pipeline(
103
103
headers : Any = None ,
104
104
) -> Any :
105
105
"""
106
- Creates or updates a pipeline.
106
+ Creates or updates an ingest pipeline.
107
107
108
108
109
- :arg id: ID of the ingest pipeline to create or update .
110
- :arg body: The ingest definition
111
- :arg cluster_manager_timeout: Operation timeout for connection
112
- to cluster- manager node.
109
+ :arg id: The ID of the ingest pipeline.
110
+ :arg body: The ingest definition.
111
+ :arg cluster_manager_timeout: The amount of time allowed to
112
+ establish a connection to the cluster manager node.
113
113
:arg error_trace: Whether to include the stack trace of returned
114
114
errors. Default is false.
115
115
:arg filter_path: Used to reduce the response. This parameter
@@ -126,9 +126,7 @@ async def put_pipeline(
126
126
response. Default is false.
127
127
:arg source: The URL-encoded request definition. Useful for
128
128
libraries that do not accept a request body for non-POST requests.
129
- :arg timeout: Period to wait for a response. If no response is
130
- received before the timeout expires, the request fails and returns an
131
- error.
129
+ :arg timeout: The amount of time to wait for a response.
132
130
"""
133
131
for param in (id , body ):
134
132
if param in SKIP_IN_PATH :
@@ -159,14 +157,14 @@ async def delete_pipeline(
159
157
headers : Any = None ,
160
158
) -> Any :
161
159
"""
162
- Deletes a pipeline.
160
+ Deletes an ingest pipeline.
163
161
164
162
165
- :arg id: Pipeline ID or wildcard expression of pipeline IDs used
166
- to limit the request. To delete all ingest pipelines in a cluster, use a
167
- value of `*`.
168
- :arg cluster_manager_timeout: Operation timeout for connection
169
- to cluster- manager node.
163
+ :arg id: The pipeline ID or wildcard expression of pipeline IDs
164
+ used to limit the request. To delete all ingest pipelines in a cluster,
165
+ use a value of `*`.
166
+ :arg cluster_manager_timeout: The amount of time allowed to
167
+ establish a connection to the cluster manager node.
170
168
:arg error_trace: Whether to include the stack trace of returned
171
169
errors. Default is false.
172
170
:arg filter_path: Used to reduce the response. This parameter
@@ -183,9 +181,7 @@ async def delete_pipeline(
183
181
response. Default is false.
184
182
:arg source: The URL-encoded request definition. Useful for
185
183
libraries that do not accept a request body for non-POST requests.
186
- :arg timeout: Period to wait for a response. If no response is
187
- received before the timeout expires, the request fails and returns an
188
- error.
184
+ :arg timeout: The amount of time to wait for a response.
189
185
"""
190
186
if id in SKIP_IN_PATH :
191
187
raise ValueError ("Empty value passed for a required argument 'id'." )
@@ -206,12 +202,12 @@ async def simulate(
206
202
headers : Any = None ,
207
203
) -> Any :
208
204
"""
209
- Allows to simulate a pipeline with example documents.
205
+ Simulates an ingest pipeline with example documents.
210
206
211
207
212
208
:arg body: The simulate definition
213
- :arg id: Pipeline to test. If you don't specify a `pipeline` in
214
- the request body, this parameter is required.
209
+ :arg id: The pipeline to test. If you don't specify a `pipeline`
210
+ in the request body, this parameter is required.
215
211
:arg error_trace: Whether to include the stack trace of returned
216
212
errors. Default is false.
217
213
:arg filter_path: Used to reduce the response. This parameter
@@ -224,8 +220,8 @@ async def simulate(
224
220
response. Default is false.
225
221
:arg source: The URL-encoded request definition. Useful for
226
222
libraries that do not accept a request body for non-POST requests.
227
- :arg verbose: If `true`, the response includes output data for
228
- each processor in the executed pipeline. Default is false.
223
+ :arg verbose: When `true`, the response includes output data for
224
+ each processor in the pipeline Default is false.
229
225
"""
230
226
if body in SKIP_IN_PATH :
231
227
raise ValueError ("Empty value passed for a required argument 'body'." )
@@ -245,7 +241,7 @@ async def processor_grok(
245
241
headers : Any = None ,
246
242
) -> Any :
247
243
"""
248
- Returns a list of the built-in patterns.
244
+ Returns a list of built-in grok patterns.
249
245
250
246
251
247
:arg error_trace: Whether to include the stack trace of returned
@@ -258,7 +254,8 @@ async def processor_grok(
258
254
statistics. Default is True.
259
255
:arg pretty: Whether to pretty format the returned JSON
260
256
response. Default is false.
261
- :arg s: Sort returned patterns by key name. Default is false.
257
+ :arg s: Determines how to sort returned grok patterns by key
258
+ name. Default is false.
262
259
:arg source: The URL-encoded request definition. Useful for
263
260
libraries that do not accept a request body for non-POST requests.
264
261
"""
0 commit comments