Skip to content

EC2  >  Operations  >  disassociate_trunk_interface

disassociate_trunk_interface

Operation

disassociate_trunk_interface async

disassociate_trunk_interface(request: DisassociateTrunkInterfaceInput | DisassociateTrunkInterfaceInputDict, /, *, plugins: list[Plugin] | None = None) -> DisassociateTrunkInterfaceOutput
disassociate_trunk_interface(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DisassociateTrunkInterfaceInputDict]) -> DisassociateTrunkInterfaceOutput

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

Parameters:

Name Type Description Default
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

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

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.

Dictionaries

DisassociateTrunkInterfaceInputDict

Bases: TypedDict

Dictionary form of DisassociateTrunkInterfaceInput.

Attributes
association_id instance-attribute
association_id: Required[str]

The ID of the association

client_token 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 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.