@aws-sdk/client-ec2 3.1080.0 → 3.1082.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.1079.0";
73
+ var version = "3.1081.0";
74
74
  var packageInfo = {
75
75
  version: version};
76
76
 
@@ -4798,6 +4798,7 @@ const _PSKE = "PublicSigningKeyEndpoint";
4798
4798
  const _PSKS = "PreSharedKeyStorage";
4799
4799
  const _PSKU = "PublicSigningKeyUrl";
4800
4800
  const _PSL = "PriceScheduleList";
4801
+ const _PSPN = "PublicSsmParameterName";
4801
4802
  const _PSR = "ProvisioningStatusReason";
4802
4803
  const _PSRa = "PathStatementRequest";
4803
4804
  const _PSS = "PriceScheduleSpecification";
@@ -7709,6 +7710,7 @@ const _pSK = "preSharedKey";
7709
7710
  const _pSKA = "preSharedKeyArn";
7710
7711
  const _pSKE = "publicSigningKeyEndpoint";
7711
7712
  const _pSKU = "publicSigningKeyUrl";
7713
+ const _pSPN = "publicSsmParameterName";
7712
7714
  const _pSR = "provisioningStatusReason";
7713
7715
  const _pSe = "permissionState";
7714
7716
  const _pSee = "peeringStatus";
@@ -11102,8 +11104,8 @@ var CreatePublicIpv4PoolResult$ = [3, n0, _CPIPRr,
11102
11104
  ];
11103
11105
  var CreateReplaceRootVolumeTaskRequest$ = [3, n0, _CRRVTR,
11104
11106
  0,
11105
- [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR],
11106
- [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1], 1
11107
+ [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR, _VIo],
11108
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1, 0], 1
11107
11109
  ];
11108
11110
  var CreateReplaceRootVolumeTaskResult$ = [3, n0, _CRRVTRr,
11109
11111
  0,
@@ -18065,7 +18067,7 @@ var IKEVersionsRequestListValue$ = [3, n0, _IKEVRLV,
18065
18067
  ];
18066
18068
  var Image$ = [3, n0, _Ima,
18067
18069
  0,
18068
- [_PDl, _UO, _BDMl, _De, _ESna, _Hy, _IOA, _N, _RDN, _RDT, _SNS, _SRt, _T, _VTir, _BM, _TSp, _DTe, _ISmd, _SIIo, _DPer, _LLT, _IAm, _SII, _SIRo, _FTE, _IW, _IIm, _IL, _St, _OI, _CDr, _Pu, _PCro, _Arc, _ITm, _KI, _RIa, _Pl],
18070
+ [_PDl, _UO, _BDMl, _De, _ESna, _Hy, _IOA, _N, _RDN, _RDT, _SNS, _SRt, _T, _VTir, _BM, _TSp, _DTe, _ISmd, _SIIo, _DPer, _LLT, _IAm, _SII, _SIRo, _FTE, _PSPN, _IW, _IIm, _IL, _St, _OI, _CDr, _Pu, _PCro, _Arc, _ITm, _KI, _RIa, _Pl],
18069
18071
  [[0, { [_eQN]: `PlatformDetails`,
18070
18072
  [_xN]: _pDl }], [0, { [_eQN]: `UsageOperation`,
18071
18073
  [_xN]: _uO }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`,
@@ -18091,7 +18093,8 @@ var Image$ = [3, n0, _Ima,
18091
18093
  [_xN]: _iAm }], [0, { [_eQN]: `SourceImageId`,
18092
18094
  [_xN]: _sIIo }], [0, { [_eQN]: `SourceImageRegion`,
18093
18095
  [_xN]: _sIR }], [2, { [_eQN]: `FreeTierEligible`,
18094
- [_xN]: _fTE }], [() => ImageWatermarkList, { [_eQN]: `ImageWatermarkSet`,
18096
+ [_xN]: _fTE }], [0, { [_eQN]: `PublicSsmParameterName`,
18097
+ [_xN]: _pSPN }], [() => ImageWatermarkList, { [_eQN]: `ImageWatermarkSet`,
18095
18098
  [_xN]: _iWS }], [0, { [_eQN]: `ImageId`,
18096
18099
  [_xN]: _iIma }], [0, { [_eQN]: `ImageLocation`,
18097
18100
  [_xN]: _iL }], [0, { [_eQN]: `ImageState`,
@@ -4654,6 +4654,7 @@ const _PSKE = "PublicSigningKeyEndpoint";
4654
4654
  const _PSKS = "PreSharedKeyStorage";
4655
4655
  const _PSKU = "PublicSigningKeyUrl";
4656
4656
  const _PSL = "PriceScheduleList";
4657
+ const _PSPN = "PublicSsmParameterName";
4657
4658
  const _PSR = "ProvisioningStatusReason";
4658
4659
  const _PSRa = "PathStatementRequest";
4659
4660
  const _PSS = "PriceScheduleSpecification";
@@ -7565,6 +7566,7 @@ const _pSK = "preSharedKey";
7565
7566
  const _pSKA = "preSharedKeyArn";
7566
7567
  const _pSKE = "publicSigningKeyEndpoint";
7567
7568
  const _pSKU = "publicSigningKeyUrl";
7569
+ const _pSPN = "publicSsmParameterName";
7568
7570
  const _pSR = "provisioningStatusReason";
7569
7571
  const _pSe = "permissionState";
7570
7572
  const _pSee = "peeringStatus";
@@ -10960,8 +10962,8 @@ export var CreatePublicIpv4PoolResult$ = [3, n0, _CPIPRr,
10960
10962
  ];
10961
10963
  export var CreateReplaceRootVolumeTaskRequest$ = [3, n0, _CRRVTR,
10962
10964
  0,
10963
- [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR],
10964
- [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1], 1
10965
+ [_II, _SIn, _CT, _DR, _TS, _IIm, _DRRV, _VIR, _VIo],
10966
+ [0, 0, [0, 4], 2, [() => TagSpecificationList, { [_xN]: _TSa }], 0, 2, 1, 0], 1
10965
10967
  ];
10966
10968
  export var CreateReplaceRootVolumeTaskResult$ = [3, n0, _CRRVTRr,
10967
10969
  0,
@@ -17923,7 +17925,7 @@ export var IKEVersionsRequestListValue$ = [3, n0, _IKEVRLV,
17923
17925
  ];
17924
17926
  export var Image$ = [3, n0, _Ima,
17925
17927
  0,
17926
- [_PDl, _UO, _BDMl, _De, _ESna, _Hy, _IOA, _N, _RDN, _RDT, _SNS, _SRt, _T, _VTir, _BM, _TSp, _DTe, _ISmd, _SIIo, _DPer, _LLT, _IAm, _SII, _SIRo, _FTE, _IW, _IIm, _IL, _St, _OI, _CDr, _Pu, _PCro, _Arc, _ITm, _KI, _RIa, _Pl],
17928
+ [_PDl, _UO, _BDMl, _De, _ESna, _Hy, _IOA, _N, _RDN, _RDT, _SNS, _SRt, _T, _VTir, _BM, _TSp, _DTe, _ISmd, _SIIo, _DPer, _LLT, _IAm, _SII, _SIRo, _FTE, _PSPN, _IW, _IIm, _IL, _St, _OI, _CDr, _Pu, _PCro, _Arc, _ITm, _KI, _RIa, _Pl],
17927
17929
  [[0, { [_eQN]: `PlatformDetails`,
17928
17930
  [_xN]: _pDl }], [0, { [_eQN]: `UsageOperation`,
17929
17931
  [_xN]: _uO }], [() => BlockDeviceMappingList, { [_eQN]: `BlockDeviceMapping`,
@@ -17949,7 +17951,8 @@ export var Image$ = [3, n0, _Ima,
17949
17951
  [_xN]: _iAm }], [0, { [_eQN]: `SourceImageId`,
17950
17952
  [_xN]: _sIIo }], [0, { [_eQN]: `SourceImageRegion`,
17951
17953
  [_xN]: _sIR }], [2, { [_eQN]: `FreeTierEligible`,
17952
- [_xN]: _fTE }], [() => ImageWatermarkList, { [_eQN]: `ImageWatermarkSet`,
17954
+ [_xN]: _fTE }], [0, { [_eQN]: `PublicSsmParameterName`,
17955
+ [_xN]: _pSPN }], [() => ImageWatermarkList, { [_eQN]: `ImageWatermarkSet`,
17953
17956
  [_xN]: _iWS }], [0, { [_eQN]: `ImageId`,
17954
17957
  [_xN]: _iIma }], [0, { [_eQN]: `ImageLocation`,
17955
17958
  [_xN]: _iL }], [0, { [_eQN]: `ImageState`,
@@ -26,8 +26,9 @@ declare const CreateReplaceRootVolumeTaskCommand_base: {
26
26
  /**
27
27
  * <p>Replaces the EBS-backed root volume for a <code>running</code> instance with a new
28
28
  * volume that is restored to the original root volume's launch state, that is restored to a
29
- * specific snapshot taken from the original root volume, or that is restored from an AMI
30
- * that has the same key characteristics as that of the instance.</p>
29
+ * specific snapshot taken from the original root volume, that is restored from an AMI
30
+ * that has the same key characteristics as that of the instance, or that is replaced by
31
+ * a specified volume.</p>
31
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/replace-root.html">Replace a root volume</a> in the <i>Amazon EC2 User Guide</i>.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -56,6 +57,7 @@ declare const CreateReplaceRootVolumeTaskCommand_base: {
56
57
  * ImageId: "STRING_VALUE",
57
58
  * DeleteReplacedRootVolume: true || false,
58
59
  * VolumeInitializationRate: Number("long"),
60
+ * VolumeId: "STRING_VALUE",
59
61
  * };
60
62
  * const command = new CreateReplaceRootVolumeTaskCommand(input);
61
63
  * const response = await client.send(command);
@@ -143,6 +143,7 @@ declare const DescribeImagesCommand_base: {
143
143
  * // SourceImageId: "STRING_VALUE",
144
144
  * // SourceImageRegion: "STRING_VALUE",
145
145
  * // FreeTierEligible: true || false,
146
+ * // PublicSsmParameterName: "STRING_VALUE",
146
147
  * // ImageWatermarks: [ // ImageWatermarkList
147
148
  * // { // ImageWatermark
148
149
  * // WatermarkKey: "STRING_VALUE",
@@ -11993,8 +11993,8 @@ export interface CreateReplaceRootVolumeTaskRequest {
11993
11993
  * specified snapshot must be a snapshot that you previously created from the original
11994
11994
  * root volume.</p>
11995
11995
  * <p>If you want to restore the replacement root volume to the initial launch state,
11996
- * or if you want to restore the replacement root volume from an AMI, omit this
11997
- * parameter.</p>
11996
+ * if you want to restore the replacement root volume from an AMI, or if you want to
11997
+ * replace the root volume with a specified volume, omit this parameter.</p>
11998
11998
  * @public
11999
11999
  */
12000
12000
  SnapshotId?: string | undefined;
@@ -12021,8 +12021,9 @@ export interface CreateReplaceRootVolumeTaskRequest {
12021
12021
  * <p>The ID of the AMI to use to restore the root volume. The specified AMI must have the
12022
12022
  * same product code, billing information, architecture type, and virtualization type as
12023
12023
  * that of the instance.</p>
12024
- * <p>If you want to restore the replacement volume from a specific snapshot, or if you want
12025
- * to restore it to its launch state, omit this parameter.</p>
12024
+ * <p>If you want to restore the replacement volume from a specific snapshot, if you want
12025
+ * to restore it to its launch state, or if you want to replace the root volume with a
12026
+ * specified volume, omit this parameter.</p>
12026
12027
  * @public
12027
12028
  */
12028
12029
  ImageId?: string | undefined;
@@ -12060,6 +12061,16 @@ export interface CreateReplaceRootVolumeTaskRequest {
12060
12061
  * @public
12061
12062
  */
12062
12063
  VolumeInitializationRate?: number | undefined;
12064
+ /**
12065
+ * <p>The ID of the volume to use as the replacement root volume. The specified volume must
12066
+ * be in the same Availability Zone as the instance, must be in the <code>available</code>
12067
+ * state, and must not be attached to an instance. If the original root volume is encrypted,
12068
+ * the specified volume must also be encrypted.</p>
12069
+ * <p>If you want to restore the replacement root volume from a specific snapshot, an AMI,
12070
+ * or to its launch state, omit this parameter.</p>
12071
+ * @public
12072
+ */
12073
+ VolumeId?: string | undefined;
12063
12074
  }
12064
12075
  /**
12065
12076
  * <p>Information about a root volume replacement task.</p>
@@ -8843,6 +8843,42 @@ export interface DescribeImagesRequest {
8843
8843
  * </li>
8844
8844
  * <li>
8845
8845
  * <p>
8846
+ * <code>image-watermark.source-image-creation-time</code> - The creation date of the
8847
+ * source AMI, in the ISO 8601 format in the UTC time zone
8848
+ * (<code>
8849
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>
8850
+ * </code>).
8851
+ * You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which
8852
+ * matches an entire day.</p>
8853
+ * </li>
8854
+ * <li>
8855
+ * <p>
8856
+ * <code>image-watermark.source-image-id</code> - The ID of the AMI to which the
8857
+ * watermark was originally attached.</p>
8858
+ * </li>
8859
+ * <li>
8860
+ * <p>
8861
+ * <code>image-watermark.source-image-region</code> - The Region where the watermark
8862
+ * was originally attached.</p>
8863
+ * </li>
8864
+ * <li>
8865
+ * <p>
8866
+ * <code>image-watermark.watermark-creation-time</code> - The date and time the
8867
+ * watermark was attached to the AMI, in the ISO 8601 format in the UTC time zone
8868
+ * (<code>
8869
+ * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>.<i>ssssss</i>+<i>HH</i>:<i>MM</i>
8870
+ * </code>).
8871
+ * You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which
8872
+ * matches an entire day.</p>
8873
+ * </li>
8874
+ * <li>
8875
+ * <p>
8876
+ * <code>image-watermark.watermark-key</code> - The watermark identifier, in
8877
+ * <code>accountId:watermarkName</code> format (for example,
8878
+ * <code>123456789012:approvedAmi</code>).</p>
8879
+ * </li>
8880
+ * <li>
8881
+ * <p>
8846
8882
  * <code>image-type</code> - The image type (<code>machine</code> | <code>kernel</code> |
8847
8883
  * <code>ramdisk</code>).</p>
8848
8884
  * </li>
@@ -8891,6 +8927,13 @@ export interface DescribeImagesRequest {
8891
8927
  * </li>
8892
8928
  * <li>
8893
8929
  * <p>
8930
+ * <code>public-ssm-parameter-name</code> - The name of a public Systems Manager
8931
+ * parameter associated with the AMI. The parameter must be in a trusted Amazon Web Services namespace
8932
+ * under <code>aws/service/</code>. Returns all AMIs that have ever been associated with
8933
+ * the parameter, including previous versions.</p>
8934
+ * </li>
8935
+ * <li>
8936
+ * <p>
8894
8937
  * <code>ramdisk-id</code> - The RAM disk ID.</p>
8895
8938
  * </li>
8896
8939
  * <li>
@@ -9163,6 +9206,12 @@ export interface Image {
9163
9206
  * @public
9164
9207
  */
9165
9208
  FreeTierEligible?: boolean | undefined;
9209
+ /**
9210
+ * <p>The name of the public Systems Manager parameter that resolves to this AMI, under the
9211
+ * <code>aws/service/</code> namespace.</p>
9212
+ * @public
9213
+ */
9214
+ PublicSsmParameterName?: string | undefined;
9166
9215
  /**
9167
9216
  * <p>The watermarks attached to the AMI.</p>
9168
9217
  * @public
@@ -2168,6 +2168,7 @@ export interface CreateReplaceRootVolumeTaskRequest {
2168
2168
  ImageId?: string | undefined;
2169
2169
  DeleteReplacedRootVolume?: boolean | undefined;
2170
2170
  VolumeInitializationRate?: number | undefined;
2171
+ VolumeId?: string | undefined;
2171
2172
  }
2172
2173
  export interface ReplaceRootVolumeTask {
2173
2174
  ReplaceRootVolumeTaskId?: string | undefined;
@@ -1812,6 +1812,7 @@ export interface Image {
1812
1812
  SourceImageId?: string | undefined;
1813
1813
  SourceImageRegion?: string | undefined;
1814
1814
  FreeTierEligible?: boolean | undefined;
1815
+ PublicSsmParameterName?: string | undefined;
1815
1816
  ImageWatermarks?: ImageWatermark[] | undefined;
1816
1817
  ImageId?: string | undefined;
1817
1818
  ImageLocation?: string | 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.1080.0",
4
+ "version": "3.1082.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",
@@ -25,18 +25,18 @@
25
25
  "module": "./dist-es/index.js",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@aws-sdk/core": "^3.974.28",
29
- "@aws-sdk/credential-provider-node": "^3.972.63",
30
- "@aws-sdk/middleware-sdk-ec2": "^3.972.42",
31
- "@aws-sdk/types": "^3.973.15",
32
- "@smithy/core": "^3.29.0",
33
- "@smithy/fetch-http-handler": "^5.6.2",
34
- "@smithy/node-http-handler": "^4.9.2",
35
- "@smithy/types": "^4.15.1",
28
+ "@aws-sdk/core": "^3.975.0",
29
+ "@aws-sdk/credential-provider-node": "^3.972.65",
30
+ "@aws-sdk/middleware-sdk-ec2": "^3.972.44",
31
+ "@aws-sdk/types": "^3.974.0",
32
+ "@smithy/core": "^3.29.2",
33
+ "@smithy/fetch-http-handler": "^5.6.4",
34
+ "@smithy/node-http-handler": "^4.9.4",
35
+ "@smithy/types": "^4.16.0",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@smithy/snapshot-testing": "^2.2.5",
39
+ "@smithy/snapshot-testing": "^2.2.7",
40
40
  "@tsconfig/node20": "20.1.8",
41
41
  "@types/node": "^20.14.8",
42
42
  "concurrently": "7.0.0",