@aws-sdk/client-ec2 3.1064.0 → 3.1066.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 (83) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +34 -0
  3. package/dist-cjs/schemas/schemas_0.js +170 -75
  4. package/dist-es/EC2.js +4 -0
  5. package/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
  6. package/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/enums.js +5 -0
  9. package/dist-es/schemas/schemas_0.js +108 -13
  10. package/dist-types/EC2.d.ts +14 -0
  11. package/dist-types/EC2Client.d.ts +4 -2
  12. package/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
  13. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
  16. package/dist-types/commands/CreateFlowLogsCommand.d.ts +8 -0
  17. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
  19. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
  20. package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeFlowLogsCommand.d.ts +8 -0
  23. package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  24. package/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -2
  26. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
  27. package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
  28. package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -2
  30. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -5
  31. package/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
  32. package/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  33. package/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
  34. package/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
  35. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  36. package/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -2
  38. package/dist-types/commands/ModifyVolumeCommand.d.ts +0 -5
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/models/enums.d.ts +13 -0
  41. package/dist-types/models/models_0.d.ts +38 -23
  42. package/dist-types/models/models_1.d.ts +45 -128
  43. package/dist-types/models/models_2.d.ts +128 -48
  44. package/dist-types/models/models_3.d.ts +109 -161
  45. package/dist-types/models/models_4.d.ts +169 -219
  46. package/dist-types/models/models_5.d.ts +250 -353
  47. package/dist-types/models/models_6.d.ts +351 -182
  48. package/dist-types/models/models_7.d.ts +178 -2
  49. package/dist-types/schemas/schemas_0.d.ts +9 -0
  50. package/dist-types/ts3.4/EC2.d.ts +34 -0
  51. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  52. package/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
  53. package/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
  63. package/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -2
  65. package/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
  66. package/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/models/enums.d.ts +7 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +9 -7
  75. package/dist-types/ts3.4/models/models_1.d.ts +13 -26
  76. package/dist-types/ts3.4/models/models_2.d.ts +29 -12
  77. package/dist-types/ts3.4/models/models_3.d.ts +25 -36
  78. package/dist-types/ts3.4/models/models_4.d.ts +40 -35
  79. package/dist-types/ts3.4/models/models_5.d.ts +49 -67
  80. package/dist-types/ts3.4/models/models_6.d.ts +66 -47
  81. package/dist-types/ts3.4/models/models_7.d.ts +40 -0
  82. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  83. package/package.json +8 -8
package/README.md CHANGED
@@ -492,6 +492,13 @@ AttachClassicLinkVpc
492
492
  </details>
493
493
  <details>
494
494
  <summary>
495
+ AttachImageWatermark
496
+ </summary>
497
+
498
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/AttachImageWatermarkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/AttachImageWatermarkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/AttachImageWatermarkCommandOutput/)
499
+ </details>
500
+ <details>
501
+ <summary>
495
502
  AttachInternetGateway
496
503
  </summary>
497
504
 
@@ -3425,6 +3432,13 @@ DetachClassicLinkVpc
3425
3432
  </details>
3426
3433
  <details>
3427
3434
  <summary>
3435
+ DetachImageWatermark
3436
+ </summary>
3437
+
3438
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/DetachImageWatermarkCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DetachImageWatermarkCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/DetachImageWatermarkCommandOutput/)
3439
+ </details>
3440
+ <details>
3441
+ <summary>
3428
3442
  DetachInternetGateway
3429
3443
  </summary>
3430
3444
 
package/dist-cjs/index.js CHANGED
@@ -552,6 +552,18 @@ class AttachClassicLinkVpcCommand extends client.Command
552
552
  .build() {
553
553
  }
554
554
 
555
+ class AttachImageWatermarkCommand extends client.Command
556
+ .classBuilder()
557
+ .ep(commonParams)
558
+ .m(function (Command, cs, config, o) {
559
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
560
+ })
561
+ .s("AmazonEC2", "AttachImageWatermark", {})
562
+ .n("EC2Client", "AttachImageWatermarkCommand")
563
+ .sc(schemas_0.AttachImageWatermark$)
564
+ .build() {
565
+ }
566
+
555
567
  class AttachInternetGatewayCommand extends client.Command
556
568
  .classBuilder()
557
569
  .ep(commonParams)
@@ -5583,6 +5595,18 @@ class DetachClassicLinkVpcCommand extends client.Command
5583
5595
  .build() {
5584
5596
  }
5585
5597
 
5598
+ class DetachImageWatermarkCommand extends client.Command
5599
+ .classBuilder()
5600
+ .ep(commonParams)
5601
+ .m(function (Command, cs, config, o) {
5602
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
5603
+ })
5604
+ .s("AmazonEC2", "DetachImageWatermark", {})
5605
+ .n("EC2Client", "DetachImageWatermarkCommand")
5606
+ .sc(schemas_0.DetachImageWatermark$)
5607
+ .build() {
5608
+ }
5609
+
5586
5610
  class DetachInternetGatewayCommand extends client.Command
5587
5611
  .classBuilder()
5588
5612
  .ep(commonParams)
@@ -11947,6 +11971,7 @@ const commands = {
11947
11971
  AssociateTrunkInterfaceCommand,
11948
11972
  AssociateVpcCidrBlockCommand,
11949
11973
  AttachClassicLinkVpcCommand,
11974
+ AttachImageWatermarkCommand,
11950
11975
  AttachInternetGatewayCommand,
11951
11976
  AttachNetworkInterfaceCommand,
11952
11977
  AttachVerifiedAccessTrustProviderCommand,
@@ -12366,6 +12391,7 @@ const commands = {
12366
12391
  DescribeVpnConnectionsCommand,
12367
12392
  DescribeVpnGatewaysCommand,
12368
12393
  DetachClassicLinkVpcCommand,
12394
+ DetachImageWatermarkCommand,
12369
12395
  DetachInternetGatewayCommand,
12370
12396
  DetachNetworkInterfaceCommand,
12371
12397
  DetachVerifiedAccessTrustProviderCommand,
@@ -14969,6 +14995,11 @@ const FlowLogsResourceType = {
14969
14995
  TransitGatewayAttachment: "TransitGatewayAttachment",
14970
14996
  VPC: "VPC",
14971
14997
  };
14998
+ const TaggableResourceType = {
14999
+ auto_scaling_group: "auto-scaling-group",
15000
+ instance: "instance",
15001
+ network_interface: "network-interface",
15002
+ };
14972
15003
  const TrafficType = {
14973
15004
  ACCEPT: "ACCEPT",
14974
15005
  ALL: "ALL",
@@ -16867,6 +16898,7 @@ exports.AssociateVpcCidrBlockCommand = AssociateVpcCidrBlockCommand;
16867
16898
  exports.AssociatedNetworkType = AssociatedNetworkType;
16868
16899
  exports.AssociationStatusCode = AssociationStatusCode;
16869
16900
  exports.AttachClassicLinkVpcCommand = AttachClassicLinkVpcCommand;
16901
+ exports.AttachImageWatermarkCommand = AttachImageWatermarkCommand;
16870
16902
  exports.AttachInternetGatewayCommand = AttachInternetGatewayCommand;
16871
16903
  exports.AttachNetworkInterfaceCommand = AttachNetworkInterfaceCommand;
16872
16904
  exports.AttachVerifiedAccessTrustProviderCommand = AttachVerifiedAccessTrustProviderCommand;
@@ -17352,6 +17384,7 @@ exports.DescribeVpnConnectionsCommand = DescribeVpnConnectionsCommand;
17352
17384
  exports.DescribeVpnGatewaysCommand = DescribeVpnGatewaysCommand;
17353
17385
  exports.DestinationFileFormat = DestinationFileFormat;
17354
17386
  exports.DetachClassicLinkVpcCommand = DetachClassicLinkVpcCommand;
17387
+ exports.DetachImageWatermarkCommand = DetachImageWatermarkCommand;
17355
17388
  exports.DetachInternetGatewayCommand = DetachInternetGatewayCommand;
17356
17389
  exports.DetachNetworkInterfaceCommand = DetachNetworkInterfaceCommand;
17357
17390
  exports.DetachVerifiedAccessTrustProviderCommand = DetachVerifiedAccessTrustProviderCommand;
@@ -17932,6 +17965,7 @@ exports.SubnetCidrReservationType = SubnetCidrReservationType;
17932
17965
  exports.SubnetState = SubnetState;
17933
17966
  exports.SummaryStatus = SummaryStatus;
17934
17967
  exports.SupportedAdditionalProcessorFeature = SupportedAdditionalProcessorFeature;
17968
+ exports.TaggableResourceType = TaggableResourceType;
17935
17969
  exports.TargetCapacityUnitType = TargetCapacityUnitType;
17936
17970
  exports.TargetStorageTier = TargetStorageTier;
17937
17971
  exports.TelemetryStatus = TelemetryStatus;