[−][src]Struct rusoto_ec2::AssociateAddressRequest
Contains the parameters for AssociateAddress.
Fields
allocation_id: Option<String>
[EC2-VPC] The allocation ID. This is required for EC2-VPC.
allow_reassociation: Option<bool>
[EC2-VPC] For a VPC in an EC2-Classic account, specify true to allow an Elastic IP address that is already associated with an instance or network interface to be reassociated with the specified instance or network interface. Otherwise, the operation fails. In a VPC in an EC2-VPC-only account, reassociation is automatic, therefore you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.
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
.
instance_id: Option<String>
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
network_interface_id: Option<String>
[EC2-VPC] The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
private_ip_address: Option<String>
[EC2-VPC] The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
public_ip: Option<String>
The Elastic IP address. This is required for EC2-Classic.
Trait Implementations
impl Default for AssociateAddressRequest
[src]
impl Default for AssociateAddressRequest
fn default() -> AssociateAddressRequest
[src]
fn default() -> AssociateAddressRequest
Returns the "default value" for a type. Read more
impl PartialEq<AssociateAddressRequest> for AssociateAddressRequest
[src]
impl PartialEq<AssociateAddressRequest> for AssociateAddressRequest
fn eq(&self, other: &AssociateAddressRequest) -> bool
[src]
fn eq(&self, other: &AssociateAddressRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AssociateAddressRequest) -> bool
[src]
fn ne(&self, other: &AssociateAddressRequest) -> bool
This method tests for !=
.
impl Clone for AssociateAddressRequest
[src]
impl Clone for AssociateAddressRequest
fn clone(&self) -> AssociateAddressRequest
[src]
fn clone(&self) -> AssociateAddressRequest
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 Debug for AssociateAddressRequest
[src]
impl Debug for AssociateAddressRequest
Auto Trait Implementations
impl Send for AssociateAddressRequest
impl Send for AssociateAddressRequest
impl Sync for AssociateAddressRequest
impl Sync for AssociateAddressRequest
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T