@aws-sdk/client-ec2 3.997.0 → 3.998.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.
@@ -9396,7 +9396,7 @@ exports.CapacityBlock$ = [3, n0, _CBa,
9396
9396
  ];
9397
9397
  exports.CapacityBlockExtension$ = [3, n0, _CBE,
9398
9398
  0,
9399
- [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC],
9399
+ [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC, _ZT],
9400
9400
  [[0, { [_eQN]: `CapacityReservationId`,
9401
9401
  [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`,
9402
9402
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9410,11 +9410,12 @@ exports.CapacityBlockExtension$ = [3, n0, _CBE,
9410
9410
  [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`,
9411
9411
  [_xN]: _cBEED }], [0, { [_eQN]: `UpfrontFee`,
9412
9412
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9413
- [_xN]: _cC }]]
9413
+ [_xN]: _cC }], [0, { [_eQN]: `ZoneType`,
9414
+ [_xN]: _zT }]]
9414
9415
  ];
9415
9416
  exports.CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9416
9417
  0,
9417
- [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te],
9418
+ [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te, _ZT],
9418
9419
  [[0, { [_eQN]: `CapacityBlockExtensionOfferingId`,
9419
9420
  [_xN]: _cBEOI }], [0, { [_eQN]: `InstanceType`,
9420
9421
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9427,11 +9428,12 @@ exports.CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9427
9428
  [_xN]: _cBEDH }], [0, { [_eQN]: `UpfrontFee`,
9428
9429
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9429
9430
  [_xN]: _cC }], [0, { [_eQN]: `Tenancy`,
9430
- [_xN]: _t }]]
9431
+ [_xN]: _t }], [0, { [_eQN]: `ZoneType`,
9432
+ [_xN]: _zT }]]
9431
9433
  ];
9432
9434
  exports.CapacityBlockOffering$ = [3, n0, _CBO,
9433
9435
  0,
9434
- [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM],
9436
+ [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM, _ZT],
9435
9437
  [[0, { [_eQN]: `CapacityBlockOfferingId`,
9436
9438
  [_xN]: _cBOI }], [0, { [_eQN]: `InstanceType`,
9437
9439
  [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`,
@@ -9445,7 +9447,8 @@ exports.CapacityBlockOffering$ = [3, n0, _CBO,
9445
9447
  [_xN]: _t }], [0, { [_eQN]: `UltraserverType`,
9446
9448
  [_xN]: _uTl }], [1, { [_eQN]: `UltraserverCount`,
9447
9449
  [_xN]: _uC }], [1, { [_eQN]: `CapacityBlockDurationMinutes`,
9448
- [_xN]: _cBDM }]]
9450
+ [_xN]: _cBDM }], [0, { [_eQN]: `ZoneType`,
9451
+ [_xN]: _zT }]]
9449
9452
  ];
9450
9453
  exports.CapacityBlockStatus$ = [3, n0, _CBS,
9451
9454
  0,
@@ -12692,8 +12695,8 @@ exports.DescribeCapacityBlockExtensionOfferingsResult$ = [3, n0, _DCBEORe,
12692
12695
  ];
12693
12696
  exports.DescribeCapacityBlockOfferingsRequest$ = [3, n0, _DCBOR,
12694
12697
  0,
12695
- [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC],
12696
- [1, 2, 0, 1, 4, 4, 0, 1, 0, 1], 1
12698
+ [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC, _AAZ],
12699
+ [1, 2, 0, 1, 4, 4, 0, 1, 0, 1, 2], 1
12697
12700
  ];
12698
12701
  exports.DescribeCapacityBlockOfferingsResult$ = [3, n0, _DCBORe,
12699
12702
  0,
@@ -9331,7 +9331,7 @@ export var CapacityBlock$ = [3, n0, _CBa,
9331
9331
  ];
9332
9332
  export var CapacityBlockExtension$ = [3, n0, _CBE,
9333
9333
  0,
9334
- [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC],
9334
+ [_CRI, _IT, _IC, _AZ, _AZI, _CBEOI, _CBEDH, _CBES, _CBEPD, _CBESD, _CBEED, _UF, _CC, _ZT],
9335
9335
  [[0, { [_eQN]: `CapacityReservationId`,
9336
9336
  [_xN]: _cRI }], [0, { [_eQN]: `InstanceType`,
9337
9337
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9345,11 +9345,12 @@ export var CapacityBlockExtension$ = [3, n0, _CBE,
9345
9345
  [_xN]: _cBESD }], [4, { [_eQN]: `CapacityBlockExtensionEndDate`,
9346
9346
  [_xN]: _cBEED }], [0, { [_eQN]: `UpfrontFee`,
9347
9347
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9348
- [_xN]: _cC }]]
9348
+ [_xN]: _cC }], [0, { [_eQN]: `ZoneType`,
9349
+ [_xN]: _zT }]]
9349
9350
  ];
9350
9351
  export var CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9351
9352
  0,
9352
- [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te],
9353
+ [_CBEOI, _IT, _IC, _AZ, _AZI, _SD, _CBESD, _CBEED, _CBEDH, _UF, _CC, _Te, _ZT],
9353
9354
  [[0, { [_eQN]: `CapacityBlockExtensionOfferingId`,
9354
9355
  [_xN]: _cBEOI }], [0, { [_eQN]: `InstanceType`,
9355
9356
  [_xN]: _iT }], [1, { [_eQN]: `InstanceCount`,
@@ -9362,11 +9363,12 @@ export var CapacityBlockExtensionOffering$ = [3, n0, _CBEO,
9362
9363
  [_xN]: _cBEDH }], [0, { [_eQN]: `UpfrontFee`,
9363
9364
  [_xN]: _uF }], [0, { [_eQN]: `CurrencyCode`,
9364
9365
  [_xN]: _cC }], [0, { [_eQN]: `Tenancy`,
9365
- [_xN]: _t }]]
9366
+ [_xN]: _t }], [0, { [_eQN]: `ZoneType`,
9367
+ [_xN]: _zT }]]
9366
9368
  ];
9367
9369
  export var CapacityBlockOffering$ = [3, n0, _CBO,
9368
9370
  0,
9369
- [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM],
9371
+ [_CBOI, _IT, _AZ, _IC, _SD, _ED, _CBDH, _UF, _CC, _Te, _UTl, _UC, _CBDM, _ZT],
9370
9372
  [[0, { [_eQN]: `CapacityBlockOfferingId`,
9371
9373
  [_xN]: _cBOI }], [0, { [_eQN]: `InstanceType`,
9372
9374
  [_xN]: _iT }], [0, { [_eQN]: `AvailabilityZone`,
@@ -9380,7 +9382,8 @@ export var CapacityBlockOffering$ = [3, n0, _CBO,
9380
9382
  [_xN]: _t }], [0, { [_eQN]: `UltraserverType`,
9381
9383
  [_xN]: _uTl }], [1, { [_eQN]: `UltraserverCount`,
9382
9384
  [_xN]: _uC }], [1, { [_eQN]: `CapacityBlockDurationMinutes`,
9383
- [_xN]: _cBDM }]]
9385
+ [_xN]: _cBDM }], [0, { [_eQN]: `ZoneType`,
9386
+ [_xN]: _zT }]]
9384
9387
  ];
9385
9388
  export var CapacityBlockStatus$ = [3, n0, _CBS,
9386
9389
  0,
@@ -12627,8 +12630,8 @@ export var DescribeCapacityBlockExtensionOfferingsResult$ = [3, n0, _DCBEORe,
12627
12630
  ];
12628
12631
  export var DescribeCapacityBlockOfferingsRequest$ = [3, n0, _DCBOR,
12629
12632
  0,
12630
- [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC],
12631
- [1, 2, 0, 1, 4, 4, 0, 1, 0, 1], 1
12633
+ [_CDH, _DR, _IT, _IC, _SDR, _EDR, _NTe, _MR, _UTl, _UC, _AAZ],
12634
+ [1, 2, 0, 1, 4, 4, 0, 1, 0, 1, 2], 1
12632
12635
  ];
12633
12636
  export var DescribeCapacityBlockOfferingsResult$ = [3, n0, _DCBORe,
12634
12637
  0,
@@ -71,6 +71,7 @@ declare const DescribeCapacityBlockExtensionHistoryCommand_base: {
71
71
  * // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
72
72
  * // UpfrontFee: "STRING_VALUE",
73
73
  * // CurrencyCode: "STRING_VALUE",
74
+ * // ZoneType: "STRING_VALUE",
74
75
  * // },
75
76
  * // ],
76
77
  * // NextToken: "STRING_VALUE",
@@ -61,6 +61,7 @@ declare const DescribeCapacityBlockExtensionOfferingsCommand_base: {
61
61
  * // UpfrontFee: "STRING_VALUE",
62
62
  * // CurrencyCode: "STRING_VALUE",
63
63
  * // Tenancy: "default" || "dedicated",
64
+ * // ZoneType: "STRING_VALUE",
64
65
  * // },
65
66
  * // ],
66
67
  * // NextToken: "STRING_VALUE",
@@ -50,6 +50,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
50
50
  * MaxResults: Number("int"),
51
51
  * UltraserverType: "STRING_VALUE",
52
52
  * UltraserverCount: Number("int"),
53
+ * AllAvailabilityZones: true || false,
53
54
  * };
54
55
  * const command = new DescribeCapacityBlockOfferingsCommand(input);
55
56
  * const response = await client.send(command);
@@ -69,6 +70,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
69
70
  * // UltraserverType: "STRING_VALUE",
70
71
  * // UltraserverCount: Number("int"),
71
72
  * // CapacityBlockDurationMinutes: Number("int"),
73
+ * // ZoneType: "STRING_VALUE",
72
74
  * // },
73
75
  * // ],
74
76
  * // NextToken: "STRING_VALUE",
@@ -60,6 +60,7 @@ declare const PurchaseCapacityBlockExtensionCommand_base: {
60
60
  * // CapacityBlockExtensionEndDate: new Date("TIMESTAMP"),
61
61
  * // UpfrontFee: "STRING_VALUE",
62
62
  * // CurrencyCode: "STRING_VALUE",
63
+ * // ZoneType: "STRING_VALUE",
63
64
  * // },
64
65
  * // ],
65
66
  * // };
@@ -2120,6 +2120,11 @@ export interface CapacityBlockExtension {
2120
2120
  * @public
2121
2121
  */
2122
2122
  CurrencyCode?: string | undefined;
2123
+ /**
2124
+ * <p>The type of zone where the Capacity Block extension is located.</p>
2125
+ * @public
2126
+ */
2127
+ ZoneType?: string | undefined;
2123
2128
  }
2124
2129
  /**
2125
2130
  * @public
@@ -2250,6 +2255,11 @@ export interface CapacityBlockExtensionOffering {
2250
2255
  * @public
2251
2256
  */
2252
2257
  Tenancy?: CapacityReservationTenancy | undefined;
2258
+ /**
2259
+ * <p>The type of zone where the Capacity Block extension offering is available.</p>
2260
+ * @public
2261
+ */
2262
+ ZoneType?: string | undefined;
2253
2263
  }
2254
2264
  /**
2255
2265
  * @public
@@ -2323,6 +2333,15 @@ export interface DescribeCapacityBlockOfferingsRequest {
2323
2333
  * @public
2324
2334
  */
2325
2335
  UltraserverCount?: number | undefined;
2336
+ /**
2337
+ * <p>
2338
+ * Include all Availability Zones and Local Zones, regardless of your opt-in status.
2339
+ * If you do not use this parameter, the results include available offerings from all
2340
+ * Availability Zones in the Amazon Web Services Region and Local Zones you are opted into.
2341
+ * </p>
2342
+ * @public
2343
+ */
2344
+ AllAvailabilityZones?: boolean | undefined;
2326
2345
  }
2327
2346
  /**
2328
2347
  * <p>The recommended Capacity Block that fits your search requirements.</p>
@@ -2398,6 +2417,11 @@ export interface CapacityBlockOffering {
2398
2417
  * @public
2399
2418
  */
2400
2419
  CapacityBlockDurationMinutes?: number | undefined;
2420
+ /**
2421
+ * <p>The type of zone where the Capacity Block offering is available.</p>
2422
+ * @public
2423
+ */
2424
+ ZoneType?: string | undefined;
2401
2425
  }
2402
2426
  /**
2403
2427
  * @public
@@ -597,6 +597,7 @@ export interface CapacityBlockExtension {
597
597
  CapacityBlockExtensionEndDate?: Date | undefined;
598
598
  UpfrontFee?: string | undefined;
599
599
  CurrencyCode?: string | undefined;
600
+ ZoneType?: string | undefined;
600
601
  }
601
602
  export interface DescribeCapacityBlockExtensionHistoryResult {
602
603
  CapacityBlockExtensions?: CapacityBlockExtension[] | undefined;
@@ -622,6 +623,7 @@ export interface CapacityBlockExtensionOffering {
622
623
  UpfrontFee?: string | undefined;
623
624
  CurrencyCode?: string | undefined;
624
625
  Tenancy?: CapacityReservationTenancy | undefined;
626
+ ZoneType?: string | undefined;
625
627
  }
626
628
  export interface DescribeCapacityBlockExtensionOfferingsResult {
627
629
  CapacityBlockExtensionOfferings?:
@@ -640,6 +642,7 @@ export interface DescribeCapacityBlockOfferingsRequest {
640
642
  MaxResults?: number | undefined;
641
643
  UltraserverType?: string | undefined;
642
644
  UltraserverCount?: number | undefined;
645
+ AllAvailabilityZones?: boolean | undefined;
643
646
  }
644
647
  export interface CapacityBlockOffering {
645
648
  CapacityBlockOfferingId?: string | undefined;
@@ -655,6 +658,7 @@ export interface CapacityBlockOffering {
655
658
  UltraserverType?: string | undefined;
656
659
  UltraserverCount?: number | undefined;
657
660
  CapacityBlockDurationMinutes?: number | undefined;
661
+ ZoneType?: string | undefined;
658
662
  }
659
663
  export interface DescribeCapacityBlockOfferingsResult {
660
664
  CapacityBlockOfferings?: CapacityBlockOffering[] | 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.997.0",
4
+ "version": "3.998.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",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.13",
25
- "@aws-sdk/credential-provider-node": "^3.972.12",
26
- "@aws-sdk/middleware-host-header": "^3.972.4",
27
- "@aws-sdk/middleware-logger": "^3.972.4",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.4",
29
- "@aws-sdk/middleware-sdk-ec2": "^3.972.9",
30
- "@aws-sdk/middleware-user-agent": "^3.972.13",
31
- "@aws-sdk/region-config-resolver": "^3.972.4",
32
- "@aws-sdk/types": "^3.973.2",
33
- "@aws-sdk/util-endpoints": "^3.996.1",
34
- "@aws-sdk/util-user-agent-browser": "^3.972.4",
35
- "@aws-sdk/util-user-agent-node": "^3.972.12",
36
- "@smithy/config-resolver": "^4.4.7",
37
- "@smithy/core": "^3.23.4",
38
- "@smithy/fetch-http-handler": "^5.3.10",
39
- "@smithy/hash-node": "^4.2.9",
40
- "@smithy/invalid-dependency": "^4.2.9",
41
- "@smithy/middleware-content-length": "^4.2.9",
42
- "@smithy/middleware-endpoint": "^4.4.18",
43
- "@smithy/middleware-retry": "^4.4.35",
44
- "@smithy/middleware-serde": "^4.2.10",
45
- "@smithy/middleware-stack": "^4.2.9",
46
- "@smithy/node-config-provider": "^4.3.9",
47
- "@smithy/node-http-handler": "^4.4.11",
48
- "@smithy/protocol-http": "^5.3.9",
49
- "@smithy/smithy-client": "^4.11.7",
50
- "@smithy/types": "^4.12.1",
51
- "@smithy/url-parser": "^4.2.9",
24
+ "@aws-sdk/core": "^3.973.14",
25
+ "@aws-sdk/credential-provider-node": "^3.972.13",
26
+ "@aws-sdk/middleware-host-header": "^3.972.5",
27
+ "@aws-sdk/middleware-logger": "^3.972.5",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.5",
29
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.10",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.14",
31
+ "@aws-sdk/region-config-resolver": "^3.972.5",
32
+ "@aws-sdk/types": "^3.973.3",
33
+ "@aws-sdk/util-endpoints": "^3.996.2",
34
+ "@aws-sdk/util-user-agent-browser": "^3.972.5",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.13",
36
+ "@smithy/config-resolver": "^4.4.9",
37
+ "@smithy/core": "^3.23.6",
38
+ "@smithy/fetch-http-handler": "^5.3.11",
39
+ "@smithy/hash-node": "^4.2.10",
40
+ "@smithy/invalid-dependency": "^4.2.10",
41
+ "@smithy/middleware-content-length": "^4.2.10",
42
+ "@smithy/middleware-endpoint": "^4.4.20",
43
+ "@smithy/middleware-retry": "^4.4.37",
44
+ "@smithy/middleware-serde": "^4.2.11",
45
+ "@smithy/middleware-stack": "^4.2.10",
46
+ "@smithy/node-config-provider": "^4.3.10",
47
+ "@smithy/node-http-handler": "^4.4.12",
48
+ "@smithy/protocol-http": "^5.3.10",
49
+ "@smithy/smithy-client": "^4.12.0",
50
+ "@smithy/types": "^4.13.0",
51
+ "@smithy/url-parser": "^4.2.10",
52
52
  "@smithy/util-base64": "^4.3.1",
53
53
  "@smithy/util-body-length-browser": "^4.2.1",
54
54
  "@smithy/util-body-length-node": "^4.2.2",
55
- "@smithy/util-defaults-mode-browser": "^4.3.34",
56
- "@smithy/util-defaults-mode-node": "^4.2.37",
57
- "@smithy/util-endpoints": "^3.2.9",
58
- "@smithy/util-middleware": "^4.2.9",
59
- "@smithy/util-retry": "^4.2.9",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.36",
56
+ "@smithy/util-defaults-mode-node": "^4.2.39",
57
+ "@smithy/util-endpoints": "^3.3.1",
58
+ "@smithy/util-middleware": "^4.2.10",
59
+ "@smithy/util-retry": "^4.2.10",
60
60
  "@smithy/util-utf8": "^4.2.1",
61
- "@smithy/util-waiter": "^4.2.9",
61
+ "@smithy/util-waiter": "^4.2.10",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {