Struct aws_sdk_ec2::input::AttachClassicLinkVpcInput [−][src]
#[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 ID of one or more of the VPC's security groups. You cannot specify security groups from a different VPC.
instance_id: Option<String>
The ID of an EC2-Classic instance to link to the ClassicLink-enabled VPC.
vpc_id: Option<String>
The ID of a ClassicLink-enabled VPC.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AttachClassicLinkVpc, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AttachClassicLinkVpc, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AttachClassicLinkVpc
>
Creates a new builder-style object to manufacture AttachClassicLinkVpcInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttachClassicLinkVpcInput
impl Send for AttachClassicLinkVpcInput
impl Sync for AttachClassicLinkVpcInput
impl Unpin for AttachClassicLinkVpcInput
impl UnwindSafe for AttachClassicLinkVpcInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more