#[non_exhaustive]pub struct DeleteLaunchTemplateInput {
pub dry_run: Option<bool>,
pub launch_template_id: Option<String>,
pub launch_template_name: Option<String>,
}
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
.
launch_template_id: Option<String>
The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not both.
launch_template_name: Option<String>
The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
Implementations§
source§impl DeleteLaunchTemplateInput
impl DeleteLaunchTemplateInput
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 launch_template_id(&self) -> Option<&str>
pub fn launch_template_id(&self) -> Option<&str>
The ID of the launch template.
You must specify either the LaunchTemplateId
or the LaunchTemplateName
, but not both.
sourcepub fn launch_template_name(&self) -> Option<&str>
pub fn launch_template_name(&self) -> Option<&str>
The name of the launch template.
You must specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
source§impl DeleteLaunchTemplateInput
impl DeleteLaunchTemplateInput
sourcepub fn builder() -> DeleteLaunchTemplateInputBuilder
pub fn builder() -> DeleteLaunchTemplateInputBuilder
Creates a new builder-style object to manufacture DeleteLaunchTemplateInput
.
Trait Implementations§
source§impl Clone for DeleteLaunchTemplateInput
impl Clone for DeleteLaunchTemplateInput
source§fn clone(&self) -> DeleteLaunchTemplateInput
fn clone(&self) -> DeleteLaunchTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteLaunchTemplateInput
impl Debug for DeleteLaunchTemplateInput
source§impl PartialEq<DeleteLaunchTemplateInput> for DeleteLaunchTemplateInput
impl PartialEq<DeleteLaunchTemplateInput> for DeleteLaunchTemplateInput
source§fn eq(&self, other: &DeleteLaunchTemplateInput) -> bool
fn eq(&self, other: &DeleteLaunchTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.