@aws-sdk/client-ec2 3.813.0 → 3.814.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 (35) hide show
  1. package/dist-cjs/index.js +248 -220
  2. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  3. package/dist-es/models/models_4.js +8 -7
  4. package/dist-es/models/models_5.js +7 -0
  5. package/dist-es/protocols/Aws_ec2.js +22 -6
  6. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +34 -19
  7. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
  8. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  9. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +2 -1
  11. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -2
  12. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  13. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -2
  14. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -0
  15. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +2 -1
  16. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  17. package/dist-types/commands/RunInstancesCommand.d.ts +1 -0
  18. package/dist-types/models/models_4.d.ts +62 -175
  19. package/dist-types/models/models_5.d.ts +174 -33
  20. package/dist-types/models/models_6.d.ts +34 -76
  21. package/dist-types/models/models_7.d.ts +125 -34
  22. package/dist-types/models/models_8.d.ts +32 -0
  23. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -2
  28. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +2 -4
  29. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/models/models_4.d.ts +14 -20
  31. package/dist-types/ts3.4/models/models_5.d.ts +20 -9
  32. package/dist-types/ts3.4/models/models_6.d.ts +9 -12
  33. package/dist-types/ts3.4/models/models_7.d.ts +16 -8
  34. package/dist-types/ts3.4/models/models_8.d.ts +8 -0
  35. package/package.json +1 -1
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ReplaceNetworkAclAssociationRequest } from "../models/models_7";
9
- import { ReplaceNetworkAclAssociationResult } from "../models/models_8";
8
+ import {
9
+ ReplaceNetworkAclAssociationRequest,
10
+ ReplaceNetworkAclAssociationResult,
11
+ } from "../models/models_8";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ReplaceNetworkAclAssociationCommandInput
@@ -65,7 +65,6 @@ import {
65
65
  } from "./models_1";
66
66
  import {
67
67
  GroupIdentifier,
68
- LaunchTemplateVersion,
69
68
  NetworkInterfaceStatus,
70
69
  StateReason,
71
70
  } from "./models_2";
@@ -1314,8 +1313,15 @@ export declare const InstanceAutoRecoveryState: {
1314
1313
  };
1315
1314
  export type InstanceAutoRecoveryState =
1316
1315
  (typeof InstanceAutoRecoveryState)[keyof typeof InstanceAutoRecoveryState];
1316
+ export declare const InstanceRebootMigrationState: {
1317
+ readonly default: "default";
1318
+ readonly disabled: "disabled";
1319
+ };
1320
+ export type InstanceRebootMigrationState =
1321
+ (typeof InstanceRebootMigrationState)[keyof typeof InstanceRebootMigrationState];
1317
1322
  export interface InstanceMaintenanceOptions {
1318
1323
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
1324
+ RebootMigration?: InstanceRebootMigrationState | undefined;
1319
1325
  }
1320
1326
  export declare const InstanceMetadataEndpointState: {
1321
1327
  readonly disabled: "disabled";
@@ -1881,6 +1887,12 @@ export interface ProcessorInfo {
1881
1887
  SupportedFeatures?: SupportedAdditionalProcessorFeature[] | undefined;
1882
1888
  Manufacturer?: string | undefined;
1883
1889
  }
1890
+ export declare const RebootMigrationSupport: {
1891
+ readonly SUPPORTED: "supported";
1892
+ readonly UNSUPPORTED: "unsupported";
1893
+ };
1894
+ export type RebootMigrationSupport =
1895
+ (typeof RebootMigrationSupport)[keyof typeof RebootMigrationSupport];
1884
1896
  export declare const BootModeType: {
1885
1897
  readonly legacy_bios: "legacy-bios";
1886
1898
  readonly uefi: "uefi";
@@ -1937,6 +1949,7 @@ export interface InstanceTypeInfo {
1937
1949
  MediaAcceleratorInfo?: MediaAcceleratorInfo | undefined;
1938
1950
  NeuronInfo?: NeuronInfo | undefined;
1939
1951
  PhcSupport?: PhcSupport | undefined;
1952
+ RebootMigrationSupport?: RebootMigrationSupport | undefined;
1940
1953
  }
1941
1954
  export interface DescribeInstanceTypesResult {
1942
1955
  InstanceTypes?: InstanceTypeInfo[] | undefined;
@@ -2083,22 +2096,6 @@ export interface DescribeLaunchTemplatesResult {
2083
2096
  LaunchTemplates?: LaunchTemplate[] | undefined;
2084
2097
  NextToken?: string | undefined;
2085
2098
  }
2086
- export interface DescribeLaunchTemplateVersionsRequest {
2087
- DryRun?: boolean | undefined;
2088
- LaunchTemplateId?: string | undefined;
2089
- LaunchTemplateName?: string | undefined;
2090
- Versions?: string[] | undefined;
2091
- MinVersion?: string | undefined;
2092
- MaxVersion?: string | undefined;
2093
- NextToken?: string | undefined;
2094
- MaxResults?: number | undefined;
2095
- Filters?: Filter[] | undefined;
2096
- ResolveAlias?: boolean | undefined;
2097
- }
2098
- export interface DescribeLaunchTemplateVersionsResult {
2099
- LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
2100
- NextToken?: string | undefined;
2101
- }
2102
2099
  export declare const DiskImageDescriptionFilterSensitiveLog: (
2103
2100
  obj: DiskImageDescription
2104
2101
  ) => any;
@@ -2135,6 +2132,3 @@ export declare const ImportSnapshotTaskFilterSensitiveLog: (
2135
2132
  export declare const DescribeImportSnapshotTasksResultFilterSensitiveLog: (
2136
2133
  obj: DescribeImportSnapshotTasksResult
2137
2134
  ) => any;
2138
- export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2139
- obj: DescribeLaunchTemplateVersionsResult
2140
- ) => any;
@@ -53,6 +53,7 @@ import {
53
53
  DnsEntry,
54
54
  GroupIdentifier,
55
55
  IpAddressType,
56
+ LaunchTemplateVersion,
56
57
  LocalGatewayRouteTable,
57
58
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
58
59
  LocalGatewayRouteTableVpcAssociation,
@@ -105,7 +106,6 @@ import {
105
106
  ServiceConnectivityType,
106
107
  ServiceTypeDetail,
107
108
  VpnConnection,
108
- VpnGateway,
109
109
  } from "./models_3";
110
110
  import {
111
111
  AttributeBooleanValue,
@@ -113,6 +113,22 @@ import {
113
113
  PermissionGroup,
114
114
  ProductCode,
115
115
  } from "./models_4";
116
+ export interface DescribeLaunchTemplateVersionsRequest {
117
+ DryRun?: boolean | undefined;
118
+ LaunchTemplateId?: string | undefined;
119
+ LaunchTemplateName?: string | undefined;
120
+ Versions?: string[] | undefined;
121
+ MinVersion?: string | undefined;
122
+ MaxVersion?: string | undefined;
123
+ NextToken?: string | undefined;
124
+ MaxResults?: number | undefined;
125
+ Filters?: Filter[] | undefined;
126
+ ResolveAlias?: boolean | undefined;
127
+ }
128
+ export interface DescribeLaunchTemplateVersionsResult {
129
+ LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
130
+ NextToken?: string | undefined;
131
+ }
116
132
  export interface DescribeLocalGatewayRouteTablesRequest {
117
133
  LocalGatewayRouteTableIds?: string[] | undefined;
118
134
  Filters?: Filter[] | undefined;
@@ -2045,14 +2061,9 @@ export interface DescribeVpnGatewaysRequest {
2045
2061
  VpnGatewayIds?: string[] | undefined;
2046
2062
  DryRun?: boolean | undefined;
2047
2063
  }
2048
- export interface DescribeVpnGatewaysResult {
2049
- VpnGateways?: VpnGateway[] | undefined;
2050
- }
2051
- export interface DetachClassicLinkVpcRequest {
2052
- DryRun?: boolean | undefined;
2053
- InstanceId: string | undefined;
2054
- VpcId: string | undefined;
2055
- }
2064
+ export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2065
+ obj: DescribeLaunchTemplateVersionsResult
2066
+ ) => any;
2056
2067
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
2057
2068
  obj: SpotFleetLaunchSpecification
2058
2069
  ) => any;
@@ -49,6 +49,7 @@ import {
49
49
  MetricType,
50
50
  PeriodType,
51
51
  StatisticType,
52
+ VpnGateway,
52
53
  } from "./models_3";
53
54
  import {
54
55
  ArchitectureType,
@@ -65,6 +66,14 @@ import {
65
66
  VirtualizationType,
66
67
  } from "./models_4";
67
68
  import { AnalysisStatus, ManagedBy } from "./models_5";
69
+ export interface DescribeVpnGatewaysResult {
70
+ VpnGateways?: VpnGateway[] | undefined;
71
+ }
72
+ export interface DetachClassicLinkVpcRequest {
73
+ DryRun?: boolean | undefined;
74
+ InstanceId: string | undefined;
75
+ VpcId: string | undefined;
76
+ }
68
77
  export interface DetachClassicLinkVpcResult {
69
78
  Return?: boolean | undefined;
70
79
  }
@@ -1624,18 +1633,6 @@ export interface TransitGatewayPolicyTableEntry {
1624
1633
  PolicyRule?: TransitGatewayPolicyRule | undefined;
1625
1634
  TargetRouteTableId?: string | undefined;
1626
1635
  }
1627
- export interface GetTransitGatewayPolicyTableEntriesResult {
1628
- TransitGatewayPolicyTableEntries?:
1629
- | TransitGatewayPolicyTableEntry[]
1630
- | undefined;
1631
- }
1632
- export interface GetTransitGatewayPrefixListReferencesRequest {
1633
- TransitGatewayRouteTableId: string | undefined;
1634
- Filters?: Filter[] | undefined;
1635
- MaxResults?: number | undefined;
1636
- NextToken?: string | undefined;
1637
- DryRun?: boolean | undefined;
1638
- }
1639
1636
  export declare const DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1640
1637
  obj: DetachVerifiedAccessTrustProviderResult
1641
1638
  ) => any;
@@ -127,6 +127,7 @@ import {
127
127
  InstanceMetadataOptionsResponse,
128
128
  InstanceMetadataProtocolState,
129
129
  InstanceMetadataTagsState,
130
+ InstanceRebootMigrationState,
130
131
  InstanceStatusEvent,
131
132
  LaunchPermission,
132
133
  Monitoring,
@@ -153,9 +154,22 @@ import {
153
154
  InstanceFamilyCreditSpecification,
154
155
  IpamResourceCidr,
155
156
  Purchase,
157
+ TransitGatewayPolicyTableEntry,
156
158
  TransitGatewayPropagationState,
157
159
  UnlimitedSupportedInstanceFamily,
158
160
  } from "./models_6";
161
+ export interface GetTransitGatewayPolicyTableEntriesResult {
162
+ TransitGatewayPolicyTableEntries?:
163
+ | TransitGatewayPolicyTableEntry[]
164
+ | undefined;
165
+ }
166
+ export interface GetTransitGatewayPrefixListReferencesRequest {
167
+ TransitGatewayRouteTableId: string | undefined;
168
+ Filters?: Filter[] | undefined;
169
+ MaxResults?: number | undefined;
170
+ NextToken?: string | undefined;
171
+ DryRun?: boolean | undefined;
172
+ }
159
173
  export interface GetTransitGatewayPrefixListReferencesResult {
160
174
  TransitGatewayPrefixListReferences?:
161
175
  | TransitGatewayPrefixListReference[]
@@ -763,11 +777,13 @@ export interface ModifyInstanceEventWindowResult {
763
777
  export interface ModifyInstanceMaintenanceOptionsRequest {
764
778
  InstanceId: string | undefined;
765
779
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
780
+ RebootMigration?: InstanceRebootMigrationState | undefined;
766
781
  DryRun?: boolean | undefined;
767
782
  }
768
783
  export interface ModifyInstanceMaintenanceOptionsResult {
769
784
  InstanceId?: string | undefined;
770
785
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
786
+ RebootMigration?: InstanceRebootMigrationState | undefined;
771
787
  }
772
788
  export declare const DefaultInstanceMetadataEndpointState: {
773
789
  readonly disabled: "disabled";
@@ -1859,14 +1875,6 @@ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
1859
1875
  ImageCriteria?: ImageCriterionRequest[] | undefined;
1860
1876
  DryRun?: boolean | undefined;
1861
1877
  }
1862
- export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
1863
- ReturnValue?: boolean | undefined;
1864
- }
1865
- export interface ReplaceNetworkAclAssociationRequest {
1866
- DryRun?: boolean | undefined;
1867
- AssociationId: string | undefined;
1868
- NetworkAclId: string | undefined;
1869
- }
1870
1878
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1871
1879
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1872
1880
  ) => any;
@@ -61,6 +61,14 @@ import {
61
61
  InstanceMonitoring,
62
62
  Status,
63
63
  } from "./models_7";
64
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
65
+ ReturnValue?: boolean | undefined;
66
+ }
67
+ export interface ReplaceNetworkAclAssociationRequest {
68
+ DryRun?: boolean | undefined;
69
+ AssociationId: string | undefined;
70
+ NetworkAclId: string | undefined;
71
+ }
64
72
  export interface ReplaceNetworkAclAssociationResult {
65
73
  NewAssociationId?: string | undefined;
66
74
  }
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.813.0",
4
+ "version": "3.814.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",