@aws-sdk/client-ec2 3.259.0 → 3.262.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 (127) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +565 -162
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +534 -139
  63. package/dist-types/EC2.d.ts +43 -0
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  67. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  69. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  72. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  73. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  74. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  75. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  76. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  79. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  80. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  81. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  82. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  83. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +4 -0
  86. package/dist-types/models/models_0.d.ts +125 -226
  87. package/dist-types/models/models_1.d.ts +242 -164
  88. package/dist-types/models/models_2.d.ts +159 -72
  89. package/dist-types/models/models_3.d.ts +67 -205
  90. package/dist-types/models/models_4.d.ts +205 -78
  91. package/dist-types/models/models_5.d.ts +117 -170
  92. package/dist-types/models/models_6.d.ts +182 -128
  93. package/dist-types/models/models_7.d.ts +167 -2
  94. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  95. package/dist-types/ts3.4/EC2.d.ts +68 -0
  96. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  97. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  104. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  106. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +53 -59
  119. package/dist-types/ts3.4/models/models_1.d.ts +71 -54
  120. package/dist-types/ts3.4/models/models_2.d.ts +49 -37
  121. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  122. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  123. package/dist-types/ts3.4/models/models_5.d.ts +61 -57
  124. package/dist-types/ts3.4/models/models_6.d.ts +60 -55
  125. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  126. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  127. package/package.json +6 -6
@@ -1,5 +1,141 @@
1
- import { ApplianceModeSupportValue, CarrierGateway, ClientVpnEndpointStatus, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTable, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
1
+ import { ApplianceModeSupportValue, CarrierGateway, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
+ import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, RouteTableAssociation, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * <p>Describes a virtual private gateway propagating route.</p>
5
+ */
6
+ export interface PropagatingVgw {
7
+ /**
8
+ * <p>The ID of the virtual private gateway.</p>
9
+ */
10
+ GatewayId?: string;
11
+ }
12
+ export declare enum RouteOrigin {
13
+ CreateRoute = "CreateRoute",
14
+ CreateRouteTable = "CreateRouteTable",
15
+ EnableVgwRoutePropagation = "EnableVgwRoutePropagation"
16
+ }
17
+ export declare enum RouteState {
18
+ active = "active",
19
+ blackhole = "blackhole"
20
+ }
21
+ /**
22
+ * <p>Describes a route in a route table.</p>
23
+ */
24
+ export interface Route {
25
+ /**
26
+ * <p>The IPv4 CIDR block used for the destination match.</p>
27
+ */
28
+ DestinationCidrBlock?: string;
29
+ /**
30
+ * <p>The IPv6 CIDR block used for the destination match.</p>
31
+ */
32
+ DestinationIpv6CidrBlock?: string;
33
+ /**
34
+ * <p>The prefix of the Amazon Web Service.</p>
35
+ */
36
+ DestinationPrefixListId?: string;
37
+ /**
38
+ * <p>The ID of the egress-only internet gateway.</p>
39
+ */
40
+ EgressOnlyInternetGatewayId?: string;
41
+ /**
42
+ * <p>The ID of a gateway attached to your VPC.</p>
43
+ */
44
+ GatewayId?: string;
45
+ /**
46
+ * <p>The ID of a NAT instance in your VPC.</p>
47
+ */
48
+ InstanceId?: string;
49
+ /**
50
+ * <p>The ID of Amazon Web Services account that owns the instance.</p>
51
+ */
52
+ InstanceOwnerId?: string;
53
+ /**
54
+ * <p>The ID of a NAT gateway.</p>
55
+ */
56
+ NatGatewayId?: string;
57
+ /**
58
+ * <p>The ID of a transit gateway.</p>
59
+ */
60
+ TransitGatewayId?: string;
61
+ /**
62
+ * <p>The ID of the local gateway.</p>
63
+ */
64
+ LocalGatewayId?: string;
65
+ /**
66
+ * <p>The ID of the carrier gateway.</p>
67
+ */
68
+ CarrierGatewayId?: string;
69
+ /**
70
+ * <p>The ID of the network interface.</p>
71
+ */
72
+ NetworkInterfaceId?: string;
73
+ /**
74
+ * <p>Describes how the route was created.</p>
75
+ * <ul>
76
+ * <li>
77
+ * <p>
78
+ * <code>CreateRouteTable</code> - The route was automatically created when the route table was created.</p>
79
+ * </li>
80
+ * <li>
81
+ * <p>
82
+ * <code>CreateRoute</code> - The route was manually added to the route table.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>EnableVgwRoutePropagation</code> - The route was propagated by route propagation.</p>
87
+ * </li>
88
+ * </ul>
89
+ */
90
+ Origin?: RouteOrigin | string;
91
+ /**
92
+ * <p>The state of the route. The <code>blackhole</code> state indicates that the
93
+ * route's target isn't available (for example, the specified gateway isn't attached to the
94
+ * VPC, or the specified NAT instance has been terminated).</p>
95
+ */
96
+ State?: RouteState | string;
97
+ /**
98
+ * <p>The ID of a VPC peering connection.</p>
99
+ */
100
+ VpcPeeringConnectionId?: string;
101
+ /**
102
+ * <p>The Amazon Resource Name (ARN) of the core network.</p>
103
+ */
104
+ CoreNetworkArn?: string;
105
+ }
106
+ /**
107
+ * <p>Describes a route table.</p>
108
+ */
109
+ export interface RouteTable {
110
+ /**
111
+ * <p>The associations between the route table and one or more subnets or a gateway.</p>
112
+ */
113
+ Associations?: RouteTableAssociation[];
114
+ /**
115
+ * <p>Any virtual private gateway (VGW) propagating routes.</p>
116
+ */
117
+ PropagatingVgws?: PropagatingVgw[];
118
+ /**
119
+ * <p>The ID of the route table.</p>
120
+ */
121
+ RouteTableId?: string;
122
+ /**
123
+ * <p>The routes in the route table.</p>
124
+ */
125
+ Routes?: Route[];
126
+ /**
127
+ * <p>Any tags assigned to the route table.</p>
128
+ */
129
+ Tags?: Tag[];
130
+ /**
131
+ * <p>The ID of the VPC.</p>
132
+ */
133
+ VpcId?: string;
134
+ /**
135
+ * <p>The ID of the Amazon Web Services account that owns the route table.</p>
136
+ */
137
+ OwnerId?: string;
138
+ }
3
139
  export interface CreateRouteTableResult {
4
140
  /**
5
141
  * <p>Information about the route table.</p>
@@ -199,7 +335,7 @@ export interface InstanceSpecification {
199
335
  /**
200
336
  * <p>The instance to specify which volumes should be snapshotted.</p>
201
337
  */
202
- InstanceId?: string;
338
+ InstanceId: string | undefined;
203
339
  /**
204
340
  * <p>Excludes the root volume from being snapshotted.</p>
205
341
  */
@@ -4745,7 +4881,7 @@ export interface DeleteLocalGatewayRouteRequest {
4745
4881
  /**
4746
4882
  * <p>The CIDR range for the route. This must match the CIDR for the route exactly.</p>
4747
4883
  */
4748
- DestinationCidrBlock: string | undefined;
4884
+ DestinationCidrBlock?: string;
4749
4885
  /**
4750
4886
  * <p>The ID of the local gateway route table.</p>
4751
4887
  */
@@ -4756,6 +4892,13 @@ export interface DeleteLocalGatewayRouteRequest {
4756
4892
  * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4757
4893
  */
4758
4894
  DryRun?: boolean;
4895
+ /**
4896
+ * <p>
4897
+ * Use a prefix list in place of <code>DestinationCidrBlock</code>. You cannot use
4898
+ * <code>DestinationPrefixListId</code> and <code>DestinationCidrBlock</code> in the same request.
4899
+ * </p>
4900
+ */
4901
+ DestinationPrefixListId?: string;
4759
4902
  }
4760
4903
  export interface DeleteLocalGatewayRouteResult {
4761
4904
  /**
@@ -5283,54 +5426,18 @@ export interface DeleteTrafficMirrorSessionResult {
5283
5426
  */
5284
5427
  TrafficMirrorSessionId?: string;
5285
5428
  }
5286
- export interface DeleteTrafficMirrorTargetRequest {
5287
- /**
5288
- * <p>The ID of the Traffic Mirror target.</p>
5289
- */
5290
- TrafficMirrorTargetId: string | undefined;
5291
- /**
5292
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5293
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5294
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5295
- */
5296
- DryRun?: boolean;
5297
- }
5298
- export interface DeleteTrafficMirrorTargetResult {
5299
- /**
5300
- * <p>The ID of the deleted Traffic Mirror target.</p>
5301
- */
5302
- TrafficMirrorTargetId?: string;
5303
- }
5304
- export interface DeleteTransitGatewayRequest {
5305
- /**
5306
- * <p>The ID of the transit gateway.</p>
5307
- */
5308
- TransitGatewayId: string | undefined;
5309
- /**
5310
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5311
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5312
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5313
- */
5314
- DryRun?: boolean;
5315
- }
5316
- export interface DeleteTransitGatewayResult {
5317
- /**
5318
- * <p>Information about the deleted transit gateway.</p>
5319
- */
5320
- TransitGateway?: TransitGateway;
5321
- }
5322
- export interface DeleteTransitGatewayConnectRequest {
5323
- /**
5324
- * <p>The ID of the Connect attachment.</p>
5325
- */
5326
- TransitGatewayAttachmentId: string | undefined;
5327
- /**
5328
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
5329
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5330
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5331
- */
5332
- DryRun?: boolean;
5333
- }
5429
+ /**
5430
+ * @internal
5431
+ */
5432
+ export declare const PropagatingVgwFilterSensitiveLog: (obj: PropagatingVgw) => any;
5433
+ /**
5434
+ * @internal
5435
+ */
5436
+ export declare const RouteFilterSensitiveLog: (obj: Route) => any;
5437
+ /**
5438
+ * @internal
5439
+ */
5440
+ export declare const RouteTableFilterSensitiveLog: (obj: RouteTable) => any;
5334
5441
  /**
5335
5442
  * @internal
5336
5443
  */
@@ -6295,23 +6402,3 @@ export declare const DeleteTrafficMirrorSessionRequestFilterSensitiveLog: (obj:
6295
6402
  * @internal
6296
6403
  */
6297
6404
  export declare const DeleteTrafficMirrorSessionResultFilterSensitiveLog: (obj: DeleteTrafficMirrorSessionResult) => any;
6298
- /**
6299
- * @internal
6300
- */
6301
- export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
6302
- /**
6303
- * @internal
6304
- */
6305
- export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
6306
- /**
6307
- * @internal
6308
- */
6309
- export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
6310
- /**
6311
- * @internal
6312
- */
6313
- export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
6314
- /**
6315
- * @internal
6316
- */
6317
- export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;
@@ -1,6 +1,54 @@
1
- import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType } from "./models_1";
3
- import { FleetStateCode, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
1
+ import { _InstanceType, AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AttachmentStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, GroupIdentifier, HostnameType, InstanceIpv6Address, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LogDestinationType, NetworkInterfaceStatus, Placement, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, StateReason, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
+ import { FleetStateCode, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ export interface DeleteTrafficMirrorTargetRequest {
5
+ /**
6
+ * <p>The ID of the Traffic Mirror target.</p>
7
+ */
8
+ TrafficMirrorTargetId: string | undefined;
9
+ /**
10
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
11
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13
+ */
14
+ DryRun?: boolean;
15
+ }
16
+ export interface DeleteTrafficMirrorTargetResult {
17
+ /**
18
+ * <p>The ID of the deleted Traffic Mirror target.</p>
19
+ */
20
+ TrafficMirrorTargetId?: string;
21
+ }
22
+ export interface DeleteTransitGatewayRequest {
23
+ /**
24
+ * <p>The ID of the transit gateway.</p>
25
+ */
26
+ TransitGatewayId: string | undefined;
27
+ /**
28
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
29
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
30
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
31
+ */
32
+ DryRun?: boolean;
33
+ }
34
+ export interface DeleteTransitGatewayResult {
35
+ /**
36
+ * <p>Information about the deleted transit gateway.</p>
37
+ */
38
+ TransitGateway?: TransitGateway;
39
+ }
40
+ export interface DeleteTransitGatewayConnectRequest {
41
+ /**
42
+ * <p>The ID of the Connect attachment.</p>
43
+ */
44
+ TransitGatewayAttachmentId: string | undefined;
45
+ /**
46
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
47
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
48
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
49
+ */
50
+ DryRun?: boolean;
51
+ }
4
52
  export interface DeleteTransitGatewayConnectResult {
5
53
  /**
6
54
  * <p>Information about the deleted Connect attachment.</p>
@@ -7466,195 +7514,25 @@ export interface Instance {
7466
7514
  MaintenanceOptions?: InstanceMaintenanceOptions;
7467
7515
  }
7468
7516
  /**
7469
- * <p>Describes a launch request for one or more instances, and includes owner, requester,
7470
- * and security group information that applies to all instances in the launch
7471
- * request.</p>
7517
+ * @internal
7472
7518
  */
7473
- export interface Reservation {
7474
- /**
7475
- * <p>[EC2-Classic only] The security groups.</p>
7476
- */
7477
- Groups?: GroupIdentifier[];
7478
- /**
7479
- * <p>The instances.</p>
7480
- */
7481
- Instances?: Instance[];
7482
- /**
7483
- * <p>The ID of the Amazon Web Services account that owns the reservation.</p>
7484
- */
7485
- OwnerId?: string;
7486
- /**
7487
- * <p>The ID of the requester that launched the instances on your behalf (for example,
7488
- * Amazon Web Services Management Console or Auto Scaling).</p>
7489
- */
7490
- RequesterId?: string;
7491
- /**
7492
- * <p>The ID of the reservation.</p>
7493
- */
7494
- ReservationId?: string;
7495
- }
7496
- export interface DescribeInstancesResult {
7497
- /**
7498
- * <p>Information about the reservations.</p>
7499
- */
7500
- Reservations?: Reservation[];
7501
- /**
7502
- * <p>The token to use to retrieve the next page of results. This value is <code>null</code>
7503
- * when there are no more results to return.</p>
7504
- */
7505
- NextToken?: string;
7506
- }
7507
- export interface DescribeInstanceStatusRequest {
7508
- /**
7509
- * <p>The filters.</p>
7510
- * <ul>
7511
- * <li>
7512
- * <p>
7513
- * <code>availability-zone</code> - The Availability Zone of the instance.</p>
7514
- * </li>
7515
- * <li>
7516
- * <p>
7517
- * <code>event.code</code> - The code for the scheduled event
7518
- * (<code>instance-reboot</code> | <code>system-reboot</code> |
7519
- * <code>system-maintenance</code> | <code>instance-retirement</code> |
7520
- * <code>instance-stop</code>).</p>
7521
- * </li>
7522
- * <li>
7523
- * <p>
7524
- * <code>event.description</code> - A description of the event.</p>
7525
- * </li>
7526
- * <li>
7527
- * <p>
7528
- * <code>event.instance-event-id</code> - The ID of the event whose date and time
7529
- * you are modifying.</p>
7530
- * </li>
7531
- * <li>
7532
- * <p>
7533
- * <code>event.not-after</code> - The latest end time for the scheduled event
7534
- * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7535
- * </li>
7536
- * <li>
7537
- * <p>
7538
- * <code>event.not-before</code> - The earliest start time for the scheduled
7539
- * event (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7540
- * </li>
7541
- * <li>
7542
- * <p>
7543
- * <code>event.not-before-deadline</code> - The deadline for starting the event
7544
- * (for example, <code>2014-09-15T17:15:20.000Z</code>).</p>
7545
- * </li>
7546
- * <li>
7547
- * <p>
7548
- * <code>instance-state-code</code> - The code for the instance state, as a
7549
- * 16-bit unsigned integer. The high byte is used for internal purposes and should
7550
- * be ignored. The low byte is set based on the state represented. The valid values
7551
- * are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64
7552
- * (stopping), and 80 (stopped).</p>
7553
- * </li>
7554
- * <li>
7555
- * <p>
7556
- * <code>instance-state-name</code> - The state of the instance
7557
- * (<code>pending</code> | <code>running</code> | <code>shutting-down</code> |
7558
- * <code>terminated</code> | <code>stopping</code> |
7559
- * <code>stopped</code>).</p>
7560
- * </li>
7561
- * <li>
7562
- * <p>
7563
- * <code>instance-status.reachability</code> - Filters on instance status where
7564
- * the name is <code>reachability</code> (<code>passed</code> | <code>failed</code>
7565
- * | <code>initializing</code> | <code>insufficient-data</code>).</p>
7566
- * </li>
7567
- * <li>
7568
- * <p>
7569
- * <code>instance-status.status</code> - The status of the instance
7570
- * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
7571
- * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
7572
- * </li>
7573
- * <li>
7574
- * <p>
7575
- * <code>system-status.reachability</code> - Filters on system status where the
7576
- * name is <code>reachability</code> (<code>passed</code> | <code>failed</code> |
7577
- * <code>initializing</code> | <code>insufficient-data</code>).</p>
7578
- * </li>
7579
- * <li>
7580
- * <p>
7581
- * <code>system-status.status</code> - The system status of the instance
7582
- * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
7583
- * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
7584
- * </li>
7585
- * </ul>
7586
- */
7587
- Filters?: Filter[];
7588
- /**
7589
- * <p>The instance IDs.</p>
7590
- * <p>Default: Describes all your instances.</p>
7591
- * <p>Constraints: Maximum 100 explicitly specified instance IDs.</p>
7592
- */
7593
- InstanceIds?: string[];
7594
- /**
7595
- * <p>The maximum number of results to return in a single call. To retrieve the remaining
7596
- * results, make another call with the returned <code>NextToken</code> value. This value
7597
- * can be between 5 and 1000. You cannot specify this parameter and the instance IDs
7598
- * parameter in the same call.</p>
7599
- */
7600
- MaxResults?: number;
7601
- /**
7602
- * <p>The token to retrieve the next page of results.</p>
7603
- */
7604
- NextToken?: string;
7605
- /**
7606
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
7607
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7608
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7609
- */
7610
- DryRun?: boolean;
7611
- /**
7612
- * <p>When <code>true</code>, includes the health status for all instances. When
7613
- * <code>false</code>, includes the health status for running instances only.</p>
7614
- * <p>Default: <code>false</code>
7615
- * </p>
7616
- */
7617
- IncludeAllInstances?: boolean;
7618
- }
7619
- export declare enum EventCode {
7620
- instance_reboot = "instance-reboot",
7621
- instance_retirement = "instance-retirement",
7622
- instance_stop = "instance-stop",
7623
- system_maintenance = "system-maintenance",
7624
- system_reboot = "system-reboot"
7625
- }
7519
+ export declare const DeleteTrafficMirrorTargetRequestFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetRequest) => any;
7626
7520
  /**
7627
- * <p>Describes a scheduled event for an instance.</p>
7521
+ * @internal
7628
7522
  */
7629
- export interface InstanceStatusEvent {
7630
- /**
7631
- * <p>The ID of the event.</p>
7632
- */
7633
- InstanceEventId?: string;
7634
- /**
7635
- * <p>The event code.</p>
7636
- */
7637
- Code?: EventCode | string;
7638
- /**
7639
- * <p>A description of the event.</p>
7640
- * <p>After a scheduled event is completed, it can still be described for up to a week. If
7641
- * the event has been completed, this description starts with the following text:
7642
- * [Completed].</p>
7643
- */
7644
- Description?: string;
7645
- /**
7646
- * <p>The latest scheduled end time for the event.</p>
7647
- */
7648
- NotAfter?: Date;
7649
- /**
7650
- * <p>The earliest scheduled start time for the event.</p>
7651
- */
7652
- NotBefore?: Date;
7653
- /**
7654
- * <p>The deadline for starting the event.</p>
7655
- */
7656
- NotBeforeDeadline?: Date;
7657
- }
7523
+ export declare const DeleteTrafficMirrorTargetResultFilterSensitiveLog: (obj: DeleteTrafficMirrorTargetResult) => any;
7524
+ /**
7525
+ * @internal
7526
+ */
7527
+ export declare const DeleteTransitGatewayRequestFilterSensitiveLog: (obj: DeleteTransitGatewayRequest) => any;
7528
+ /**
7529
+ * @internal
7530
+ */
7531
+ export declare const DeleteTransitGatewayResultFilterSensitiveLog: (obj: DeleteTransitGatewayResult) => any;
7532
+ /**
7533
+ * @internal
7534
+ */
7535
+ export declare const DeleteTransitGatewayConnectRequestFilterSensitiveLog: (obj: DeleteTransitGatewayConnectRequest) => any;
7658
7536
  /**
7659
7537
  * @internal
7660
7538
  */
@@ -8655,19 +8533,3 @@ export declare const InstanceStateFilterSensitiveLog: (obj: InstanceState) => an
8655
8533
  * @internal
8656
8534
  */
8657
8535
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
8658
- /**
8659
- * @internal
8660
- */
8661
- export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
8662
- /**
8663
- * @internal
8664
- */
8665
- export declare const DescribeInstancesResultFilterSensitiveLog: (obj: DescribeInstancesResult) => any;
8666
- /**
8667
- * @internal
8668
- */
8669
- export declare const DescribeInstanceStatusRequestFilterSensitiveLog: (obj: DescribeInstanceStatusRequest) => any;
8670
- /**
8671
- * @internal
8672
- */
8673
- export declare const InstanceStatusEventFilterSensitiveLog: (obj: InstanceStatusEvent) => any;