Struct aws_sdk_ec2::input::ModifyManagedPrefixListInput
source · [−]#[non_exhaustive]pub struct ModifyManagedPrefixListInput {
pub dry_run: Option<bool>,
pub prefix_list_id: Option<String>,
pub current_version: Option<i64>,
pub prefix_list_name: Option<String>,
pub add_entries: Option<Vec<AddPrefixListEntry>>,
pub remove_entries: Option<Vec<RemovePrefixListEntry>>,
pub max_entries: Option<i32>,
}
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_id: Option<String>
The ID of the prefix list.
current_version: Option<i64>
The current version of the prefix list.
prefix_list_name: Option<String>
A name for the prefix list.
add_entries: Option<Vec<AddPrefixListEntry>>
One or more entries to add to the prefix list.
remove_entries: Option<Vec<RemovePrefixListEntry>>
One or more entries to remove from the prefix list.
max_entries: Option<i32>
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.
Implementations
sourceimpl ModifyManagedPrefixListInput
impl ModifyManagedPrefixListInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyManagedPrefixList, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyManagedPrefixList, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyManagedPrefixList
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyManagedPrefixListInput
.
sourceimpl ModifyManagedPrefixListInput
impl ModifyManagedPrefixListInput
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_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
sourcepub fn current_version(&self) -> Option<i64>
pub fn current_version(&self) -> Option<i64>
The current version of the prefix list.
sourcepub fn prefix_list_name(&self) -> Option<&str>
pub fn prefix_list_name(&self) -> Option<&str>
A name for the prefix list.
sourcepub fn add_entries(&self) -> Option<&[AddPrefixListEntry]>
pub fn add_entries(&self) -> Option<&[AddPrefixListEntry]>
One or more entries to add to the prefix list.
sourcepub fn remove_entries(&self) -> Option<&[RemovePrefixListEntry]>
pub fn remove_entries(&self) -> Option<&[RemovePrefixListEntry]>
One or more entries to remove from 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. 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.
Trait Implementations
sourceimpl Clone for ModifyManagedPrefixListInput
impl Clone for ModifyManagedPrefixListInput
sourcefn clone(&self) -> ModifyManagedPrefixListInput
fn clone(&self) -> ModifyManagedPrefixListInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifyManagedPrefixListInput
impl Debug for ModifyManagedPrefixListInput
sourceimpl PartialEq<ModifyManagedPrefixListInput> for ModifyManagedPrefixListInput
impl PartialEq<ModifyManagedPrefixListInput> for ModifyManagedPrefixListInput
sourcefn eq(&self, other: &ModifyManagedPrefixListInput) -> bool
fn eq(&self, other: &ModifyManagedPrefixListInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyManagedPrefixListInput) -> bool
fn ne(&self, other: &ModifyManagedPrefixListInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyManagedPrefixListInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyManagedPrefixListInput
impl Send for ModifyManagedPrefixListInput
impl Sync for ModifyManagedPrefixListInput
impl Unpin for ModifyManagedPrefixListInput
impl UnwindSafe for ModifyManagedPrefixListInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more