update_pipeline
async
¶
update_pipeline(
pipeline_name: PipelineName,
*,
config_overrides: Optional[AsyncOSISClientConfig] = None,
min_units: Optional[PipelineUnits] = None,
max_units: Optional[PipelineUnits] = None,
pipeline_configuration_body: Optional[PipelineConfigurationBody] = None,
log_publishing_options: Optional[LogPublishingOptions] = None,
buffer_options: Optional[BufferOptions] = None,
encryption_at_rest_options: Optional[EncryptionAtRestOptions] = None,
pipeline_role_arn: Optional[PipelineRoleArn] = None,
) -> UpdatePipelineResponse
Updates an OpenSearch Ingestion pipeline. For more information, see Updating Amazon OpenSearch Ingestion pipelines.
Parameters:
-
pipeline_name(PipelineName) –The name of the pipeline to update.
-
min_units(Optional[PipelineUnits], default:None) –The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
-
max_units(Optional[PipelineUnits], default:None) –The maximum pipeline capacity, in Ingestion Compute Units (ICUs)
-
pipeline_configuration_body(Optional[PipelineConfigurationBody], default:None) –The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with
\n. -
log_publishing_options(Optional[LogPublishingOptions], default:None) –Key-value pairs to configure log publishing.
-
buffer_options(Optional[BufferOptions], default:None) –Key-value pairs to configure persistent buffering for the pipeline.
-
encryption_at_rest_options(Optional[EncryptionAtRestOptions], default:None) –Key-value pairs to configure encryption for data that is written to a persistent buffer.
-
pipeline_role_arn(Optional[PipelineRoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role that grants the pipeline permission to access Amazon Web Services resources.
Raises:
-
AccessDeniedException–You don't have permissions to access the resource.
-
ConflictException–The client attempted to remove a resource that is currently in use.
-
DisabledOperationException–Exception is thrown when an operation has been disabled.
-
InternalException–The request failed because of an unknown error, exception, or failure (the failure is internal to the service).
-
ResourceNotFoundException–You attempted to access or delete a resource that does not exist.
-
ValidationException–An exception for missing or invalid input fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_osis/_services/async_osis.py
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 | |