Struct aws_sdk_ec2::input::CreateVpnConnectionInput
source · [−]#[non_exhaustive]pub struct CreateVpnConnectionInput { /* private fields */ }
Expand description
Contains the parameters for CreateVpnConnection.
Implementations
sourceimpl CreateVpnConnectionInput
impl CreateVpnConnectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnConnection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateVpnConnection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateVpnConnection
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateVpnConnectionInput
.
sourceimpl CreateVpnConnectionInput
impl CreateVpnConnectionInput
sourcepub fn customer_gateway_id(&self) -> Option<&str>
pub fn customer_gateway_id(&self) -> Option<&str>
The ID of the customer gateway.
sourcepub fn vpn_gateway_id(&self) -> Option<&str>
pub fn vpn_gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
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 options(&self) -> Option<&VpnConnectionOptionsSpecification>
pub fn options(&self) -> Option<&VpnConnectionOptionsSpecification>
The options for the VPN connection.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to apply to the VPN connection.
Trait Implementations
sourceimpl Clone for CreateVpnConnectionInput
impl Clone for CreateVpnConnectionInput
sourcefn clone(&self) -> CreateVpnConnectionInput
fn clone(&self) -> CreateVpnConnectionInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more