Struct aws_sdk_ec2::operation::disassociate_instance_event_window::DisassociateInstanceEventWindowInput
source · #[non_exhaustive]pub struct DisassociateInstanceEventWindowInput {
pub dry_run: Option<bool>,
pub instance_event_window_id: Option<String>,
pub association_target: Option<InstanceEventWindowDisassociationRequest>,
}
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.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
.
instance_event_window_id: Option<String>
The ID of the event window.
association_target: Option<InstanceEventWindowDisassociationRequest>
One or more targets to disassociate from the specified event window.
Implementations§
source§impl DisassociateInstanceEventWindowInput
impl DisassociateInstanceEventWindowInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> 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
.
sourcepub fn instance_event_window_id(&self) -> Option<&str>
pub fn instance_event_window_id(&self) -> Option<&str>
The ID of the event window.
sourcepub fn association_target(
&self
) -> Option<&InstanceEventWindowDisassociationRequest>
pub fn association_target( &self ) -> Option<&InstanceEventWindowDisassociationRequest>
One or more targets to disassociate from the specified event window.
source§impl DisassociateInstanceEventWindowInput
impl DisassociateInstanceEventWindowInput
sourcepub fn builder() -> DisassociateInstanceEventWindowInputBuilder
pub fn builder() -> DisassociateInstanceEventWindowInputBuilder
Creates a new builder-style object to manufacture DisassociateInstanceEventWindowInput
.
Trait Implementations§
source§impl Clone for DisassociateInstanceEventWindowInput
impl Clone for DisassociateInstanceEventWindowInput
source§fn clone(&self) -> DisassociateInstanceEventWindowInput
fn clone(&self) -> DisassociateInstanceEventWindowInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DisassociateInstanceEventWindowInput> for DisassociateInstanceEventWindowInput
impl PartialEq<DisassociateInstanceEventWindowInput> for DisassociateInstanceEventWindowInput
source§fn eq(&self, other: &DisassociateInstanceEventWindowInput) -> bool
fn eq(&self, other: &DisassociateInstanceEventWindowInput) -> bool
self
and other
values to be equal, and is used
by ==
.