@aws-sdk/client-ec2 3.813.0 → 3.815.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 (64) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +361 -229
  3. package/dist-es/EC2.js +2 -0
  4. package/dist-es/commands/DescribeLaunchTemplateVersionsCommand.js +1 -1
  5. package/dist-es/commands/ModifyPublicIpDnsNameOptionsCommand.js +22 -0
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_2.js +0 -4
  8. package/dist-es/models/models_3.js +4 -3
  9. package/dist-es/models/models_4.js +11 -7
  10. package/dist-es/models/models_5.js +7 -0
  11. package/dist-es/models/models_7.js +5 -0
  12. package/dist-es/protocols/Aws_ec2.js +101 -6
  13. package/dist-types/EC2.d.ts +7 -0
  14. package/dist-types/EC2Client.d.ts +3 -2
  15. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +8 -0
  16. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +34 -19
  17. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplatesCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +8 -0
  22. package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  23. package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +1 -2
  24. package/dist-types/commands/DisassociateAddressCommand.d.ts +12 -0
  25. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  26. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -2
  27. package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +4 -0
  28. package/dist-types/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +74 -0
  29. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  30. package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  31. package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
  32. package/dist-types/commands/RunInstancesCommand.d.ts +1 -0
  33. package/dist-types/commands/TerminateInstancesCommand.d.ts +4 -4
  34. package/dist-types/commands/index.d.ts +1 -0
  35. package/dist-types/models/models_2.d.ts +42 -13
  36. package/dist-types/models/models_3.d.ts +13 -12
  37. package/dist-types/models/models_4.d.ts +75 -193
  38. package/dist-types/models/models_5.d.ts +191 -105
  39. package/dist-types/models/models_6.d.ts +105 -97
  40. package/dist-types/models/models_7.d.ts +206 -109
  41. package/dist-types/models/models_8.d.ts +107 -1
  42. package/dist-types/protocols/Aws_ec2.d.ts +9 -0
  43. package/dist-types/ts3.4/EC2.d.ts +17 -0
  44. package/dist-types/ts3.4/EC2Client.d.ts +6 -0
  45. package/dist-types/ts3.4/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeLaunchTemplatesCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/ModifyPublicIpDnsNameOptionsCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ReplaceNetworkAclAssociationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_2.d.ts +9 -6
  57. package/dist-types/ts3.4/models/models_3.d.ts +6 -6
  58. package/dist-types/ts3.4/models/models_4.d.ts +19 -26
  59. package/dist-types/ts3.4/models/models_5.d.ts +25 -14
  60. package/dist-types/ts3.4/models/models_6.d.ts +14 -17
  61. package/dist-types/ts3.4/models/models_7.d.ts +36 -24
  62. package/dist-types/ts3.4/models/models_8.d.ts +23 -0
  63. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +12 -0
  64. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EC2ClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EC2Client";
8
+ import {
9
+ ModifyPublicIpDnsNameOptionsRequest,
10
+ ModifyPublicIpDnsNameOptionsResult,
11
+ } from "../models/models_7";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ModifyPublicIpDnsNameOptionsCommandInput
15
+ extends ModifyPublicIpDnsNameOptionsRequest {}
16
+ export interface ModifyPublicIpDnsNameOptionsCommandOutput
17
+ extends ModifyPublicIpDnsNameOptionsResult,
18
+ __MetadataBearer {}
19
+ declare const ModifyPublicIpDnsNameOptionsCommand_base: {
20
+ new (
21
+ input: ModifyPublicIpDnsNameOptionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ModifyPublicIpDnsNameOptionsCommandInput,
24
+ ModifyPublicIpDnsNameOptionsCommandOutput,
25
+ EC2ClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ModifyPublicIpDnsNameOptionsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ModifyPublicIpDnsNameOptionsCommandInput,
33
+ ModifyPublicIpDnsNameOptionsCommandOutput,
34
+ EC2ClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ModifyPublicIpDnsNameOptionsCommand extends ModifyPublicIpDnsNameOptionsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ModifyPublicIpDnsNameOptionsRequest;
44
+ output: ModifyPublicIpDnsNameOptionsResult;
45
+ };
46
+ sdk: {
47
+ input: ModifyPublicIpDnsNameOptionsCommandInput;
48
+ output: ModifyPublicIpDnsNameOptionsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ReplaceIamInstanceProfileAssociationRequest,
10
10
  ReplaceIamInstanceProfileAssociationResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ReplaceIamInstanceProfileAssociationCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ReplaceImageCriteriaInAllowedImagesSettingsRequest,
10
10
  ReplaceImageCriteriaInAllowedImagesSettingsResult,
11
- } from "../models/models_7";
11
+ } from "../models/models_8";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ReplaceImageCriteriaInAllowedImagesSettingsCommandInput
@@ -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
@@ -571,6 +571,7 @@ export * from "./ModifyLocalGatewayRouteCommand";
571
571
  export * from "./ModifyManagedPrefixListCommand";
572
572
  export * from "./ModifyNetworkInterfaceAttributeCommand";
573
573
  export * from "./ModifyPrivateDnsNameOptionsCommand";
574
+ export * from "./ModifyPublicIpDnsNameOptionsCommand";
574
575
  export * from "./ModifyReservedInstancesCommand";
575
576
  export * from "./ModifyRouteServerCommand";
576
577
  export * from "./ModifySecurityGroupRulesCommand";
@@ -705,6 +705,7 @@ export type NetworkInterfaceType =
705
705
  (typeof NetworkInterfaceType)[keyof typeof NetworkInterfaceType];
706
706
  export interface NetworkInterfaceIpv6Address {
707
707
  Ipv6Address?: string | undefined;
708
+ PublicIpv6DnsName?: string | undefined;
708
709
  IsPrimaryIpv6?: boolean | undefined;
709
710
  }
710
711
  export interface Ipv6PrefixSpecification {
@@ -716,6 +717,12 @@ export interface NetworkInterfacePrivateIpAddress {
716
717
  PrivateDnsName?: string | undefined;
717
718
  PrivateIpAddress?: string | undefined;
718
719
  }
720
+ export interface PublicIpDnsNameOptions {
721
+ DnsHostnameType?: string | undefined;
722
+ PublicIpv4DnsName?: string | undefined;
723
+ PublicIpv6DnsName?: string | undefined;
724
+ PublicDualStackDnsName?: string | undefined;
725
+ }
719
726
  export declare const NetworkInterfaceStatus: {
720
727
  readonly associated: "associated";
721
728
  readonly attaching: "attaching";
@@ -739,6 +746,8 @@ export interface NetworkInterface {
739
746
  OutpostArn?: string | undefined;
740
747
  OwnerId?: string | undefined;
741
748
  PrivateDnsName?: string | undefined;
749
+ PublicDnsName?: string | undefined;
750
+ PublicIpDnsNameOptions?: PublicIpDnsNameOptions | undefined;
742
751
  PrivateIpAddress?: string | undefined;
743
752
  PrivateIpAddresses?: NetworkInterfacePrivateIpAddress[] | undefined;
744
753
  Ipv4Prefixes?: Ipv4PrefixSpecification[] | undefined;
@@ -2329,12 +2338,6 @@ export interface CreateVpcEndpointConnectionNotificationRequest {
2329
2338
  ConnectionEvents: string[] | undefined;
2330
2339
  ClientToken?: string | undefined;
2331
2340
  }
2332
- export declare const ConnectionNotificationState: {
2333
- readonly Disabled: "Disabled";
2334
- readonly Enabled: "Enabled";
2335
- };
2336
- export type ConnectionNotificationState =
2337
- (typeof ConnectionNotificationState)[keyof typeof ConnectionNotificationState];
2338
2341
  export declare const ResponseLaunchTemplateDataFilterSensitiveLog: (
2339
2342
  obj: ResponseLaunchTemplateData
2340
2343
  ) => any;
@@ -41,7 +41,6 @@ import {
41
41
  LaunchTemplate,
42
42
  } from "./models_1";
43
43
  import {
44
- ConnectionNotificationState,
45
44
  GroupIdentifier,
46
45
  LocalGatewayRoute,
47
46
  LocalGatewayRouteTable,
@@ -67,6 +66,12 @@ import {
67
66
  VerifiedAccessGroup,
68
67
  VpcBlockPublicAccessExclusion,
69
68
  } from "./models_2";
69
+ export declare const ConnectionNotificationState: {
70
+ readonly Disabled: "Disabled";
71
+ readonly Enabled: "Enabled";
72
+ };
73
+ export type ConnectionNotificationState =
74
+ (typeof ConnectionNotificationState)[keyof typeof ConnectionNotificationState];
70
75
  export declare const ConnectionNotificationType: {
71
76
  readonly Topic: "Topic";
72
77
  };
@@ -1588,11 +1593,6 @@ export interface DescribeClientVpnEndpointsRequest {
1588
1593
  Filters?: Filter[] | undefined;
1589
1594
  DryRun?: boolean | undefined;
1590
1595
  }
1591
- export declare const AssociatedNetworkType: {
1592
- readonly vpc: "vpc";
1593
- };
1594
- export type AssociatedNetworkType =
1595
- (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
1596
1596
  export declare const VpnTunnelOptionsSpecificationFilterSensitiveLog: (
1597
1597
  obj: VpnTunnelOptionsSpecification
1598
1598
  ) => any;
@@ -51,7 +51,6 @@ import {
51
51
  IpamResourceDiscovery,
52
52
  IpamScope,
53
53
  KeyType,
54
- LaunchTemplate,
55
54
  LaunchTemplateAndOverridesResponse,
56
55
  LogDestinationType,
57
56
  OperatorResponse,
@@ -65,18 +64,21 @@ import {
65
64
  } from "./models_1";
66
65
  import {
67
66
  GroupIdentifier,
68
- LaunchTemplateVersion,
69
67
  NetworkInterfaceStatus,
70
68
  StateReason,
71
69
  } from "./models_2";
72
70
  import {
73
- AssociatedNetworkType,
74
71
  Byoasn,
75
72
  Filter,
76
73
  FleetStateCode,
77
74
  IdFormat,
78
75
  InstanceTagNotificationAttribute,
79
76
  } from "./models_3";
77
+ export declare const AssociatedNetworkType: {
78
+ readonly vpc: "vpc";
79
+ };
80
+ export type AssociatedNetworkType =
81
+ (typeof AssociatedNetworkType)[keyof typeof AssociatedNetworkType];
80
82
  export interface AssociatedTargetNetwork {
81
83
  NetworkId?: string | undefined;
82
84
  NetworkType?: AssociatedNetworkType | undefined;
@@ -1314,8 +1316,15 @@ export declare const InstanceAutoRecoveryState: {
1314
1316
  };
1315
1317
  export type InstanceAutoRecoveryState =
1316
1318
  (typeof InstanceAutoRecoveryState)[keyof typeof InstanceAutoRecoveryState];
1319
+ export declare const InstanceRebootMigrationState: {
1320
+ readonly default: "default";
1321
+ readonly disabled: "disabled";
1322
+ };
1323
+ export type InstanceRebootMigrationState =
1324
+ (typeof InstanceRebootMigrationState)[keyof typeof InstanceRebootMigrationState];
1317
1325
  export interface InstanceMaintenanceOptions {
1318
1326
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
1327
+ RebootMigration?: InstanceRebootMigrationState | undefined;
1319
1328
  }
1320
1329
  export declare const InstanceMetadataEndpointState: {
1321
1330
  readonly disabled: "disabled";
@@ -1881,6 +1890,12 @@ export interface ProcessorInfo {
1881
1890
  SupportedFeatures?: SupportedAdditionalProcessorFeature[] | undefined;
1882
1891
  Manufacturer?: string | undefined;
1883
1892
  }
1893
+ export declare const RebootMigrationSupport: {
1894
+ readonly SUPPORTED: "supported";
1895
+ readonly UNSUPPORTED: "unsupported";
1896
+ };
1897
+ export type RebootMigrationSupport =
1898
+ (typeof RebootMigrationSupport)[keyof typeof RebootMigrationSupport];
1884
1899
  export declare const BootModeType: {
1885
1900
  readonly legacy_bios: "legacy-bios";
1886
1901
  readonly uefi: "uefi";
@@ -1937,6 +1952,7 @@ export interface InstanceTypeInfo {
1937
1952
  MediaAcceleratorInfo?: MediaAcceleratorInfo | undefined;
1938
1953
  NeuronInfo?: NeuronInfo | undefined;
1939
1954
  PhcSupport?: PhcSupport | undefined;
1955
+ RebootMigrationSupport?: RebootMigrationSupport | undefined;
1940
1956
  }
1941
1957
  export interface DescribeInstanceTypesResult {
1942
1958
  InstanceTypes?: InstanceTypeInfo[] | undefined;
@@ -2079,26 +2095,6 @@ export interface DescribeLaunchTemplatesRequest {
2079
2095
  NextToken?: string | undefined;
2080
2096
  MaxResults?: number | undefined;
2081
2097
  }
2082
- export interface DescribeLaunchTemplatesResult {
2083
- LaunchTemplates?: LaunchTemplate[] | undefined;
2084
- NextToken?: string | undefined;
2085
- }
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
2098
  export declare const DiskImageDescriptionFilterSensitiveLog: (
2103
2099
  obj: DiskImageDescription
2104
2100
  ) => any;
@@ -2135,6 +2131,3 @@ export declare const ImportSnapshotTaskFilterSensitiveLog: (
2135
2131
  export declare const DescribeImportSnapshotTasksResultFilterSensitiveLog: (
2136
2132
  obj: DescribeImportSnapshotTasksResult
2137
2133
  ) => any;
2138
- export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
2139
- obj: DescribeLaunchTemplateVersionsResult
2140
- ) => any;
@@ -40,6 +40,7 @@ import {
40
40
  InstanceRequirements,
41
41
  Ipv4PrefixSpecificationRequest,
42
42
  Ipv6PrefixSpecificationRequest,
43
+ LaunchTemplate,
43
44
  MacModificationTask,
44
45
  PrivateIpAddressSpecification,
45
46
  SpotInstanceType,
@@ -53,6 +54,7 @@ import {
53
54
  DnsEntry,
54
55
  GroupIdentifier,
55
56
  IpAddressType,
57
+ LaunchTemplateVersion,
56
58
  LocalGatewayRouteTable,
57
59
  LocalGatewayRouteTableVirtualInterfaceGroupAssociation,
58
60
  LocalGatewayRouteTableVpcAssociation,
@@ -105,7 +107,6 @@ import {
105
107
  ServiceConnectivityType,
106
108
  ServiceTypeDetail,
107
109
  VpnConnection,
108
- VpnGateway,
109
110
  } from "./models_3";
110
111
  import {
111
112
  AttributeBooleanValue,
@@ -113,6 +114,26 @@ import {
113
114
  PermissionGroup,
114
115
  ProductCode,
115
116
  } from "./models_4";
117
+ export interface DescribeLaunchTemplatesResult {
118
+ LaunchTemplates?: LaunchTemplate[] | undefined;
119
+ NextToken?: string | undefined;
120
+ }
121
+ export interface DescribeLaunchTemplateVersionsRequest {
122
+ DryRun?: boolean | undefined;
123
+ LaunchTemplateId?: string | undefined;
124
+ LaunchTemplateName?: string | undefined;
125
+ Versions?: string[] | undefined;
126
+ MinVersion?: string | undefined;
127
+ MaxVersion?: string | undefined;
128
+ NextToken?: string | undefined;
129
+ MaxResults?: number | undefined;
130
+ Filters?: Filter[] | undefined;
131
+ ResolveAlias?: boolean | undefined;
132
+ }
133
+ export interface DescribeLaunchTemplateVersionsResult {
134
+ LaunchTemplateVersions?: LaunchTemplateVersion[] | undefined;
135
+ NextToken?: string | undefined;
136
+ }
116
137
  export interface DescribeLocalGatewayRouteTablesRequest {
117
138
  LocalGatewayRouteTableIds?: string[] | undefined;
118
139
  Filters?: Filter[] | undefined;
@@ -2040,19 +2061,9 @@ export interface DescribeVpnConnectionsRequest {
2040
2061
  export interface DescribeVpnConnectionsResult {
2041
2062
  VpnConnections?: VpnConnection[] | undefined;
2042
2063
  }
2043
- export interface DescribeVpnGatewaysRequest {
2044
- Filters?: Filter[] | undefined;
2045
- VpnGatewayIds?: string[] | undefined;
2046
- DryRun?: boolean | undefined;
2047
- }
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,19 @@ import {
65
66
  VirtualizationType,
66
67
  } from "./models_4";
67
68
  import { AnalysisStatus, ManagedBy } from "./models_5";
69
+ export interface DescribeVpnGatewaysRequest {
70
+ Filters?: Filter[] | undefined;
71
+ VpnGatewayIds?: string[] | undefined;
72
+ DryRun?: boolean | undefined;
73
+ }
74
+ export interface DescribeVpnGatewaysResult {
75
+ VpnGateways?: VpnGateway[] | undefined;
76
+ }
77
+ export interface DetachClassicLinkVpcRequest {
78
+ DryRun?: boolean | undefined;
79
+ InstanceId: string | undefined;
80
+ VpcId: string | undefined;
81
+ }
68
82
  export interface DetachClassicLinkVpcResult {
69
83
  Return?: boolean | undefined;
70
84
  }
@@ -1619,23 +1633,6 @@ export interface TransitGatewayPolicyRule {
1619
1633
  Protocol?: string | undefined;
1620
1634
  MetaData?: TransitGatewayPolicyRuleMetaData | undefined;
1621
1635
  }
1622
- export interface TransitGatewayPolicyTableEntry {
1623
- PolicyRuleNumber?: string | undefined;
1624
- PolicyRule?: TransitGatewayPolicyRule | undefined;
1625
- TargetRouteTableId?: string | undefined;
1626
- }
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;
@@ -13,8 +13,6 @@ import {
13
13
  EnaSrdSpecification,
14
14
  HostMaintenance,
15
15
  HostRecovery,
16
- IamInstanceProfileAssociation,
17
- IamInstanceProfileSpecification,
18
16
  InstanceEventWindow,
19
17
  Ipv6SupportValue,
20
18
  SecurityGroupReferencingSupportValue,
@@ -127,6 +125,7 @@ import {
127
125
  InstanceMetadataOptionsResponse,
128
126
  InstanceMetadataProtocolState,
129
127
  InstanceMetadataTagsState,
128
+ InstanceRebootMigrationState,
130
129
  InstanceStatusEvent,
131
130
  LaunchPermission,
132
131
  Monitoring,
@@ -153,9 +152,27 @@ import {
153
152
  InstanceFamilyCreditSpecification,
154
153
  IpamResourceCidr,
155
154
  Purchase,
155
+ TransitGatewayPolicyRule,
156
156
  TransitGatewayPropagationState,
157
157
  UnlimitedSupportedInstanceFamily,
158
158
  } from "./models_6";
159
+ export interface TransitGatewayPolicyTableEntry {
160
+ PolicyRuleNumber?: string | undefined;
161
+ PolicyRule?: TransitGatewayPolicyRule | undefined;
162
+ TargetRouteTableId?: string | undefined;
163
+ }
164
+ export interface GetTransitGatewayPolicyTableEntriesResult {
165
+ TransitGatewayPolicyTableEntries?:
166
+ | TransitGatewayPolicyTableEntry[]
167
+ | undefined;
168
+ }
169
+ export interface GetTransitGatewayPrefixListReferencesRequest {
170
+ TransitGatewayRouteTableId: string | undefined;
171
+ Filters?: Filter[] | undefined;
172
+ MaxResults?: number | undefined;
173
+ NextToken?: string | undefined;
174
+ DryRun?: boolean | undefined;
175
+ }
159
176
  export interface GetTransitGatewayPrefixListReferencesResult {
160
177
  TransitGatewayPrefixListReferences?:
161
178
  | TransitGatewayPrefixListReference[]
@@ -763,11 +780,13 @@ export interface ModifyInstanceEventWindowResult {
763
780
  export interface ModifyInstanceMaintenanceOptionsRequest {
764
781
  InstanceId: string | undefined;
765
782
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
783
+ RebootMigration?: InstanceRebootMigrationState | undefined;
766
784
  DryRun?: boolean | undefined;
767
785
  }
768
786
  export interface ModifyInstanceMaintenanceOptionsResult {
769
787
  InstanceId?: string | undefined;
770
788
  AutoRecovery?: InstanceAutoRecoveryState | undefined;
789
+ RebootMigration?: InstanceRebootMigrationState | undefined;
771
790
  }
772
791
  export declare const DefaultInstanceMetadataEndpointState: {
773
792
  readonly disabled: "disabled";
@@ -977,6 +996,21 @@ export interface ModifyPrivateDnsNameOptionsRequest {
977
996
  export interface ModifyPrivateDnsNameOptionsResult {
978
997
  Return?: boolean | undefined;
979
998
  }
999
+ export declare const PublicIpDnsOption: {
1000
+ readonly public_dual_stack_dns_name: "public-dual-stack-dns-name";
1001
+ readonly public_ipv4_dns_name: "public-ipv4-dns-name";
1002
+ readonly public_ipv6_dns_name: "public-ipv6-dns-name";
1003
+ };
1004
+ export type PublicIpDnsOption =
1005
+ (typeof PublicIpDnsOption)[keyof typeof PublicIpDnsOption];
1006
+ export interface ModifyPublicIpDnsNameOptionsRequest {
1007
+ NetworkInterfaceId: string | undefined;
1008
+ HostnameType: PublicIpDnsOption | undefined;
1009
+ DryRun?: boolean | undefined;
1010
+ }
1011
+ export interface ModifyPublicIpDnsNameOptionsResult {
1012
+ Successful?: boolean | undefined;
1013
+ }
980
1014
  export interface ModifyReservedInstancesRequest {
981
1015
  ReservedInstancesIds: string[] | undefined;
982
1016
  ClientToken?: string | undefined;
@@ -1845,28 +1879,6 @@ export interface ReleaseIpamPoolAllocationRequest {
1845
1879
  export interface ReleaseIpamPoolAllocationResult {
1846
1880
  Success?: boolean | undefined;
1847
1881
  }
1848
- export interface ReplaceIamInstanceProfileAssociationRequest {
1849
- IamInstanceProfile: IamInstanceProfileSpecification | undefined;
1850
- AssociationId: string | undefined;
1851
- }
1852
- export interface ReplaceIamInstanceProfileAssociationResult {
1853
- IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
1854
- }
1855
- export interface ImageCriterionRequest {
1856
- ImageProviders?: string[] | undefined;
1857
- }
1858
- export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
1859
- ImageCriteria?: ImageCriterionRequest[] | undefined;
1860
- DryRun?: boolean | undefined;
1861
- }
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
1882
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1871
1883
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1872
1884
  ) => any;
@@ -3,6 +3,7 @@ import {
3
3
  AddressAttributeName,
4
4
  ByoipCidr,
5
5
  ClientVpnAuthorizationRuleStatus,
6
+ IamInstanceProfileAssociation,
6
7
  IamInstanceProfileSpecification,
7
8
  IpPermission,
8
9
  NatGatewayAddress,
@@ -61,6 +62,28 @@ import {
61
62
  InstanceMonitoring,
62
63
  Status,
63
64
  } from "./models_7";
65
+ export interface ReplaceIamInstanceProfileAssociationRequest {
66
+ IamInstanceProfile: IamInstanceProfileSpecification | undefined;
67
+ AssociationId: string | undefined;
68
+ }
69
+ export interface ReplaceIamInstanceProfileAssociationResult {
70
+ IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
71
+ }
72
+ export interface ImageCriterionRequest {
73
+ ImageProviders?: string[] | undefined;
74
+ }
75
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
76
+ ImageCriteria?: ImageCriterionRequest[] | undefined;
77
+ DryRun?: boolean | undefined;
78
+ }
79
+ export interface ReplaceImageCriteriaInAllowedImagesSettingsResult {
80
+ ReturnValue?: boolean | undefined;
81
+ }
82
+ export interface ReplaceNetworkAclAssociationRequest {
83
+ DryRun?: boolean | undefined;
84
+ AssociationId: string | undefined;
85
+ NetworkAclId: string | undefined;
86
+ }
64
87
  export interface ReplaceNetworkAclAssociationResult {
65
88
  NewAssociationId?: string | undefined;
66
89
  }
@@ -2295,6 +2295,10 @@ import {
2295
2295
  ModifyPrivateDnsNameOptionsCommandInput,
2296
2296
  ModifyPrivateDnsNameOptionsCommandOutput,
2297
2297
  } from "../commands/ModifyPrivateDnsNameOptionsCommand";
2298
+ import {
2299
+ ModifyPublicIpDnsNameOptionsCommandInput,
2300
+ ModifyPublicIpDnsNameOptionsCommandOutput,
2301
+ } from "../commands/ModifyPublicIpDnsNameOptionsCommand";
2298
2302
  import {
2299
2303
  ModifyReservedInstancesCommandInput,
2300
2304
  ModifyReservedInstancesCommandOutput,
@@ -5031,6 +5035,10 @@ export declare const se_ModifyPrivateDnsNameOptionsCommand: (
5031
5035
  input: ModifyPrivateDnsNameOptionsCommandInput,
5032
5036
  context: __SerdeContext
5033
5037
  ) => Promise<__HttpRequest>;
5038
+ export declare const se_ModifyPublicIpDnsNameOptionsCommand: (
5039
+ input: ModifyPublicIpDnsNameOptionsCommandInput,
5040
+ context: __SerdeContext
5041
+ ) => Promise<__HttpRequest>;
5034
5042
  export declare const se_ModifyReservedInstancesCommand: (
5035
5043
  input: ModifyReservedInstancesCommandInput,
5036
5044
  context: __SerdeContext
@@ -7767,6 +7775,10 @@ export declare const de_ModifyPrivateDnsNameOptionsCommand: (
7767
7775
  output: __HttpResponse,
7768
7776
  context: __SerdeContext
7769
7777
  ) => Promise<ModifyPrivateDnsNameOptionsCommandOutput>;
7778
+ export declare const de_ModifyPublicIpDnsNameOptionsCommand: (
7779
+ output: __HttpResponse,
7780
+ context: __SerdeContext
7781
+ ) => Promise<ModifyPublicIpDnsNameOptionsCommandOutput>;
7770
7782
  export declare const de_ModifyReservedInstancesCommand: (
7771
7783
  output: __HttpResponse,
7772
7784
  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.813.0",
4
+ "version": "3.815.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",