Skip to content

unassign_private_ip_addresses

Operation

unassign_private_ip_addresses

unassign_private_ip_addresses(request: UnassignPrivateIpAddressesInput | UnassignPrivateIpAddressesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UnassignPrivateIpAddressesInputDict]) -> UnassignPrivateIpAddressesOutput

Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation prefixes from a network interface.

Parameters:

Name Type Description Default
request UnassignPrivateIpAddressesInput | UnassignPrivateIpAddressesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UnassignPrivateIpAddressesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UnassignPrivateIpAddressesOutput

An instance of UnassignPrivateIpAddressesOutput.

unassign_private_ip_addresses async

unassign_private_ip_addresses(request: UnassignPrivateIpAddressesInput | UnassignPrivateIpAddressesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UnassignPrivateIpAddressesInputDict]) -> UnassignPrivateIpAddressesOutput

Unassigns the specified secondary private IP addresses or IPv4 Prefix Delegation prefixes from a network interface.

Parameters:

Name Type Description Default
request UnassignPrivateIpAddressesInput | UnassignPrivateIpAddressesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[UnassignPrivateIpAddressesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UnassignPrivateIpAddressesOutput

An instance of UnassignPrivateIpAddressesOutput.

Input

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

UnassignPrivateIpAddressesInputDict

Bases: TypedDict

Dictionary form of UnassignPrivateIpAddressesInput.

Attributes

ipv4_prefixes instance-attribute
ipv4_prefixes: Sequence[str] | None

The IPv4 prefixes to unassign from the network interface.

network_interface_id instance-attribute
network_interface_id: Required[str]

The ID of the network interface.

private_ip_addresses instance-attribute
private_ip_addresses: Sequence[str] | None

The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.

UnassignPrivateIpAddressesInput dataclass

Bases: _SerdeShape

Contains the parameters for UnassignPrivateIpAddresses.

Attributes

ipv4_prefixes class-attribute instance-attribute
ipv4_prefixes: list[str] | None = ...

The IPv4 prefixes to unassign from the network interface.

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

The ID of the network interface.

private_ip_addresses class-attribute instance-attribute
private_ip_addresses: list[str] | None = ...

The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.

Output

UnassignPrivateIpAddressesOutput dataclass

Bases: _SerdeShape

Dataclass for UnassignPrivateIpAddressesOutput structure.

Attributes

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.