update_metric_attribution
¶
update_metric_attribution(
*,
config_overrides: Optional[PersonalizeClientConfig] = None,
add_metrics: Optional[MetricAttributes] = None,
remove_metrics: Optional[MetricAttributesNamesList] = None,
metrics_output_config: Optional[MetricAttributionOutput] = None,
metric_attribution_arn: Optional[Arn] = None,
) -> UpdateMetricAttributionResponse
Updates a metric attribution.
Parameters:
-
add_metrics(Optional[MetricAttributes], default:None) –Add new metric attributes to the metric attribution.
-
remove_metrics(Optional[MetricAttributesNamesList], default:None) –Remove metric attributes from the metric attribution.
-
metrics_output_config(Optional[MetricAttributionOutput], default:None) –An output config for the metric attribution.
-
metric_attribution_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) for the metric attribution to update.
Raises:
-
InvalidInputException–Provide a valid value for the field or parameter.
-
ResourceAlreadyExistsException–The specified resource already exists.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–Could not find the specified resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_personalize/_services/personalize.py
4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 | |