modify_managed_prefix_list¶
Operation¶
modify_managed_prefix_list
async
¶
modify_managed_prefix_list(input: ModifyManagedPrefixListInput, plugins: list[Plugin] | None = None) -> ModifyManagedPrefixListOutput
Modifies the specified managed prefix list.
Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.
If you specify a current version number that does not match the true current version number, the request fails.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ModifyManagedPrefixListInput
|
An instance of |
required |
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 |
|---|---|
ModifyManagedPrefixListOutput
|
An instance of |
Input¶
ModifyManagedPrefixListInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ModifyManagedPrefixListInput structure.
Attributes¶
add_entries
class-attribute
instance-attribute
¶
add_entries: list[AddPrefixListEntry] | None = ...
One or more entries to add to the prefix list.
current_version
class-attribute
instance-attribute
¶
current_version: int | None = ...
The current version of the prefix list.
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks 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_sync_enabled
class-attribute
instance-attribute
¶
ipam_prefix_list_resolver_sync_enabled: bool | None = ...
Indicates whether synchronization with an IPAM prefix list resolver should be enabled for this managed prefix list. When enabled, the prefix list CIDRs are automatically updated based on the associated resolver's CIDR selection rules.
max_entries
class-attribute
instance-attribute
¶
max_entries: int | None = ...
The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
prefix_list_id
class-attribute
instance-attribute
¶
prefix_list_id: str | None = ...
The ID of the prefix list.
Output¶
ModifyManagedPrefixListOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ModifyManagedPrefixListOutput structure.
Attributes¶
prefix_list
class-attribute
instance-attribute
¶
Information about the prefix list.
response_metadata
class-attribute
instance-attribute
¶
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.