delete_sse_connect_transit_gateway_attachment
¶
delete_sse_connect_transit_gateway_attachment(
sse_connect_transit_gateway_attachment_id: SseConnectTransitGatewayAttachmentId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
dry_run: Optional[Boolean] = None,
) -> DeleteSseConnectTransitGatewayAttachmentResponse
Deletes an SSE connect transit gateway attachment. Before you delete the attachment, update the transit gateway route tables that direct traffic to it.
Parameters:
-
sse_connect_transit_gateway_attachment_id(SseConnectTransitGatewayAttachmentId) –The ID of the SSE connect transit gateway attachment 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 transit gateway attachment The following example deletes an SSE connect transit gateway attachment.
>>> client.delete_sse_connect_transit_gateway_attachment(sse_connect_transit_gateway_attachment_id='sse-connect-tgw-attach-1234567890abcdef0')
Source code in docs_src/capo_networkmanager/_services/network_manager.py
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 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 | |