disassociate_trunk_interface
async
¶
disassociate_trunk_interface(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
association_id: Optional[TrunkInterfaceAssociationId] = None,
client_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DisassociateTrunkInterfaceResult
Removes an association between a branch network interface with a trunk network interface.
Parameters:
-
association_id(Optional[TrunkInterfaceAssociationId], default:None) –The ID of the association
-
client_token(Optional[String], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
-
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/async_ec2.py
41213 41214 41215 41216 41217 41218 41219 41220 41221 41222 41223 41224 41225 41226 41227 41228 41229 41230 41231 41232 41233 41234 41235 41236 41237 41238 41239 41240 41241 41242 41243 41244 41245 41246 41247 41248 41249 41250 41251 41252 41253 41254 41255 41256 41257 41258 41259 41260 41261 41262 41263 41264 41265 41266 41267 | |