update_test
async
¶
update_test(
test_id: TestId,
service_arn: Arn,
*,
config_overrides: Optional[Asyncresiliencehubv2ClientConfig] = None,
logging_configuration: Optional[LoggingConfiguration] = None,
stop_conditions: Optional[StopConditionList] = None,
role_name: Optional[IamRoleName] = None,
parameters: Optional[TestParameters] = None,
) -> UpdateTestResponse
Updates the configuration of an existing test.
Parameters:
-
test_id(TestId) –The identifier of the test to update.
-
service_arn(Arn) –The ARN of the service the test belongs to.
-
logging_configuration(Optional[LoggingConfiguration], default:None) –The updated logging configuration for the test.
-
stop_conditions(Optional[StopConditionList], default:None) –The updated stop conditions for the test.
-
role_name(Optional[IamRoleName], default:None) –The updated IAM execution role name.
-
parameters(Optional[TestParameters], default:None) –The updated parameter values for the test.
Raises:
-
AccessDeniedException–Access denied — caller lacks required permissions.
-
ConflictException–Conflict — resource already exists.
-
InternalServerException–Internal service error.
-
ResourceNotFoundException–Resource not found.
-
ValidationException–Validation error — invalid input parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resiliencehubv2/_services/async_resiliencehubv2.py
5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 | |