modify_ipam_prefix_list_resolver
async
¶
modify_ipam_prefix_list_resolver(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_prefix_list_resolver_id: Optional[IpamPrefixListResolverId] = None,
description: Optional[String] = None,
rules: Optional[IpamPrefixListResolverRuleRequestSet] = None,
) -> ModifyIpamPrefixListResolverResult
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:
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation. -
ipam_prefix_list_resolver_id(Optional[IpamPrefixListResolverId], default:None) –The ID of the IPAM prefix list resolver to modify.
-
description(Optional[String], default:None) –A new description for the IPAM prefix list resolver.
-
rules(Optional[IpamPrefixListResolverRuleRequestSet], default:None) –The updated CIDR selection rules for the resolver. These rules replace the existing rules entirely.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
51940 51941 51942 51943 51944 51945 51946 51947 51948 51949 51950 51951 51952 51953 51954 51955 51956 51957 51958 51959 51960 51961 51962 51963 51964 51965 51966 51967 51968 51969 51970 51971 51972 51973 51974 51975 51976 51977 51978 51979 51980 51981 51982 51983 51984 51985 51986 51987 51988 51989 51990 51991 51992 51993 51994 51995 51996 51997 51998 51999 | |