#[non_exhaustive]pub struct DescribeImageAttributeInput {
pub attribute: Option<ImageAttributeName>,
pub image_id: Option<String>,
pub dry_run: Option<bool>,
}
Expand description
Contains the parameters for DescribeImageAttribute.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute: Option<ImageAttributeName>
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.
image_id: Option<String>
The ID of the AMI.
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
.
Implementations§
source§impl DescribeImageAttributeInput
impl DescribeImageAttributeInput
sourcepub fn attribute(&self) -> Option<&ImageAttributeName>
pub fn attribute(&self) -> Option<&ImageAttributeName>
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.
source§impl DescribeImageAttributeInput
impl DescribeImageAttributeInput
sourcepub fn builder() -> DescribeImageAttributeInputBuilder
pub fn builder() -> DescribeImageAttributeInputBuilder
Creates a new builder-style object to manufacture DescribeImageAttributeInput
.
Trait Implementations§
source§impl Clone for DescribeImageAttributeInput
impl Clone for DescribeImageAttributeInput
source§fn clone(&self) -> DescribeImageAttributeInput
fn clone(&self) -> DescribeImageAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeImageAttributeInput
impl Debug for DescribeImageAttributeInput
source§impl PartialEq for DescribeImageAttributeInput
impl PartialEq for DescribeImageAttributeInput
source§fn eq(&self, other: &DescribeImageAttributeInput) -> bool
fn eq(&self, other: &DescribeImageAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.