#[non_exhaustive]pub struct AttachClassicLinkVpcInput {
pub dry_run: Option<bool>,
pub groups: Option<Vec<String>>,
pub instance_id: Option<String>,
pub vpc_id: 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
.
groups: Option<Vec<String>>
The IDs of the security groups. You cannot specify security groups from a different VPC.
instance_id: Option<String>
The ID of the EC2-Classic instance.
vpc_id: Option<String>
The ID of the ClassicLink-enabled VPC.
Implementations§
source§impl AttachClassicLinkVpcInput
impl AttachClassicLinkVpcInput
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 groups(&self) -> &[String]
pub fn groups(&self) -> &[String]
The IDs of the security groups. You cannot specify security groups from a different VPC.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .groups.is_none()
.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the EC2-Classic instance.
source§impl AttachClassicLinkVpcInput
impl AttachClassicLinkVpcInput
sourcepub fn builder() -> AttachClassicLinkVpcInputBuilder
pub fn builder() -> AttachClassicLinkVpcInputBuilder
Creates a new builder-style object to manufacture AttachClassicLinkVpcInput
.
Trait Implementations§
source§impl Clone for AttachClassicLinkVpcInput
impl Clone for AttachClassicLinkVpcInput
source§fn clone(&self) -> AttachClassicLinkVpcInput
fn clone(&self) -> AttachClassicLinkVpcInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttachClassicLinkVpcInput
impl Debug for AttachClassicLinkVpcInput
source§impl PartialEq for AttachClassicLinkVpcInput
impl PartialEq for AttachClassicLinkVpcInput
source§fn eq(&self, other: &AttachClassicLinkVpcInput) -> bool
fn eq(&self, other: &AttachClassicLinkVpcInput) -> bool
self
and other
values to be equal, and is used
by ==
.