pub struct ResetImageAttributeRequest {
pub attribute: String,
pub dry_run: Option<bool>,
pub image_id: String,
}Expand description
Contains the parameters for ResetImageAttribute.
Fields§
§attribute: StringThe attribute to reset (currently you can only reset the launch permission attribute).
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.
image_id: StringThe ID of the AMI.
Trait Implementations§
Source§impl Clone for ResetImageAttributeRequest
impl Clone for ResetImageAttributeRequest
Source§fn clone(&self) -> ResetImageAttributeRequest
fn clone(&self) -> ResetImageAttributeRequest
Returns a duplicate 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 ResetImageAttributeRequest
impl Debug for ResetImageAttributeRequest
Source§impl Default for ResetImageAttributeRequest
impl Default for ResetImageAttributeRequest
Source§fn default() -> ResetImageAttributeRequest
fn default() -> ResetImageAttributeRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ResetImageAttributeRequest
Auto Trait Implementations§
impl Freeze for ResetImageAttributeRequest
impl RefUnwindSafe for ResetImageAttributeRequest
impl Send for ResetImageAttributeRequest
impl Sync for ResetImageAttributeRequest
impl Unpin for ResetImageAttributeRequest
impl UnwindSafe for ResetImageAttributeRequest
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