Struct rusoto_ec2::CreateVpnGatewayRequest [−][src]
pub struct CreateVpnGatewayRequest { pub amazon_side_asn: Option<i64>, pub availability_zone: Option<String>, pub dry_run: Option<bool>, pub type_: String, }
Contains the parameters for CreateVpnGateway.
Fields
amazon_side_asn: Option<i64>
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.
Default: 64512
availability_zone: Option<String>
The Availability Zone for the virtual private gateway.
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
.
type_: String
The type of VPN connection this virtual private gateway supports.
Trait Implementations
impl Default for CreateVpnGatewayRequest
[src]
impl Default for CreateVpnGatewayRequest
fn default() -> CreateVpnGatewayRequest
[src]
fn default() -> CreateVpnGatewayRequest
Returns the "default value" for a type. Read more
impl Debug for CreateVpnGatewayRequest
[src]
impl Debug for CreateVpnGatewayRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateVpnGatewayRequest
[src]
impl Clone for CreateVpnGatewayRequest
fn clone(&self) -> CreateVpnGatewayRequest
[src]
fn clone(&self) -> CreateVpnGatewayRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateVpnGatewayRequest
[src]
impl PartialEq for CreateVpnGatewayRequest
fn eq(&self, other: &CreateVpnGatewayRequest) -> bool
[src]
fn eq(&self, other: &CreateVpnGatewayRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateVpnGatewayRequest) -> bool
[src]
fn ne(&self, other: &CreateVpnGatewayRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateVpnGatewayRequest
impl Send for CreateVpnGatewayRequest
impl Sync for CreateVpnGatewayRequest
impl Sync for CreateVpnGatewayRequest