@aws-sdk/client-ec2 3.697.0 → 3.699.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/README.md +24 -0
- package/dist-cjs/index.js +562 -85
- package/dist-es/EC2.js +6 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
- package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
- package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +4 -14
- package/dist-es/models/models_1.js +17 -0
- package/dist-es/models/models_3.js +5 -11
- package/dist-es/models/models_4.js +11 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -11
- package/dist-es/models/models_7.js +11 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
- package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_ec2.js +446 -38
- package/dist-types/EC2.d.ts +22 -0
- package/dist-types/EC2Client.d.ts +5 -2
- package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
- package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
- package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -2
- package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
- package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
- package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
- package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
- package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
- package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -3
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
- package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
- package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +163 -67
- package/dist-types/models/models_1.d.ts +236 -302
- package/dist-types/models/models_2.d.ts +187 -66
- package/dist-types/models/models_3.d.ts +1425 -1385
- package/dist-types/models/models_4.d.ts +4190 -4186
- package/dist-types/models/models_5.d.ts +388 -172
- package/dist-types/models/models_6.d.ts +319 -425
- package/dist-types/models/models_7.d.ts +408 -24
- package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_ec2.d.ts +27 -0
- package/dist-types/ts3.4/EC2.d.ts +64 -0
- package/dist-types/ts3.4/EC2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -18
- package/dist-types/ts3.4/models/models_1.d.ts +32 -32
- package/dist-types/ts3.4/models/models_2.d.ts +33 -17
- package/dist-types/ts3.4/models/models_3.d.ts +77 -76
- package/dist-types/ts3.4/models/models_4.d.ts +79 -82
- package/dist-types/ts3.4/models/models_5.d.ts +85 -46
- package/dist-types/ts3.4/models/models_6.d.ts +58 -103
- package/dist-types/ts3.4/models/models_7.d.ts +108 -1
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
- package/package.json +4 -4
|
@@ -1,8 +1,388 @@
|
|
|
1
|
-
import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ResourceType, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
1
|
+
import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, ResourceType, SecurityGroupRule, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
2
|
import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, FleetType, InstanceInterruptionBehavior, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, SpotInstanceType, Subnet, TargetCapacityUnitType, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
3
3
|
import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, Snapshot, SnapshotState, SpotDatafeedSubscription, SpotInstanceStateFault, State, StorageTier, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
|
|
4
|
-
import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PermissionGroup,
|
|
5
|
-
import { AttributeBooleanValue, RIProductDescription } from "./models_4";
|
|
4
|
+
import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PermissionGroup, StatisticType } from "./models_3";
|
|
5
|
+
import { AttributeBooleanValue, ProductCode, RIProductDescription, ScheduledInstanceRecurrence } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Describes a schedule that is available for your Scheduled Instances.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface ScheduledInstanceAvailability {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The Availability Zone.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
AvailabilityZone?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The number of available instances.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
AvailableInstanceCount?: number | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The time period for the first schedule to start.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
FirstSlotStartTime?: Date | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The hourly price for a single instance.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
HourlyPrice?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The instance type. You can specify one of the C3, C4, M4, or R3 instance types.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
InstanceType?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The maximum term. The only possible value is 365 days.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
MaxTermDurationInDays?: number | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* <p>The minimum term. The only possible value is 365 days.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
MinTermDurationInDays?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The network platform.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
NetworkPlatform?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
Platform?: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The purchase token. This token expires in two hours.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
PurchaseToken?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The schedule recurrence.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The number of hours in the schedule.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
SlotDurationInHours?: number | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>The total number of hours for a single instance for the entire term.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
TotalScheduledInstanceHours?: number | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>Contains the output of DescribeScheduledInstanceAvailability.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export interface DescribeScheduledInstanceAvailabilityResult {
|
|
82
|
+
/**
|
|
83
|
+
* <p>The token required to retrieve the next set of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
NextToken?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* <p>Information about the available Scheduled Instances.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
ScheduledInstanceAvailabilitySet?: ScheduledInstanceAvailability[] | undefined;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* <p>Describes the time period for a Scheduled Instance to start its first schedule.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export interface SlotStartTimeRangeRequest {
|
|
98
|
+
/**
|
|
99
|
+
* <p>The earliest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
EarliestTime?: Date | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* <p>The latest date and time, in UTC, for the Scheduled Instance to start.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
LatestTime?: Date | undefined;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>Contains the parameters for DescribeScheduledInstances.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export interface DescribeScheduledInstancesRequest {
|
|
114
|
+
/**
|
|
115
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
116
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
117
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
DryRun?: boolean | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The filters.</p>
|
|
123
|
+
* <ul>
|
|
124
|
+
* <li>
|
|
125
|
+
* <p>
|
|
126
|
+
* <code>availability-zone</code> - The Availability Zone (for example, <code>us-west-2a</code>).</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>
|
|
130
|
+
* <code>instance-type</code> - The instance type (for example, <code>c4.large</code>).</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <code>platform</code> - The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* </ul>
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
Filters?: Filter[] | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The maximum number of results to return in a single call.
|
|
142
|
+
* This value can be between 5 and 300. The default value is 100.
|
|
143
|
+
* To retrieve the remaining results, make another call with the returned
|
|
144
|
+
* <code>NextToken</code> value.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
MaxResults?: number | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* <p>The token for the next set of results.</p>
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
NextToken?: string | undefined;
|
|
153
|
+
/**
|
|
154
|
+
* <p>The Scheduled Instance IDs.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
ScheduledInstanceIds?: string[] | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* <p>The time period for the first schedule to start.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
SlotStartTimeRange?: SlotStartTimeRangeRequest | undefined;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* <p>Describes a Scheduled Instance.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface ScheduledInstance {
|
|
169
|
+
/**
|
|
170
|
+
* <p>The Availability Zone.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
AvailabilityZone?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The date when the Scheduled Instance was purchased.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
CreateDate?: Date | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>The hourly price for a single instance.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
HourlyPrice?: string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The number of instances.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
InstanceCount?: number | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* <p>The instance type.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
InstanceType?: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* <p>The network platform.</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
NetworkPlatform?: string | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* <p>The time for the next schedule to start.</p>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
NextSlotStartTime?: Date | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* <p>The platform (<code>Linux/UNIX</code> or <code>Windows</code>).</p>
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
Platform?: string | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* <p>The time that the previous schedule ended or will end.</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
PreviousSlotEndTime?: Date | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* <p>The schedule recurrence.</p>
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
Recurrence?: ScheduledInstanceRecurrence | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* <p>The Scheduled Instance ID.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
ScheduledInstanceId?: string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* <p>The number of hours in the schedule.</p>
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
SlotDurationInHours?: number | undefined;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The end date for the Scheduled Instance.</p>
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
TermEndDate?: Date | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* <p>The start date for the Scheduled Instance.</p>
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
TermStartDate?: Date | undefined;
|
|
239
|
+
/**
|
|
240
|
+
* <p>The total number of hours for a single instance for the entire term.</p>
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
TotalScheduledInstanceHours?: number | undefined;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* <p>Contains the output of DescribeScheduledInstances.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export interface DescribeScheduledInstancesResult {
|
|
250
|
+
/**
|
|
251
|
+
* <p>The token required to retrieve the next set of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
NextToken?: string | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* <p>Information about the Scheduled Instances.</p>
|
|
257
|
+
* @public
|
|
258
|
+
*/
|
|
259
|
+
ScheduledInstanceSet?: ScheduledInstance[] | undefined;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
export interface DescribeSecurityGroupReferencesRequest {
|
|
265
|
+
/**
|
|
266
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
267
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
268
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
DryRun?: boolean | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* <p>The IDs of the security groups in your account.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
GroupId: string[] | undefined;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* <p>Describes a VPC with a security group that references your security group.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
export interface SecurityGroupReference {
|
|
283
|
+
/**
|
|
284
|
+
* <p>The ID of your security group.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
GroupId?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The ID of the VPC with the referencing security group.</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
ReferencingVpcId?: string | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* <p>The ID of the VPC peering connection (if applicable). For more information about security group referencing for peering connections, see
|
|
295
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html">Update your security groups to reference peer security groups</a>
|
|
296
|
+
* in the <i>VPC Peering Guide</i>.</p>
|
|
297
|
+
* @public
|
|
298
|
+
*/
|
|
299
|
+
VpcPeeringConnectionId?: string | undefined;
|
|
300
|
+
/**
|
|
301
|
+
* <note>
|
|
302
|
+
* <p>This parameter is in preview and may not be available for your account.</p>
|
|
303
|
+
* </note>
|
|
304
|
+
* <p>The ID of the transit gateway (if applicable).</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
TransitGatewayId?: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export interface DescribeSecurityGroupReferencesResult {
|
|
313
|
+
/**
|
|
314
|
+
* <p>Information about the VPCs with the referencing security groups.</p>
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
SecurityGroupReferenceSet?: SecurityGroupReference[] | undefined;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export interface DescribeSecurityGroupRulesRequest {
|
|
323
|
+
/**
|
|
324
|
+
* <p>One or more filters.</p>
|
|
325
|
+
* <ul>
|
|
326
|
+
* <li>
|
|
327
|
+
* <p>
|
|
328
|
+
* <code>group-id</code> - The ID of the security group.</p>
|
|
329
|
+
* </li>
|
|
330
|
+
* <li>
|
|
331
|
+
* <p>
|
|
332
|
+
* <code>security-group-rule-id</code> - The ID of the security group rule.</p>
|
|
333
|
+
* </li>
|
|
334
|
+
* <li>
|
|
335
|
+
* <p>
|
|
336
|
+
* <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
|
|
337
|
+
* For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
|
|
338
|
+
* </li>
|
|
339
|
+
* </ul>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
Filters?: Filter[] | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The IDs of the security group rules.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
SecurityGroupRuleIds?: string[] | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
350
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
351
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
DryRun?: boolean | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>The token returned from a previous paginated request.
|
|
357
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
NextToken?: string | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p>The maximum number of items to return for this request. To get the next page of
|
|
363
|
+
* items, make another request with the token returned in the output. This value
|
|
364
|
+
* can be between 5 and 1000. If this parameter is not specified, then all items are
|
|
365
|
+
* returned. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
MaxResults?: number | undefined;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface DescribeSecurityGroupRulesResult {
|
|
374
|
+
/**
|
|
375
|
+
* <p>Information about security group rules.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
SecurityGroupRules?: SecurityGroupRule[] | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The token to include in another request to get the next page of items.
|
|
381
|
+
* This value is <code>null</code> when there are no more items to return.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
NextToken?: string | undefined;
|
|
385
|
+
}
|
|
6
386
|
/**
|
|
7
387
|
* @public
|
|
8
388
|
*/
|
|
@@ -5356,7 +5736,7 @@ export interface DescribeVpcBlockPublicAccessExclusionsRequest {
|
|
|
5356
5736
|
* </li>
|
|
5357
5737
|
* <li>
|
|
5358
5738
|
* <p>
|
|
5359
|
-
* <code>internet-gateway-exclusion-mode</code> - The mode of a VPC BPA exclusion. Possible values: <code>bidirectional
|
|
5739
|
+
* <code>internet-gateway-exclusion-mode</code> - The mode of a VPC BPA exclusion. Possible values: <code>allow-bidirectional | allow-egress</code>.</p>
|
|
5360
5740
|
* </li>
|
|
5361
5741
|
* <li>
|
|
5362
5742
|
* <p>
|
|
@@ -5452,7 +5832,7 @@ export declare const VpcBlockPublicAccessState: {
|
|
|
5452
5832
|
*/
|
|
5453
5833
|
export type VpcBlockPublicAccessState = (typeof VpcBlockPublicAccessState)[keyof typeof VpcBlockPublicAccessState];
|
|
5454
5834
|
/**
|
|
5455
|
-
* <p>VPC Block
|
|
5835
|
+
* <p>VPC Block Public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
5456
5836
|
* @public
|
|
5457
5837
|
*/
|
|
5458
5838
|
export interface VpcBlockPublicAccessOptions {
|
|
@@ -5476,15 +5856,15 @@ export interface VpcBlockPublicAccessOptions {
|
|
|
5476
5856
|
* <ul>
|
|
5477
5857
|
* <li>
|
|
5478
5858
|
* <p>
|
|
5479
|
-
* <code>
|
|
5859
|
+
* <code>off</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
|
|
5480
5860
|
* </li>
|
|
5481
5861
|
* <li>
|
|
5482
5862
|
* <p>
|
|
5483
|
-
* <code>bidirectional
|
|
5863
|
+
* <code>block-bidirectional</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
|
|
5484
5864
|
* </li>
|
|
5485
5865
|
* <li>
|
|
5486
5866
|
* <p>
|
|
5487
|
-
* <code>ingress
|
|
5867
|
+
* <code>block-ingress</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
|
|
5488
5868
|
* </li>
|
|
5489
5869
|
* </ul>
|
|
5490
5870
|
* @public
|
|
@@ -8774,170 +9154,6 @@ export interface EnableTransitGatewayRouteTablePropagationResult {
|
|
|
8774
9154
|
*/
|
|
8775
9155
|
Propagation?: TransitGatewayPropagation | undefined;
|
|
8776
9156
|
}
|
|
8777
|
-
/**
|
|
8778
|
-
* <p>Contains the parameters for EnableVgwRoutePropagation.</p>
|
|
8779
|
-
* @public
|
|
8780
|
-
*/
|
|
8781
|
-
export interface EnableVgwRoutePropagationRequest {
|
|
8782
|
-
/**
|
|
8783
|
-
* <p>The ID of the virtual private gateway that is attached to a VPC. The virtual private
|
|
8784
|
-
* gateway must be attached to the same VPC that the routing tables are associated with.
|
|
8785
|
-
* </p>
|
|
8786
|
-
* @public
|
|
8787
|
-
*/
|
|
8788
|
-
GatewayId: string | undefined;
|
|
8789
|
-
/**
|
|
8790
|
-
* <p>The ID of the route table. The routing table must be associated with the same VPC that
|
|
8791
|
-
* the virtual private gateway is attached to. </p>
|
|
8792
|
-
* @public
|
|
8793
|
-
*/
|
|
8794
|
-
RouteTableId: string | undefined;
|
|
8795
|
-
/**
|
|
8796
|
-
* <p>Checks whether you have the required permissions for the action, without actually
|
|
8797
|
-
* making the request, and provides an error response. If you have the required
|
|
8798
|
-
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
8799
|
-
* <code>UnauthorizedOperation</code>.</p>
|
|
8800
|
-
* @public
|
|
8801
|
-
*/
|
|
8802
|
-
DryRun?: boolean | undefined;
|
|
8803
|
-
}
|
|
8804
|
-
/**
|
|
8805
|
-
* @public
|
|
8806
|
-
*/
|
|
8807
|
-
export interface EnableVolumeIORequest {
|
|
8808
|
-
/**
|
|
8809
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8810
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8811
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8812
|
-
* @public
|
|
8813
|
-
*/
|
|
8814
|
-
DryRun?: boolean | undefined;
|
|
8815
|
-
/**
|
|
8816
|
-
* <p>The ID of the volume.</p>
|
|
8817
|
-
* @public
|
|
8818
|
-
*/
|
|
8819
|
-
VolumeId: string | undefined;
|
|
8820
|
-
}
|
|
8821
|
-
/**
|
|
8822
|
-
* @public
|
|
8823
|
-
*/
|
|
8824
|
-
export interface EnableVpcClassicLinkRequest {
|
|
8825
|
-
/**
|
|
8826
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8827
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8828
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8829
|
-
* @public
|
|
8830
|
-
*/
|
|
8831
|
-
DryRun?: boolean | undefined;
|
|
8832
|
-
/**
|
|
8833
|
-
* <p>The ID of the VPC.</p>
|
|
8834
|
-
* @public
|
|
8835
|
-
*/
|
|
8836
|
-
VpcId: string | undefined;
|
|
8837
|
-
}
|
|
8838
|
-
/**
|
|
8839
|
-
* @public
|
|
8840
|
-
*/
|
|
8841
|
-
export interface EnableVpcClassicLinkResult {
|
|
8842
|
-
/**
|
|
8843
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
8844
|
-
* @public
|
|
8845
|
-
*/
|
|
8846
|
-
Return?: boolean | undefined;
|
|
8847
|
-
}
|
|
8848
|
-
/**
|
|
8849
|
-
* @public
|
|
8850
|
-
*/
|
|
8851
|
-
export interface EnableVpcClassicLinkDnsSupportRequest {
|
|
8852
|
-
/**
|
|
8853
|
-
* <p>The ID of the VPC.</p>
|
|
8854
|
-
* @public
|
|
8855
|
-
*/
|
|
8856
|
-
VpcId?: string | undefined;
|
|
8857
|
-
}
|
|
8858
|
-
/**
|
|
8859
|
-
* @public
|
|
8860
|
-
*/
|
|
8861
|
-
export interface EnableVpcClassicLinkDnsSupportResult {
|
|
8862
|
-
/**
|
|
8863
|
-
* <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
|
|
8864
|
-
* @public
|
|
8865
|
-
*/
|
|
8866
|
-
Return?: boolean | undefined;
|
|
8867
|
-
}
|
|
8868
|
-
/**
|
|
8869
|
-
* @public
|
|
8870
|
-
*/
|
|
8871
|
-
export interface ExportClientVpnClientCertificateRevocationListRequest {
|
|
8872
|
-
/**
|
|
8873
|
-
* <p>The ID of the Client VPN endpoint.</p>
|
|
8874
|
-
* @public
|
|
8875
|
-
*/
|
|
8876
|
-
ClientVpnEndpointId: string | undefined;
|
|
8877
|
-
/**
|
|
8878
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8879
|
-
* @public
|
|
8880
|
-
*/
|
|
8881
|
-
DryRun?: boolean | undefined;
|
|
8882
|
-
}
|
|
8883
|
-
/**
|
|
8884
|
-
* @public
|
|
8885
|
-
* @enum
|
|
8886
|
-
*/
|
|
8887
|
-
export declare const ClientCertificateRevocationListStatusCode: {
|
|
8888
|
-
readonly active: "active";
|
|
8889
|
-
readonly pending: "pending";
|
|
8890
|
-
};
|
|
8891
|
-
/**
|
|
8892
|
-
* @public
|
|
8893
|
-
*/
|
|
8894
|
-
export type ClientCertificateRevocationListStatusCode = (typeof ClientCertificateRevocationListStatusCode)[keyof typeof ClientCertificateRevocationListStatusCode];
|
|
8895
|
-
/**
|
|
8896
|
-
* <p>Describes the state of a client certificate revocation list.</p>
|
|
8897
|
-
* @public
|
|
8898
|
-
*/
|
|
8899
|
-
export interface ClientCertificateRevocationListStatus {
|
|
8900
|
-
/**
|
|
8901
|
-
* <p>The state of the client certificate revocation list.</p>
|
|
8902
|
-
* @public
|
|
8903
|
-
*/
|
|
8904
|
-
Code?: ClientCertificateRevocationListStatusCode | undefined;
|
|
8905
|
-
/**
|
|
8906
|
-
* <p>A message about the status of the client certificate revocation list, if applicable.</p>
|
|
8907
|
-
* @public
|
|
8908
|
-
*/
|
|
8909
|
-
Message?: string | undefined;
|
|
8910
|
-
}
|
|
8911
|
-
/**
|
|
8912
|
-
* @public
|
|
8913
|
-
*/
|
|
8914
|
-
export interface ExportClientVpnClientCertificateRevocationListResult {
|
|
8915
|
-
/**
|
|
8916
|
-
* <p>Information about the client certificate revocation list.</p>
|
|
8917
|
-
* @public
|
|
8918
|
-
*/
|
|
8919
|
-
CertificateRevocationList?: string | undefined;
|
|
8920
|
-
/**
|
|
8921
|
-
* <p>The current state of the client certificate revocation list.</p>
|
|
8922
|
-
* @public
|
|
8923
|
-
*/
|
|
8924
|
-
Status?: ClientCertificateRevocationListStatus | undefined;
|
|
8925
|
-
}
|
|
8926
|
-
/**
|
|
8927
|
-
* @public
|
|
8928
|
-
*/
|
|
8929
|
-
export interface ExportClientVpnClientConfigurationRequest {
|
|
8930
|
-
/**
|
|
8931
|
-
* <p>The ID of the Client VPN endpoint.</p>
|
|
8932
|
-
* @public
|
|
8933
|
-
*/
|
|
8934
|
-
ClientVpnEndpointId: string | undefined;
|
|
8935
|
-
/**
|
|
8936
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8937
|
-
* @public
|
|
8938
|
-
*/
|
|
8939
|
-
DryRun?: boolean | undefined;
|
|
8940
|
-
}
|
|
8941
9157
|
/**
|
|
8942
9158
|
* @internal
|
|
8943
9159
|
*/
|