@aws-sdk/client-ec2 3.1044.0 → 3.1045.0

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.
@@ -3527,6 +3527,7 @@ const _ITnstan = "InstanceTag";
3527
3527
  const _ITnstanc = "InstanceTopology";
3528
3528
  const _ITnt = "InterfaceType";
3529
3529
  const _IU = "InstanceUsages";
3530
+ const _IUIR = "IncludeUnsupportedInRegion";
3530
3531
  const _IUR = "ImageUsageReports";
3531
3532
  const _IURE = "ImageUsageReportEntries";
3532
3533
  const _IUREL = "ImageUsageReportEntryList";
@@ -5309,6 +5310,7 @@ const _SIRt = "StartInstancesRequest";
5309
5310
  const _SIRta = "StartInstancesResult";
5310
5311
  const _SIRto = "StopInstancesRequest";
5311
5312
  const _SIRtop = "StopInstancesResult";
5313
+ const _SIRu = "SupportedInRegion";
5312
5314
  const _SIS = "ScheduledInstanceSet";
5313
5315
  const _SISF = "SpotInstanceStateFault";
5314
5316
  const _SISGIS = "ScheduledInstancesSecurityGroupIdSet";
@@ -7807,6 +7809,7 @@ const _sIPI = "sourceIpamPoolId";
7807
7809
  const _sIR = "sourceImageRegion";
7808
7810
  const _sIRI = "spotInstanceRequestId";
7809
7811
  const _sIRS = "spotInstanceRequestSet";
7812
+ const _sIRu = "supportedInRegion";
7810
7813
  const _sIS = "scheduledInstanceSet";
7811
7814
  const _sISe = "secondaryInterfaceSet";
7812
7815
  const _sISu = "subnetIdSet";
@@ -13571,8 +13574,8 @@ exports.DescribeInstanceTypeOfferingsResult$ = [3, n0, _DITORe,
13571
13574
  ];
13572
13575
  exports.DescribeInstanceTypesRequest$ = [3, n0, _DITRes,
13573
13576
  0,
13574
- [_DR, _ITnst, _Fi, _MR, _NTe],
13575
- [2, [64 | 0, { [_xN]: _IT }], [() => FilterList, { [_xN]: _Fil }], 1, 0]
13577
+ [_DR, _ITnst, _Fi, _MR, _NTe, _IUIR],
13578
+ [2, [64 | 0, { [_xN]: _IT }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2]
13576
13579
  ];
13577
13580
  exports.DescribeInstanceTypesResult$ = [3, n0, _DITResc,
13578
13581
  0,
@@ -18715,7 +18718,7 @@ exports.InstanceTopology$ = [3, n0, _ITnstanc,
18715
18718
  ];
18716
18719
  exports.InstanceTypeInfo$ = [3, n0, _ITIn,
18717
18720
  0,
18718
- [_IT, _CGur, _FTE, _SUC, _SRDT, _SVT, _BMa, _Hy, _PIro, _VCIpu, _MIe, _ISSn, _ISIns, _EIb, _NIetw, _GIp, _FIpga, _PGI, _IAIn, _HS, _BPS, _DHS, _ARS, _SBM, _NES, _NTS, _NTI, _MAIe, _NIeu, _PSh, _RMS],
18721
+ [_IT, _CGur, _FTE, _SUC, _SRDT, _SVT, _BMa, _Hy, _PIro, _VCIpu, _MIe, _ISSn, _ISIns, _EIb, _NIetw, _GIp, _FIpga, _PGI, _IAIn, _HS, _BPS, _DHS, _ARS, _SBM, _NES, _NTS, _NTI, _MAIe, _NIeu, _PSh, _RMS, _SIRu],
18719
18722
  [[0, { [_eQN]: `InstanceType`,
18720
18723
  [_xN]: _iT }], [2, { [_eQN]: `CurrentGeneration`,
18721
18724
  [_xN]: _cGur }], [2, { [_eQN]: `FreeTierEligible`,
@@ -18747,7 +18750,8 @@ exports.InstanceTypeInfo$ = [3, n0, _ITIn,
18747
18750
  [_xN]: _mAIe }], [() => exports.NeuronInfo$, { [_eQN]: `NeuronInfo`,
18748
18751
  [_xN]: _nIeu }], [0, { [_eQN]: `PhcSupport`,
18749
18752
  [_xN]: _pSh }], [0, { [_eQN]: `RebootMigrationSupport`,
18750
- [_xN]: _rMS }]]
18753
+ [_xN]: _rMS }], [2, { [_eQN]: `SupportedInRegion`,
18754
+ [_xN]: _sIRu }]]
18751
18755
  ];
18752
18756
  exports.InstanceTypeInfoFromInstanceRequirements$ = [3, n0, _ITIFIR,
18753
18757
  0,
@@ -3462,6 +3462,7 @@ const _ITnstan = "InstanceTag";
3462
3462
  const _ITnstanc = "InstanceTopology";
3463
3463
  const _ITnt = "InterfaceType";
3464
3464
  const _IU = "InstanceUsages";
3465
+ const _IUIR = "IncludeUnsupportedInRegion";
3465
3466
  const _IUR = "ImageUsageReports";
3466
3467
  const _IURE = "ImageUsageReportEntries";
3467
3468
  const _IUREL = "ImageUsageReportEntryList";
@@ -5244,6 +5245,7 @@ const _SIRt = "StartInstancesRequest";
5244
5245
  const _SIRta = "StartInstancesResult";
5245
5246
  const _SIRto = "StopInstancesRequest";
5246
5247
  const _SIRtop = "StopInstancesResult";
5248
+ const _SIRu = "SupportedInRegion";
5247
5249
  const _SIS = "ScheduledInstanceSet";
5248
5250
  const _SISF = "SpotInstanceStateFault";
5249
5251
  const _SISGIS = "ScheduledInstancesSecurityGroupIdSet";
@@ -7742,6 +7744,7 @@ const _sIPI = "sourceIpamPoolId";
7742
7744
  const _sIR = "sourceImageRegion";
7743
7745
  const _sIRI = "spotInstanceRequestId";
7744
7746
  const _sIRS = "spotInstanceRequestSet";
7747
+ const _sIRu = "supportedInRegion";
7745
7748
  const _sIS = "scheduledInstanceSet";
7746
7749
  const _sISe = "secondaryInterfaceSet";
7747
7750
  const _sISu = "subnetIdSet";
@@ -13506,8 +13509,8 @@ export var DescribeInstanceTypeOfferingsResult$ = [3, n0, _DITORe,
13506
13509
  ];
13507
13510
  export var DescribeInstanceTypesRequest$ = [3, n0, _DITRes,
13508
13511
  0,
13509
- [_DR, _ITnst, _Fi, _MR, _NTe],
13510
- [2, [64 | 0, { [_xN]: _IT }], [() => FilterList, { [_xN]: _Fil }], 1, 0]
13512
+ [_DR, _ITnst, _Fi, _MR, _NTe, _IUIR],
13513
+ [2, [64 | 0, { [_xN]: _IT }], [() => FilterList, { [_xN]: _Fil }], 1, 0, 2]
13511
13514
  ];
13512
13515
  export var DescribeInstanceTypesResult$ = [3, n0, _DITResc,
13513
13516
  0,
@@ -18650,7 +18653,7 @@ export var InstanceTopology$ = [3, n0, _ITnstanc,
18650
18653
  ];
18651
18654
  export var InstanceTypeInfo$ = [3, n0, _ITIn,
18652
18655
  0,
18653
- [_IT, _CGur, _FTE, _SUC, _SRDT, _SVT, _BMa, _Hy, _PIro, _VCIpu, _MIe, _ISSn, _ISIns, _EIb, _NIetw, _GIp, _FIpga, _PGI, _IAIn, _HS, _BPS, _DHS, _ARS, _SBM, _NES, _NTS, _NTI, _MAIe, _NIeu, _PSh, _RMS],
18656
+ [_IT, _CGur, _FTE, _SUC, _SRDT, _SVT, _BMa, _Hy, _PIro, _VCIpu, _MIe, _ISSn, _ISIns, _EIb, _NIetw, _GIp, _FIpga, _PGI, _IAIn, _HS, _BPS, _DHS, _ARS, _SBM, _NES, _NTS, _NTI, _MAIe, _NIeu, _PSh, _RMS, _SIRu],
18654
18657
  [[0, { [_eQN]: `InstanceType`,
18655
18658
  [_xN]: _iT }], [2, { [_eQN]: `CurrentGeneration`,
18656
18659
  [_xN]: _cGur }], [2, { [_eQN]: `FreeTierEligible`,
@@ -18682,7 +18685,8 @@ export var InstanceTypeInfo$ = [3, n0, _ITIn,
18682
18685
  [_xN]: _mAIe }], [() => NeuronInfo$, { [_eQN]: `NeuronInfo`,
18683
18686
  [_xN]: _nIeu }], [0, { [_eQN]: `PhcSupport`,
18684
18687
  [_xN]: _pSh }], [0, { [_eQN]: `RebootMigrationSupport`,
18685
- [_xN]: _rMS }]]
18688
+ [_xN]: _rMS }], [2, { [_eQN]: `SupportedInRegion`,
18689
+ [_xN]: _sIRu }]]
18686
18690
  ];
18687
18691
  export var InstanceTypeInfoFromInstanceRequirements$ = [3, n0, _ITIFIR,
18688
18692
  0,
@@ -28,7 +28,9 @@ declare const DescribeInstanceTypesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Describes the specified instance types. By default, all instance types for the current
31
- * Region are described. Alternatively, you can filter the results.</p>
31
+ * Region are described. Alternatively, you can filter the results. To include instance types
32
+ * that are not supported in the current Region, set <code>IncludeUnsupportedInRegion</code>
33
+ * to <code>true</code>.</p>
32
34
  * @example
33
35
  * Use a bare-bones client and the command you need to make an API call.
34
36
  * ```javascript
@@ -52,6 +54,7 @@ declare const DescribeInstanceTypesCommand_base: {
52
54
  * ],
53
55
  * MaxResults: Number("int"),
54
56
  * NextToken: "STRING_VALUE",
57
+ * IncludeUnsupportedInRegion: true || false,
55
58
  * };
56
59
  * const command = new DescribeInstanceTypesCommand(input);
57
60
  * const response = await client.send(command);
@@ -271,6 +274,7 @@ declare const DescribeInstanceTypesCommand_base: {
271
274
  * // },
272
275
  * // PhcSupport: "unsupported" || "supported",
273
276
  * // RebootMigrationSupport: "unsupported" || "supported",
277
+ * // SupportedInRegion: true || false,
274
278
  * // },
275
279
  * // ],
276
280
  * // NextToken: "STRING_VALUE",
@@ -3531,6 +3531,12 @@ export interface DescribeInstanceTypesRequest {
3531
3531
  * @public
3532
3532
  */
3533
3533
  NextToken?: string | undefined;
3534
+ /**
3535
+ * <p>If <code>true</code>, the response includes instance types that are not supported
3536
+ * in the current Region, in addition to the supported types. Default: <code>false</code>.</p>
3537
+ * @public
3538
+ */
3539
+ IncludeUnsupportedInRegion?: boolean | undefined;
3534
3540
  }
3535
3541
  /**
3536
3542
  * <p>Describes the performance characteristics of an EBS card on the instance type.</p>
@@ -4472,6 +4478,11 @@ export interface InstanceTypeInfo {
4472
4478
  * @public
4473
4479
  */
4474
4480
  RebootMigrationSupport?: RebootMigrationSupport | undefined;
4481
+ /**
4482
+ * <p>Indicates whether the instance type is supported in the current Region.</p>
4483
+ * @public
4484
+ */
4485
+ SupportedInRegion?: boolean | undefined;
4475
4486
  }
4476
4487
  /**
4477
4488
  * @public
@@ -596,6 +596,7 @@ export interface DescribeInstanceTypesRequest {
596
596
  Filters?: Filter[] | undefined;
597
597
  MaxResults?: number | undefined;
598
598
  NextToken?: string | undefined;
599
+ IncludeUnsupportedInRegion?: boolean | undefined;
599
600
  }
600
601
  export interface EbsCardInfo {
601
602
  EbsCardIndex?: number | undefined;
@@ -803,6 +804,7 @@ export interface InstanceTypeInfo {
803
804
  NeuronInfo?: NeuronInfo | undefined;
804
805
  PhcSupport?: PhcSupport | undefined;
805
806
  RebootMigrationSupport?: RebootMigrationSupport | undefined;
807
+ SupportedInRegion?: boolean | undefined;
806
808
  }
807
809
  export interface DescribeInstanceTypesResult {
808
810
  InstanceTypes?: InstanceTypeInfo[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.1044.0",
4
+ "version": "3.1045.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",