@aws-sdk/client-ec2 3.973.0 → 3.974.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
@@ -2923,6 +2923,7 @@ const _GOI = "GroupOwnerId";
2923
2923
  const _GPD = "GetPasswordData";
2924
2924
  const _GPDR = "GetPasswordDataRequest";
2925
2925
  const _GPDRe = "GetPasswordDataResult";
2926
+ const _GPS = "GpuPartitionSize";
2926
2927
  const _GRIEQ = "GetReservedInstancesExchangeQuote";
2927
2928
  const _GRIEQR = "GetReservedInstancesExchangeQuoteRequest";
2928
2929
  const _GRIEQRe = "GetReservedInstancesExchangeQuoteResult";
@@ -3609,6 +3610,7 @@ const _LF = "LogFormat";
3609
3610
  const _LFA = "LambdaFunctionArn";
3610
3611
  const _LG = "LocalGateways";
3611
3612
  const _LGA = "LogGroupArn";
3613
+ const _LGC = "LogicalGpuCount";
3612
3614
  const _LGI = "LocalGatewayId";
3613
3615
  const _LGIS = "LocalGatewayIdSet";
3614
3616
  const _LGIi = "LinkedGroupId";
@@ -6042,9 +6044,11 @@ const _WBCR = "WithdrawByoipCidrRequest";
6042
6044
  const _WBCRi = "WithdrawByoipCidrResult";
6043
6045
  const _WC = "WithCooldown";
6044
6046
  const _WCe = "WeightedCapacity";
6047
+ const _WL = "WorkloadsList";
6045
6048
  const _WM = "WarningMessage";
6046
6049
  const _WU = "WakeUp";
6047
6050
  const _We = "Weight";
6051
+ const _Wo = "Workloads";
6048
6052
  const _ZI = "ZoneId";
6049
6053
  const _ZISL = "ZoneIdStringList";
6050
6054
  const _ZIo = "ZoneIds";
@@ -6710,6 +6714,7 @@ const _gLN = "groupLongName";
6710
6714
  const _gM = "groupMember";
6711
6715
  const _gN = "groupName";
6712
6716
  const _gOI = "groupOwnerId";
6717
+ const _gPS = "gpuPartitionSize";
6713
6718
  const _gS = "groupSet";
6714
6719
  const _gSr = "groupSource";
6715
6720
  const _gp = "gpus";
@@ -7017,6 +7022,7 @@ const _lF = "logFormat";
7017
7022
  const _lFA = "lambdaFunctionArn";
7018
7023
  const _lG = "launchGroup";
7019
7024
  const _lGA = "logGroupArn";
7025
+ const _lGC = "logicalGpuCount";
7020
7026
  const _lGI = "localGatewayId";
7021
7027
  const _lGIi = "linkedGroupId";
7022
7028
  const _lGN = "logGroupName";
@@ -8080,6 +8086,7 @@ const _vpc = "vpcs";
8080
8086
  const _w = "warning";
8081
8087
  const _wC = "weightedCapacity";
8082
8088
  const _wM = "warningMessage";
8089
+ const _wS = "workloadSet";
8083
8090
  const _we = "weight";
8084
8091
  const _xN = "xmlName";
8085
8092
  const _zI = "zoneId";
@@ -17241,11 +17248,14 @@ var GetVpnTunnelReplacementStatusResult$ = [3, n0, _GVTRSRe,
17241
17248
  ];
17242
17249
  var GpuDeviceInfo$ = [3, n0, _GDI,
17243
17250
  0,
17244
- [_N, _Man, _Cou, _MIe],
17251
+ [_N, _Man, _Cou, _LGC, _GPS, _Wo, _MIe],
17245
17252
  [[0, { [_eQN]: `Name`,
17246
17253
  [_xN]: _n }], [0, { [_eQN]: `Manufacturer`,
17247
17254
  [_xN]: _man }], [1, { [_eQN]: `Count`,
17248
- [_xN]: _cou }], [() => GpuDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`,
17255
+ [_xN]: _cou }], [1, { [_eQN]: `LogicalGpuCount`,
17256
+ [_xN]: _lGC }], [1, { [_eQN]: `GpuPartitionSize`,
17257
+ [_xN]: _gPS }], [() => WorkloadsList, { [_eQN]: `WorkloadSet`,
17258
+ [_xN]: _wS }], [() => GpuDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`,
17249
17259
  [_xN]: _mIe }]]
17250
17260
  ];
17251
17261
  var GpuDeviceMemoryInfo$ = [3, n0, _GDMI,
@@ -27860,6 +27870,10 @@ var VpnTunnelOptionsSpecificationsList = [1, n0, _VTOSL,
27860
27870
  0, [() => VpnTunnelOptionsSpecification$,
27861
27871
  0]
27862
27872
  ];
27873
+ var WorkloadsList = [1, n0, _WL,
27874
+ 0, [0,
27875
+ { [_xN]: _it }]
27876
+ ];
27863
27877
  var ZoneIdStringList = [1, n0, _ZISL,
27864
27878
  0, [0,
27865
27879
  { [_xN]: _ZI }]
@@ -2802,6 +2802,7 @@ const _GOI = "GroupOwnerId";
2802
2802
  const _GPD = "GetPasswordData";
2803
2803
  const _GPDR = "GetPasswordDataRequest";
2804
2804
  const _GPDRe = "GetPasswordDataResult";
2805
+ const _GPS = "GpuPartitionSize";
2805
2806
  const _GRIEQ = "GetReservedInstancesExchangeQuote";
2806
2807
  const _GRIEQR = "GetReservedInstancesExchangeQuoteRequest";
2807
2808
  const _GRIEQRe = "GetReservedInstancesExchangeQuoteResult";
@@ -3488,6 +3489,7 @@ const _LF = "LogFormat";
3488
3489
  const _LFA = "LambdaFunctionArn";
3489
3490
  const _LG = "LocalGateways";
3490
3491
  const _LGA = "LogGroupArn";
3492
+ const _LGC = "LogicalGpuCount";
3491
3493
  const _LGI = "LocalGatewayId";
3492
3494
  const _LGIS = "LocalGatewayIdSet";
3493
3495
  const _LGIi = "LinkedGroupId";
@@ -5921,9 +5923,11 @@ const _WBCR = "WithdrawByoipCidrRequest";
5921
5923
  const _WBCRi = "WithdrawByoipCidrResult";
5922
5924
  const _WC = "WithCooldown";
5923
5925
  const _WCe = "WeightedCapacity";
5926
+ const _WL = "WorkloadsList";
5924
5927
  const _WM = "WarningMessage";
5925
5928
  const _WU = "WakeUp";
5926
5929
  const _We = "Weight";
5930
+ const _Wo = "Workloads";
5927
5931
  const _ZI = "ZoneId";
5928
5932
  const _ZISL = "ZoneIdStringList";
5929
5933
  const _ZIo = "ZoneIds";
@@ -6589,6 +6593,7 @@ const _gLN = "groupLongName";
6589
6593
  const _gM = "groupMember";
6590
6594
  const _gN = "groupName";
6591
6595
  const _gOI = "groupOwnerId";
6596
+ const _gPS = "gpuPartitionSize";
6592
6597
  const _gS = "groupSet";
6593
6598
  const _gSr = "groupSource";
6594
6599
  const _gp = "gpus";
@@ -6896,6 +6901,7 @@ const _lF = "logFormat";
6896
6901
  const _lFA = "lambdaFunctionArn";
6897
6902
  const _lG = "launchGroup";
6898
6903
  const _lGA = "logGroupArn";
6904
+ const _lGC = "logicalGpuCount";
6899
6905
  const _lGI = "localGatewayId";
6900
6906
  const _lGIi = "linkedGroupId";
6901
6907
  const _lGN = "logGroupName";
@@ -7959,6 +7965,7 @@ const _vpc = "vpcs";
7959
7965
  const _w = "warning";
7960
7966
  const _wC = "weightedCapacity";
7961
7967
  const _wM = "warningMessage";
7968
+ const _wS = "workloadSet";
7962
7969
  const _we = "weight";
7963
7970
  const _xN = "xmlName";
7964
7971
  const _zI = "zoneId";
@@ -17122,11 +17129,14 @@ export var GetVpnTunnelReplacementStatusResult$ = [3, n0, _GVTRSRe,
17122
17129
  ];
17123
17130
  export var GpuDeviceInfo$ = [3, n0, _GDI,
17124
17131
  0,
17125
- [_N, _Man, _Cou, _MIe],
17132
+ [_N, _Man, _Cou, _LGC, _GPS, _Wo, _MIe],
17126
17133
  [[0, { [_eQN]: `Name`,
17127
17134
  [_xN]: _n }], [0, { [_eQN]: `Manufacturer`,
17128
17135
  [_xN]: _man }], [1, { [_eQN]: `Count`,
17129
- [_xN]: _cou }], [() => GpuDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`,
17136
+ [_xN]: _cou }], [1, { [_eQN]: `LogicalGpuCount`,
17137
+ [_xN]: _lGC }], [1, { [_eQN]: `GpuPartitionSize`,
17138
+ [_xN]: _gPS }], [() => WorkloadsList, { [_eQN]: `WorkloadSet`,
17139
+ [_xN]: _wS }], [() => GpuDeviceMemoryInfo$, { [_eQN]: `MemoryInfo`,
17130
17140
  [_xN]: _mIe }]]
17131
17141
  ];
17132
17142
  export var GpuDeviceMemoryInfo$ = [3, n0, _GDMI,
@@ -27766,6 +27776,10 @@ var VpnTunnelOptionsSpecificationsList = [1, n0, _VTOSL,
27766
27776
  0, [() => VpnTunnelOptionsSpecification$,
27767
27777
  0]
27768
27778
  ];
27779
+ var WorkloadsList = [1, n0, _WL,
27780
+ 0, [0,
27781
+ { [_xN]: _it }]
27782
+ ];
27769
27783
  var ZoneIdStringList = [1, n0, _ZISL,
27770
27784
  0, [0,
27771
27785
  { [_xN]: _ZI }]
@@ -174,6 +174,11 @@ declare const DescribeInstanceTypesCommand_base: {
174
174
  * // Name: "STRING_VALUE",
175
175
  * // Manufacturer: "STRING_VALUE",
176
176
  * // Count: Number("int"),
177
+ * // LogicalGpuCount: Number("int"),
178
+ * // GpuPartitionSize: Number("double"),
179
+ * // Workloads: [ // WorkloadsList
180
+ * // "STRING_VALUE",
181
+ * // ],
177
182
  * // MemoryInfo: { // GpuDeviceMemoryInfo
178
183
  * // SizeInMiB: Number("int"),
179
184
  * // },
@@ -1950,6 +1950,21 @@ export interface GpuDeviceInfo {
1950
1950
  * @public
1951
1951
  */
1952
1952
  Count?: number | undefined;
1953
+ /**
1954
+ * <p>Total number of GPU devices of this type.</p>
1955
+ * @public
1956
+ */
1957
+ LogicalGpuCount?: number | undefined;
1958
+ /**
1959
+ * <p>The size of each GPU as a fraction of a full GPU, between 0 (excluded) and 1 (included).</p>
1960
+ * @public
1961
+ */
1962
+ GpuPartitionSize?: number | undefined;
1963
+ /**
1964
+ * <p>A list of workload types this GPU supports.</p>
1965
+ * @public
1966
+ */
1967
+ Workloads?: string[] | undefined;
1953
1968
  /**
1954
1969
  * <p>Describes the memory available to the GPU accelerator.</p>
1955
1970
  * @public
@@ -479,6 +479,9 @@ export interface GpuDeviceInfo {
479
479
  Name?: string | undefined;
480
480
  Manufacturer?: string | undefined;
481
481
  Count?: number | undefined;
482
+ LogicalGpuCount?: number | undefined;
483
+ GpuPartitionSize?: number | undefined;
484
+ Workloads?: string[] | undefined;
482
485
  MemoryInfo?: GpuDeviceMemoryInfo | undefined;
483
486
  }
484
487
  export interface GpuInfo {
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.973.0",
4
+ "version": "3.974.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.972.0",
25
- "@aws-sdk/credential-provider-node": "3.972.0",
26
- "@aws-sdk/middleware-host-header": "3.972.0",
27
- "@aws-sdk/middleware-logger": "3.972.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.972.0",
29
- "@aws-sdk/middleware-sdk-ec2": "3.972.0",
30
- "@aws-sdk/middleware-user-agent": "3.972.0",
31
- "@aws-sdk/region-config-resolver": "3.972.0",
32
- "@aws-sdk/types": "3.972.0",
24
+ "@aws-sdk/core": "^3.973.0",
25
+ "@aws-sdk/credential-provider-node": "^3.972.1",
26
+ "@aws-sdk/middleware-host-header": "^3.972.1",
27
+ "@aws-sdk/middleware-logger": "^3.972.1",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.1",
30
+ "@aws-sdk/middleware-user-agent": "^3.972.1",
31
+ "@aws-sdk/region-config-resolver": "^3.972.1",
32
+ "@aws-sdk/types": "^3.973.0",
33
33
  "@aws-sdk/util-endpoints": "3.972.0",
34
- "@aws-sdk/util-user-agent-browser": "3.972.0",
35
- "@aws-sdk/util-user-agent-node": "3.972.0",
34
+ "@aws-sdk/util-user-agent-browser": "^3.972.1",
35
+ "@aws-sdk/util-user-agent-node": "^3.972.1",
36
36
  "@smithy/config-resolver": "^4.4.6",
37
- "@smithy/core": "^3.20.6",
37
+ "@smithy/core": "^3.21.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.7",
43
- "@smithy/middleware-retry": "^4.4.23",
42
+ "@smithy/middleware-endpoint": "^4.4.10",
43
+ "@smithy/middleware-retry": "^4.4.26",
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
47
  "@smithy/node-http-handler": "^4.4.8",
48
48
  "@smithy/protocol-http": "^5.3.8",
49
- "@smithy/smithy-client": "^4.10.8",
49
+ "@smithy/smithy-client": "^4.10.11",
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.22",
56
- "@smithy/util-defaults-mode-node": "^4.2.25",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.25",
56
+ "@smithy/util-defaults-mode-node": "^4.2.28",
57
57
  "@smithy/util-endpoints": "^3.2.8",
58
58
  "@smithy/util-middleware": "^4.2.8",
59
59
  "@smithy/util-retry": "^4.2.8",