Struct aws_sdk_ec2::input::ModifyIpamResourceCidrInput
source · [−]#[non_exhaustive]pub struct ModifyIpamResourceCidrInput {
pub dry_run: Option<bool>,
pub resource_id: Option<String>,
pub resource_cidr: Option<String>,
pub resource_region: Option<String>,
pub current_ipam_scope_id: Option<String>,
pub destination_ipam_scope_id: Option<String>,
pub monitored: Option<bool>,
}
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
.
resource_id: Option<String>
The ID of the resource you want to modify.
resource_cidr: Option<String>
The CIDR of the resource you want to modify.
resource_region: Option<String>
The Amazon Web Services Region of the resource you want to modify.
current_ipam_scope_id: Option<String>
The ID of the current scope that the resource CIDR is in.
destination_ipam_scope_id: Option<String>
The ID of the scope you want to transfer the resource CIDR to.
monitored: Option<bool>
Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.
Implementations
sourceimpl ModifyIpamResourceCidrInput
impl ModifyIpamResourceCidrInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpamResourceCidr, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyIpamResourceCidr, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ModifyIpamResourceCidr
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyIpamResourceCidrInput
.
sourceimpl ModifyIpamResourceCidrInput
impl ModifyIpamResourceCidrInput
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 resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource you want to modify.
sourcepub fn resource_cidr(&self) -> Option<&str>
pub fn resource_cidr(&self) -> Option<&str>
The CIDR of the resource you want to modify.
sourcepub fn resource_region(&self) -> Option<&str>
pub fn resource_region(&self) -> Option<&str>
The Amazon Web Services Region of the resource you want to modify.
sourcepub fn current_ipam_scope_id(&self) -> Option<&str>
pub fn current_ipam_scope_id(&self) -> Option<&str>
The ID of the current scope that the resource CIDR is in.
sourcepub fn destination_ipam_scope_id(&self) -> Option<&str>
pub fn destination_ipam_scope_id(&self) -> Option<&str>
The ID of the scope you want to transfer the resource CIDR to.
Trait Implementations
sourceimpl Clone for ModifyIpamResourceCidrInput
impl Clone for ModifyIpamResourceCidrInput
sourcefn clone(&self) -> ModifyIpamResourceCidrInput
fn clone(&self) -> ModifyIpamResourceCidrInput
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 ModifyIpamResourceCidrInput
impl Debug for ModifyIpamResourceCidrInput
sourceimpl PartialEq<ModifyIpamResourceCidrInput> for ModifyIpamResourceCidrInput
impl PartialEq<ModifyIpamResourceCidrInput> for ModifyIpamResourceCidrInput
sourcefn eq(&self, other: &ModifyIpamResourceCidrInput) -> bool
fn eq(&self, other: &ModifyIpamResourceCidrInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyIpamResourceCidrInput) -> bool
fn ne(&self, other: &ModifyIpamResourceCidrInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyIpamResourceCidrInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyIpamResourceCidrInput
impl Send for ModifyIpamResourceCidrInput
impl Sync for ModifyIpamResourceCidrInput
impl Unpin for ModifyIpamResourceCidrInput
impl UnwindSafe for ModifyIpamResourceCidrInput
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