@aws-sdk/client-ec2 3.799.0 → 3.800.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 (40) hide show
  1. package/dist-cjs/index.js +29 -12
  2. package/dist-es/commands/DescribeConversionTasksCommand.js +1 -1
  3. package/dist-es/models/models_1.js +4 -6
  4. package/dist-es/models/models_2.js +7 -1
  5. package/dist-es/models/models_4.js +1 -1
  6. package/dist-es/models/models_6.js +0 -4
  7. package/dist-es/models/models_7.js +4 -1
  8. package/dist-es/protocols/Aws_ec2.js +11 -0
  9. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  10. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  11. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +1 -13
  12. package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
  13. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +2 -1
  15. package/dist-types/commands/DisableImageDeregistrationProtectionCommand.d.ts +1 -2
  16. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  17. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +2 -1
  18. package/dist-types/commands/StopInstancesCommand.d.ts +23 -27
  19. package/dist-types/commands/TerminateInstancesCommand.d.ts +6 -6
  20. package/dist-types/models/models_1.d.ts +66 -66
  21. package/dist-types/models/models_2.d.ts +54 -26
  22. package/dist-types/models/models_3.d.ts +36 -23
  23. package/dist-types/models/models_4.d.ts +19 -17
  24. package/dist-types/models/models_5.d.ts +16 -18
  25. package/dist-types/models/models_6.d.ts +17 -29
  26. package/dist-types/models/models_7.d.ts +46 -16
  27. package/dist-types/models/models_8.d.ts +24 -5
  28. package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/DescribeManagedPrefixListsCommand.d.ts +2 -4
  30. package/dist-types/ts3.4/commands/DisableImageDeregistrationProtectionCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +2 -4
  32. package/dist-types/ts3.4/models/models_1.d.ts +8 -14
  33. package/dist-types/ts3.4/models/models_2.d.ts +15 -6
  34. package/dist-types/ts3.4/models/models_3.d.ts +5 -5
  35. package/dist-types/ts3.4/models/models_4.d.ts +5 -6
  36. package/dist-types/ts3.4/models/models_5.d.ts +5 -4
  37. package/dist-types/ts3.4/models/models_6.d.ts +4 -8
  38. package/dist-types/ts3.4/models/models_7.d.ts +11 -5
  39. package/dist-types/ts3.4/models/models_8.d.ts +5 -0
  40. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -766,6 +766,7 @@ __export(index_exports, {
766
766
  IpamDiscoveryFailureCode: () => IpamDiscoveryFailureCode,
767
767
  IpamExternalResourceVerificationTokenState: () => IpamExternalResourceVerificationTokenState,
768
768
  IpamManagementState: () => IpamManagementState,
769
+ IpamMeteredAccount: () => IpamMeteredAccount,
769
770
  IpamNetworkInterfaceAttachmentStatus: () => IpamNetworkInterfaceAttachmentStatus,
770
771
  IpamOverlapStatus: () => IpamOverlapStatus,
771
772
  IpamPoolAllocationResourceType: () => IpamPoolAllocationResourceType,
@@ -19762,6 +19763,9 @@ var se_CreateIpamRequest = /* @__PURE__ */ __name((input, context) => {
19762
19763
  if (input[_EPG] != null) {
19763
19764
  entries[_EPG] = input[_EPG];
19764
19765
  }
19766
+ if (input[_MAe] != null) {
19767
+ entries[_MAe] = input[_MAe];
19768
+ }
19765
19769
  return entries;
19766
19770
  }, "se_CreateIpamRequest");
19767
19771
  var se_CreateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => {
@@ -33129,6 +33133,9 @@ var se_ModifyIpamRequest = /* @__PURE__ */ __name((input, context) => {
33129
33133
  if (input[_EPG] != null) {
33130
33134
  entries[_EPG] = input[_EPG];
33131
33135
  }
33136
+ if (input[_MAe] != null) {
33137
+ entries[_MAe] = input[_MAe];
33138
+ }
33132
33139
  return entries;
33133
33140
  }, "se_ModifyIpamRequest");
33134
33141
  var se_ModifyIpamResourceCidrRequest = /* @__PURE__ */ __name((input, context) => {
@@ -51227,6 +51234,9 @@ var de_Ipam = /* @__PURE__ */ __name((output, context) => {
51227
51234
  if (output[_ePG] != null) {
51228
51235
  contents[_EPG] = (0, import_smithy_client.parseBoolean)(output[_ePG]);
51229
51236
  }
51237
+ if (output[_mAe] != null) {
51238
+ contents[_MAe] = (0, import_smithy_client.expectString)(output[_mAe]);
51239
+ }
51230
51240
  return contents;
51231
51241
  }, "de_Ipam");
51232
51242
  var de_IpamAddressHistoryRecord = /* @__PURE__ */ __name((output, context) => {
@@ -63427,6 +63437,7 @@ var _MAS = "MovingAddressStatuses";
63427
63437
  var _MATV = "MoveAddressToVpc";
63428
63438
  var _MAZG = "ModifyAvailabilityZoneGroup";
63429
63439
  var _MAa = "MacAddress";
63440
+ var _MAe = "MeteredAccount";
63430
63441
  var _MB = "ManagedBy";
63431
63442
  var _MBCTI = "MoveByoipCidrToIpam";
63432
63443
  var _MBIM = "MaximumBandwidthInMbps";
@@ -65516,6 +65527,7 @@ var _mAI = "maxAggregationInterval";
65516
65527
  var _mAIe = "mediaAcceleratorInfo";
65517
65528
  var _mASS = "movingAddressStatusSet";
65518
65529
  var _mAa = "macAddress";
65530
+ var _mAe = "meteredAccount";
65519
65531
  var _mB = "managedBy";
65520
65532
  var _mBIM = "maximumBandwidthInMbps";
65521
65533
  var _mC = "missingComponent";
@@ -68994,6 +69006,10 @@ var ExportTaskState = {
68994
69006
  cancelling: "cancelling",
68995
69007
  completed: "completed"
68996
69008
  };
69009
+ var IpamMeteredAccount = {
69010
+ ipam_owner: "ipam-owner",
69011
+ resource_owner: "resource-owner"
69012
+ };
68997
69013
  var IpamTier = {
68998
69014
  advanced: "advanced",
68999
69015
  free: "free"
@@ -69171,12 +69187,6 @@ var ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj)
69171
69187
  ...obj,
69172
69188
  ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING }
69173
69189
  }), "ResponseLaunchTemplateDataFilterSensitiveLog");
69174
- var LaunchTemplateVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
69175
- ...obj,
69176
- ...obj.LaunchTemplateData && {
69177
- LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)
69178
- }
69179
- }), "LaunchTemplateVersionFilterSensitiveLog");
69180
69190
 
69181
69191
  // src/commands/CopySnapshotCommand.ts
69182
69192
  var CopySnapshotCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
@@ -70045,6 +70055,12 @@ var TunnelInsideIpVersion = {
70045
70055
  ipv4: "ipv4",
70046
70056
  ipv6: "ipv6"
70047
70057
  };
70058
+ var LaunchTemplateVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
70059
+ ...obj,
70060
+ ...obj.LaunchTemplateData && {
70061
+ LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData)
70062
+ }
70063
+ }), "LaunchTemplateVersionFilterSensitiveLog");
70048
70064
  var CreateLaunchTemplateVersionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
70049
70065
  ...obj,
70050
70066
  ...obj.LaunchTemplateVersion && {
@@ -76666,10 +76682,6 @@ var ImportImageResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
76666
76682
  SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item))
76667
76683
  }
76668
76684
  }), "ImportImageResultFilterSensitiveLog");
76669
- var DiskImageDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
76670
- ...obj,
76671
- ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING }
76672
- }), "DiskImageDetailFilterSensitiveLog");
76673
76685
 
76674
76686
  // src/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.ts
76675
76687
  var ExportVerifiedAccessInstanceClientConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
@@ -77630,6 +77642,10 @@ var ResetFpgaImageAttributeName = {
77630
77642
  var ResetImageAttributeName = {
77631
77643
  launchPermission: "launchPermission"
77632
77644
  };
77645
+ var DiskImageDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
77646
+ ...obj,
77647
+ ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING }
77648
+ }), "DiskImageDetailFilterSensitiveLog");
77633
77649
  var DiskImageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
77634
77650
  ...obj,
77635
77651
  ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }
@@ -84235,6 +84251,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
84235
84251
  DiskImageFormat,
84236
84252
  ExportEnvironment,
84237
84253
  ExportTaskState,
84254
+ IpamMeteredAccount,
84238
84255
  IpamTier,
84239
84256
  IpamState,
84240
84257
  IpamExternalResourceVerificationTokenState,
@@ -84267,7 +84284,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
84267
84284
  CreateLaunchTemplateRequestFilterSensitiveLog,
84268
84285
  CreateLaunchTemplateVersionRequestFilterSensitiveLog,
84269
84286
  ResponseLaunchTemplateDataFilterSensitiveLog,
84270
- LaunchTemplateVersionFilterSensitiveLog,
84271
84287
  LocalGatewayRouteState,
84272
84288
  LocalGatewayRouteType,
84273
84289
  LocalGatewayRouteTableMode,
@@ -84345,6 +84361,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
84345
84361
  ServiceType,
84346
84362
  ServiceConnectivityType,
84347
84363
  TunnelInsideIpVersion,
84364
+ LaunchTemplateVersionFilterSensitiveLog,
84348
84365
  CreateLaunchTemplateVersionResultFilterSensitiveLog,
84349
84366
  CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog,
84350
84367
  CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog,
@@ -84524,7 +84541,6 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
84524
84541
  ImageDiskContainerFilterSensitiveLog,
84525
84542
  ImportImageRequestFilterSensitiveLog,
84526
84543
  ImportImageResultFilterSensitiveLog,
84527
- DiskImageDetailFilterSensitiveLog,
84528
84544
  LockMode,
84529
84545
  ModifyAvailabilityZoneOptInStatus,
84530
84546
  OperationType,
@@ -84543,6 +84559,7 @@ var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input)
84543
84559
  ReportStatusType,
84544
84560
  ResetFpgaImageAttributeName,
84545
84561
  ResetImageAttributeName,
84562
+ DiskImageDetailFilterSensitiveLog,
84546
84563
  DiskImageFilterSensitiveLog,
84547
84564
  UserDataFilterSensitiveLog,
84548
84565
  ImportInstanceLaunchSpecificationFilterSensitiveLog,
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DescribeConversionTasksResultFilterSensitiveLog } from "../models/models_4";
5
+ import { DescribeConversionTasksResultFilterSensitiveLog, } from "../models/models_4";
6
6
  import { de_DescribeConversionTasksCommand, se_DescribeConversionTasksCommand } from "../protocols/Aws_ec2";
7
7
  export { $Command };
8
8
  export class DescribeConversionTasksCommand extends $Command
@@ -1163,6 +1163,10 @@ export const ExportTaskState = {
1163
1163
  cancelling: "cancelling",
1164
1164
  completed: "completed",
1165
1165
  };
1166
+ export const IpamMeteredAccount = {
1167
+ ipam_owner: "ipam-owner",
1168
+ resource_owner: "resource-owner",
1169
+ };
1166
1170
  export const IpamTier = {
1167
1171
  advanced: "advanced",
1168
1172
  free: "free",
@@ -1340,9 +1344,3 @@ export const ResponseLaunchTemplateDataFilterSensitiveLog = (obj) => ({
1340
1344
  ...obj,
1341
1345
  ...(obj.UserData && { UserData: SENSITIVE_STRING }),
1342
1346
  });
1343
- export const LaunchTemplateVersionFilterSensitiveLog = (obj) => ({
1344
- ...obj,
1345
- ...(obj.LaunchTemplateData && {
1346
- LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData),
1347
- }),
1348
- });
@@ -1,6 +1,6 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
- import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
3
+ import { ResponseLaunchTemplateDataFilterSensitiveLog, } from "./models_1";
4
4
  export const LocalGatewayRouteState = {
5
5
  active: "active",
6
6
  blackhole: "blackhole",
@@ -428,6 +428,12 @@ export const TunnelInsideIpVersion = {
428
428
  ipv4: "ipv4",
429
429
  ipv6: "ipv6",
430
430
  };
431
+ export const LaunchTemplateVersionFilterSensitiveLog = (obj) => ({
432
+ ...obj,
433
+ ...(obj.LaunchTemplateData && {
434
+ LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData),
435
+ }),
436
+ });
431
437
  export const CreateLaunchTemplateVersionResultFilterSensitiveLog = (obj) => ({
432
438
  ...obj,
433
439
  ...(obj.LaunchTemplateVersion && {
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_1";
2
+ import { LaunchTemplateVersionFilterSensitiveLog, } from "./models_2";
3
3
  export const ConversionTaskState = {
4
4
  active: "active",
5
5
  cancelled: "cancelled",
@@ -164,7 +164,3 @@ export const ImportImageResultFilterSensitiveLog = (obj) => ({
164
164
  SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)),
165
165
  }),
166
166
  });
167
- export const DiskImageDetailFilterSensitiveLog = (obj) => ({
168
- ...obj,
169
- ...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
170
- });
@@ -3,7 +3,6 @@ import { VerifiedAccessTrustProviderFilterSensitiveLog, } from "./models_0";
3
3
  import { VpnConnectionFilterSensitiveLog, } from "./models_3";
4
4
  import { ConversionTaskFilterSensitiveLog, SnapshotTaskDetailFilterSensitiveLog, } from "./models_4";
5
5
  import { SpotFleetRequestConfigDataFilterSensitiveLog, SpotInstanceRequestFilterSensitiveLog, } from "./models_5";
6
- import { DiskImageDetailFilterSensitiveLog, } from "./models_6";
7
6
  export const LockMode = {
8
7
  compliance: "compliance",
9
8
  governance: "governance",
@@ -89,6 +88,10 @@ export const ResetFpgaImageAttributeName = {
89
88
  export const ResetImageAttributeName = {
90
89
  launchPermission: "launchPermission",
91
90
  };
91
+ export const DiskImageDetailFilterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ ...(obj.ImportManifestUrl && { ImportManifestUrl: SENSITIVE_STRING }),
94
+ });
92
95
  export const DiskImageFilterSensitiveLog = (obj) => ({
93
96
  ...obj,
94
97
  ...(obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) }),
@@ -18207,6 +18207,9 @@ const se_CreateIpamRequest = (input, context) => {
18207
18207
  if (input[_EPG] != null) {
18208
18208
  entries[_EPG] = input[_EPG];
18209
18209
  }
18210
+ if (input[_MAe] != null) {
18211
+ entries[_MAe] = input[_MAe];
18212
+ }
18210
18213
  return entries;
18211
18214
  };
18212
18215
  const se_CreateIpamResourceDiscoveryRequest = (input, context) => {
@@ -31574,6 +31577,9 @@ const se_ModifyIpamRequest = (input, context) => {
31574
31577
  if (input[_EPG] != null) {
31575
31578
  entries[_EPG] = input[_EPG];
31576
31579
  }
31580
+ if (input[_MAe] != null) {
31581
+ entries[_MAe] = input[_MAe];
31582
+ }
31577
31583
  return entries;
31578
31584
  };
31579
31585
  const se_ModifyIpamResourceCidrRequest = (input, context) => {
@@ -50370,6 +50376,9 @@ const de_Ipam = (output, context) => {
50370
50376
  if (output[_ePG] != null) {
50371
50377
  contents[_EPG] = __parseBoolean(output[_ePG]);
50372
50378
  }
50379
+ if (output[_mAe] != null) {
50380
+ contents[_MAe] = __expectString(output[_mAe]);
50381
+ }
50373
50382
  return contents;
50374
50383
  };
50375
50384
  const de_IpamAddressHistoryRecord = (output, context) => {
@@ -63359,6 +63368,7 @@ const _MAS = "MovingAddressStatuses";
63359
63368
  const _MATV = "MoveAddressToVpc";
63360
63369
  const _MAZG = "ModifyAvailabilityZoneGroup";
63361
63370
  const _MAa = "MacAddress";
63371
+ const _MAe = "MeteredAccount";
63362
63372
  const _MB = "ManagedBy";
63363
63373
  const _MBCTI = "MoveByoipCidrToIpam";
63364
63374
  const _MBIM = "MaximumBandwidthInMbps";
@@ -65448,6 +65458,7 @@ const _mAI = "maxAggregationInterval";
65448
65458
  const _mAIe = "mediaAcceleratorInfo";
65449
65459
  const _mASS = "movingAddressStatusSet";
65450
65460
  const _mAa = "macAddress";
65461
+ const _mAe = "meteredAccount";
65451
65462
  const _mB = "managedBy";
65452
65463
  const _mBIM = "maximumBandwidthInMbps";
65453
65464
  const _mC = "missingComponent";
@@ -61,6 +61,7 @@ declare const CreateIpamCommand_base: {
61
61
  * ClientToken: "STRING_VALUE",
62
62
  * Tier: "free" || "advanced",
63
63
  * EnablePrivateGua: true || false,
64
+ * MeteredAccount: "ipam-owner" || "resource-owner",
64
65
  * };
65
66
  * const command = new CreateIpamCommand(input);
66
67
  * const response = await client.send(command);
@@ -92,6 +93,7 @@ declare const CreateIpamCommand_base: {
92
93
  * // StateMessage: "STRING_VALUE",
93
94
  * // Tier: "free" || "advanced",
94
95
  * // EnablePrivateGua: true || false,
96
+ * // MeteredAccount: "ipam-owner" || "resource-owner",
95
97
  * // },
96
98
  * // };
97
99
  *
@@ -71,6 +71,7 @@ declare const DeleteIpamCommand_base: {
71
71
  * // StateMessage: "STRING_VALUE",
72
72
  * // Tier: "free" || "advanced",
73
73
  * // EnablePrivateGua: true || false,
74
+ * // MeteredAccount: "ipam-owner" || "resource-owner",
74
75
  * // },
75
76
  * // };
76
77
  *
@@ -30,19 +30,7 @@ declare const DescribeCapacityBlockOfferingsCommand_base: {
30
30
  * <p>Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a
31
31
  * specific instance type for a period of time.</p>
32
32
  * <p>To search for an available Capacity Block offering, you specify a reservation duration
33
- * and instance count. You must select one of the following options.</p>
34
- * <ul>
35
- * <li>
36
- * <p>For reservation durations<b> 1-day increments
37
- * up 14 days and 7-day increments up to 182 days total</b>
38
- * </p>
39
- * </li>
40
- * <li>
41
- * <p>For instance count<b> 1, 2, 4, 8, 16, 32, or
42
- * 64 instances</b>
43
- * </p>
44
- * </li>
45
- * </ul>
33
+ * and instance count.</p>
46
34
  * @example
47
35
  * Use a bare-bones client and the command you need to make an API call.
48
36
  * ```javascript
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeConversionTasksRequest } from "../models/models_3";
5
- import { DescribeConversionTasksResult } from "../models/models_4";
4
+ import { DescribeConversionTasksRequest, DescribeConversionTasksResult } from "../models/models_4";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -84,6 +84,7 @@ declare const DescribeIpamsCommand_base: {
84
84
  * // StateMessage: "STRING_VALUE",
85
85
  * // Tier: "free" || "advanced",
86
86
  * // EnablePrivateGua: true || false,
87
+ * // MeteredAccount: "ipam-owner" || "resource-owner",
87
88
  * // },
88
89
  * // ],
89
90
  * // };
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DescribeManagedPrefixListsRequest, DescribeManagedPrefixListsResult } from "../models/models_4";
4
+ import { DescribeManagedPrefixListsRequest } from "../models/models_4";
5
+ import { DescribeManagedPrefixListsResult } from "../models/models_5";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { DisableImageDeregistrationProtectionRequest } from "../models/models_5";
5
- import { DisableImageDeregistrationProtectionResult } from "../models/models_6";
4
+ import { DisableImageDeregistrationProtectionRequest, DisableImageDeregistrationProtectionResult } from "../models/models_6";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -51,6 +51,7 @@ declare const ModifyIpamCommand_base: {
51
51
  * ],
52
52
  * Tier: "free" || "advanced",
53
53
  * EnablePrivateGua: true || false,
54
+ * MeteredAccount: "ipam-owner" || "resource-owner",
54
55
  * };
55
56
  * const command = new ModifyIpamCommand(input);
56
57
  * const response = await client.send(command);
@@ -82,6 +83,7 @@ declare const ModifyIpamCommand_base: {
82
83
  * // StateMessage: "STRING_VALUE",
83
84
  * // Tier: "free" || "advanced",
84
85
  * // EnablePrivateGua: true || false,
86
+ * // MeteredAccount: "ipam-owner" || "resource-owner",
85
87
  * // },
86
88
  * // };
87
89
  *
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { RestoreAddressToClassicRequest, RestoreAddressToClassicResult } from "../models/models_7";
4
+ import { RestoreAddressToClassicRequest } from "../models/models_7";
5
+ import { RestoreAddressToClassicResult } from "../models/models_8";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -30,35 +30,31 @@ declare const StopInstancesCommand_base: {
30
30
  * <p>Stops an Amazon EBS-backed instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html">Stop and start
31
31
  * Amazon EC2 instances</a> in the <i>Amazon EC2 User
32
32
  * Guide</i>.</p>
33
- * <p>You can use the Stop action to hibernate an instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled
34
- * for hibernation</a> and it meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
35
- * prerequisites</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
33
+ * <p>When you stop an instance, we shut it down. You can restart your instance at any
34
+ * time.</p>
35
+ * <p>You can use the Stop operation together with the Hibernate parameter to hibernate an
36
+ * instance if the instance is <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enabling-hibernation.html">enabled for
37
+ * hibernation</a> and meets the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html">hibernation
38
+ * prerequisites</a>. Stopping an instance doesn't preserve data stored in RAM,
39
+ * while hibernation does. If hibernation fails, a normal shutdown occurs. For more
40
+ * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html">Hibernate your Amazon EC2
36
41
  * instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
37
- * <p>We don't charge usage for a stopped instance, or data transfer fees; however, your
38
- * root partition Amazon EBS volume remains and continues to persist your data, and you are
39
- * charged for Amazon EBS volume usage. Every time you start your instance, Amazon EC2
40
- * charges a one-minute minimum for instance usage, and thereafter charges per second for
41
- * instance usage.</p>
42
- * <p>You can't stop or hibernate instance store-backed instances. You can't use the Stop
43
- * action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate
44
- * Spot Instances when they are interrupted. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances">Hibernating interrupted Spot Instances</a> in the
42
+ * <p>If your instance appears stuck in the <code>stopping</code> state, there might be an
43
+ * issue with the underlying host computer. You can use the Stop operation together with
44
+ * the Force parameter to force stop your instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
45
+ * Amazon EC2 instance stop issues</a> in the
45
46
  * <i>Amazon EC2 User Guide</i>.</p>
46
- * <p>When you stop or hibernate an instance, we shut it down. You can restart your instance
47
- * at any time. Before stopping or hibernating an instance, make sure it is in a state from
48
- * which it can be restarted. Stopping an instance does not preserve data stored in RAM,
49
- * but hibernating an instance does preserve data stored in RAM. If an instance cannot
50
- * hibernate successfully, a normal shutdown occurs.</p>
51
- * <p>Stopping and hibernating an instance is different to rebooting or terminating it. For
52
- * example, when you stop or hibernate an instance, the root device and any other devices
53
- * attached to the instance persist. When you terminate an instance, the root device and
54
- * any other devices attached during the instance launch are automatically deleted. For
55
- * more information about the differences between rebooting, stopping, hibernating, and
56
- * terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
57
- * in the <i>Amazon EC2 User Guide</i>.</p>
58
- * <p>When you stop an instance, we attempt to shut it down forcibly after a short while. If
59
- * your instance appears stuck in the stopping state after a period of time, there may be
60
- * an issue with the underlying host computer. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html">Troubleshoot
61
- * stopping your instance</a> in the <i>Amazon EC2 User Guide</i>.</p>
47
+ * <p>Stopping and hibernating an instance differs from rebooting or terminating it. For
48
+ * example, a stopped or hibernated instance retains its root volume and any data volumes,
49
+ * unlike terminated instances where these volumes are automatically deleted. For more
50
+ * information about the differences between stopping, hibernating, rebooting, and
51
+ * terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Amazon EC2
52
+ * instance state changes</a> in the <i>Amazon EC2 User Guide</i>.</p>
53
+ * <p>We don't charge for instance usage or data transfer fees when an instance is stopped.
54
+ * However, the root volume and any data volumes remain and continue to persist your data,
55
+ * and you're charged for volume usage. Every time you start your instance, Amazon EC2 charges a one-minute minimum for instance usage, followed by per-second
56
+ * billing.</p>
57
+ * <p>You can't stop or hibernate instance store-backed instances.</p>
62
58
  * @example
63
59
  * Use a bare-bones client and the command you need to make an API call.
64
60
  * ```javascript
@@ -27,8 +27,8 @@ declare const TerminateInstancesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Shuts down the specified instances. This operation is idempotent; if you terminate an
31
- * instance more than once, each call succeeds. </p>
30
+ * <p>Shuts down the specified instances. This operation is <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">idempotent</a>; if you
31
+ * terminate an instance more than once, each call succeeds.</p>
32
32
  * <p>If you specify multiple instances and the request fails (for example, because of a
33
33
  * single incorrect instance ID), none of the instances are terminated.</p>
34
34
  * <p>If you terminate multiple instances across multiple Availability Zones, and one or
@@ -78,14 +78,14 @@ declare const TerminateInstancesCommand_base: {
78
78
  * <p>By default, Amazon EC2 deletes all EBS volumes that were attached when the instance
79
79
  * launched. Volumes attached after instance launch continue running.</p>
80
80
  * <p>You can stop, start, and terminate EBS-backed instances. You can only terminate
81
- * instance store-backed instances. What happens to an instance differs if you stop it or
81
+ * instance store-backed instances. What happens to an instance differs if you stop or
82
82
  * terminate it. For example, when you stop an instance, the root device and any other
83
83
  * devices attached to the instance persist. When you terminate an instance, any attached
84
84
  * EBS volumes with the <code>DeleteOnTermination</code> block device mapping parameter set
85
85
  * to <code>true</code> are automatically deleted. For more information about the
86
- * differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Instance lifecycle</a>
87
- * in the <i>Amazon EC2 User Guide</i>.</p>
88
- * <p>For more information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
86
+ * differences between stopping and terminating instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html">Amazon EC2
87
+ * instance state changes</a> in the <i>Amazon EC2 User Guide</i>.</p>
88
+ * <p>For information about troubleshooting, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html">Troubleshooting terminating your instance</a> in the
89
89
  * <i>Amazon EC2 User Guide</i>.</p>
90
90
  * @example
91
91
  * Use a bare-bones client and the command you need to make an API call.