#[non_exhaustive]pub struct CreateManagedPrefixListInput {
pub dry_run: Option<bool>,
pub prefix_list_name: Option<String>,
pub entries: Option<Vec<AddPrefixListEntry>>,
pub max_entries: Option<i32>,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub address_family: Option<String>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: Option<bool>
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
.
prefix_list_name: Option<String>
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
entries: Option<Vec<AddPrefixListEntry>>
One or more entries for the prefix list.
max_entries: Option<i32>
The maximum number of entries for the prefix list.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the prefix list during creation.
address_family: Option<String>
The IP address type.
Valid Values: IPv4
| IPv6
client_token: Option<String>
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.
Implementations§
source§impl CreateManagedPrefixListInput
impl CreateManagedPrefixListInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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
.
sourcepub fn prefix_list_name(&self) -> Option<&str>
pub fn prefix_list_name(&self) -> Option<&str>
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
sourcepub fn entries(&self) -> Option<&[AddPrefixListEntry]>
pub fn entries(&self) -> Option<&[AddPrefixListEntry]>
One or more entries for the prefix list.
sourcepub fn max_entries(&self) -> Option<i32>
pub fn max_entries(&self) -> Option<i32>
The maximum number of entries for the prefix list.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the prefix list during creation.
sourcepub fn address_family(&self) -> Option<&str>
pub fn address_family(&self) -> Option<&str>
The IP address type.
Valid Values: IPv4
| IPv6
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
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.
source§impl CreateManagedPrefixListInput
impl CreateManagedPrefixListInput
sourcepub fn builder() -> CreateManagedPrefixListInputBuilder
pub fn builder() -> CreateManagedPrefixListInputBuilder
Creates a new builder-style object to manufacture CreateManagedPrefixListInput
.
Trait Implementations§
source§impl Clone for CreateManagedPrefixListInput
impl Clone for CreateManagedPrefixListInput
source§fn clone(&self) -> CreateManagedPrefixListInput
fn clone(&self) -> CreateManagedPrefixListInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateManagedPrefixListInput
impl Debug for CreateManagedPrefixListInput
source§impl PartialEq<CreateManagedPrefixListInput> for CreateManagedPrefixListInput
impl PartialEq<CreateManagedPrefixListInput> for CreateManagedPrefixListInput
source§fn eq(&self, other: &CreateManagedPrefixListInput) -> bool
fn eq(&self, other: &CreateManagedPrefixListInput) -> bool
self
and other
values to be equal, and is used
by ==
.