Struct aws_sdk_ec2::input::ModifyLaunchTemplateInput
source · [−]#[non_exhaustive]pub struct ModifyLaunchTemplateInput { /* private fields */ }
Implementations
sourceimpl ModifyLaunchTemplateInput
impl ModifyLaunchTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyLaunchTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyLaunchTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyLaunchTemplate
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyLaunchTemplateInput
.
sourceimpl ModifyLaunchTemplateInput
impl ModifyLaunchTemplateInput
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 client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
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.
sourcepub fn default_version(&self) -> Option<&str>
pub fn default_version(&self) -> Option<&str>
The version number of the launch template to set as the default version.
Trait Implementations
sourceimpl Clone for ModifyLaunchTemplateInput
impl Clone for ModifyLaunchTemplateInput
sourcefn clone(&self) -> ModifyLaunchTemplateInput
fn clone(&self) -> ModifyLaunchTemplateInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more