Struct aws_sdk_ec2::types::LaunchPermissionModifications
source · #[non_exhaustive]pub struct LaunchPermissionModifications {
pub add: Option<Vec<LaunchPermission>>,
pub remove: Option<Vec<LaunchPermission>>,
}
Expand description
Describes a launch permission modification.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.add: Option<Vec<LaunchPermission>>
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
remove: Option<Vec<LaunchPermission>>
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
Implementations§
source§impl LaunchPermissionModifications
impl LaunchPermissionModifications
sourcepub fn add(&self) -> Option<&[LaunchPermission]>
pub fn add(&self) -> Option<&[LaunchPermission]>
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
sourcepub fn remove(&self) -> Option<&[LaunchPermission]>
pub fn remove(&self) -> Option<&[LaunchPermission]>
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
source§impl LaunchPermissionModifications
impl LaunchPermissionModifications
sourcepub fn builder() -> LaunchPermissionModificationsBuilder
pub fn builder() -> LaunchPermissionModificationsBuilder
Creates a new builder-style object to manufacture LaunchPermissionModifications
.
Trait Implementations§
source§impl Clone for LaunchPermissionModifications
impl Clone for LaunchPermissionModifications
source§fn clone(&self) -> LaunchPermissionModifications
fn clone(&self) -> LaunchPermissionModifications
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 PartialEq<LaunchPermissionModifications> for LaunchPermissionModifications
impl PartialEq<LaunchPermissionModifications> for LaunchPermissionModifications
source§fn eq(&self, other: &LaunchPermissionModifications) -> bool
fn eq(&self, other: &LaunchPermissionModifications) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchPermissionModifications
Auto Trait Implementations§
impl RefUnwindSafe for LaunchPermissionModifications
impl Send for LaunchPermissionModifications
impl Sync for LaunchPermissionModifications
impl Unpin for LaunchPermissionModifications
impl UnwindSafe for LaunchPermissionModifications
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