modify_ipam_routing_policy_registration
¶
modify_ipam_routing_policy_registration(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
51508 51509 51510 51511 51512 51513 51514 51515 51516 51517 51518 51519 51520 51521 51522 51523 51524 51525 51526 51527 51528 51529 51530 51531 51532 51533 51534 51535 51536 51537 51538 51539 51540 51541 51542 51543 51544 51545 51546 51547 51548 51549 51550 51551 51552 51553 51554 51555 51556 51557 51558 51559 51560 51561 51562 51563 51564 51565 51566 51567 51568 51569 51570 51571 51572 51573 51574 51575 51576 51577 51578 51579 51580 51581 51582 51583 51584 51585 51586 51587 51588 51589 51590 51591 51592 51593 | |