paws.compute (version 0.1.0)

ec2_describe_launch_template_versions: Describes one or more versions of a specified launch template

Description

Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions.

Usage

ec2_describe_launch_template_versions(DryRun, LaunchTemplateId,
  LaunchTemplateName, Versions, MinVersion, MaxVersion, NextToken,
  MaxResults, Filters)

Arguments

DryRun

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.

LaunchTemplateId

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

LaunchTemplateName

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

Versions

One or more versions of the launch template.

MinVersion

The version number after which to describe launch template versions.

MaxVersion

The version number up to which to describe launch template versions.

NextToken

The token to request the next page of results.

MaxResults

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 1 and 200.

Filters

One or more filters.

  • create-time - The time the launch template version was created.

  • ebs-optimized - A boolean that indicates whether the instance is optimized for Amazon EBS I/O.

  • iam-instance-profile - The ARN of the IAM instance profile.

  • image-id - The ID of the AMI.

  • instance-type - The instance type.

  • is-default-version - A boolean that indicates whether the launch template version is the default version.

  • kernel-id - The kernel ID.

  • ram-disk-id - The RAM disk ID.

Request syntax

svc$describe_launch_template_versions(
  DryRun = TRUE|FALSE,
  LaunchTemplateId = "string",
  LaunchTemplateName = "string",
  Versions = list(
    "string"
  ),
  MinVersion = "string",
  MaxVersion = "string",
  NextToken = "string",
  MaxResults = 123,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  )
)

Examples

Run this code
# NOT RUN {
# This example describes the versions for the specified launch template.
# }
# NOT RUN {
svc$describe_launch_template_versions(
  LaunchTemplateId = "068f72b72934aff71"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab