// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeLaunchTemplateVersions`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`dry_run(bool)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
/// - [`launch_template_id(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::launch_template_id) / [`set_launch_template_id(Option<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_launch_template_id):<br>required: **false**<br><p>The ID of the launch template.</p> <p>To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name, but not both.</p> <p>To describe all the latest or default launch template versions in your account, you must omit this parameter.</p><br>
/// - [`launch_template_name(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::launch_template_name) / [`set_launch_template_name(Option<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_launch_template_name):<br>required: **false**<br><p>The name of the launch template.</p> <p>To describe one or more versions of a specified launch template, you must specify either the launch template name or the launch template ID, but not both.</p> <p>To describe all the latest or default launch template versions in your account, you must omit this parameter.</p><br>
/// - [`versions(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::versions) / [`set_versions(Option<Vec::<String>>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_versions):<br>required: **false**<br><p>One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.</p> <p>To describe one or more versions of a specified launch template, valid values are <code>$Latest</code>, <code>$Default</code>, and numbers.</p> <p>To describe all launch templates in your account that are defined as the latest version, the valid value is <code>$Latest</code>. To describe all launch templates in your account that are defined as the default version, the valid value is <code>$Default</code>. You can specify <code>$Latest</code> and <code>$Default</code> in the same request. You cannot specify numbers.</p><br>
/// - [`min_version(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::min_version) / [`set_min_version(Option<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_min_version):<br>required: **false**<br><p>The version number after which to describe launch template versions.</p><br>
/// - [`max_version(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::max_version) / [`set_max_version(Option<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_max_version):<br>required: **false**<br><p>The version number up to which to describe launch template versions.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
/// - [`max_results(i32)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>NextToken</code> value. This value can be between 1 and 200.</p><br>
/// - [`filters(Filter)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters.</p> <ul> <li> <p><code>create-time</code> - The time the launch template version was created.</p></li> <li> <p><code>ebs-optimized</code> - A boolean that indicates whether the instance is optimized for Amazon EBS I/O.</p></li> <li> <p><code>http-endpoint</code> - Indicates whether the HTTP metadata endpoint on your instances is enabled (<code>enabled</code> | <code>disabled</code>).</p></li> <li> <p><code>http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint for the instance metadata service is enabled (<code>enabled</code> | <code>disabled</code>).</p></li> <li> <p><code>host-resource-group-arn</code> - The ARN of the host resource group in which to launch the instances.</p></li> <li> <p><code>http-tokens</code> - The state of token usage for your instance metadata requests (<code>optional</code> | <code>required</code>).</p></li> <li> <p><code>iam-instance-profile</code> - The ARN of the IAM instance profile.</p></li> <li> <p><code>image-id</code> - The ID of the AMI.</p></li> <li> <p><code>instance-type</code> - The instance type.</p></li> <li> <p><code>is-default-version</code> - A boolean that indicates whether the launch template version is the default version.</p></li> <li> <p><code>kernel-id</code> - The kernel ID.</p></li> <li> <p><code>license-configuration-arn</code> - The ARN of the license configuration.</p></li> <li> <p><code>network-card-index</code> - The index of the network card.</p></li> <li> <p><code>ram-disk-id</code> - The RAM disk ID.</p></li> </ul><br>
/// - [`resolve_alias(bool)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::resolve_alias) / [`set_resolve_alias(Option<bool>)`](crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::set_resolve_alias):<br>required: **false**<br><p>If <code>true</code>, and if a Systems Manager parameter is specified for <code>ImageId</code>, the AMI ID is displayed in the response for <code>imageId</code>.</p> <p>If <code>false</code>, and if a Systems Manager parameter is specified for <code>ImageId</code>, the parameter is displayed in the response for <code>imageId</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the <i>Amazon EC2 User Guide</i>.</p> <p>Default: <code>false</code></p><br>
/// - On success, responds with [`DescribeLaunchTemplateVersionsOutput`](crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsOutput) with field(s):
/// - [`launch_template_versions(Option<Vec::<LaunchTemplateVersion>>)`](crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsOutput::launch_template_versions): <p>Information about the launch template versions.</p>
/// - [`next_token(Option<String>)`](crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
/// - On failure, responds with [`SdkError<DescribeLaunchTemplateVersionsError>`](crate::operation::describe_launch_template_versions::DescribeLaunchTemplateVersionsError)
pub fn describe_launch_template_versions(
&self,
) -> crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder {
crate::operation::describe_launch_template_versions::builders::DescribeLaunchTemplateVersionsFluentBuilder::new(self.handle.clone())
}
}