Skip to content

EC2  >  Operations  >  disassociate_trunk_interface

disassociate_trunk_interface

Operation

disassociate_trunk_interface async

disassociate_trunk_interface(input: DisassociateTrunkInterfaceInput, plugins: list[Plugin] | None = None) -> DisassociateTrunkInterfaceOutput

Removes an association between a branch network interface with a trunk network interface.

Parameters:

Name Type Description Default
input DisassociateTrunkInterfaceInput

An instance of DisassociateTrunkInterfaceInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisassociateTrunkInterfaceOutput

An instance of DisassociateTrunkInterfaceOutput.

Input

DisassociateTrunkInterfaceInput dataclass

Bases: _SerdeShape

Dataclass for DisassociateTrunkInterfaceInput structure.

Attributes

association_id class-attribute instance-attribute
association_id: str | None = ...

The ID of the association

client_token class-attribute instance-attribute
client_token: str | None = ...

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

This field is autopopulated if not provided.

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

Output

DisassociateTrunkInterfaceOutput dataclass

Bases: _SerdeShape

Dataclass for DisassociateTrunkInterfaceOutput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = ...

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

return_ class-attribute instance-attribute
return_: bool | None = ...

Is true if the request succeeds and an error otherwise.