Struct aws_sdk_ec2::operation::delete_launch_template_versions::DeleteLaunchTemplateVersionsInput
source · #[non_exhaustive]pub struct DeleteLaunchTemplateVersionsInput {
pub dry_run: Option<bool>,
pub launch_template_id: Option<String>,
pub launch_template_name: Option<String>,
pub versions: Option<Vec<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.
versions: Option<Vec<String>>
The version numbers of one or more launch template versions to delete.
Implementations§
source§impl DeleteLaunchTemplateVersionsInput
impl DeleteLaunchTemplateVersionsInput
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 DeleteLaunchTemplateVersionsInput
impl DeleteLaunchTemplateVersionsInput
sourcepub fn builder() -> DeleteLaunchTemplateVersionsInputBuilder
pub fn builder() -> DeleteLaunchTemplateVersionsInputBuilder
Creates a new builder-style object to manufacture DeleteLaunchTemplateVersionsInput
.
Trait Implementations§
source§impl Clone for DeleteLaunchTemplateVersionsInput
impl Clone for DeleteLaunchTemplateVersionsInput
source§fn clone(&self) -> DeleteLaunchTemplateVersionsInput
fn clone(&self) -> DeleteLaunchTemplateVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DeleteLaunchTemplateVersionsInput> for DeleteLaunchTemplateVersionsInput
impl PartialEq<DeleteLaunchTemplateVersionsInput> for DeleteLaunchTemplateVersionsInput
source§fn eq(&self, other: &DeleteLaunchTemplateVersionsInput) -> bool
fn eq(&self, other: &DeleteLaunchTemplateVersionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.