tencentcloud-sdk-nodejs-intl-en 3.0.1121 → 3.0.1122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1122";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -129,6 +129,7 @@ const ExitRescueModeRequest = models.ExitRescueModeRequest;
|
|
|
129
129
|
const DescribeDisasterRecoverGroupsResponse = models.DescribeDisasterRecoverGroupsResponse;
|
|
130
130
|
const ExportImagesRequest = models.ExportImagesRequest;
|
|
131
131
|
const ActionTimer = models.ActionTimer;
|
|
132
|
+
const CreateLaunchTemplateRequest = models.CreateLaunchTemplateRequest;
|
|
132
133
|
const DescribeReservedInstancesConfigInfosRequest = models.DescribeReservedInstancesConfigInfosRequest;
|
|
133
134
|
const InquiryPriceResetInstanceRequest = models.InquiryPriceResetInstanceRequest;
|
|
134
135
|
const DescribeLaunchTemplatesRequest = models.DescribeLaunchTemplatesRequest;
|
|
@@ -140,6 +141,7 @@ const ImportImageRequest = models.ImportImageRequest;
|
|
|
140
141
|
const SpotMarketOptions = models.SpotMarketOptions;
|
|
141
142
|
const ConfigureChcAssistVpcRequest = models.ConfigureChcAssistVpcRequest;
|
|
142
143
|
const DescribeImportImageOsRequest = models.DescribeImportImageOsRequest;
|
|
144
|
+
const CreateLaunchTemplateResponse = models.CreateLaunchTemplateResponse;
|
|
143
145
|
const CreateKeyPairRequest = models.CreateKeyPairRequest;
|
|
144
146
|
const InstanceStatus = models.InstanceStatus;
|
|
145
147
|
const ReservedInstancePriceItem = models.ReservedInstancePriceItem;
|
|
@@ -707,6 +709,21 @@ If you currently use a password to log in, you will no longer be able to do so a
|
|
|
707
709
|
this.request("ResizeInstanceDisks", req, resp, cb);
|
|
708
710
|
}
|
|
709
711
|
|
|
712
|
+
/**
|
|
713
|
+
* This API is used to create an instance launch template.
|
|
714
|
+
|
|
715
|
+
An instance launch template contains the configuration information required to create an instance, including instance type, data/system disk type and size, and security group, etc.
|
|
716
|
+
|
|
717
|
+
When a template is created, it defaults to Version 1. You can use `CreateLaunchTemplateVersion` to create new versions of this template, with the version number increasing. When you run `RunInstances` to create instances, you can specify the instance launch template version. If it’s not specified, the default template version is used.
|
|
718
|
+
* @param {CreateLaunchTemplateRequest} req
|
|
719
|
+
* @param {function(string, CreateLaunchTemplateResponse):void} cb
|
|
720
|
+
* @public
|
|
721
|
+
*/
|
|
722
|
+
CreateLaunchTemplate(req, cb) {
|
|
723
|
+
let resp = new CreateLaunchTemplateResponse();
|
|
724
|
+
this.request("CreateLaunchTemplate", req, resp, cb);
|
|
725
|
+
}
|
|
726
|
+
|
|
710
727
|
/**
|
|
711
728
|
* This API is used to describe reserved instance (RI) offerings. Currently, RIs are only offered to beta users.
|
|
712
729
|
* @param {DescribeReservedInstancesConfigInfosRequest} req
|
|
@@ -6564,6 +6564,275 @@ DONE: Triggered already.
|
|
|
6564
6564
|
}
|
|
6565
6565
|
}
|
|
6566
6566
|
|
|
6567
|
+
/**
|
|
6568
|
+
* CreateLaunchTemplate request structure.
|
|
6569
|
+
* @class
|
|
6570
|
+
*/
|
|
6571
|
+
class CreateLaunchTemplateRequest extends AbstractModel {
|
|
6572
|
+
constructor(){
|
|
6573
|
+
super();
|
|
6574
|
+
|
|
6575
|
+
/**
|
|
6576
|
+
* Instance launch template name. It can include 2-128 characters.
|
|
6577
|
+
* @type {string || null}
|
|
6578
|
+
*/
|
|
6579
|
+
this.LaunchTemplateName = null;
|
|
6580
|
+
|
|
6581
|
+
/**
|
|
6582
|
+
* Location of the instance. You can use this parameter to specify the attributes of the instance, such as its availability zone, project, and CDH (for dedicated CVMs)
|
|
6583
|
+
* @type {Placement || null}
|
|
6584
|
+
*/
|
|
6585
|
+
this.Placement = null;
|
|
6586
|
+
|
|
6587
|
+
/**
|
|
6588
|
+
* The [image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`. There are four types of images:<br/><li>Public images</li><li>Custom images</li><li>Shared images</li><li>Marketplace images (for Chinese mainland only)</li><br/>To check the image ID:<br/><li>For public images, custom images, and shared images, go to the [console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE). For marketplace images, go to [Cloud Marketplace](https://market.cloud.tencent.com/list). </li><li>Call [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1), pass in `InstanceType` to retrieve the list of images supported by the current model, and then find the `ImageId` in the response.</li>
|
|
6589
|
+
* @type {string || null}
|
|
6590
|
+
*/
|
|
6591
|
+
this.ImageId = null;
|
|
6592
|
+
|
|
6593
|
+
/**
|
|
6594
|
+
* Description of instance launch template versions. This parameter can contain 2-256 characters.
|
|
6595
|
+
* @type {string || null}
|
|
6596
|
+
*/
|
|
6597
|
+
this.LaunchTemplateVersionDescription = null;
|
|
6598
|
+
|
|
6599
|
+
/**
|
|
6600
|
+
* The instance model. Different resource specifications are specified for different instance models.
|
|
6601
|
+
<br><li>To view specific values for `PREPAID` or `POSTPAID_BY_HOUR` instances, you can call [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) or refer to [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1). If this parameter is not specified, the system will specify the default model according to the dynamic resource sales in the current region. <br><li>For `CDHPAID` instances, the value of this parameter is in the format of `CDH_XCXG` based on the number of CPU cores and memory capacity. For example, if you want to create a CDH instance with a single-core CPU and 1 GB memory, you need to specify this parameter as `CDH_1C1G`.
|
|
6602
|
+
* @type {string || null}
|
|
6603
|
+
*/
|
|
6604
|
+
this.InstanceType = null;
|
|
6605
|
+
|
|
6606
|
+
/**
|
|
6607
|
+
* System disk configuration of the instance. If this parameter is not specified, the default value will be used.
|
|
6608
|
+
* @type {SystemDisk || null}
|
|
6609
|
+
*/
|
|
6610
|
+
this.SystemDisk = null;
|
|
6611
|
+
|
|
6612
|
+
/**
|
|
6613
|
+
* The configuration information of instance data disks. If this parameter is not specified, no data disk will be purchased by default. When purchasing, you can specify 21 data disks, which can contain at most 1 LOCAL_BASIC or LOCAL_SSD data disk, and at most 20 CLOUD_BASIC, CLOUD_PREMIUM, or CLOUD_SSD data disks.
|
|
6614
|
+
* @type {Array.<DataDisk> || null}
|
|
6615
|
+
*/
|
|
6616
|
+
this.DataDisks = null;
|
|
6617
|
+
|
|
6618
|
+
/**
|
|
6619
|
+
* Configuration information of VPC. This parameter is used to specify VPC ID and subnet ID, etc. If this parameter is not specified, the classic network is used by default. If a VPC IP is specified in this parameter, it indicates the primary ENI IP of each instance. The value of parameter InstanceCount must be same as the number of VPC IPs, which cannot be greater than 20.
|
|
6620
|
+
* @type {VirtualPrivateCloud || null}
|
|
6621
|
+
*/
|
|
6622
|
+
this.VirtualPrivateCloud = null;
|
|
6623
|
+
|
|
6624
|
+
/**
|
|
6625
|
+
* Configuration of public network bandwidth. If this parameter is not specified, 0 Mbps will be used by default.
|
|
6626
|
+
* @type {InternetAccessible || null}
|
|
6627
|
+
*/
|
|
6628
|
+
this.InternetAccessible = null;
|
|
6629
|
+
|
|
6630
|
+
/**
|
|
6631
|
+
* Number of instances to be purchased. Value range for monthly-subscribed instances: [1, 300]. Value range for pay-as-you-go instances: [1, 100]. Default value: 1. The specified number of instances to be purchased cannot exceed the remaining quota allowed for the user. For more information on quota, see CVM instance [Purchase Limits](https://intl.cloud.tencent.com/document/product/213/2664).
|
|
6632
|
+
* @type {number || null}
|
|
6633
|
+
*/
|
|
6634
|
+
this.InstanceCount = null;
|
|
6635
|
+
|
|
6636
|
+
/**
|
|
6637
|
+
* Instance name to be displayed. <br><li>If this parameter is not specified, "Unnamed" will be displayed by default. </li><li>If you purchase multiple instances at the same time and specify a pattern string `{R:x}`, numbers `[x, x+n-1]` will be generated, where `n` represents the number of instances purchased. For example, you specify a pattern string, `server_{R:3}`. If you only purchase 1 instance, the instance will be named `server_3`; if you purchase 2, they will be named `server_3` and `server_4`. You can specify multiple pattern strings in the format of `{R:x}`. </li><li>If you purchase multiple instances at the same time and do not specify a pattern string, the instance names will be suffixed by `1, 2...n`, where `n` represents the number of instances purchased. For example, if you purchase 2 instances and the instance name body is `server_`, the instance names will be `server_1` and `server_2`. </li><li>This parameter can contain up to 60 characters, including the pattern string.
|
|
6638
|
+
* @type {string || null}
|
|
6639
|
+
*/
|
|
6640
|
+
this.InstanceName = null;
|
|
6641
|
+
|
|
6642
|
+
/**
|
|
6643
|
+
* Login settings of the instance. You can use this parameter to set the login method, password, and key of the instance or keep the login settings of the original image. By default, a random password will be generated and sent to you via the Message Center.
|
|
6644
|
+
* @type {LoginSettings || null}
|
|
6645
|
+
*/
|
|
6646
|
+
this.LoginSettings = null;
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* Security groups to which the instance belongs. To obtain the security group IDs, you can call [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808) and look for the `sgld` fields in the response. If this parameter is not specified, the instance will be associated with default security groups.
|
|
6650
|
+
* @type {Array.<string> || null}
|
|
6651
|
+
*/
|
|
6652
|
+
this.SecurityGroupIds = null;
|
|
6653
|
+
|
|
6654
|
+
/**
|
|
6655
|
+
* Enhanced service. You can use this parameter to specify whether to enable services such as Anti-DDoS and Cloud Monitor. If this parameter is not specified, Cloud Monitor and Anti-DDoS are enabled for public images by default. However, for custom images and images from the marketplace, Anti-DDoS and Cloud Monitor are not enabled by default. The original services in the image will be retained.
|
|
6656
|
+
* @type {EnhancedService || null}
|
|
6657
|
+
*/
|
|
6658
|
+
this.EnhancedService = null;
|
|
6659
|
+
|
|
6660
|
+
/**
|
|
6661
|
+
* A unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
|
|
6662
|
+
* @type {string || null}
|
|
6663
|
+
*/
|
|
6664
|
+
this.ClientToken = null;
|
|
6665
|
+
|
|
6666
|
+
/**
|
|
6667
|
+
* Host name of the CVM. <br><li>Dots (.) or hyphens (-) cannot be the start or end of a host name or appear consecutively in a host name. <br><li>For Windows instances, the host name must be 2-15 characters long and can contain uppercase and lowercase letters, numbers, and hyphens (-). It cannot contain dots (.) or contain only numbers. <br><li>For other instances, such as Linux instances, the host name must be 2-60 characters long. It supports multiple dots (.) and allows uppercase and lowercase letters, numbers, and hyphens (-) between any two dots (.).
|
|
6668
|
+
* @type {string || null}
|
|
6669
|
+
*/
|
|
6670
|
+
this.HostName = null;
|
|
6671
|
+
|
|
6672
|
+
/**
|
|
6673
|
+
* Scheduled tasks. You can use this parameter to specify scheduled tasks for the instance. Only scheduled termination is supported.
|
|
6674
|
+
* @type {ActionTimer || null}
|
|
6675
|
+
*/
|
|
6676
|
+
this.ActionTimer = null;
|
|
6677
|
+
|
|
6678
|
+
/**
|
|
6679
|
+
* Placement group ID. You can only specify one.
|
|
6680
|
+
* @type {Array.<string> || null}
|
|
6681
|
+
*/
|
|
6682
|
+
this.DisasterRecoverGroupIds = null;
|
|
6683
|
+
|
|
6684
|
+
/**
|
|
6685
|
+
* The tag description list. This parameter is used to bind a tag to a resource instance. A tag can only be bound to CVM instances.
|
|
6686
|
+
* @type {Array.<TagSpecification> || null}
|
|
6687
|
+
*/
|
|
6688
|
+
this.TagSpecification = null;
|
|
6689
|
+
|
|
6690
|
+
/**
|
|
6691
|
+
* Market options of the instance, such as parameters related to spot instances. This parameter is required for spot instances.
|
|
6692
|
+
* @type {InstanceMarketOptionsRequest || null}
|
|
6693
|
+
*/
|
|
6694
|
+
this.InstanceMarketOptions = null;
|
|
6695
|
+
|
|
6696
|
+
/**
|
|
6697
|
+
* User data provided to the instance. This parameter needs to be encoded in base64 format with the maximum size of 16KB. For more information on how to get the value of this parameter, see the commands you need to execute on startup for [Windows](https://intl.cloud.tencent.com/document/product/213/17526) or [Linux](https://intl.cloud.tencent.com/document/product/213/17525).
|
|
6698
|
+
* @type {string || null}
|
|
6699
|
+
*/
|
|
6700
|
+
this.UserData = null;
|
|
6701
|
+
|
|
6702
|
+
/**
|
|
6703
|
+
* Whether the request is a dry run only.
|
|
6704
|
+
true: dry run only. The request will not create instance(s). A dry run can check whether all the required parameters are specified, whether the request format is right, whether the request exceeds service limits, and whether the specified CVMs are available.
|
|
6705
|
+
If the dry run fails, the corresponding error code will be returned.
|
|
6706
|
+
If the dry run succeeds, the RequestId will be returned.
|
|
6707
|
+
false (default value): send a normal request and create instance(s) if all the requirements are met.
|
|
6708
|
+
* @type {boolean || null}
|
|
6709
|
+
*/
|
|
6710
|
+
this.DryRun = null;
|
|
6711
|
+
|
|
6712
|
+
/**
|
|
6713
|
+
* CAM role name, which can be obtained from the `roleName` field in the response of the [`DescribeRoleList`](https://intl.cloud.tencent.com/document/product/598/13887?from_cn_redirect=1) API.
|
|
6714
|
+
* @type {string || null}
|
|
6715
|
+
*/
|
|
6716
|
+
this.CamRoleName = null;
|
|
6717
|
+
|
|
6718
|
+
/**
|
|
6719
|
+
* HPC cluster ID. The HPC cluster must and can only be specified for a high-performance computing instance.
|
|
6720
|
+
* @type {string || null}
|
|
6721
|
+
*/
|
|
6722
|
+
this.HpcClusterId = null;
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* Instance [Billing Mode](https://intl.cloud.tencent.com/document/product/213/2180?from_cn_redirect=1). Valid values: <br><li>`PREPAID`: prepaid, i.e., billed for monthly-subscribed instances <br><li>`POSTPAID_BY_HOUR`: pay-as-you-go on an hourly basis <br><li>`CDHPAID`: billed for CDH instances, not the CVMs running on the CDHs. <br><li>`SPOTPAID`: billed for spot instances. <br>Default value: POSTPAID_BY_HOUR.
|
|
6726
|
+
* @type {string || null}
|
|
6727
|
+
*/
|
|
6728
|
+
this.InstanceChargeType = null;
|
|
6729
|
+
|
|
6730
|
+
/**
|
|
6731
|
+
* Details of the monthly subscription, including the purchase period, auto-renewal. It is required if the `InstanceChargeType` is `PREPAID`.
|
|
6732
|
+
* @type {InstanceChargePrepaid || null}
|
|
6733
|
+
*/
|
|
6734
|
+
this.InstanceChargePrepaid = null;
|
|
6735
|
+
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6738
|
+
/**
|
|
6739
|
+
* @private
|
|
6740
|
+
*/
|
|
6741
|
+
deserialize(params) {
|
|
6742
|
+
if (!params) {
|
|
6743
|
+
return;
|
|
6744
|
+
}
|
|
6745
|
+
this.LaunchTemplateName = 'LaunchTemplateName' in params ? params.LaunchTemplateName : null;
|
|
6746
|
+
|
|
6747
|
+
if (params.Placement) {
|
|
6748
|
+
let obj = new Placement();
|
|
6749
|
+
obj.deserialize(params.Placement)
|
|
6750
|
+
this.Placement = obj;
|
|
6751
|
+
}
|
|
6752
|
+
this.ImageId = 'ImageId' in params ? params.ImageId : null;
|
|
6753
|
+
this.LaunchTemplateVersionDescription = 'LaunchTemplateVersionDescription' in params ? params.LaunchTemplateVersionDescription : null;
|
|
6754
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
6755
|
+
|
|
6756
|
+
if (params.SystemDisk) {
|
|
6757
|
+
let obj = new SystemDisk();
|
|
6758
|
+
obj.deserialize(params.SystemDisk)
|
|
6759
|
+
this.SystemDisk = obj;
|
|
6760
|
+
}
|
|
6761
|
+
|
|
6762
|
+
if (params.DataDisks) {
|
|
6763
|
+
this.DataDisks = new Array();
|
|
6764
|
+
for (let z in params.DataDisks) {
|
|
6765
|
+
let obj = new DataDisk();
|
|
6766
|
+
obj.deserialize(params.DataDisks[z]);
|
|
6767
|
+
this.DataDisks.push(obj);
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
if (params.VirtualPrivateCloud) {
|
|
6772
|
+
let obj = new VirtualPrivateCloud();
|
|
6773
|
+
obj.deserialize(params.VirtualPrivateCloud)
|
|
6774
|
+
this.VirtualPrivateCloud = obj;
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
if (params.InternetAccessible) {
|
|
6778
|
+
let obj = new InternetAccessible();
|
|
6779
|
+
obj.deserialize(params.InternetAccessible)
|
|
6780
|
+
this.InternetAccessible = obj;
|
|
6781
|
+
}
|
|
6782
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
6783
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
6784
|
+
|
|
6785
|
+
if (params.LoginSettings) {
|
|
6786
|
+
let obj = new LoginSettings();
|
|
6787
|
+
obj.deserialize(params.LoginSettings)
|
|
6788
|
+
this.LoginSettings = obj;
|
|
6789
|
+
}
|
|
6790
|
+
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
6791
|
+
|
|
6792
|
+
if (params.EnhancedService) {
|
|
6793
|
+
let obj = new EnhancedService();
|
|
6794
|
+
obj.deserialize(params.EnhancedService)
|
|
6795
|
+
this.EnhancedService = obj;
|
|
6796
|
+
}
|
|
6797
|
+
this.ClientToken = 'ClientToken' in params ? params.ClientToken : null;
|
|
6798
|
+
this.HostName = 'HostName' in params ? params.HostName : null;
|
|
6799
|
+
|
|
6800
|
+
if (params.ActionTimer) {
|
|
6801
|
+
let obj = new ActionTimer();
|
|
6802
|
+
obj.deserialize(params.ActionTimer)
|
|
6803
|
+
this.ActionTimer = obj;
|
|
6804
|
+
}
|
|
6805
|
+
this.DisasterRecoverGroupIds = 'DisasterRecoverGroupIds' in params ? params.DisasterRecoverGroupIds : null;
|
|
6806
|
+
|
|
6807
|
+
if (params.TagSpecification) {
|
|
6808
|
+
this.TagSpecification = new Array();
|
|
6809
|
+
for (let z in params.TagSpecification) {
|
|
6810
|
+
let obj = new TagSpecification();
|
|
6811
|
+
obj.deserialize(params.TagSpecification[z]);
|
|
6812
|
+
this.TagSpecification.push(obj);
|
|
6813
|
+
}
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6816
|
+
if (params.InstanceMarketOptions) {
|
|
6817
|
+
let obj = new InstanceMarketOptionsRequest();
|
|
6818
|
+
obj.deserialize(params.InstanceMarketOptions)
|
|
6819
|
+
this.InstanceMarketOptions = obj;
|
|
6820
|
+
}
|
|
6821
|
+
this.UserData = 'UserData' in params ? params.UserData : null;
|
|
6822
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
6823
|
+
this.CamRoleName = 'CamRoleName' in params ? params.CamRoleName : null;
|
|
6824
|
+
this.HpcClusterId = 'HpcClusterId' in params ? params.HpcClusterId : null;
|
|
6825
|
+
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
6826
|
+
|
|
6827
|
+
if (params.InstanceChargePrepaid) {
|
|
6828
|
+
let obj = new InstanceChargePrepaid();
|
|
6829
|
+
obj.deserialize(params.InstanceChargePrepaid)
|
|
6830
|
+
this.InstanceChargePrepaid = obj;
|
|
6831
|
+
}
|
|
6832
|
+
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
|
|
6567
6836
|
/**
|
|
6568
6837
|
* DescribeReservedInstancesConfigInfos request structure.
|
|
6569
6838
|
* @class
|
|
@@ -7130,6 +7399,41 @@ class DescribeImportImageOsRequest extends AbstractModel {
|
|
|
7130
7399
|
}
|
|
7131
7400
|
}
|
|
7132
7401
|
|
|
7402
|
+
/**
|
|
7403
|
+
* CreateLaunchTemplate response structure.
|
|
7404
|
+
* @class
|
|
7405
|
+
*/
|
|
7406
|
+
class CreateLaunchTemplateResponse extends AbstractModel {
|
|
7407
|
+
constructor(){
|
|
7408
|
+
super();
|
|
7409
|
+
|
|
7410
|
+
/**
|
|
7411
|
+
* The ID of successfully created instance launch template. This parameter will be returned when the instance launch template is created through the `CreateLaunchTemplate` API.
|
|
7412
|
+
* @type {string || null}
|
|
7413
|
+
*/
|
|
7414
|
+
this.LaunchTemplateId = null;
|
|
7415
|
+
|
|
7416
|
+
/**
|
|
7417
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7418
|
+
* @type {string || null}
|
|
7419
|
+
*/
|
|
7420
|
+
this.RequestId = null;
|
|
7421
|
+
|
|
7422
|
+
}
|
|
7423
|
+
|
|
7424
|
+
/**
|
|
7425
|
+
* @private
|
|
7426
|
+
*/
|
|
7427
|
+
deserialize(params) {
|
|
7428
|
+
if (!params) {
|
|
7429
|
+
return;
|
|
7430
|
+
}
|
|
7431
|
+
this.LaunchTemplateId = 'LaunchTemplateId' in params ? params.LaunchTemplateId : null;
|
|
7432
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7433
|
+
|
|
7434
|
+
}
|
|
7435
|
+
}
|
|
7436
|
+
|
|
7133
7437
|
/**
|
|
7134
7438
|
* CreateKeyPair request structure.
|
|
7135
7439
|
* @class
|
|
@@ -11460,6 +11764,7 @@ module.exports = {
|
|
|
11460
11764
|
DescribeDisasterRecoverGroupsResponse: DescribeDisasterRecoverGroupsResponse,
|
|
11461
11765
|
ExportImagesRequest: ExportImagesRequest,
|
|
11462
11766
|
ActionTimer: ActionTimer,
|
|
11767
|
+
CreateLaunchTemplateRequest: CreateLaunchTemplateRequest,
|
|
11463
11768
|
DescribeReservedInstancesConfigInfosRequest: DescribeReservedInstancesConfigInfosRequest,
|
|
11464
11769
|
InquiryPriceResetInstanceRequest: InquiryPriceResetInstanceRequest,
|
|
11465
11770
|
DescribeLaunchTemplatesRequest: DescribeLaunchTemplatesRequest,
|
|
@@ -11471,6 +11776,7 @@ module.exports = {
|
|
|
11471
11776
|
SpotMarketOptions: SpotMarketOptions,
|
|
11472
11777
|
ConfigureChcAssistVpcRequest: ConfigureChcAssistVpcRequest,
|
|
11473
11778
|
DescribeImportImageOsRequest: DescribeImportImageOsRequest,
|
|
11779
|
+
CreateLaunchTemplateResponse: CreateLaunchTemplateResponse,
|
|
11474
11780
|
CreateKeyPairRequest: CreateKeyPairRequest,
|
|
11475
11781
|
InstanceStatus: InstanceStatus,
|
|
11476
11782
|
ReservedInstancePriceItem: ReservedInstancePriceItem,
|