@aws-sdk/client-ec2 3.987.0 → 3.989.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.
Files changed (46) hide show
  1. package/dist-cjs/index.js +787 -34316
  2. package/dist-cjs/models/EC2ServiceException.js +12 -0
  3. package/dist-cjs/runtimeConfig.shared.js +2 -0
  4. package/dist-cjs/schemas/schemas_0.js +30544 -0
  5. package/dist-es/models/enums.js +18 -0
  6. package/dist-es/runtimeConfig.shared.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +32 -23
  8. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  9. package/dist-types/commands/CreateFleetCommand.d.ts +4 -4
  10. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -2
  12. package/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -4
  14. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeInstanceTypeOfferingsCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  23. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +2 -2
  25. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +2 -1
  26. package/dist-types/commands/ImportInstanceCommand.d.ts +1 -1
  27. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  28. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +4 -2
  29. package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
  30. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
  31. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  32. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -2
  33. package/dist-types/commands/RunInstancesCommand.d.ts +4 -2
  34. package/dist-types/models/enums.d.ts +26 -0
  35. package/dist-types/models/models_1.d.ts +13 -1
  36. package/dist-types/models/models_4.d.ts +6 -1
  37. package/dist-types/models/models_6.d.ts +14 -3
  38. package/dist-types/models/models_7.d.ts +8 -1
  39. package/dist-types/schemas/schemas_0.d.ts +8 -1
  40. package/dist-types/ts3.4/models/enums.d.ts +20 -0
  41. package/dist-types/ts3.4/models/models_1.d.ts +3 -0
  42. package/dist-types/ts3.4/models/models_4.d.ts +2 -0
  43. package/dist-types/ts3.4/models/models_6.d.ts +5 -2
  44. package/dist-types/ts3.4/models/models_7.d.ts +2 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -1
  46. package/package.json +14 -14
@@ -48,6 +48,7 @@ import {
48
48
  LockState,
49
49
  MonitoringState,
50
50
  MoveStatus,
51
+ NestedVirtualizationSpecification,
51
52
  NetworkInterfaceAttribute,
52
53
  NetworkInterfaceStatus,
53
54
  NitroEnclavesSupport,
@@ -192,6 +193,7 @@ export interface CpuOptions {
192
193
  CoreCount?: number | undefined;
193
194
  ThreadsPerCore?: number | undefined;
194
195
  AmdSevSnp?: AmdSevSnpSpecification | undefined;
196
+ NestedVirtualization?: NestedVirtualizationSpecification | undefined;
195
197
  }
196
198
  export interface ElasticGpuAssociation {
197
199
  ElasticGpuId?: string | undefined;
@@ -58,6 +58,7 @@ import {
58
58
  ManagedBy,
59
59
  MetadataDefaultHttpTokensState,
60
60
  ModifyAvailabilityZoneOptInStatus,
61
+ NestedVirtualizationSpecification,
61
62
  OperationType,
62
63
  PartitionLoadFrequency,
63
64
  PaymentOption,
@@ -1471,14 +1472,16 @@ export interface ModifyInstanceConnectEndpointResult {
1471
1472
  }
1472
1473
  export interface ModifyInstanceCpuOptionsRequest {
1473
1474
  InstanceId: string | undefined;
1474
- CoreCount: number | undefined;
1475
- ThreadsPerCore: number | undefined;
1475
+ CoreCount?: number | undefined;
1476
+ ThreadsPerCore?: number | undefined;
1477
+ NestedVirtualization?: NestedVirtualizationSpecification | undefined;
1476
1478
  DryRun?: boolean | undefined;
1477
1479
  }
1478
1480
  export interface ModifyInstanceCpuOptionsResult {
1479
1481
  InstanceId?: string | undefined;
1480
1482
  CoreCount?: number | undefined;
1481
1483
  ThreadsPerCore?: number | undefined;
1484
+ NestedVirtualization?: NestedVirtualizationSpecification | undefined;
1482
1485
  }
1483
1486
  export interface InstanceCreditSpecificationRequest {
1484
1487
  InstanceId: string | undefined;
@@ -27,6 +27,7 @@ import {
27
27
  Ipv6SupportValue,
28
28
  MarketType,
29
29
  MembershipType,
30
+ NestedVirtualizationSpecification,
30
31
  PayerResponsibility,
31
32
  ReportInstanceReasonCodes,
32
33
  ReportStatusType,
@@ -1150,6 +1151,7 @@ export interface CpuOptionsRequest {
1150
1151
  CoreCount?: number | undefined;
1151
1152
  ThreadsPerCore?: number | undefined;
1152
1153
  AmdSevSnp?: AmdSevSnpSpecification | undefined;
1154
+ NestedVirtualization?: NestedVirtualizationSpecification | undefined;
1153
1155
  }
1154
1156
  export interface ElasticInferenceAccelerator {
1155
1157
  Type: string | undefined;
@@ -1,8 +1,11 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var EC2ServiceException$: StaticErrorSchema;
8
+ export declare const errorTypeRegistries: TypeRegistry[];
6
9
  export declare var AcceleratorCount$: StaticStructureSchema;
7
10
  export declare var AcceleratorCountRequest$: StaticStructureSchema;
8
11
  export declare var AcceleratorTotalMemoryMiB$: StaticStructureSchema;
@@ -2354,7 +2357,6 @@ export declare var VpnTunnelLogOptionsSpecification$: StaticStructureSchema;
2354
2357
  export declare var VpnTunnelOptionsSpecification$: StaticStructureSchema;
2355
2358
  export declare var WithdrawByoipCidrRequest$: StaticStructureSchema;
2356
2359
  export declare var WithdrawByoipCidrResult$: StaticStructureSchema;
2357
- export declare var EC2ServiceException$: StaticErrorSchema;
2358
2360
  export declare var AcceptAddressTransfer$: StaticOperationSchema;
2359
2361
  export declare var AcceptCapacityReservationBillingOwnership$: StaticOperationSchema;
2360
2362
  export declare var AcceptReservedInstancesExchangeQuote$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.989.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,39 +21,39 @@
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.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-sdk-ec2": "^3.972.6",
30
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.7",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
31
31
  "@aws-sdk/region-config-resolver": "^3.972.3",
32
32
  "@aws-sdk/types": "^3.973.1",
33
- "@aws-sdk/util-endpoints": "3.987.0",
33
+ "@aws-sdk/util-endpoints": "3.989.0",
34
34
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
35
- "@aws-sdk/util-user-agent-node": "^3.972.5",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
36
36
  "@smithy/config-resolver": "^4.4.6",
37
- "@smithy/core": "^3.22.1",
37
+ "@smithy/core": "^3.23.0",
38
38
  "@smithy/fetch-http-handler": "^5.3.9",
39
39
  "@smithy/hash-node": "^4.2.8",
40
40
  "@smithy/invalid-dependency": "^4.2.8",
41
41
  "@smithy/middleware-content-length": "^4.2.8",
42
- "@smithy/middleware-endpoint": "^4.4.13",
43
- "@smithy/middleware-retry": "^4.4.30",
42
+ "@smithy/middleware-endpoint": "^4.4.14",
43
+ "@smithy/middleware-retry": "^4.4.31",
44
44
  "@smithy/middleware-serde": "^4.2.9",
45
45
  "@smithy/middleware-stack": "^4.2.8",
46
46
  "@smithy/node-config-provider": "^4.3.8",
47
- "@smithy/node-http-handler": "^4.4.9",
47
+ "@smithy/node-http-handler": "^4.4.10",
48
48
  "@smithy/protocol-http": "^5.3.8",
49
- "@smithy/smithy-client": "^4.11.2",
49
+ "@smithy/smithy-client": "^4.11.3",
50
50
  "@smithy/types": "^4.12.0",
51
51
  "@smithy/url-parser": "^4.2.8",
52
52
  "@smithy/util-base64": "^4.3.0",
53
53
  "@smithy/util-body-length-browser": "^4.2.0",
54
54
  "@smithy/util-body-length-node": "^4.2.1",
55
- "@smithy/util-defaults-mode-browser": "^4.3.29",
56
- "@smithy/util-defaults-mode-node": "^4.2.32",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
56
+ "@smithy/util-defaults-mode-node": "^4.2.33",
57
57
  "@smithy/util-endpoints": "^3.2.8",
58
58
  "@smithy/util-middleware": "^4.2.8",
59
59
  "@smithy/util-retry": "^4.2.8",