Struct aws_sdk_ec2::input::ResetImageAttributeInput [−][src]
#[non_exhaustive]pub struct ResetImageAttributeInput {
pub attribute: Option<ResetImageAttributeName>,
pub image_id: Option<String>,
pub dry_run: Option<bool>,
}
Expand description
Contains the parameters for ResetImageAttribute.
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<ResetImageAttributeName>
The attribute to reset (currently you can only reset the launch permission attribute).
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetImageAttribute, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetImageAttribute, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ResetImageAttribute
>
Creates a new builder-style object to manufacture ResetImageAttributeInput
The attribute to reset (currently you can only reset the launch permission attribute).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResetImageAttributeInput
impl Send for ResetImageAttributeInput
impl Sync for ResetImageAttributeInput
impl Unpin for ResetImageAttributeInput
impl UnwindSafe for ResetImageAttributeInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more