pub struct DescribeImageAttributeRequest {
pub attribute: String,
pub dry_run: Option<bool>,
pub image_id: String,
}
Expand description
Contains the parameters for DescribeImageAttribute.
Fields§
§attribute: String
The AMI attribute.
Note: The blockDeviceMapping
attribute is deprecated. Using this attribute returns the Client.AuthFailure
error. To get information about the block device mappings for an AMI, use the DescribeImages action.
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: String
The ID of the AMI.
Trait Implementations§
Source§impl Clone for DescribeImageAttributeRequest
impl Clone for DescribeImageAttributeRequest
Source§fn clone(&self) -> DescribeImageAttributeRequest
fn clone(&self) -> DescribeImageAttributeRequest
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 Default for DescribeImageAttributeRequest
impl Default for DescribeImageAttributeRequest
Source§fn default() -> DescribeImageAttributeRequest
fn default() -> DescribeImageAttributeRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DescribeImageAttributeRequest
impl PartialEq for DescribeImageAttributeRequest
Source§fn eq(&self, other: &DescribeImageAttributeRequest) -> bool
fn eq(&self, other: &DescribeImageAttributeRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeImageAttributeRequest
Auto Trait Implementations§
impl Freeze for DescribeImageAttributeRequest
impl RefUnwindSafe for DescribeImageAttributeRequest
impl Send for DescribeImageAttributeRequest
impl Sync for DescribeImageAttributeRequest
impl Unpin for DescribeImageAttributeRequest
impl UnwindSafe for DescribeImageAttributeRequest
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