update_integration
async
¶
update_integration(
integration_id: IntegrationId,
webhook_action: WebhookAction,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = None,
) -> UpdateIntegrationOutput
Creates an integration's webhook, or rotates the HMAC signing secret of an existing one. The secret is returned only once, in this response, and cannot be retrieved again.
Parameters:
-
integration_id(IntegrationId) –The ID of the integration whose webhook you want to create or rotate.
-
webhook_action(WebhookAction) –The action to perform on the integration's webhook.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An unexpected error occurred during the processing of your request.
-
ResourceNotFoundException–The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/async_security_agent.py
5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 | |