@aws-sdk/client-ec2 3.623.0 → 3.627.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 (54) hide show
  1. package/dist-cjs/index.js +149 -99
  2. package/dist-es/commands/GetInstanceTpmEkPubCommand.js +1 -1
  3. package/dist-es/commands/ModifyVpnTunnelOptionsCommand.js +1 -1
  4. package/dist-es/models/models_0.js +9 -0
  5. package/dist-es/models/models_3.js +0 -4
  6. package/dist-es/models/models_4.js +4 -6
  7. package/dist-es/models/models_5.js +7 -5
  8. package/dist-es/models/models_6.js +9 -8
  9. package/dist-es/models/models_7.js +10 -2
  10. package/dist-es/protocols/Aws_ec2.js +30 -0
  11. package/dist-types/commands/AssociateSubnetCidrBlockCommand.d.ts +2 -0
  12. package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -0
  13. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -1
  14. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -0
  15. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +2 -0
  16. package/dist-types/commands/CreateIpamCommand.d.ts +2 -0
  17. package/dist-types/commands/CreateSubnetCommand.d.ts +2 -0
  18. package/dist-types/commands/CreateVpcCommand.d.ts +2 -0
  19. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteLocalGatewayRouteCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteLocalGatewayRouteTableCommand.d.ts +1 -2
  22. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeVpcsCommand.d.ts +2 -0
  25. package/dist-types/commands/DisassociateSubnetCidrBlockCommand.d.ts +2 -0
  26. package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +2 -0
  27. package/dist-types/commands/GetInstanceTpmEkPubCommand.d.ts +1 -2
  28. package/dist-types/commands/GetIpamDiscoveredResourceCidrsCommand.d.ts +1 -0
  29. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -0
  30. package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  31. package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
  32. package/dist-types/models/models_0.d.ts +45 -127
  33. package/dist-types/models/models_1.d.ts +138 -62
  34. package/dist-types/models/models_2.d.ts +62 -30
  35. package/dist-types/models/models_3.d.ts +31 -214
  36. package/dist-types/models/models_4.d.ts +215 -314
  37. package/dist-types/models/models_5.d.ts +312 -42
  38. package/dist-types/models/models_6.d.ts +67 -73
  39. package/dist-types/models/models_7.d.ts +75 -5
  40. package/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/DeleteLocalGatewayRouteTableCommand.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/GetInstanceTpmEkPubCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/models/models_0.d.ts +16 -26
  47. package/dist-types/ts3.4/models/models_1.d.ts +32 -12
  48. package/dist-types/ts3.4/models/models_2.d.ts +12 -10
  49. package/dist-types/ts3.4/models/models_3.d.ts +9 -43
  50. package/dist-types/ts3.4/models/models_4.d.ts +45 -41
  51. package/dist-types/ts3.4/models/models_5.d.ts +43 -12
  52. package/dist-types/ts3.4/models/models_6.d.ts +21 -22
  53. package/dist-types/ts3.4/models/models_7.d.ts +31 -3
  54. package/package.json +5 -5
@@ -37,7 +37,12 @@ import {
37
37
  ShutdownBehavior,
38
38
  SpotInstanceType,
39
39
  } from "./models_1";
40
- import { SnapshotState, SSEType, TransitGatewayRoute } from "./models_2";
40
+ import {
41
+ SnapshotState,
42
+ SSEType,
43
+ TransitGatewayRoute,
44
+ VpnConnection,
45
+ } from "./models_2";
41
46
  import {
42
47
  ArchitectureValues,
43
48
  BootModeValues,
@@ -64,15 +69,32 @@ import {
64
69
  PublicIpv4PoolRange,
65
70
  ScheduledInstance,
66
71
  SnapshotAttributeName,
67
- SpotFleetRequestConfigData,
68
72
  SpotPlacement,
69
73
  } from "./models_4";
70
74
  import {
71
75
  Purchase,
72
76
  RunInstancesMonitoringEnabled,
77
+ SpotFleetRequestConfigData,
73
78
  SpotInstanceRequest,
74
79
  } from "./models_5";
75
- import { CapacityReservationSpecification } from "./models_6";
80
+ import {
81
+ CapacityReservationSpecification,
82
+ ModifyVpnTunnelOptionsSpecification,
83
+ } from "./models_6";
84
+ export interface ModifyVpnTunnelOptionsRequest {
85
+ VpnConnectionId: string | undefined;
86
+ VpnTunnelOutsideIpAddress: string | undefined;
87
+ TunnelOptions: ModifyVpnTunnelOptionsSpecification | undefined;
88
+ DryRun?: boolean;
89
+ SkipTunnelReplacement?: boolean;
90
+ }
91
+ export interface ModifyVpnTunnelOptionsResult {
92
+ VpnConnection?: VpnConnection;
93
+ }
94
+ export interface MonitorInstancesRequest {
95
+ InstanceIds: string[] | undefined;
96
+ DryRun?: boolean;
97
+ }
76
98
  export interface InstanceMonitoring {
77
99
  InstanceId?: string;
78
100
  Monitoring?: Monitoring;
@@ -997,6 +1019,12 @@ export interface WithdrawByoipCidrRequest {
997
1019
  export interface WithdrawByoipCidrResult {
998
1020
  ByoipCidr?: ByoipCidr;
999
1021
  }
1022
+ export declare const ModifyVpnTunnelOptionsRequestFilterSensitiveLog: (
1023
+ obj: ModifyVpnTunnelOptionsRequest
1024
+ ) => any;
1025
+ export declare const ModifyVpnTunnelOptionsResultFilterSensitiveLog: (
1026
+ obj: ModifyVpnTunnelOptionsResult
1027
+ ) => any;
1000
1028
  export declare const RequestSpotFleetRequestFilterSensitiveLog: (
1001
1029
  obj: RequestSpotFleetRequest
1002
1030
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.623.0",
4
+ "version": "3.627.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.623.0",
24
- "@aws-sdk/client-sts": "3.623.0",
25
- "@aws-sdk/core": "3.623.0",
26
- "@aws-sdk/credential-provider-node": "3.623.0",
23
+ "@aws-sdk/client-sso-oidc": "3.624.0",
24
+ "@aws-sdk/client-sts": "3.624.0",
25
+ "@aws-sdk/core": "3.624.0",
26
+ "@aws-sdk/credential-provider-node": "3.624.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",