@aws-sdk/client-ec2 3.46.0 → 3.48.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 (136) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist-cjs/EC2.js +45 -0
  3. package/dist-cjs/commands/DescribeFastLaunchImagesCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeReservedInstancesCommand.js +2 -1
  5. package/dist-cjs/commands/DescribeReservedInstancesListingsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeReservedInstancesModificationsCommand.js +1 -2
  7. package/dist-cjs/commands/DisableFastLaunchCommand.js +36 -0
  8. package/dist-cjs/commands/EnableFastLaunchCommand.js +36 -0
  9. package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +2 -1
  10. package/dist-cjs/commands/GetIpamAddressHistoryCommand.js +3 -3
  11. package/dist-cjs/commands/GetIpamPoolAllocationsCommand.js +3 -3
  12. package/dist-cjs/commands/GetIpamPoolCidrsCommand.js +3 -3
  13. package/dist-cjs/commands/GetIpamResourceCidrsCommand.js +1 -2
  14. package/dist-cjs/commands/RestoreAddressToClassicCommand.js +3 -3
  15. package/dist-cjs/commands/RestoreManagedPrefixListVersionCommand.js +3 -3
  16. package/dist-cjs/commands/RestoreSnapshotFromRecycleBinCommand.js +3 -3
  17. package/dist-cjs/commands/RestoreSnapshotTierCommand.js +3 -3
  18. package/dist-cjs/commands/RevokeClientVpnIngressCommand.js +3 -3
  19. package/dist-cjs/commands/RevokeSecurityGroupEgressCommand.js +3 -3
  20. package/dist-cjs/commands/RevokeSecurityGroupIngressCommand.js +3 -3
  21. package/dist-cjs/commands/index.js +3 -0
  22. package/dist-cjs/endpoints.js +0 -32
  23. package/dist-cjs/models/models_0.js +14 -7
  24. package/dist-cjs/models/models_1.js +11 -6
  25. package/dist-cjs/models/models_2.js +7 -13
  26. package/dist-cjs/models/models_3.js +61 -53
  27. package/dist-cjs/models/models_4.js +89 -101
  28. package/dist-cjs/models/models_5.js +101 -96
  29. package/dist-cjs/models/models_6.js +92 -2
  30. package/dist-cjs/pagination/DescribeFastLaunchImagesPaginator.js +35 -0
  31. package/dist-cjs/pagination/index.js +1 -0
  32. package/dist-cjs/protocols/Aws_ec2.js +501 -17
  33. package/dist-cjs/runtimeConfig.browser.js +7 -2
  34. package/dist-cjs/runtimeConfig.js +10 -2
  35. package/dist-es/EC2.js +45 -0
  36. package/dist-es/commands/DescribeFastLaunchImagesCommand.js +39 -0
  37. package/dist-es/commands/DescribeReservedInstancesCommand.js +2 -1
  38. package/dist-es/commands/DescribeReservedInstancesListingsCommand.js +1 -1
  39. package/dist-es/commands/DescribeReservedInstancesModificationsCommand.js +1 -2
  40. package/dist-es/commands/DisableFastLaunchCommand.js +39 -0
  41. package/dist-es/commands/EnableFastLaunchCommand.js +39 -0
  42. package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +2 -1
  43. package/dist-es/commands/GetIpamAddressHistoryCommand.js +1 -1
  44. package/dist-es/commands/GetIpamPoolAllocationsCommand.js +1 -1
  45. package/dist-es/commands/GetIpamPoolCidrsCommand.js +1 -1
  46. package/dist-es/commands/GetIpamResourceCidrsCommand.js +1 -2
  47. package/dist-es/commands/RestoreAddressToClassicCommand.js +1 -1
  48. package/dist-es/commands/RestoreManagedPrefixListVersionCommand.js +1 -1
  49. package/dist-es/commands/RestoreSnapshotFromRecycleBinCommand.js +1 -1
  50. package/dist-es/commands/RestoreSnapshotTierCommand.js +1 -1
  51. package/dist-es/commands/RevokeClientVpnIngressCommand.js +1 -1
  52. package/dist-es/commands/RevokeSecurityGroupEgressCommand.js +1 -1
  53. package/dist-es/commands/RevokeSecurityGroupIngressCommand.js +1 -1
  54. package/dist-es/commands/index.js +3 -0
  55. package/dist-es/endpoints.js +0 -32
  56. package/dist-es/models/models_0.js +10 -5
  57. package/dist-es/models/models_1.js +5 -0
  58. package/dist-es/models/models_2.js +4 -8
  59. package/dist-es/models/models_3.js +41 -33
  60. package/dist-es/models/models_4.js +57 -75
  61. package/dist-es/models/models_5.js +75 -60
  62. package/dist-es/models/models_6.js +60 -0
  63. package/dist-es/pagination/DescribeFastLaunchImagesPaginator.js +74 -0
  64. package/dist-es/pagination/index.js +1 -0
  65. package/dist-es/protocols/Aws_ec2.js +1498 -991
  66. package/dist-es/runtimeConfig.browser.js +12 -3
  67. package/dist-es/runtimeConfig.js +13 -4
  68. package/dist-types/EC2.d.ts +28 -0
  69. package/dist-types/EC2Client.d.ts +10 -3
  70. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +35 -0
  71. package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +2 -1
  72. package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -2
  74. package/dist-types/commands/DisableFastLaunchCommand.d.ts +37 -0
  75. package/dist-types/commands/EnableFastLaunchCommand.d.ts +40 -0
  76. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -1
  77. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +1 -1
  78. package/dist-types/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  79. package/dist-types/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  80. package/dist-types/commands/GetIpamResourceCidrsCommand.d.ts +1 -2
  81. package/dist-types/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  82. package/dist-types/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  83. package/dist-types/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  84. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  85. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  86. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  87. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  88. package/dist-types/commands/index.d.ts +3 -0
  89. package/dist-types/models/models_0.d.ts +25 -11
  90. package/dist-types/models/models_1.d.ts +11 -8
  91. package/dist-types/models/models_2.d.ts +18 -71
  92. package/dist-types/models/models_3.d.ts +240 -298
  93. package/dist-types/models/models_4.d.ts +500 -334
  94. package/dist-types/models/models_5.d.ts +334 -420
  95. package/dist-types/models/models_6.d.ts +413 -3
  96. package/dist-types/pagination/DescribeFastLaunchImagesPaginator.d.ts +4 -0
  97. package/dist-types/pagination/index.d.ts +1 -0
  98. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  99. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  100. package/dist-types/runtimeConfig.d.ts +4 -3
  101. package/dist-types/runtimeConfig.native.d.ts +1 -0
  102. package/dist-types/ts3.4/EC2.d.ts +15 -0
  103. package/dist-types/ts3.4/EC2Client.d.ts +8 -3
  104. package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/DescribeReservedInstancesListingsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -2
  108. package/dist-types/ts3.4/commands/DisableFastLaunchCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/EnableFastLaunchCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +2 -1
  111. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/GetIpamPoolAllocationsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/GetIpamPoolCidrsCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/GetIpamResourceCidrsCommand.d.ts +1 -2
  115. package/dist-types/ts3.4/commands/RestoreAddressToClassicCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/RestoreManagedPrefixListVersionCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/RestoreSnapshotFromRecycleBinCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  123. package/dist-types/ts3.4/models/models_0.d.ts +17 -5
  124. package/dist-types/ts3.4/models/models_1.d.ts +5 -2
  125. package/dist-types/ts3.4/models/models_2.d.ts +12 -37
  126. package/dist-types/ts3.4/models/models_3.d.ts +122 -122
  127. package/dist-types/ts3.4/models/models_4.d.ts +224 -194
  128. package/dist-types/ts3.4/models/models_5.d.ts +196 -219
  129. package/dist-types/ts3.4/models/models_6.d.ts +218 -3
  130. package/dist-types/ts3.4/pagination/DescribeFastLaunchImagesPaginator.d.ts +4 -0
  131. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  132. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +9 -0
  133. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  134. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  135. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  136. package/package.json +37 -37
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
package/dist-es/EC2.js CHANGED
@@ -209,6 +209,7 @@ import { DescribeEgressOnlyInternetGatewaysCommand, } from "./commands/DescribeE
209
209
  import { DescribeElasticGpusCommand, } from "./commands/DescribeElasticGpusCommand";
210
210
  import { DescribeExportImageTasksCommand, } from "./commands/DescribeExportImageTasksCommand";
211
211
  import { DescribeExportTasksCommand, } from "./commands/DescribeExportTasksCommand";
212
+ import { DescribeFastLaunchImagesCommand, } from "./commands/DescribeFastLaunchImagesCommand";
212
213
  import { DescribeFastSnapshotRestoresCommand, } from "./commands/DescribeFastSnapshotRestoresCommand";
213
214
  import { DescribeFleetHistoryCommand, } from "./commands/DescribeFleetHistoryCommand";
214
215
  import { DescribeFleetInstancesCommand, } from "./commands/DescribeFleetInstancesCommand";
@@ -323,6 +324,7 @@ import { DetachNetworkInterfaceCommand, } from "./commands/DetachNetworkInterfac
323
324
  import { DetachVolumeCommand, } from "./commands/DetachVolumeCommand";
324
325
  import { DetachVpnGatewayCommand, } from "./commands/DetachVpnGatewayCommand";
325
326
  import { DisableEbsEncryptionByDefaultCommand, } from "./commands/DisableEbsEncryptionByDefaultCommand";
327
+ import { DisableFastLaunchCommand, } from "./commands/DisableFastLaunchCommand";
326
328
  import { DisableFastSnapshotRestoresCommand, } from "./commands/DisableFastSnapshotRestoresCommand";
327
329
  import { DisableImageDeprecationCommand, } from "./commands/DisableImageDeprecationCommand";
328
330
  import { DisableIpamOrganizationAdminAccountCommand, } from "./commands/DisableIpamOrganizationAdminAccountCommand";
@@ -343,6 +345,7 @@ import { DisassociateTransitGatewayRouteTableCommand, } from "./commands/Disasso
343
345
  import { DisassociateTrunkInterfaceCommand, } from "./commands/DisassociateTrunkInterfaceCommand";
344
346
  import { DisassociateVpcCidrBlockCommand, } from "./commands/DisassociateVpcCidrBlockCommand";
345
347
  import { EnableEbsEncryptionByDefaultCommand, } from "./commands/EnableEbsEncryptionByDefaultCommand";
348
+ import { EnableFastLaunchCommand, } from "./commands/EnableFastLaunchCommand";
346
349
  import { EnableFastSnapshotRestoresCommand, } from "./commands/EnableFastSnapshotRestoresCommand";
347
350
  import { EnableImageDeprecationCommand, } from "./commands/EnableImageDeprecationCommand";
348
351
  import { EnableIpamOrganizationAdminAccountCommand, } from "./commands/EnableIpamOrganizationAdminAccountCommand";
@@ -3461,6 +3464,20 @@ var EC2 = (function (_super) {
3461
3464
  return this.send(command, optionsOrCb);
3462
3465
  }
3463
3466
  };
3467
+ EC2.prototype.describeFastLaunchImages = function (args, optionsOrCb, cb) {
3468
+ var command = new DescribeFastLaunchImagesCommand(args);
3469
+ if (typeof optionsOrCb === "function") {
3470
+ this.send(command, optionsOrCb);
3471
+ }
3472
+ else if (typeof cb === "function") {
3473
+ if (typeof optionsOrCb !== "object")
3474
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
3475
+ this.send(command, optionsOrCb || {}, cb);
3476
+ }
3477
+ else {
3478
+ return this.send(command, optionsOrCb);
3479
+ }
3480
+ };
3464
3481
  EC2.prototype.describeFastSnapshotRestores = function (args, optionsOrCb, cb) {
3465
3482
  var command = new DescribeFastSnapshotRestoresCommand(args);
3466
3483
  if (typeof optionsOrCb === "function") {
@@ -5057,6 +5074,20 @@ var EC2 = (function (_super) {
5057
5074
  return this.send(command, optionsOrCb);
5058
5075
  }
5059
5076
  };
5077
+ EC2.prototype.disableFastLaunch = function (args, optionsOrCb, cb) {
5078
+ var command = new DisableFastLaunchCommand(args);
5079
+ if (typeof optionsOrCb === "function") {
5080
+ this.send(command, optionsOrCb);
5081
+ }
5082
+ else if (typeof cb === "function") {
5083
+ if (typeof optionsOrCb !== "object")
5084
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
5085
+ this.send(command, optionsOrCb || {}, cb);
5086
+ }
5087
+ else {
5088
+ return this.send(command, optionsOrCb);
5089
+ }
5090
+ };
5060
5091
  EC2.prototype.disableFastSnapshotRestores = function (args, optionsOrCb, cb) {
5061
5092
  var command = new DisableFastSnapshotRestoresCommand(args);
5062
5093
  if (typeof optionsOrCb === "function") {
@@ -5337,6 +5368,20 @@ var EC2 = (function (_super) {
5337
5368
  return this.send(command, optionsOrCb);
5338
5369
  }
5339
5370
  };
5371
+ EC2.prototype.enableFastLaunch = function (args, optionsOrCb, cb) {
5372
+ var command = new EnableFastLaunchCommand(args);
5373
+ if (typeof optionsOrCb === "function") {
5374
+ this.send(command, optionsOrCb);
5375
+ }
5376
+ else if (typeof cb === "function") {
5377
+ if (typeof optionsOrCb !== "object")
5378
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
5379
+ this.send(command, optionsOrCb || {}, cb);
5380
+ }
5381
+ else {
5382
+ return this.send(command, optionsOrCb);
5383
+ }
5384
+ };
5340
5385
  EC2.prototype.enableFastSnapshotRestores = function (args, optionsOrCb, cb) {
5341
5386
  var command = new EnableFastSnapshotRestoresCommand(args);
5342
5387
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeFastLaunchImagesRequest, DescribeFastLaunchImagesResult } from "../models/models_3";
5
+ import { deserializeAws_ec2DescribeFastLaunchImagesCommand, serializeAws_ec2DescribeFastLaunchImagesCommand, } from "../protocols/Aws_ec2";
6
+ var DescribeFastLaunchImagesCommand = (function (_super) {
7
+ __extends(DescribeFastLaunchImagesCommand, _super);
8
+ function DescribeFastLaunchImagesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeFastLaunchImagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "DescribeFastLaunchImagesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeFastLaunchImagesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeFastLaunchImagesResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeFastLaunchImagesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2DescribeFastLaunchImagesCommand(input, context);
33
+ };
34
+ DescribeFastLaunchImagesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2DescribeFastLaunchImagesCommand(output, context);
36
+ };
37
+ return DescribeFastLaunchImagesCommand;
38
+ }($Command));
39
+ export { DescribeFastLaunchImagesCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeReservedInstancesRequest, DescribeReservedInstancesResult } from "../models/models_3";
4
+ import { DescribeReservedInstancesRequest } from "../models/models_3";
5
+ import { DescribeReservedInstancesResult } from "../models/models_4";
5
6
  import { deserializeAws_ec2DescribeReservedInstancesCommand, serializeAws_ec2DescribeReservedInstancesCommand, } from "../protocols/Aws_ec2";
6
7
  var DescribeReservedInstancesCommand = (function (_super) {
7
8
  __extends(DescribeReservedInstancesCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeReservedInstancesListingsRequest, DescribeReservedInstancesListingsResult } from "../models/models_3";
4
+ import { DescribeReservedInstancesListingsRequest, DescribeReservedInstancesListingsResult } from "../models/models_4";
5
5
  import { deserializeAws_ec2DescribeReservedInstancesListingsCommand, serializeAws_ec2DescribeReservedInstancesListingsCommand, } from "../protocols/Aws_ec2";
6
6
  var DescribeReservedInstancesListingsCommand = (function (_super) {
7
7
  __extends(DescribeReservedInstancesListingsCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeReservedInstancesModificationsRequest } from "../models/models_3";
5
- import { DescribeReservedInstancesModificationsResult } from "../models/models_4";
4
+ import { DescribeReservedInstancesModificationsRequest, DescribeReservedInstancesModificationsResult, } from "../models/models_4";
6
5
  import { deserializeAws_ec2DescribeReservedInstancesModificationsCommand, serializeAws_ec2DescribeReservedInstancesModificationsCommand, } from "../protocols/Aws_ec2";
7
6
  var DescribeReservedInstancesModificationsCommand = (function (_super) {
8
7
  __extends(DescribeReservedInstancesModificationsCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DisableFastLaunchRequest, DisableFastLaunchResult } from "../models/models_4";
5
+ import { deserializeAws_ec2DisableFastLaunchCommand, serializeAws_ec2DisableFastLaunchCommand, } from "../protocols/Aws_ec2";
6
+ var DisableFastLaunchCommand = (function (_super) {
7
+ __extends(DisableFastLaunchCommand, _super);
8
+ function DisableFastLaunchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DisableFastLaunchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "DisableFastLaunchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DisableFastLaunchRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DisableFastLaunchResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DisableFastLaunchCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2DisableFastLaunchCommand(input, context);
33
+ };
34
+ DisableFastLaunchCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2DisableFastLaunchCommand(output, context);
36
+ };
37
+ return DisableFastLaunchCommand;
38
+ }($Command));
39
+ export { DisableFastLaunchCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { EnableFastLaunchRequest, EnableFastLaunchResult } from "../models/models_4";
5
+ import { deserializeAws_ec2EnableFastLaunchCommand, serializeAws_ec2EnableFastLaunchCommand, } from "../protocols/Aws_ec2";
6
+ var EnableFastLaunchCommand = (function (_super) {
7
+ __extends(EnableFastLaunchCommand, _super);
8
+ function EnableFastLaunchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ EnableFastLaunchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "EC2Client";
18
+ var commandName = "EnableFastLaunchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: EnableFastLaunchRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: EnableFastLaunchResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EnableFastLaunchCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_ec2EnableFastLaunchCommand(input, context);
33
+ };
34
+ EnableFastLaunchCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_ec2EnableFastLaunchCommand(output, context);
36
+ };
37
+ return EnableFastLaunchCommand;
38
+ }($Command));
39
+ export { EnableFastLaunchCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetInstanceTypesFromInstanceRequirementsRequest, GetInstanceTypesFromInstanceRequirementsResult, } from "../models/models_4";
4
+ import { GetInstanceTypesFromInstanceRequirementsRequest } from "../models/models_4";
5
+ import { GetInstanceTypesFromInstanceRequirementsResult } from "../models/models_5";
5
6
  import { deserializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, serializeAws_ec2GetInstanceTypesFromInstanceRequirementsCommand, } from "../protocols/Aws_ec2";
6
7
  var GetInstanceTypesFromInstanceRequirementsCommand = (function (_super) {
7
8
  __extends(GetInstanceTypesFromInstanceRequirementsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetIpamAddressHistoryRequest, GetIpamAddressHistoryResult } from "../models/models_4";
4
+ import { GetIpamAddressHistoryRequest, GetIpamAddressHistoryResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2GetIpamAddressHistoryCommand, serializeAws_ec2GetIpamAddressHistoryCommand, } from "../protocols/Aws_ec2";
6
6
  var GetIpamAddressHistoryCommand = (function (_super) {
7
7
  __extends(GetIpamAddressHistoryCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetIpamPoolAllocationsRequest, GetIpamPoolAllocationsResult } from "../models/models_4";
4
+ import { GetIpamPoolAllocationsRequest, GetIpamPoolAllocationsResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2GetIpamPoolAllocationsCommand, serializeAws_ec2GetIpamPoolAllocationsCommand, } from "../protocols/Aws_ec2";
6
6
  var GetIpamPoolAllocationsCommand = (function (_super) {
7
7
  __extends(GetIpamPoolAllocationsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetIpamPoolCidrsRequest, GetIpamPoolCidrsResult } from "../models/models_4";
4
+ import { GetIpamPoolCidrsRequest, GetIpamPoolCidrsResult } from "../models/models_5";
5
5
  import { deserializeAws_ec2GetIpamPoolCidrsCommand, serializeAws_ec2GetIpamPoolCidrsCommand, } from "../protocols/Aws_ec2";
6
6
  var GetIpamPoolCidrsCommand = (function (_super) {
7
7
  __extends(GetIpamPoolCidrsCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetIpamResourceCidrsRequest } from "../models/models_4";
5
- import { GetIpamResourceCidrsResult } from "../models/models_5";
4
+ import { GetIpamResourceCidrsRequest, GetIpamResourceCidrsResult } from "../models/models_5";
6
5
  import { deserializeAws_ec2GetIpamResourceCidrsCommand, serializeAws_ec2GetIpamResourceCidrsCommand, } from "../protocols/Aws_ec2";
7
6
  var GetIpamResourceCidrsCommand = (function (_super) {
8
7
  __extends(GetIpamResourceCidrsCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RestoreAddressToClassicRequest, RestoreAddressToClassicResult } from "../models/models_5";
4
+ import { RestoreAddressToClassicRequest, RestoreAddressToClassicResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RestoreAddressToClassicCommand, serializeAws_ec2RestoreAddressToClassicCommand, } from "../protocols/Aws_ec2";
6
6
  var RestoreAddressToClassicCommand = (function (_super) {
7
7
  __extends(RestoreAddressToClassicCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RestoreManagedPrefixListVersionRequest, RestoreManagedPrefixListVersionResult } from "../models/models_5";
4
+ import { RestoreManagedPrefixListVersionRequest, RestoreManagedPrefixListVersionResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RestoreManagedPrefixListVersionCommand, serializeAws_ec2RestoreManagedPrefixListVersionCommand, } from "../protocols/Aws_ec2";
6
6
  var RestoreManagedPrefixListVersionCommand = (function (_super) {
7
7
  __extends(RestoreManagedPrefixListVersionCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RestoreSnapshotFromRecycleBinRequest, RestoreSnapshotFromRecycleBinResult } from "../models/models_5";
4
+ import { RestoreSnapshotFromRecycleBinRequest, RestoreSnapshotFromRecycleBinResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RestoreSnapshotFromRecycleBinCommand, serializeAws_ec2RestoreSnapshotFromRecycleBinCommand, } from "../protocols/Aws_ec2";
6
6
  var RestoreSnapshotFromRecycleBinCommand = (function (_super) {
7
7
  __extends(RestoreSnapshotFromRecycleBinCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RestoreSnapshotTierRequest, RestoreSnapshotTierResult } from "../models/models_5";
4
+ import { RestoreSnapshotTierRequest, RestoreSnapshotTierResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RestoreSnapshotTierCommand, serializeAws_ec2RestoreSnapshotTierCommand, } from "../protocols/Aws_ec2";
6
6
  var RestoreSnapshotTierCommand = (function (_super) {
7
7
  __extends(RestoreSnapshotTierCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RevokeClientVpnIngressRequest, RevokeClientVpnIngressResult } from "../models/models_5";
4
+ import { RevokeClientVpnIngressRequest, RevokeClientVpnIngressResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RevokeClientVpnIngressCommand, serializeAws_ec2RevokeClientVpnIngressCommand, } from "../protocols/Aws_ec2";
6
6
  var RevokeClientVpnIngressCommand = (function (_super) {
7
7
  __extends(RevokeClientVpnIngressCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RevokeSecurityGroupEgressRequest, RevokeSecurityGroupEgressResult } from "../models/models_5";
4
+ import { RevokeSecurityGroupEgressRequest, RevokeSecurityGroupEgressResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RevokeSecurityGroupEgressCommand, serializeAws_ec2RevokeSecurityGroupEgressCommand, } from "../protocols/Aws_ec2";
6
6
  var RevokeSecurityGroupEgressCommand = (function (_super) {
7
7
  __extends(RevokeSecurityGroupEgressCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { RevokeSecurityGroupIngressRequest, RevokeSecurityGroupIngressResult } from "../models/models_5";
4
+ import { RevokeSecurityGroupIngressRequest, RevokeSecurityGroupIngressResult } from "../models/models_6";
5
5
  import { deserializeAws_ec2RevokeSecurityGroupIngressCommand, serializeAws_ec2RevokeSecurityGroupIngressCommand, } from "../protocols/Aws_ec2";
6
6
  var RevokeSecurityGroupIngressCommand = (function (_super) {
7
7
  __extends(RevokeSecurityGroupIngressCommand, _super);
@@ -208,6 +208,7 @@ export * from "./DescribeEgressOnlyInternetGatewaysCommand";
208
208
  export * from "./DescribeElasticGpusCommand";
209
209
  export * from "./DescribeExportImageTasksCommand";
210
210
  export * from "./DescribeExportTasksCommand";
211
+ export * from "./DescribeFastLaunchImagesCommand";
211
212
  export * from "./DescribeFastSnapshotRestoresCommand";
212
213
  export * from "./DescribeFleetHistoryCommand";
213
214
  export * from "./DescribeFleetInstancesCommand";
@@ -322,6 +323,7 @@ export * from "./DetachNetworkInterfaceCommand";
322
323
  export * from "./DetachVolumeCommand";
323
324
  export * from "./DetachVpnGatewayCommand";
324
325
  export * from "./DisableEbsEncryptionByDefaultCommand";
326
+ export * from "./DisableFastLaunchCommand";
325
327
  export * from "./DisableFastSnapshotRestoresCommand";
326
328
  export * from "./DisableImageDeprecationCommand";
327
329
  export * from "./DisableIpamOrganizationAdminAccountCommand";
@@ -342,6 +344,7 @@ export * from "./DisassociateTransitGatewayRouteTableCommand";
342
344
  export * from "./DisassociateTrunkInterfaceCommand";
343
345
  export * from "./DisassociateVpcCidrBlockCommand";
344
346
  export * from "./EnableEbsEncryptionByDefaultCommand";
347
+ export * from "./EnableFastLaunchCommand";
345
348
  export * from "./EnableFastSnapshotRestoresCommand";
346
349
  export * from "./EnableImageDeprecationCommand";
347
350
  export * from "./EnableIpamOrganizationAdminAccountCommand";
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "ap-south-1": {
5
5
  variants: [
6
- {
7
- hostname: "ec2.ap-south-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "api.ec2.ap-south-1.aws",
12
8
  tags: ["dualstack"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "ca-central-1": {
17
13
  variants: [
18
- {
19
- hostname: "ec2.ca-central-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "ec2-fips.ca-central-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "eu-west-1": {
29
21
  variants: [
30
- {
31
- hostname: "ec2.eu-west-1.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "api.ec2.eu-west-1.aws",
36
24
  tags: ["dualstack"],
@@ -39,10 +27,6 @@ var regionHash = {
39
27
  },
40
28
  "sa-east-1": {
41
29
  variants: [
42
- {
43
- hostname: "ec2.sa-east-1.amazonaws.com",
44
- tags: [],
45
- },
46
30
  {
47
31
  hostname: "api.ec2.sa-east-1.aws",
48
32
  tags: ["dualstack"],
@@ -51,10 +35,6 @@ var regionHash = {
51
35
  },
52
36
  "us-east-1": {
53
37
  variants: [
54
- {
55
- hostname: "ec2.us-east-1.amazonaws.com",
56
- tags: [],
57
- },
58
38
  {
59
39
  hostname: "api.ec2.us-east-1.aws",
60
40
  tags: ["dualstack"],
@@ -67,10 +47,6 @@ var regionHash = {
67
47
  },
68
48
  "us-east-2": {
69
49
  variants: [
70
- {
71
- hostname: "ec2.us-east-2.amazonaws.com",
72
- tags: [],
73
- },
74
50
  {
75
51
  hostname: "api.ec2.us-east-2.aws",
76
52
  tags: ["dualstack"],
@@ -101,10 +77,6 @@ var regionHash = {
101
77
  },
102
78
  "us-west-1": {
103
79
  variants: [
104
- {
105
- hostname: "ec2.us-west-1.amazonaws.com",
106
- tags: [],
107
- },
108
80
  {
109
81
  hostname: "ec2-fips.us-west-1.amazonaws.com",
110
82
  tags: ["fips"],
@@ -113,10 +85,6 @@ var regionHash = {
113
85
  },
114
86
  "us-west-2": {
115
87
  variants: [
116
- {
117
- hostname: "ec2.us-west-2.amazonaws.com",
118
- tags: [],
119
- },
120
88
  {
121
89
  hostname: "api.ec2.us-west-2.aws",
122
90
  tags: ["dualstack"],
@@ -859,6 +859,12 @@ export var CapacityReservationInstancePlatform;
859
859
  CapacityReservationInstancePlatform["LINUX_WITH_SQL_SERVER_STANDARD"] = "Linux with SQL Server Standard";
860
860
  CapacityReservationInstancePlatform["LINUX_WITH_SQL_SERVER_WEB"] = "Linux with SQL Server Web";
861
861
  CapacityReservationInstancePlatform["RED_HAT_ENTERPRISE_LINUX"] = "Red Hat Enterprise Linux";
862
+ CapacityReservationInstancePlatform["RHEL_WITH_HA"] = "RHEL with HA";
863
+ CapacityReservationInstancePlatform["RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE"] = "RHEL with HA and SQL Server Enterprise";
864
+ CapacityReservationInstancePlatform["RHEL_WITH_HA_AND_SQL_SERVER_STANDARD"] = "RHEL with HA and SQL Server Standard";
865
+ CapacityReservationInstancePlatform["RHEL_WITH_SQL_SERVER_ENTERPRISE"] = "RHEL with SQL Server Enterprise";
866
+ CapacityReservationInstancePlatform["RHEL_WITH_SQL_SERVER_STANDARD"] = "RHEL with SQL Server Standard";
867
+ CapacityReservationInstancePlatform["RHEL_WITH_SQL_SERVER_WEB"] = "RHEL with SQL Server Web";
862
868
  CapacityReservationInstancePlatform["SUSE_LINUX"] = "SUSE Linux";
863
869
  CapacityReservationInstancePlatform["WINDOWS"] = "Windows";
864
870
  CapacityReservationInstancePlatform["WINDOWS_WITH_SQL_SERVER"] = "Windows with SQL Server";
@@ -934,6 +940,10 @@ export var ClientConnectOptions;
934
940
  (function (ClientConnectOptions) {
935
941
  ClientConnectOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
936
942
  })(ClientConnectOptions || (ClientConnectOptions = {}));
943
+ export var ClientLoginBannerOptions;
944
+ (function (ClientLoginBannerOptions) {
945
+ ClientLoginBannerOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
946
+ })(ClientLoginBannerOptions || (ClientLoginBannerOptions = {}));
937
947
  export var ConnectionLogOptions;
938
948
  (function (ConnectionLogOptions) {
939
949
  ConnectionLogOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1089,8 +1099,3 @@ export var LocalStorage;
1089
1099
  LocalStorage["INCLUDED"] = "included";
1090
1100
  LocalStorage["REQUIRED"] = "required";
1091
1101
  })(LocalStorage || (LocalStorage = {}));
1092
- export var LocalStorageType;
1093
- (function (LocalStorageType) {
1094
- LocalStorageType["HDD"] = "hdd";
1095
- LocalStorageType["SSD"] = "ssd";
1096
- })(LocalStorageType || (LocalStorageType = {}));
@@ -1,5 +1,10 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var LocalStorageType;
4
+ (function (LocalStorageType) {
5
+ LocalStorageType["HDD"] = "hdd";
6
+ LocalStorageType["SSD"] = "ssd";
7
+ })(LocalStorageType || (LocalStorageType = {}));
3
8
  export var MemoryGiBPerVCpuRequest;
4
9
  (function (MemoryGiBPerVCpuRequest) {
5
10
  MemoryGiBPerVCpuRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1095,6 +1095,10 @@ export var ClientConnectResponseOptions;
1095
1095
  (function (ClientConnectResponseOptions) {
1096
1096
  ClientConnectResponseOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1097
1097
  })(ClientConnectResponseOptions || (ClientConnectResponseOptions = {}));
1098
+ export var ClientLoginBannerResponseOptions;
1099
+ (function (ClientLoginBannerResponseOptions) {
1100
+ ClientLoginBannerResponseOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1101
+ })(ClientLoginBannerResponseOptions || (ClientLoginBannerResponseOptions = {}));
1098
1102
  export var ConnectionLogResponseOptions;
1099
1103
  (function (ConnectionLogResponseOptions) {
1100
1104
  ConnectionLogResponseOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1155,11 +1159,3 @@ export var DiskImageVolumeDescription;
1155
1159
  (function (DiskImageVolumeDescription) {
1156
1160
  DiskImageVolumeDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1157
1161
  })(DiskImageVolumeDescription || (DiskImageVolumeDescription = {}));
1158
- export var ImportInstanceVolumeDetailItem;
1159
- (function (ImportInstanceVolumeDetailItem) {
1160
- ImportInstanceVolumeDetailItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1161
- })(ImportInstanceVolumeDetailItem || (ImportInstanceVolumeDetailItem = {}));
1162
- export var ImportInstanceTaskDetails;
1163
- (function (ImportInstanceTaskDetails) {
1164
- ImportInstanceTaskDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1165
- })(ImportInstanceTaskDetails || (ImportInstanceTaskDetails = {}));