#[non_exhaustive]pub struct UpdateVpcAttachmentInput {
pub attachment_id: Option<String>,
pub add_subnet_arns: Option<Vec<String>>,
pub remove_subnet_arns: Option<Vec<String>>,
pub options: Option<VpcOptions>,
}
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.attachment_id: Option<String>
The ID of the attachment.
add_subnet_arns: Option<Vec<String>>
Adds a subnet ARN to the VPC attachment.
remove_subnet_arns: Option<Vec<String>>
Removes a subnet ARN from the attachment.
options: Option<VpcOptions>
Additional options for updating the VPC attachment.
Implementations
sourceimpl UpdateVpcAttachmentInput
impl UpdateVpcAttachmentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateVpcAttachment, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateVpcAttachment, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateVpcAttachment
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateVpcAttachmentInput
sourceimpl UpdateVpcAttachmentInput
impl UpdateVpcAttachmentInput
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn remove_subnet_arns(&self) -> Option<&[String]>
pub fn remove_subnet_arns(&self) -> Option<&[String]>
Removes a subnet ARN from the attachment.
sourcepub fn options(&self) -> Option<&VpcOptions>
pub fn options(&self) -> Option<&VpcOptions>
Additional options for updating the VPC attachment.
Trait Implementations
sourceimpl Clone for UpdateVpcAttachmentInput
impl Clone for UpdateVpcAttachmentInput
sourcefn clone(&self) -> UpdateVpcAttachmentInput
fn clone(&self) -> UpdateVpcAttachmentInput
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 UpdateVpcAttachmentInput
impl Debug for UpdateVpcAttachmentInput
sourceimpl PartialEq<UpdateVpcAttachmentInput> for UpdateVpcAttachmentInput
impl PartialEq<UpdateVpcAttachmentInput> for UpdateVpcAttachmentInput
sourcefn eq(&self, other: &UpdateVpcAttachmentInput) -> bool
fn eq(&self, other: &UpdateVpcAttachmentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateVpcAttachmentInput) -> bool
fn ne(&self, other: &UpdateVpcAttachmentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateVpcAttachmentInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateVpcAttachmentInput
impl Send for UpdateVpcAttachmentInput
impl Sync for UpdateVpcAttachmentInput
impl Unpin for UpdateVpcAttachmentInput
impl UnwindSafe for UpdateVpcAttachmentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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