modify_transit_gateway
¶
modify_transit_gateway(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_id: Optional[TransitGatewayId] = None,
description: Optional[String] = None,
options: Optional[ModifyTransitGatewayOptions] = None,
dry_run: Optional[Boolean] = None,
) -> ModifyTransitGatewayResult
Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified.
Parameters:
-
transit_gateway_id(Optional[TransitGatewayId], default:None) –The ID of the transit gateway.
-
description(Optional[String], default:None) –The description for the transit gateway.
-
options(Optional[ModifyTransitGatewayOptions], default:None) –The options to modify.
-
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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
52937 52938 52939 52940 52941 52942 52943 52944 52945 52946 52947 52948 52949 52950 52951 52952 52953 52954 52955 52956 52957 52958 52959 52960 52961 52962 52963 52964 52965 52966 52967 52968 52969 52970 52971 52972 52973 52974 52975 52976 52977 52978 52979 52980 52981 52982 52983 52984 52985 52986 52987 52988 52989 52990 52991 52992 52993 52994 52995 | |