Struct rusoto_ec2::CreateNetworkInterfacePermissionRequest [−][src]
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, }
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
impl Default for CreateNetworkInterfacePermissionRequest
[src]
impl Default for CreateNetworkInterfacePermissionRequest
fn default() -> CreateNetworkInterfacePermissionRequest
[src]
fn default() -> CreateNetworkInterfacePermissionRequest
Returns the "default value" for a type. Read more
impl Debug for CreateNetworkInterfacePermissionRequest
[src]
impl Debug for CreateNetworkInterfacePermissionRequest
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 CreateNetworkInterfacePermissionRequest
[src]
impl Clone for CreateNetworkInterfacePermissionRequest
fn clone(&self) -> CreateNetworkInterfacePermissionRequest
[src]
fn clone(&self) -> CreateNetworkInterfacePermissionRequest
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for CreateNetworkInterfacePermissionRequest
[src]
impl PartialEq for CreateNetworkInterfacePermissionRequest
fn eq(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
[src]
fn eq(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
[src]
fn ne(&self, other: &CreateNetworkInterfacePermissionRequest) -> bool
This method tests for !=
.