pub struct CreateLaunchTemplateRequest {
pub client_token: Option<String>,
pub dry_run: Option<bool>,
pub launch_template_data: RequestLaunchTemplateData,
pub launch_template_name: String,
pub tag_specifications: Option<Vec<TagSpecification>>,
pub version_description: Option<String>,
}
Fields§
§client_token: Option<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.
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_data: RequestLaunchTemplateData
The information for the launch template.
launch_template_name: String
A name for the launch template.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the launch template during creation.
version_description: Option<String>
A description for the first version of the launch template.
Trait Implementations§
Source§impl Clone for CreateLaunchTemplateRequest
impl Clone for CreateLaunchTemplateRequest
Source§fn clone(&self) -> CreateLaunchTemplateRequest
fn clone(&self) -> CreateLaunchTemplateRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateLaunchTemplateRequest
impl Debug for CreateLaunchTemplateRequest
Source§impl Default for CreateLaunchTemplateRequest
impl Default for CreateLaunchTemplateRequest
Source§fn default() -> CreateLaunchTemplateRequest
fn default() -> CreateLaunchTemplateRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreateLaunchTemplateRequest
Auto Trait Implementations§
impl Freeze for CreateLaunchTemplateRequest
impl RefUnwindSafe for CreateLaunchTemplateRequest
impl Send for CreateLaunchTemplateRequest
impl Sync for CreateLaunchTemplateRequest
impl Unpin for CreateLaunchTemplateRequest
impl UnwindSafe for CreateLaunchTemplateRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more