update_direct_connect_gateway_association
¶
update_direct_connect_gateway_association(
*,
config_overrides: Optional[DirectConnectClientConfig] = None,
association_id: Optional[DirectConnectGatewayAssociationId] = None,
add_allowed_prefixes_to_direct_connect_gateway: Optional[
RouteFilterPrefixList
] = None,
remove_allowed_prefixes_to_direct_connect_gateway: Optional[
RouteFilterPrefixList
] = None,
) -> UpdateDirectConnectGatewayAssociationResult
Updates the specified attributes of the Direct Connect gateway association.
Add or remove prefixes from the association.
Parameters:
-
association_id(Optional[DirectConnectGatewayAssociationId], default:None) –The ID of the Direct Connect gateway association.
-
add_allowed_prefixes_to_direct_connect_gateway(Optional[RouteFilterPrefixList], default:None) –The Amazon VPC prefixes to advertise to the Direct Connect gateway.
-
remove_allowed_prefixes_to_direct_connect_gateway(Optional[RouteFilterPrefixList], default:None) –The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/direct_connect.py
4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 | |