Skip to content

EC2  >  Operations  >  modify_ipam_prefix_list_resolver

modify_ipam_prefix_list_resolver

Operation

modify_ipam_prefix_list_resolver async

modify_ipam_prefix_list_resolver(request: ModifyIpamPrefixListResolverInput | ModifyIpamPrefixListResolverInputDict, /, *, plugins: list[Plugin] | None = None) -> ModifyIpamPrefixListResolverOutput
modify_ipam_prefix_list_resolver(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyIpamPrefixListResolverInputDict]) -> ModifyIpamPrefixListResolverOutput

Modifies an IPAM prefix list resolver. You can update the description and CIDR selection rules. Changes to rules will trigger re-evaluation and potential updates to associated prefix lists.

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
ModifyIpamPrefixListResolverOutput

An instance of ModifyIpamPrefixListResolverOutput.

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

ModifyIpamPrefixListResolverInput dataclass

Bases: _SerdeShape

Dataclass for ModifyIpamPrefixListResolverInput structure.

Attributes
description class-attribute instance-attribute
description: str | None = ...

A new description for the IPAM prefix list resolver.

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

A check for 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.

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

The ID of the IPAM prefix list resolver to modify.

rules class-attribute instance-attribute

The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.

Dictionaries

ModifyIpamPrefixListResolverInputDict

Bases: TypedDict

Dictionary form of ModifyIpamPrefixListResolverInput.

Attributes
description instance-attribute
description: str | None

A new description for the IPAM prefix list resolver.

dry_run instance-attribute
dry_run: bool | None

A check for 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.

ipam_prefix_list_resolver_id instance-attribute
ipam_prefix_list_resolver_id: Required[str]

The ID of the IPAM prefix list resolver to modify.

rules instance-attribute

The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.

Output

ModifyIpamPrefixListResolverOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyIpamPrefixListResolverOutput structure.

Attributes

ipam_prefix_list_resolver class-attribute instance-attribute
ipam_prefix_list_resolver: IpamPrefixListResolver | None = ...

Information about the modified IPAM prefix list resolver.

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.