@aws-sdk/client-ec2 3.1104.0 → 3.1105.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.
package/dist-cjs/index.js CHANGED
@@ -70,7 +70,7 @@ const commonParams = {
70
70
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
71
71
  };
72
72
 
73
- var version = "3.1103.0";
73
+ var version = "3.1104.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -3439,6 +3439,7 @@ const _IKP = "ImportKeyPair";
3439
3439
  const _IKPR = "ImportKeyPairRequest";
3440
3440
  const _IKPRm = "ImportKeyPairResult";
3441
3441
  const _IL = "ImageLocation";
3442
+ const _ILZ = "IncludeLocalZones";
3442
3443
  const _ILm = "ImageList";
3443
3444
  const _ILn = "InstanceLifecycle";
3444
3445
  const _ILns = "InstanceList";
@@ -11454,8 +11455,8 @@ var CreateRouteTableResult$ = [3, n0, _CRTRre,
11454
11455
  ];
11455
11456
  var CreateSecondaryNetworkRequest$ = [3, n0, _CSNR,
11456
11457
  0,
11457
- [_NT, _CT, _DR, _ICBp, _TS],
11458
- [0, [0, 4], 2, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 1
11458
+ [_ICBp, _NT, _CT, _DR, _TS],
11459
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2
11459
11460
  ];
11460
11461
  var CreateSecondaryNetworkResult$ = [3, n0, _CSNRr,
11461
11462
  0,
@@ -18038,8 +18039,8 @@ var GetSnapshotBlockPublicAccessStateResult$ = [3, n0, _GSBPASRe,
18038
18039
  ];
18039
18040
  var GetSpotPlacementScoresRequest$ = [3, n0, _GSPSR,
18040
18041
  0,
18041
- [_TCar, _ITnst, _TCUT, _SAZ, _RNe, _IRWM, _DR, _MR, _NTe],
18042
- [1, [64 | 0, { [_xN]: _IT }], 0, 2, [64 | 0, { [_xN]: _RN }], [() => InstanceRequirementsWithMetadataRequest$, 0], 2, 1, 0], 1
18042
+ [_TCar, _ITnst, _TCUT, _SAZ, _RNe, _IRWM, _DR, _MR, _NTe, _ILZ],
18043
+ [1, [64 | 0, { [_xN]: _IT }], 0, 2, [64 | 0, { [_xN]: _RN }], [() => InstanceRequirementsWithMetadataRequest$, 0], 2, 1, 0, 2], 1
18043
18044
  ];
18044
18045
  var GetSpotPlacementScoresResult$ = [3, n0, _GSPSRe,
18045
18046
  0,
@@ -3295,6 +3295,7 @@ const _IKP = "ImportKeyPair";
3295
3295
  const _IKPR = "ImportKeyPairRequest";
3296
3296
  const _IKPRm = "ImportKeyPairResult";
3297
3297
  const _IL = "ImageLocation";
3298
+ const _ILZ = "IncludeLocalZones";
3298
3299
  const _ILm = "ImageList";
3299
3300
  const _ILn = "InstanceLifecycle";
3300
3301
  const _ILns = "InstanceList";
@@ -11312,8 +11313,8 @@ export var CreateRouteTableResult$ = [3, n0, _CRTRre,
11312
11313
  ];
11313
11314
  export var CreateSecondaryNetworkRequest$ = [3, n0, _CSNR,
11314
11315
  0,
11315
- [_NT, _CT, _DR, _ICBp, _TS],
11316
- [0, [0, 4], 2, 0, [() => TagSpecificationList, { [_xN]: _TSa }]], 1
11316
+ [_ICBp, _NT, _CT, _DR, _TS],
11317
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }]], 2
11317
11318
  ];
11318
11319
  export var CreateSecondaryNetworkResult$ = [3, n0, _CSNRr,
11319
11320
  0,
@@ -17896,8 +17897,8 @@ export var GetSnapshotBlockPublicAccessStateResult$ = [3, n0, _GSBPASRe,
17896
17897
  ];
17897
17898
  export var GetSpotPlacementScoresRequest$ = [3, n0, _GSPSR,
17898
17899
  0,
17899
- [_TCar, _ITnst, _TCUT, _SAZ, _RNe, _IRWM, _DR, _MR, _NTe],
17900
- [1, [64 | 0, { [_xN]: _IT }], 0, 2, [64 | 0, { [_xN]: _RN }], [() => InstanceRequirementsWithMetadataRequest$, 0], 2, 1, 0], 1
17900
+ [_TCar, _ITnst, _TCUT, _SAZ, _RNe, _IRWM, _DR, _MR, _NTe, _ILZ],
17901
+ [1, [64 | 0, { [_xN]: _IT }], 0, 2, [64 | 0, { [_xN]: _RN }], [() => InstanceRequirementsWithMetadataRequest$, 0], 2, 1, 0, 2], 1
17901
17902
  ];
17902
17903
  export var GetSpotPlacementScoresResult$ = [3, n0, _GSPSRe,
17903
17904
  0,
@@ -37,7 +37,7 @@ declare const CreateSecondaryNetworkCommand_base: {
37
37
  * const input = { // CreateSecondaryNetworkRequest
38
38
  * ClientToken: "STRING_VALUE",
39
39
  * DryRun: true || false,
40
- * Ipv4CidrBlock: "STRING_VALUE",
40
+ * Ipv4CidrBlock: "STRING_VALUE", // required
41
41
  * NetworkType: "rdma", // required
42
42
  * TagSpecifications: [ // TagSpecificationList
43
43
  * { // TagSpecification
@@ -140,6 +140,7 @@ declare const GetSpotPlacementScoresCommand_base: {
140
140
  * DryRun: true || false,
141
141
  * MaxResults: Number("int"),
142
142
  * NextToken: "STRING_VALUE",
143
+ * IncludeLocalZones: true || false,
143
144
  * };
144
145
  * const command = new GetSpotPlacementScoresCommand(input);
145
146
  * const response = await client.send(command);
@@ -1010,7 +1010,7 @@ export interface CreateSecondaryNetworkRequest {
1010
1010
  * <p>The IPv4 CIDR block for the secondary network. The CIDR block size must be between /12 and /28.</p>
1011
1011
  * @public
1012
1012
  */
1013
- Ipv4CidrBlock?: string | undefined;
1013
+ Ipv4CidrBlock: string | undefined;
1014
1014
  /**
1015
1015
  * <p>The type of secondary network.</p>
1016
1016
  * @public
@@ -5422,6 +5422,12 @@ export interface GetSpotPlacementScoresRequest {
5422
5422
  * @public
5423
5423
  */
5424
5424
  NextToken?: string | undefined;
5425
+ /**
5426
+ * <p>Specify <code>true</code> so that the response returns scores that include Local Zones. Otherwise, the response ignores Local Zones.</p>
5427
+ * <p>When you request regional scores, Local Zone capacity counts toward its parent Region.</p>
5428
+ * @public
5429
+ */
5430
+ IncludeLocalZones?: boolean | undefined;
5425
5431
  }
5426
5432
  /**
5427
5433
  * <p>The Spot placement score for this Region or Availability Zone. The score is calculated
@@ -339,7 +339,7 @@ export interface CreateRouteTableResult {
339
339
  export interface CreateSecondaryNetworkRequest {
340
340
  ClientToken?: string | undefined;
341
341
  DryRun?: boolean | undefined;
342
- Ipv4CidrBlock?: string | undefined;
342
+ Ipv4CidrBlock: string | undefined;
343
343
  NetworkType: SecondaryNetworkType | undefined;
344
344
  TagSpecifications?: TagSpecification[] | undefined;
345
345
  }
@@ -1211,6 +1211,7 @@ export interface GetSpotPlacementScoresRequest {
1211
1211
  DryRun?: boolean | undefined;
1212
1212
  MaxResults?: number | undefined;
1213
1213
  NextToken?: string | undefined;
1214
+ IncludeLocalZones?: boolean | undefined;
1214
1215
  }
1215
1216
  export interface SpotPlacementScore {
1216
1217
  Region?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
- "version": "3.1104.0",
3
+ "version": "3.1105.0",
4
4
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
6
6
  "license": "Apache-2.0",