modify_ipam_routing_policy_registration
async
¶
modify_ipam_routing_policy_registration(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
ipam_internet_registry_association_id: Optional[
IpamInternetRegistryAssociationId
] = None,
cidr: Optional[String] = None,
asns: Optional[AsnList] = None,
permit_more_specific_announcements: Optional[BoxedBoolean] = None,
max_length: Optional[IpamRoutingPolicyRegistrationMaxLength] = None,
description: Optional[String] = None,
force: Optional[BoxedBoolean] = None,
client_token: Optional[String] = None,
) -> ModifyIpamRoutingPolicyRegistrationResult
Modifies an existing routing policy registration. You can update the authorized ASNs, maximum prefix length, and other properties of a Route Origin Authorization (ROA).
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, 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_internet_registry_association_id(Optional[IpamInternetRegistryAssociationId], default:None) –The ID of the IPAM internet registry association.
-
cidr(Optional[String], default:None) –The IP address prefix in CIDR notation identifying the routing policy registration to modify.
-
asns(Optional[AsnList], default:None) –The updated list of Autonomous System Numbers (ASNs) authorized to originate the prefix.
-
permit_more_specific_announcements(Optional[BoxedBoolean], default:None) –Specifies whether to permit more specific route announcements than the CIDR prefix. Default:
false. -
max_length(Optional[IpamRoutingPolicyRegistrationMaxLength], default:None) –The new maximum prefix length that the ASNs are authorized to announce. Must be greater than or equal to the prefix length of the CIDR.
-
description(Optional[String], default:None) –A new description for the routing policy registration.
-
force(Optional[BoxedBoolean], default:None) –Forces the modification even if it conflicts with an announced route. Default:
false. -
client_token(Optional[String], default:None) –A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
52225 52226 52227 52228 52229 52230 52231 52232 52233 52234 52235 52236 52237 52238 52239 52240 52241 52242 52243 52244 52245 52246 52247 52248 52249 52250 52251 52252 52253 52254 52255 52256 52257 52258 52259 52260 52261 52262 52263 52264 52265 52266 52267 52268 52269 52270 52271 52272 52273 52274 52275 52276 52277 52278 52279 52280 52281 52282 52283 52284 52285 52286 52287 52288 52289 52290 52291 52292 52293 52294 52295 52296 52297 52298 52299 52300 52301 52302 52303 52304 52305 52306 52307 52308 52309 52310 52311 | |