EC2 / Client / batch_modify_ipam_routing_policy_registrations
batch_modify_ipam_routing_policy_registrations¶
- EC2.Client.batch_modify_ipam_routing_policy_registrations(**kwargs)¶
Modifies multiple routing policy registrations in a single operation. You can create, update, or delete Route Origin Authorizations (ROAs) in batch.
See also: AWS API Documentation
Request Syntax
response = client.batch_modify_ipam_routing_policy_registrations( DryRun=True|False, IpamInternetRegistryAssociationId='string', DeltaJson='string', Force=True|False, ClientToken='string' )
- Parameters:
DryRun (boolean) – 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.IpamInternetRegistryAssociationId (string) –
[REQUIRED]
The ID of the IPAM internet registry association.
DeltaJson (string) –
[REQUIRED]
The batch modifications to apply, in JSON format.
Force (boolean) – Forces the batch modification even if individual changes conflict with announced routes. Default:
false.ClientToken (string) –
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.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'IpamRoutingPolicyRegistrationDelta': { 'DeltaId': 'string', 'DeltaJson': 'string', 'State': 'pending'|'published'|'failed', 'StateMessage': 'string' } }
Response Structure
(dict) –
IpamRoutingPolicyRegistrationDelta (dict) –
Information about the routing policy registration delta created by this batch operation.
DeltaId (string) –
The unique identifier of the delta.
DeltaJson (string) –
The JSON specification describing the changes applied in this delta.
State (string) –
The state of the delta. Valid values:
pending|published|failed.StateMessage (string) –
A message describing the current state, including error information if the delta failed.