disassociate_route_table¶
Operation¶
disassociate_route_table
async
¶
disassociate_route_table(input: DisassociateRouteTableInput, plugins: list[Plugin] | None = None) -> DisassociateRouteTableOutput
Disassociates a subnet or gateway from a route table.
After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route tables in the Amazon VPC User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DisassociateRouteTableInput
|
An instance of |
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 |
|---|---|
DisassociateRouteTableOutput
|
An instance of |
Input¶
DisassociateRouteTableInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisassociateRouteTableInput structure.
Attributes¶
association_id
class-attribute
instance-attribute
¶
association_id: str | None = ...
The association ID representing the current association between the route table and subnet or gateway.
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¶
DisassociateRouteTableOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DisassociateRouteTableOutput structure.