pub struct CreateNetworkInterfacePermissionRequest {
pub aws_account_id: Option<String>,
pub aws_service: Option<String>,
pub dry_run: Option<bool>,
pub network_interface_id: String,
pub permission: String,
}
Expand description
Contains the parameters for CreateNetworkInterfacePermission.
Fields§
§aws_account_id: Option<String>
The AWS account ID.
aws_service: Option<String>
The AWS service. Currently not supported.
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_interface_id: String
The ID of the network interface.
permission: String
The type of permission to grant.
Trait Implementations§
Source§impl Clone for CreateNetworkInterfacePermissionRequest
impl Clone for CreateNetworkInterfacePermissionRequest
Source§fn clone(&self) -> CreateNetworkInterfacePermissionRequest
fn clone(&self) -> CreateNetworkInterfacePermissionRequest
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 Default for CreateNetworkInterfacePermissionRequest
impl Default for CreateNetworkInterfacePermissionRequest
Source§fn default() -> CreateNetworkInterfacePermissionRequest
fn default() -> CreateNetworkInterfacePermissionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateNetworkInterfacePermissionRequest
impl PartialEq for CreateNetworkInterfacePermissionRequest
Source§fn eq(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
fn eq(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateNetworkInterfacePermissionRequest
Auto Trait Implementations§
impl Freeze for CreateNetworkInterfacePermissionRequest
impl RefUnwindSafe for CreateNetworkInterfacePermissionRequest
impl Send for CreateNetworkInterfacePermissionRequest
impl Sync for CreateNetworkInterfacePermissionRequest
impl Unpin for CreateNetworkInterfacePermissionRequest
impl UnwindSafe for CreateNetworkInterfacePermissionRequest
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