Struct aws_sdk_ec2::input::ModifyIpamInput
source · [−]#[non_exhaustive]pub struct ModifyIpamInput {
pub dry_run: Option<bool>,
pub ipam_id: Option<String>,
pub description: Option<String>,
pub add_operating_regions: Option<Vec<AddIpamOperatingRegion>>,
pub remove_operating_regions: Option<Vec<RemoveIpamOperatingRegion>>,
}
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>
A check for 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_id: Option<String>
The ID of the IPAM you want to modify.
description: Option<String>
The description of the IPAM you want to modify.
add_operating_regions: Option<Vec<AddIpamOperatingRegion>>
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
remove_operating_regions: Option<Vec<RemoveIpamOperatingRegion>>
The operating Regions to remove.
Implementations
sourceimpl ModifyIpamInput
impl ModifyIpamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpam, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpam, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyIpam
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyIpamInput
.
sourceimpl ModifyIpamInput
impl ModifyIpamInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
A check for 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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the IPAM you want to modify.
sourcepub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
pub fn add_operating_regions(&self) -> Option<&[AddIpamOperatingRegion]>
Choose the operating Regions for the IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide.
sourcepub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
pub fn remove_operating_regions(&self) -> Option<&[RemoveIpamOperatingRegion]>
The operating Regions to remove.
Trait Implementations
sourceimpl Clone for ModifyIpamInput
impl Clone for ModifyIpamInput
sourcefn clone(&self) -> ModifyIpamInput
fn clone(&self) -> ModifyIpamInput
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 ModifyIpamInput
impl Debug for ModifyIpamInput
sourceimpl PartialEq<ModifyIpamInput> for ModifyIpamInput
impl PartialEq<ModifyIpamInput> for ModifyIpamInput
sourcefn eq(&self, other: &ModifyIpamInput) -> bool
fn eq(&self, other: &ModifyIpamInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyIpamInput) -> bool
fn ne(&self, other: &ModifyIpamInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyIpamInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyIpamInput
impl Send for ModifyIpamInput
impl Sync for ModifyIpamInput
impl Unpin for ModifyIpamInput
impl UnwindSafe for ModifyIpamInput
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