delete_sse_connect
async
¶
delete_sse_connect(
sse_connect_id: SseConnectId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = None,
dry_run: Optional[Boolean] = None,
) -> DeleteSseConnectResponse
Deletes an SSE connect. You must delete all attachments of the SSE connect before you delete it. Deleting an SSE connect doesn't cancel your subscription with the SSE provider.
Parameters:
-
sse_connect_id(SseConnectId) –The ID of the SSE connect to delete.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isAccessDeniedException.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
DryRunOperation–You have the required permissions. You specified the
DryRunparameter, so the request didn't run. -
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To delete an SSE connect The following example deletes an SSE connect that has no attachments.
Source code in docs_src/capo_networkmanager/_services/async_network_manager.py
3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 | |