@aws-sdk/client-ec2 3.1034.0 → 3.1036.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 (61) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +33 -0
  3. package/dist-cjs/schemas/schemas_0.js +110 -57
  4. package/dist-es/EC2.js +4 -0
  5. package/dist-es/commands/GetManagedResourceVisibilityCommand.js +16 -0
  6. package/dist-es/commands/ModifyManagedResourceVisibilityCommand.js +16 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/enums.js +4 -0
  9. package/dist-es/schemas/schemas_0.js +74 -21
  10. package/dist-types/EC2.d.ts +16 -0
  11. package/dist-types/EC2Client.d.ts +4 -2
  12. package/dist-types/commands/CopyVolumesCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -0
  16. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -0
  17. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -0
  22. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -0
  23. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -0
  25. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +2 -0
  26. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -0
  27. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +6 -0
  28. package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -0
  29. package/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +5 -0
  30. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -0
  31. package/dist-types/commands/GetManagedResourceVisibilityCommand.d.ts +77 -0
  32. package/dist-types/commands/ListVolumesInRecycleBinCommand.d.ts +1 -0
  33. package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -0
  34. package/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +80 -0
  35. package/dist-types/commands/ModifyRouteServerCommand.d.ts +2 -1
  36. package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  37. package/dist-types/commands/ModifyVolumeCommand.d.ts +5 -0
  38. package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
  39. package/dist-types/commands/index.d.ts +2 -0
  40. package/dist-types/models/enums.d.ts +12 -0
  41. package/dist-types/models/models_0.d.ts +6 -0
  42. package/dist-types/models/models_4.d.ts +31 -0
  43. package/dist-types/models/models_5.d.ts +22 -1
  44. package/dist-types/models/models_6.d.ts +66 -137
  45. package/dist-types/models/models_7.d.ts +136 -1
  46. package/dist-types/schemas/schemas_0.d.ts +7 -0
  47. package/dist-types/ts3.4/EC2.d.ts +36 -0
  48. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  49. package/dist-types/ts3.4/commands/GetManagedResourceVisibilityCommand.d.ts +51 -0
  50. package/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ModifyRouteServerCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  54. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_4.d.ts +5 -0
  57. package/dist-types/ts3.4/models/models_5.d.ts +5 -0
  58. package/dist-types/ts3.4/models/models_6.d.ts +17 -26
  59. package/dist-types/ts3.4/models/models_7.d.ts +26 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  61. package/package.json +16 -16
package/README.md CHANGED
@@ -4152,6 +4152,13 @@ GetManagedPrefixListEntries
4152
4152
  </details>
4153
4153
  <details>
4154
4154
  <summary>
4155
+ GetManagedResourceVisibility
4156
+ </summary>
4157
+
4158
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/GetManagedResourceVisibilityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetManagedResourceVisibilityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/GetManagedResourceVisibilityCommandOutput/)
4159
+ </details>
4160
+ <details>
4161
+ <summary>
4155
4162
  GetNetworkInsightsAccessScopeAnalysisFindings
4156
4163
  </summary>
4157
4164
 
@@ -4663,6 +4670,13 @@ ModifyManagedPrefixList
4663
4670
  </details>
4664
4671
  <details>
4665
4672
  <summary>
4673
+ ModifyManagedResourceVisibility
4674
+ </summary>
4675
+
4676
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ec2/command/ModifyManagedResourceVisibilityCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyManagedResourceVisibilityCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ec2/Interface/ModifyManagedResourceVisibilityCommandOutput/)
4677
+ </details>
4678
+ <details>
4679
+ <summary>
4666
4680
  ModifyNetworkInterfaceAttribute
4667
4681
  </summary>
4668
4682
 
package/dist-cjs/index.js CHANGED
@@ -6921,6 +6921,18 @@ class GetManagedPrefixListEntriesCommand extends smithyClient.Command
6921
6921
  .build() {
6922
6922
  }
6923
6923
 
6924
+ class GetManagedResourceVisibilityCommand extends smithyClient.Command
6925
+ .classBuilder()
6926
+ .ep(commonParams)
6927
+ .m(function (Command, cs, config, o) {
6928
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
6929
+ })
6930
+ .s("AmazonEC2", "GetManagedResourceVisibility", {})
6931
+ .n("EC2Client", "GetManagedResourceVisibilityCommand")
6932
+ .sc(schemas_0.GetManagedResourceVisibility$)
6933
+ .build() {
6934
+ }
6935
+
6924
6936
  class GetNetworkInsightsAccessScopeAnalysisFindingsCommand extends smithyClient.Command
6925
6937
  .classBuilder()
6926
6938
  .ep(commonParams)
@@ -7797,6 +7809,18 @@ class ModifyManagedPrefixListCommand extends smithyClient.Command
7797
7809
  .build() {
7798
7810
  }
7799
7811
 
7812
+ class ModifyManagedResourceVisibilityCommand extends smithyClient.Command
7813
+ .classBuilder()
7814
+ .ep(commonParams)
7815
+ .m(function (Command, cs, config, o) {
7816
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
7817
+ })
7818
+ .s("AmazonEC2", "ModifyManagedResourceVisibility", {})
7819
+ .n("EC2Client", "ModifyManagedResourceVisibilityCommand")
7820
+ .sc(schemas_0.ModifyManagedResourceVisibility$)
7821
+ .build() {
7822
+ }
7823
+
7800
7824
  class ModifyNetworkInterfaceAttributeCommand extends smithyClient.Command
7801
7825
  .classBuilder()
7802
7826
  .ep(commonParams)
@@ -12409,6 +12433,7 @@ const commands = {
12409
12433
  GetLaunchTemplateDataCommand,
12410
12434
  GetManagedPrefixListAssociationsCommand,
12411
12435
  GetManagedPrefixListEntriesCommand,
12436
+ GetManagedResourceVisibilityCommand,
12412
12437
  GetNetworkInsightsAccessScopeAnalysisFindingsCommand,
12413
12438
  GetNetworkInsightsAccessScopeContentCommand,
12414
12439
  GetPasswordDataCommand,
@@ -12482,6 +12507,7 @@ const commands = {
12482
12507
  ModifyLaunchTemplateCommand,
12483
12508
  ModifyLocalGatewayRouteCommand,
12484
12509
  ModifyManagedPrefixListCommand,
12510
+ ModifyManagedResourceVisibilityCommand,
12485
12511
  ModifyNetworkInterfaceAttributeCommand,
12486
12512
  ModifyPrivateDnsNameOptionsCommand,
12487
12513
  ModifyPublicIpDnsNameOptionsCommand,
@@ -16599,6 +16625,10 @@ const IpamManagementState = {
16599
16625
  managed: "managed",
16600
16626
  unmanaged: "unmanaged",
16601
16627
  };
16628
+ const ManagedResourceDefaultVisibility = {
16629
+ hidden: "hidden",
16630
+ visible: "visible",
16631
+ };
16602
16632
  const RouteServerRouteInstallationStatus = {
16603
16633
  INSTALLED: "installed",
16604
16634
  REJECTED: "rejected",
@@ -17422,6 +17452,7 @@ exports.GetIpamResourceCidrsCommand = GetIpamResourceCidrsCommand;
17422
17452
  exports.GetLaunchTemplateDataCommand = GetLaunchTemplateDataCommand;
17423
17453
  exports.GetManagedPrefixListAssociationsCommand = GetManagedPrefixListAssociationsCommand;
17424
17454
  exports.GetManagedPrefixListEntriesCommand = GetManagedPrefixListEntriesCommand;
17455
+ exports.GetManagedResourceVisibilityCommand = GetManagedResourceVisibilityCommand;
17425
17456
  exports.GetNetworkInsightsAccessScopeAnalysisFindingsCommand = GetNetworkInsightsAccessScopeAnalysisFindingsCommand;
17426
17457
  exports.GetNetworkInsightsAccessScopeContentCommand = GetNetworkInsightsAccessScopeContentCommand;
17427
17458
  exports.GetPasswordDataCommand = GetPasswordDataCommand;
@@ -17571,6 +17602,7 @@ exports.MacModificationTaskState = MacModificationTaskState;
17571
17602
  exports.MacModificationTaskType = MacModificationTaskType;
17572
17603
  exports.MacSystemIntegrityProtectionSettingStatus = MacSystemIntegrityProtectionSettingStatus;
17573
17604
  exports.ManagedBy = ManagedBy;
17605
+ exports.ManagedResourceDefaultVisibility = ManagedResourceDefaultVisibility;
17574
17606
  exports.MarketType = MarketType;
17575
17607
  exports.MembershipType = MembershipType;
17576
17608
  exports.MetadataDefaultHttpTokensState = MetadataDefaultHttpTokensState;
@@ -17613,6 +17645,7 @@ exports.ModifyIpamScopeCommand = ModifyIpamScopeCommand;
17613
17645
  exports.ModifyLaunchTemplateCommand = ModifyLaunchTemplateCommand;
17614
17646
  exports.ModifyLocalGatewayRouteCommand = ModifyLocalGatewayRouteCommand;
17615
17647
  exports.ModifyManagedPrefixListCommand = ModifyManagedPrefixListCommand;
17648
+ exports.ModifyManagedResourceVisibilityCommand = ModifyManagedResourceVisibilityCommand;
17616
17649
  exports.ModifyNetworkInterfaceAttributeCommand = ModifyNetworkInterfaceAttributeCommand;
17617
17650
  exports.ModifyPrivateDnsNameOptionsCommand = ModifyPrivateDnsNameOptionsCommand;
17618
17651
  exports.ModifyPublicIpDnsNameOptionsCommand = ModifyPublicIpDnsNameOptionsCommand;