create_managed_prefix_list¶
Operation¶
create_managed_prefix_list
async
¶
create_managed_prefix_list(input: CreateManagedPrefixListInput, plugins: list[Plugin] | None = None) -> CreateManagedPrefixListOutput
Creates a managed prefix list. You can specify entries for the prefix list. Each entry consists of a CIDR block and an optional description.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateManagedPrefixListInput
|
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 |
|---|---|
CreateManagedPrefixListOutput
|
An instance of |
Input¶
CreateManagedPrefixListInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateManagedPrefixListInput structure.
Attributes¶
address_family
class-attribute
instance-attribute
¶
address_family: str | None = ...
The IP address type.
Valid Values: IPv4 | IPv6
client_token
class-attribute
instance-attribute
¶
client_token: str | None = ...
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraints: Up to 255 UTF-8 characters in length.
This field is autopopulated if not provided.
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.
entries
class-attribute
instance-attribute
¶
entries: list[AddPrefixListEntry] | None = ...
One or more entries for the prefix list.
max_entries
class-attribute
instance-attribute
¶
max_entries: int | None = ...
The maximum number of entries for the prefix list.
Output¶
CreateManagedPrefixListOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateManagedPrefixListOutput 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.