You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::ModifyLaunchTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyLaunchTemplateRequest
- Defined in:
- (unknown)
Overview
When passing ModifyLaunchTemplateRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
client_token: "String",
launch_template_id: "LaunchTemplateId",
launch_template_name: "LaunchTemplateName",
default_version: "String",
}
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
-
#default_version ⇒ String
The version number of the launch template to set as the default version.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#launch_template_id ⇒ String
The ID of the launch template.
-
#launch_template_name ⇒ String
The name of the launch template.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
Constraint: Maximum 128 ASCII characters.
#default_version ⇒ String
The version number of the launch template to set as the default version.
#dry_run ⇒ Boolean
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 ⇒ String
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
#launch_template_name ⇒ String
The name of the launch template. You must specify either the launch template ID or launch template name in the request.