@aws-sdk/client-ec2 3.865.0 → 3.868.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 (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +144 -35
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/ModifyInstanceConnectEndpointCommand.js +22 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_1.js +3 -0
  7. package/dist-es/models/models_2.js +0 -11
  8. package/dist-es/models/models_3.js +11 -0
  9. package/dist-es/protocols/Aws_ec2.js +110 -22
  10. package/dist-types/EC2.d.ts +7 -0
  11. package/dist-types/EC2Client.d.ts +3 -2
  12. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +0 -1
  13. package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +11 -1
  15. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +11 -1
  17. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -2
  18. package/dist-types/commands/DescribeByoipCidrsCommand.d.ts +2 -3
  19. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +11 -1
  23. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +1 -2
  25. package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +0 -1
  26. package/dist-types/commands/DescribePrefixListsCommand.d.ts +0 -1
  27. package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -0
  28. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeVpcEndpointsCommand.d.ts +1 -2
  30. package/dist-types/commands/EnableImageDeregistrationProtectionCommand.d.ts +1 -2
  31. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  32. package/dist-types/commands/ModifyInstanceConnectEndpointCommand.d.ts +81 -0
  33. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -2
  34. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -4
  35. package/dist-types/commands/RegisterImageCommand.d.ts +3 -8
  36. package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -1
  37. package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  38. package/dist-types/commands/ReleaseAddressCommand.d.ts +4 -4
  39. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +2 -3
  40. package/dist-types/commands/index.d.ts +1 -0
  41. package/dist-types/models/models_0.d.ts +5 -0
  42. package/dist-types/models/models_1.d.ts +42 -44
  43. package/dist-types/models/models_2.d.ts +49 -152
  44. package/dist-types/models/models_3.d.ts +153 -78
  45. package/dist-types/models/models_4.d.ts +79 -60
  46. package/dist-types/models/models_5.d.ts +50 -99
  47. package/dist-types/models/models_6.d.ts +94 -61
  48. package/dist-types/models/models_7.d.ts +132 -70
  49. package/dist-types/models/models_8.d.ts +69 -1
  50. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  51. package/dist-types/ts3.4/EC2.d.ts +17 -0
  52. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  53. package/dist-types/ts3.4/commands/DescribeCapacityReservationsCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +2 -4
  56. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/DescribeVpcEndpointsCommand.d.ts +4 -2
  59. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ModifyInstanceConnectEndpointCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  65. package/dist-types/ts3.4/models/models_1.d.ts +12 -8
  66. package/dist-types/ts3.4/models/models_2.d.ts +9 -41
  67. package/dist-types/ts3.4/models/models_3.d.ts +46 -13
  68. package/dist-types/ts3.4/models/models_4.d.ts +12 -12
  69. package/dist-types/ts3.4/models/models_5.d.ts +13 -13
  70. package/dist-types/ts3.4/models/models_6.d.ts +13 -9
  71. package/dist-types/ts3.4/models/models_7.d.ts +19 -21
  72. package/dist-types/ts3.4/models/models_8.d.ts +22 -0
  73. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  74. package/package.json +1 -1
@@ -146,6 +146,7 @@ import {
146
146
  InternetGatewayBlockMode,
147
147
  LaunchTemplateConfig,
148
148
  LockState,
149
+ ManagedBy,
149
150
  PublicIpv4PoolRange,
150
151
  ReservedInstancesConfiguration,
151
152
  ScheduledInstance,
@@ -158,9 +159,17 @@ import {
158
159
  InstanceFamilyCreditSpecification,
159
160
  IpamResourceCidr,
160
161
  Purchase,
162
+ SnapshotBlockPublicAccessState,
161
163
  TransitGatewayPropagationState,
162
164
  UnlimitedSupportedInstanceFamily,
163
165
  } from "./models_6";
166
+ export interface GetSnapshotBlockPublicAccessStateRequest {
167
+ DryRun?: boolean | undefined;
168
+ }
169
+ export interface GetSnapshotBlockPublicAccessStateResult {
170
+ State?: SnapshotBlockPublicAccessState | undefined;
171
+ ManagedBy?: ManagedBy | undefined;
172
+ }
164
173
  export interface InstanceRequirementsWithMetadataRequest {
165
174
  ArchitectureTypes?: ArchitectureType[] | undefined;
166
175
  VirtualizationTypes?: VirtualizationType[] | undefined;
@@ -822,6 +831,16 @@ export interface ModifyInstanceCapacityReservationAttributesRequest {
822
831
  export interface ModifyInstanceCapacityReservationAttributesResult {
823
832
  Return?: boolean | undefined;
824
833
  }
834
+ export interface ModifyInstanceConnectEndpointRequest {
835
+ DryRun?: boolean | undefined;
836
+ InstanceConnectEndpointId: string | undefined;
837
+ IpAddressType?: IpAddressType | undefined;
838
+ SecurityGroupIds?: string[] | undefined;
839
+ PreserveClientIp?: boolean | undefined;
840
+ }
841
+ export interface ModifyInstanceConnectEndpointResult {
842
+ Return?: boolean | undefined;
843
+ }
825
844
  export interface ModifyInstanceCpuOptionsRequest {
826
845
  InstanceId: string | undefined;
827
846
  CoreCount: number | undefined;
@@ -1907,27 +1926,6 @@ export interface TransitGatewayMulticastRegisteredGroupMembers {
1907
1926
  RegisteredNetworkInterfaceIds?: string[] | undefined;
1908
1927
  GroupIpAddress?: string | undefined;
1909
1928
  }
1910
- export interface RegisterTransitGatewayMulticastGroupMembersResult {
1911
- RegisteredMulticastGroupMembers?:
1912
- | TransitGatewayMulticastRegisteredGroupMembers
1913
- | undefined;
1914
- }
1915
- export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
1916
- TransitGatewayMulticastDomainId: string | undefined;
1917
- GroupIpAddress?: string | undefined;
1918
- NetworkInterfaceIds: string[] | undefined;
1919
- DryRun?: boolean | undefined;
1920
- }
1921
- export interface TransitGatewayMulticastRegisteredGroupSources {
1922
- TransitGatewayMulticastDomainId?: string | undefined;
1923
- RegisteredNetworkInterfaceIds?: string[] | undefined;
1924
- GroupIpAddress?: string | undefined;
1925
- }
1926
- export interface RegisterTransitGatewayMulticastGroupSourcesResult {
1927
- RegisteredMulticastGroupSources?:
1928
- | TransitGatewayMulticastRegisteredGroupSources
1929
- | undefined;
1930
- }
1931
1929
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1932
1930
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1933
1931
  ) => any;
@@ -66,7 +66,29 @@ import {
66
66
  CapacityReservationSpecification,
67
67
  InstanceMonitoring,
68
68
  Status,
69
+ TransitGatewayMulticastRegisteredGroupMembers,
69
70
  } from "./models_7";
71
+ export interface RegisterTransitGatewayMulticastGroupMembersResult {
72
+ RegisteredMulticastGroupMembers?:
73
+ | TransitGatewayMulticastRegisteredGroupMembers
74
+ | undefined;
75
+ }
76
+ export interface RegisterTransitGatewayMulticastGroupSourcesRequest {
77
+ TransitGatewayMulticastDomainId: string | undefined;
78
+ GroupIpAddress?: string | undefined;
79
+ NetworkInterfaceIds: string[] | undefined;
80
+ DryRun?: boolean | undefined;
81
+ }
82
+ export interface TransitGatewayMulticastRegisteredGroupSources {
83
+ TransitGatewayMulticastDomainId?: string | undefined;
84
+ RegisteredNetworkInterfaceIds?: string[] | undefined;
85
+ GroupIpAddress?: string | undefined;
86
+ }
87
+ export interface RegisterTransitGatewayMulticastGroupSourcesResult {
88
+ RegisteredMulticastGroupSources?:
89
+ | TransitGatewayMulticastRegisteredGroupSources
90
+ | undefined;
91
+ }
70
92
  export interface RejectCapacityReservationBillingOwnershipRequest {
71
93
  DryRun?: boolean | undefined;
72
94
  CapacityReservationId: string | undefined;
@@ -2231,6 +2231,10 @@ import {
2231
2231
  ModifyInstanceCapacityReservationAttributesCommandInput,
2232
2232
  ModifyInstanceCapacityReservationAttributesCommandOutput,
2233
2233
  } from "../commands/ModifyInstanceCapacityReservationAttributesCommand";
2234
+ import {
2235
+ ModifyInstanceConnectEndpointCommandInput,
2236
+ ModifyInstanceConnectEndpointCommandOutput,
2237
+ } from "../commands/ModifyInstanceConnectEndpointCommand";
2234
2238
  import {
2235
2239
  ModifyInstanceCpuOptionsCommandInput,
2236
2240
  ModifyInstanceCpuOptionsCommandOutput,
@@ -4983,6 +4987,10 @@ export declare const se_ModifyInstanceCapacityReservationAttributesCommand: (
4983
4987
  input: ModifyInstanceCapacityReservationAttributesCommandInput,
4984
4988
  context: __SerdeContext
4985
4989
  ) => Promise<__HttpRequest>;
4990
+ export declare const se_ModifyInstanceConnectEndpointCommand: (
4991
+ input: ModifyInstanceConnectEndpointCommandInput,
4992
+ context: __SerdeContext
4993
+ ) => Promise<__HttpRequest>;
4986
4994
  export declare const se_ModifyInstanceCpuOptionsCommand: (
4987
4995
  input: ModifyInstanceCpuOptionsCommandInput,
4988
4996
  context: __SerdeContext
@@ -7735,6 +7743,10 @@ export declare const de_ModifyInstanceCapacityReservationAttributesCommand: (
7735
7743
  output: __HttpResponse,
7736
7744
  context: __SerdeContext
7737
7745
  ) => Promise<ModifyInstanceCapacityReservationAttributesCommandOutput>;
7746
+ export declare const de_ModifyInstanceConnectEndpointCommand: (
7747
+ output: __HttpResponse,
7748
+ context: __SerdeContext
7749
+ ) => Promise<ModifyInstanceConnectEndpointCommandOutput>;
7738
7750
  export declare const de_ModifyInstanceCpuOptionsCommand: (
7739
7751
  output: __HttpResponse,
7740
7752
  context: __SerdeContext
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.865.0",
4
+ "version": "3.868.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",