@aws-sdk/client-ec2 3.758.0 → 3.760.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 (66) hide show
  1. package/dist-cjs/index.js +311 -217
  2. package/dist-es/commands/CreateVpnConnectionCommand.js +2 -1
  3. package/dist-es/models/models_1.js +19 -4
  4. package/dist-es/models/models_2.js +4 -9
  5. package/dist-es/models/models_3.js +10 -15
  6. package/dist-es/models/models_4.js +15 -0
  7. package/dist-es/models/models_5.js +1 -1
  8. package/dist-es/models/models_6.js +0 -6
  9. package/dist-es/models/models_7.js +7 -1
  10. package/dist-es/protocols/Aws_ec2.js +74 -4
  11. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +37 -2
  12. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateVpcCommand.d.ts +37 -2
  15. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeFastLaunchImagesCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFastSnapshotRestoresCommand.d.ts +1 -2
  20. package/dist-types/commands/DescribePrincipalIdFormatCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeRegionsCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribeVpcsCommand.d.ts +37 -2
  24. package/dist-types/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  25. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  26. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  27. package/dist-types/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  28. package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -2
  29. package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
  30. package/dist-types/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  31. package/dist-types/commands/TerminateInstancesCommand.d.ts +1 -1
  32. package/dist-types/models/models_1.d.ts +73 -222
  33. package/dist-types/models/models_2.d.ts +224 -214
  34. package/dist-types/models/models_3.d.ts +211 -230
  35. package/dist-types/models/models_4.d.ts +234 -181
  36. package/dist-types/models/models_5.d.ts +182 -105
  37. package/dist-types/models/models_6.d.ts +104 -122
  38. package/dist-types/models/models_7.d.ts +124 -111
  39. package/dist-types/models/models_8.d.ts +108 -1
  40. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/CreateVpnGatewayCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeFastLaunchImagesCommand.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/DescribeFastSnapshotRestoresCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/DescribePrincipalIdFormatCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribePublicIpv4PoolsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DisassociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ModifyInstanceCpuOptionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/StopInstancesCommand.d.ts +2 -1
  56. package/dist-types/ts3.4/commands/TerminateClientVpnConnectionsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/TerminateInstancesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/models/models_1.d.ts +46 -36
  59. package/dist-types/ts3.4/models/models_2.d.ts +36 -51
  60. package/dist-types/ts3.4/models/models_3.d.ts +58 -54
  61. package/dist-types/ts3.4/models/models_4.d.ts +58 -38
  62. package/dist-types/ts3.4/models/models_5.d.ts +40 -32
  63. package/dist-types/ts3.4/models/models_6.d.ts +29 -35
  64. package/dist-types/ts3.4/models/models_7.d.ts +35 -31
  65. package/dist-types/ts3.4/models/models_8.d.ts +28 -1
  66. package/package.json +1 -1
@@ -1,5 +1,227 @@
1
- import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ConnectionTrackingSpecificationRequest, GatewayType, InstanceIpv6Address, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { AccessScopePath, AccessScopePathRequest, AddPrefixListEntry, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { ConnectionTrackingSpecificationRequest, InstanceIpv6Address, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * @public
5
+ * @enum
6
+ */
7
+ export declare const LocalGatewayRouteTableMode: {
8
+ readonly coip: "coip";
9
+ readonly direct_vpc_routing: "direct-vpc-routing";
10
+ };
11
+ /**
12
+ * @public
13
+ */
14
+ export type LocalGatewayRouteTableMode = (typeof LocalGatewayRouteTableMode)[keyof typeof LocalGatewayRouteTableMode];
15
+ /**
16
+ * @public
17
+ */
18
+ export interface CreateLocalGatewayRouteTableRequest {
19
+ /**
20
+ * <p>
21
+ * The ID of the local gateway.
22
+ * </p>
23
+ * @public
24
+ */
25
+ LocalGatewayId: string | undefined;
26
+ /**
27
+ * <p>
28
+ * The mode of the local gateway route table.
29
+ * </p>
30
+ * @public
31
+ */
32
+ Mode?: LocalGatewayRouteTableMode | undefined;
33
+ /**
34
+ * <p>
35
+ * The tags assigned to the local gateway route table.
36
+ * </p>
37
+ * @public
38
+ */
39
+ TagSpecifications?: TagSpecification[] | undefined;
40
+ /**
41
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
42
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
43
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
44
+ * @public
45
+ */
46
+ DryRun?: boolean | undefined;
47
+ }
48
+ /**
49
+ * <p>Describes a state change.</p>
50
+ * @public
51
+ */
52
+ export interface StateReason {
53
+ /**
54
+ * <p>The reason code for the state change.</p>
55
+ * @public
56
+ */
57
+ Code?: string | undefined;
58
+ /**
59
+ * <p>The message for the state change.</p>
60
+ * <ul>
61
+ * <li>
62
+ * <p>
63
+ * <code>Server.InsufficientInstanceCapacity</code>: There was insufficient
64
+ * capacity available to satisfy the launch request.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <code>Server.InternalError</code>: An internal error caused the instance to
69
+ * terminate during launch.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>
73
+ * <code>Server.ScheduledStop</code>: The instance was stopped due to a scheduled
74
+ * retirement.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>
78
+ * <code>Server.SpotInstanceShutdown</code>: The instance was stopped because the
79
+ * number of Spot requests with a maximum price equal to or higher than the Spot
80
+ * price exceeded available capacity or because of an increase in the Spot
81
+ * price.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>
85
+ * <code>Server.SpotInstanceTermination</code>: The instance was terminated
86
+ * because the number of Spot requests with a maximum price equal to or higher than
87
+ * the Spot price exceeded available capacity or because of an increase in the Spot
88
+ * price.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>
92
+ * <code>Client.InstanceInitiatedShutdown</code>: The instance was shut down
93
+ * from the operating system of the instance.</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>
97
+ * <code>Client.InstanceTerminated</code>: The instance was terminated or
98
+ * rebooted during AMI creation.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>
102
+ * <code>Client.InternalError</code>: A client error caused the instance to
103
+ * terminate during launch.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>
107
+ * <code>Client.InvalidSnapshot.NotFound</code>: The specified snapshot was not
108
+ * found.</p>
109
+ * </li>
110
+ * <li>
111
+ * <p>
112
+ * <code>Client.UserInitiatedHibernate</code>: Hibernation was initiated on the
113
+ * instance.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>
117
+ * <code>Client.UserInitiatedShutdown</code>: The instance was shut down using
118
+ * the Amazon EC2 API.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>
122
+ * <code>Client.VolumeLimitExceeded</code>: The limit on the number of EBS
123
+ * volumes or total storage was exceeded. Decrease usage or request an increase in
124
+ * your account limits.</p>
125
+ * </li>
126
+ * </ul>
127
+ * @public
128
+ */
129
+ Message?: string | undefined;
130
+ }
131
+ /**
132
+ * <p>Describes a local gateway route table.</p>
133
+ * @public
134
+ */
135
+ export interface LocalGatewayRouteTable {
136
+ /**
137
+ * <p>The ID of the local gateway route table.</p>
138
+ * @public
139
+ */
140
+ LocalGatewayRouteTableId?: string | undefined;
141
+ /**
142
+ * <p>The Amazon Resource Name (ARN) of the local gateway route table.</p>
143
+ * @public
144
+ */
145
+ LocalGatewayRouteTableArn?: string | undefined;
146
+ /**
147
+ * <p>The ID of the local gateway.</p>
148
+ * @public
149
+ */
150
+ LocalGatewayId?: string | undefined;
151
+ /**
152
+ * <p>The Amazon Resource Name (ARN) of the Outpost.</p>
153
+ * @public
154
+ */
155
+ OutpostArn?: string | undefined;
156
+ /**
157
+ * <p>The ID of the Amazon Web Services account that owns the local gateway route table.</p>
158
+ * @public
159
+ */
160
+ OwnerId?: string | undefined;
161
+ /**
162
+ * <p>The state of the local gateway route table.</p>
163
+ * @public
164
+ */
165
+ State?: string | undefined;
166
+ /**
167
+ * <p>The tags assigned to the local gateway route table.</p>
168
+ * @public
169
+ */
170
+ Tags?: Tag[] | undefined;
171
+ /**
172
+ * <p>The mode of the local gateway route table.</p>
173
+ * @public
174
+ */
175
+ Mode?: LocalGatewayRouteTableMode | undefined;
176
+ /**
177
+ * <p>Information about the state change.</p>
178
+ * @public
179
+ */
180
+ StateReason?: StateReason | undefined;
181
+ }
182
+ /**
183
+ * @public
184
+ */
185
+ export interface CreateLocalGatewayRouteTableResult {
186
+ /**
187
+ * <p>Information about the local gateway route table.</p>
188
+ * @public
189
+ */
190
+ LocalGatewayRouteTable?: LocalGatewayRouteTable | undefined;
191
+ }
192
+ /**
193
+ * @public
194
+ */
195
+ export interface CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest {
196
+ /**
197
+ * <p>
198
+ * The ID of the local gateway route table.
199
+ * </p>
200
+ * @public
201
+ */
202
+ LocalGatewayRouteTableId: string | undefined;
203
+ /**
204
+ * <p>
205
+ * The ID of the local gateway route table virtual interface group association.
206
+ * </p>
207
+ * @public
208
+ */
209
+ LocalGatewayVirtualInterfaceGroupId: string | undefined;
210
+ /**
211
+ * <p>
212
+ * The tags assigned to the local gateway route table virtual interface group association.
213
+ * </p>
214
+ * @public
215
+ */
216
+ TagSpecifications?: TagSpecification[] | undefined;
217
+ /**
218
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
219
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
220
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
221
+ * @public
222
+ */
223
+ DryRun?: boolean | undefined;
224
+ }
3
225
  /**
4
226
  * <p>Describes an association between a local gateway route table and a virtual interface group.</p>
5
227
  * @public
@@ -8857,210 +9079,6 @@ export interface VgwTelemetry {
8857
9079
  */
8858
9080
  CertificateArn?: string | undefined;
8859
9081
  }
8860
- /**
8861
- * <p>Describes a VPN connection.</p>
8862
- * @public
8863
- */
8864
- export interface VpnConnection {
8865
- /**
8866
- * <p>The category of the VPN connection. A value of <code>VPN</code> indicates an Amazon Web Services VPN connection. A value of <code>VPN-Classic</code> indicates an Amazon Web Services Classic VPN connection.</p>
8867
- * @public
8868
- */
8869
- Category?: string | undefined;
8870
- /**
8871
- * <p>The ID of the transit gateway associated with the VPN connection.</p>
8872
- * @public
8873
- */
8874
- TransitGatewayId?: string | undefined;
8875
- /**
8876
- * <p>The ARN of the core network.</p>
8877
- * @public
8878
- */
8879
- CoreNetworkArn?: string | undefined;
8880
- /**
8881
- * <p>The ARN of the core network attachment.</p>
8882
- * @public
8883
- */
8884
- CoreNetworkAttachmentArn?: string | undefined;
8885
- /**
8886
- * <p>The current state of the gateway association.</p>
8887
- * @public
8888
- */
8889
- GatewayAssociationState?: GatewayAssociationState | undefined;
8890
- /**
8891
- * <p>The VPN connection options.</p>
8892
- * @public
8893
- */
8894
- Options?: VpnConnectionOptions | undefined;
8895
- /**
8896
- * <p>The static routes associated with the VPN connection.</p>
8897
- * @public
8898
- */
8899
- Routes?: VpnStaticRoute[] | undefined;
8900
- /**
8901
- * <p>Any tags assigned to the VPN connection.</p>
8902
- * @public
8903
- */
8904
- Tags?: Tag[] | undefined;
8905
- /**
8906
- * <p>Information about the VPN tunnel.</p>
8907
- * @public
8908
- */
8909
- VgwTelemetry?: VgwTelemetry[] | undefined;
8910
- /**
8911
- * <p>The ID of the VPN connection.</p>
8912
- * @public
8913
- */
8914
- VpnConnectionId?: string | undefined;
8915
- /**
8916
- * <p>The current state of the VPN connection.</p>
8917
- * @public
8918
- */
8919
- State?: VpnState | undefined;
8920
- /**
8921
- * <p>The configuration information for the VPN connection's customer gateway (in the native
8922
- * XML format). This element is always present in the <a>CreateVpnConnection</a>
8923
- * response; however, it's present in the <a>DescribeVpnConnections</a> response
8924
- * only if the VPN connection is in the <code>pending</code> or <code>available</code>
8925
- * state.</p>
8926
- * @public
8927
- */
8928
- CustomerGatewayConfiguration?: string | undefined;
8929
- /**
8930
- * <p>The type of VPN connection.</p>
8931
- * @public
8932
- */
8933
- Type?: GatewayType | undefined;
8934
- /**
8935
- * <p>The ID of the customer gateway at your end of the VPN connection.</p>
8936
- * @public
8937
- */
8938
- CustomerGatewayId?: string | undefined;
8939
- /**
8940
- * <p>The ID of the virtual private gateway at the Amazon Web Services side of the VPN
8941
- * connection.</p>
8942
- * @public
8943
- */
8944
- VpnGatewayId?: string | undefined;
8945
- }
8946
- /**
8947
- * <p>Contains the output of CreateVpnConnection.</p>
8948
- * @public
8949
- */
8950
- export interface CreateVpnConnectionResult {
8951
- /**
8952
- * <p>Information about the VPN connection.</p>
8953
- * @public
8954
- */
8955
- VpnConnection?: VpnConnection | undefined;
8956
- }
8957
- /**
8958
- * <p>Contains the parameters for CreateVpnConnectionRoute.</p>
8959
- * @public
8960
- */
8961
- export interface CreateVpnConnectionRouteRequest {
8962
- /**
8963
- * <p>The CIDR block associated with the local subnet of the customer network.</p>
8964
- * @public
8965
- */
8966
- DestinationCidrBlock: string | undefined;
8967
- /**
8968
- * <p>The ID of the VPN connection.</p>
8969
- * @public
8970
- */
8971
- VpnConnectionId: string | undefined;
8972
- }
8973
- /**
8974
- * <p>Contains the parameters for CreateVpnGateway.</p>
8975
- * @public
8976
- */
8977
- export interface CreateVpnGatewayRequest {
8978
- /**
8979
- * <p>The Availability Zone for the virtual private gateway.</p>
8980
- * @public
8981
- */
8982
- AvailabilityZone?: string | undefined;
8983
- /**
8984
- * <p>The type of VPN connection this virtual private gateway supports.</p>
8985
- * @public
8986
- */
8987
- Type: GatewayType | undefined;
8988
- /**
8989
- * <p>The tags to apply to the virtual private gateway.</p>
8990
- * @public
8991
- */
8992
- TagSpecifications?: TagSpecification[] | undefined;
8993
- /**
8994
- * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If
8995
- * you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a
8996
- * 32-bit ASN, it must be in the 4200000000 to 4294967294 range.</p>
8997
- * <p>Default: 64512</p>
8998
- * @public
8999
- */
9000
- AmazonSideAsn?: number | undefined;
9001
- /**
9002
- * <p>Checks whether you have the required permissions for the action, without actually
9003
- * making the request, and provides an error response. If you have the required
9004
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
9005
- * <code>UnauthorizedOperation</code>.</p>
9006
- * @public
9007
- */
9008
- DryRun?: boolean | undefined;
9009
- }
9010
- /**
9011
- * <p>Describes a virtual private gateway.</p>
9012
- * @public
9013
- */
9014
- export interface VpnGateway {
9015
- /**
9016
- * <p>The private Autonomous System Number (ASN) for the Amazon side of a BGP
9017
- * session.</p>
9018
- * @public
9019
- */
9020
- AmazonSideAsn?: number | undefined;
9021
- /**
9022
- * <p>Any tags assigned to the virtual private gateway.</p>
9023
- * @public
9024
- */
9025
- Tags?: Tag[] | undefined;
9026
- /**
9027
- * <p>The ID of the virtual private gateway.</p>
9028
- * @public
9029
- */
9030
- VpnGatewayId?: string | undefined;
9031
- /**
9032
- * <p>The current state of the virtual private gateway.</p>
9033
- * @public
9034
- */
9035
- State?: VpnState | undefined;
9036
- /**
9037
- * <p>The type of VPN connection the virtual private gateway supports.</p>
9038
- * @public
9039
- */
9040
- Type?: GatewayType | undefined;
9041
- /**
9042
- * <p>The Availability Zone where the virtual private gateway was created, if applicable.
9043
- * This field may be empty or not returned.</p>
9044
- * @public
9045
- */
9046
- AvailabilityZone?: string | undefined;
9047
- /**
9048
- * <p>Any VPCs attached to the virtual private gateway.</p>
9049
- * @public
9050
- */
9051
- VpcAttachments?: VpcAttachment[] | undefined;
9052
- }
9053
- /**
9054
- * <p>Contains the output of CreateVpnGateway.</p>
9055
- * @public
9056
- */
9057
- export interface CreateVpnGatewayResult {
9058
- /**
9059
- * <p>Information about the virtual private gateway.</p>
9060
- * @public
9061
- */
9062
- VpnGateway?: VpnGateway | undefined;
9063
- }
9064
9082
  /**
9065
9083
  * @internal
9066
9084
  */
@@ -9097,11 +9115,3 @@ export declare const TunnelOptionFilterSensitiveLog: (obj: TunnelOption) => any;
9097
9115
  * @internal
9098
9116
  */
9099
9117
  export declare const VpnConnectionOptionsFilterSensitiveLog: (obj: VpnConnectionOptions) => any;
9100
- /**
9101
- * @internal
9102
- */
9103
- export declare const VpnConnectionFilterSensitiveLog: (obj: VpnConnection) => any;
9104
- /**
9105
- * @internal
9106
- */
9107
- export declare const CreateVpnConnectionResultFilterSensitiveLog: (obj: CreateVpnConnectionResult) => any;