@aws-sdk/client-ec2 3.58.0 → 3.69.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.
- package/CHANGELOG.md +30 -0
- package/README.md +2 -2
- package/dist-cjs/EC2.js +15 -0
- package/dist-cjs/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-cjs/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-cjs/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeReplaceRootVolumeTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-cjs/commands/GetGroupsForCapacityReservationCommand.js +3 -3
- package/dist-cjs/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-cjs/commands/ModifyInstanceMaintenanceOptionsCommand.js +36 -0
- package/dist-cjs/commands/ResetAddressAttributeCommand.js +3 -3
- package/dist-cjs/commands/ResetEbsDefaultKmsKeyIdCommand.js +3 -3
- package/dist-cjs/commands/ResetFpgaImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_1.js +22 -23
- package/dist-cjs/models/models_2.js +24 -24
- package/dist-cjs/models/models_3.js +35 -29
- package/dist-cjs/models/models_4.js +29 -36
- package/dist-cjs/models/models_5.js +48 -42
- package/dist-cjs/models/models_6.js +44 -2
- package/dist-cjs/protocols/Aws_ec2.js +139 -13
- package/dist-es/EC2.js +15 -0
- package/dist-es/commands/CreateTransitGatewayConnectCommand.js +2 -1
- package/dist-es/commands/DescribeCoipPoolsCommand.js +2 -1
- package/dist-es/commands/DescribeConversionTasksCommand.js +1 -2
- package/dist-es/commands/DescribeReplaceRootVolumeTasksCommand.js +1 -1
- package/dist-es/commands/DescribeReservedInstancesCommand.js +1 -2
- package/dist-es/commands/GetGroupsForCapacityReservationCommand.js +1 -1
- package/dist-es/commands/GetHostReservationPurchasePreviewCommand.js +1 -2
- package/dist-es/commands/ModifyInstanceMaintenanceOptionsCommand.js +39 -0
- package/dist-es/commands/ResetAddressAttributeCommand.js +1 -1
- package/dist-es/commands/ResetEbsDefaultKmsKeyIdCommand.js +1 -1
- package/dist-es/commands/ResetFpgaImageAttributeCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_1.js +13 -12
- package/dist-es/models/models_2.js +12 -12
- package/dist-es/models/models_3.js +21 -17
- package/dist-es/models/models_4.js +17 -20
- package/dist-es/models/models_5.js +28 -24
- package/dist-es/models/models_6.js +28 -0
- package/dist-es/protocols/Aws_ec2.js +137 -0
- package/dist-types/EC2.d.ts +91 -65
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +8 -7
- package/dist-types/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +3 -2
- package/dist-types/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +7 -5
- package/dist-types/commands/GetPasswordDataCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +11 -10
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +38 -0
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +14 -12
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -4
- package/dist-types/commands/StopInstancesCommand.d.ts +2 -1
- package/dist-types/commands/TerminateInstancesCommand.d.ts +17 -14
- package/dist-types/commands/UnmonitorInstancesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -9
- package/dist-types/models/models_1.d.ts +344 -313
- package/dist-types/models/models_2.d.ts +69 -69
- package/dist-types/models/models_3.d.ts +160 -218
- package/dist-types/models/models_4.d.ts +167 -126
- package/dist-types/models/models_5.d.ts +214 -140
- package/dist-types/models/models_6.d.ts +191 -66
- package/dist-types/protocols/Aws_ec2.d.ts +3 -0
- package/dist-types/ts3.4/EC2.d.ts +5 -0
- package/dist-types/ts3.4/EC2Client.d.ts +3 -2
- package/dist-types/ts3.4/commands/CreateTransitGatewayConnectCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCoipPoolsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeConversionTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeReplaceRootVolumeTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetGroupsForCapacityReservationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ModifyInstanceMaintenanceOptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ResetAddressAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetFpgaImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +27 -39
- package/dist-types/ts3.4/models/models_2.d.ts +40 -39
- package/dist-types/ts3.4/models/models_3.d.ts +53 -49
- package/dist-types/ts3.4/models/models_4.d.ts +51 -71
- package/dist-types/ts3.4/models/models_5.d.ts +93 -60
- package/dist-types/ts3.4/models/models_6.d.ts +70 -2
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,5 +1,71 @@
|
|
|
1
|
-
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, ProtocolValue, SubnetCidrReservation, TransitGateway,
|
|
1
|
+
import { AccountAttribute, AccountAttributeName, Address, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, AssociationStatus, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CarrierGateway, ClientVpnAuthenticationType, ClientVpnAuthorizationRuleStatus, ClientVpnEndpointStatus, ClientVpnRouteStatus, DnsSupportValue, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetInstanceMatchCriteria, GatewayType, InstanceEventWindowState, Ipv6SupportValue, Tag, TagSpecification, Tenancy, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TransportProtocol, UnsuccessfulItem, VolumeAttachment, Vpc, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { GroupIdentifier, Ipam, IpamPool, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, ProtocolValue, SubnetCidrReservation, TransitGateway, VolumeType } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Describes the Connect attachment options.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface TransitGatewayConnectOptions {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The tunnel protocol.</p>
|
|
9
|
+
*/
|
|
10
|
+
Protocol?: ProtocolValue | string;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace TransitGatewayConnectOptions {
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
const filterSensitiveLog: (obj: TransitGatewayConnectOptions) => any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>Describes a transit gateway Connect attachment.</p>
|
|
20
|
+
*/
|
|
21
|
+
export interface TransitGatewayConnect {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The ID of the Connect attachment.</p>
|
|
24
|
+
*/
|
|
25
|
+
TransitGatewayAttachmentId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The ID of the attachment from which the Connect attachment was created.</p>
|
|
28
|
+
*/
|
|
29
|
+
TransportTransitGatewayAttachmentId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The ID of the transit gateway.</p>
|
|
32
|
+
*/
|
|
33
|
+
TransitGatewayId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The state of the attachment.</p>
|
|
36
|
+
*/
|
|
37
|
+
State?: TransitGatewayAttachmentState | string;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The creation time.</p>
|
|
40
|
+
*/
|
|
41
|
+
CreationTime?: Date;
|
|
42
|
+
/**
|
|
43
|
+
* <p>The Connect attachment options.</p>
|
|
44
|
+
*/
|
|
45
|
+
Options?: TransitGatewayConnectOptions;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The tags for the attachment.</p>
|
|
48
|
+
*/
|
|
49
|
+
Tags?: Tag[];
|
|
50
|
+
}
|
|
51
|
+
export declare namespace TransitGatewayConnect {
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
const filterSensitiveLog: (obj: TransitGatewayConnect) => any;
|
|
56
|
+
}
|
|
57
|
+
export interface CreateTransitGatewayConnectResult {
|
|
58
|
+
/**
|
|
59
|
+
* <p>Information about the Connect attachment.</p>
|
|
60
|
+
*/
|
|
61
|
+
TransitGatewayConnect?: TransitGatewayConnect;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace CreateTransitGatewayConnectResult {
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
const filterSensitiveLog: (obj: CreateTransitGatewayConnectResult) => any;
|
|
68
|
+
}
|
|
3
69
|
/**
|
|
4
70
|
* <p>The BGP options for the Connect attachment.</p>
|
|
5
71
|
*/
|
|
@@ -3244,8 +3310,7 @@ export declare namespace DeleteLaunchTemplateVersionsResponseErrorItem {
|
|
|
3244
3310
|
}
|
|
3245
3311
|
export interface DeleteLaunchTemplateVersionsResult {
|
|
3246
3312
|
/**
|
|
3247
|
-
* <p>Information about the launch template versions that were successfully
|
|
3248
|
-
* deleted.</p>
|
|
3313
|
+
* <p>Information about the launch template versions that were successfully deleted.</p>
|
|
3249
3314
|
*/
|
|
3250
3315
|
SuccessfullyDeletedLaunchTemplateVersions?: DeleteLaunchTemplateVersionsResponseSuccessItem[];
|
|
3251
3316
|
/**
|
|
@@ -6841,68 +6906,3 @@ export declare namespace DescribeCoipPoolsRequest {
|
|
|
6841
6906
|
*/
|
|
6842
6907
|
const filterSensitiveLog: (obj: DescribeCoipPoolsRequest) => any;
|
|
6843
6908
|
}
|
|
6844
|
-
/**
|
|
6845
|
-
* <p>Describes a customer-owned address pool.</p>
|
|
6846
|
-
*/
|
|
6847
|
-
export interface CoipPool {
|
|
6848
|
-
/**
|
|
6849
|
-
* <p>The ID of the address pool.</p>
|
|
6850
|
-
*/
|
|
6851
|
-
PoolId?: string;
|
|
6852
|
-
/**
|
|
6853
|
-
* <p>The address ranges of the address pool.</p>
|
|
6854
|
-
*/
|
|
6855
|
-
PoolCidrs?: string[];
|
|
6856
|
-
/**
|
|
6857
|
-
* <p>The ID of the local gateway route table.</p>
|
|
6858
|
-
*/
|
|
6859
|
-
LocalGatewayRouteTableId?: string;
|
|
6860
|
-
/**
|
|
6861
|
-
* <p>The tags.</p>
|
|
6862
|
-
*/
|
|
6863
|
-
Tags?: Tag[];
|
|
6864
|
-
/**
|
|
6865
|
-
* <p>The ARN of the address pool.</p>
|
|
6866
|
-
*/
|
|
6867
|
-
PoolArn?: string;
|
|
6868
|
-
}
|
|
6869
|
-
export declare namespace CoipPool {
|
|
6870
|
-
/**
|
|
6871
|
-
* @internal
|
|
6872
|
-
*/
|
|
6873
|
-
const filterSensitiveLog: (obj: CoipPool) => any;
|
|
6874
|
-
}
|
|
6875
|
-
export interface DescribeCoipPoolsResult {
|
|
6876
|
-
/**
|
|
6877
|
-
* <p>Information about the address pools.</p>
|
|
6878
|
-
*/
|
|
6879
|
-
CoipPools?: CoipPool[];
|
|
6880
|
-
/**
|
|
6881
|
-
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
6882
|
-
*/
|
|
6883
|
-
NextToken?: string;
|
|
6884
|
-
}
|
|
6885
|
-
export declare namespace DescribeCoipPoolsResult {
|
|
6886
|
-
/**
|
|
6887
|
-
* @internal
|
|
6888
|
-
*/
|
|
6889
|
-
const filterSensitiveLog: (obj: DescribeCoipPoolsResult) => any;
|
|
6890
|
-
}
|
|
6891
|
-
export interface DescribeConversionTasksRequest {
|
|
6892
|
-
/**
|
|
6893
|
-
* <p>The conversion task IDs.</p>
|
|
6894
|
-
*/
|
|
6895
|
-
ConversionTaskIds?: string[];
|
|
6896
|
-
/**
|
|
6897
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
6898
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
6899
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
6900
|
-
*/
|
|
6901
|
-
DryRun?: boolean;
|
|
6902
|
-
}
|
|
6903
|
-
export declare namespace DescribeConversionTasksRequest {
|
|
6904
|
-
/**
|
|
6905
|
-
* @internal
|
|
6906
|
-
*/
|
|
6907
|
-
const filterSensitiveLog: (obj: DescribeConversionTasksRequest) => any;
|
|
6908
|
-
}
|