pub struct ReleaseAddressRequest {
pub allocation_id: Option<String>,
pub dry_run: Option<bool>,
pub network_border_group: Option<String>,
pub public_ip: Option<String>,
}
Fields§
§allocation_id: Option<String>
[EC2-VPC] The allocation ID. Required for EC2-VPC.
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
.
network_border_group: Option<String>
The location that the IP address is released from.
If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound
error. For more information, see Error Codes.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination
error. For more information, see Error Codes.
public_ip: Option<String>
[EC2-Classic] The Elastic IP address. Required for EC2-Classic.
Trait Implementations§
Source§impl Clone for ReleaseAddressRequest
impl Clone for ReleaseAddressRequest
Source§fn clone(&self) -> ReleaseAddressRequest
fn clone(&self) -> ReleaseAddressRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ReleaseAddressRequest
impl Debug for ReleaseAddressRequest
Source§impl Default for ReleaseAddressRequest
impl Default for ReleaseAddressRequest
Source§fn default() -> ReleaseAddressRequest
fn default() -> ReleaseAddressRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReleaseAddressRequest
impl PartialEq for ReleaseAddressRequest
impl StructuralPartialEq for ReleaseAddressRequest
Auto Trait Implementations§
impl Freeze for ReleaseAddressRequest
impl RefUnwindSafe for ReleaseAddressRequest
impl Send for ReleaseAddressRequest
impl Sync for ReleaseAddressRequest
impl Unpin for ReleaseAddressRequest
impl UnwindSafe for ReleaseAddressRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more