@aws-sdk/client-ec2 3.696.0 → 3.697.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/dist-cjs/index.js +179 -38
- package/dist-es/models/models_1.js +2 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_3.js +0 -6
- package/dist-es/models/models_4.js +6 -0
- package/dist-es/protocols/Aws_ec2.js +168 -26
- package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
- package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
- package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
- package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
- package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
- package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- package/dist-types/models/models_1.d.ts +245 -198
- package/dist-types/models/models_2.d.ts +199 -115
- package/dist-types/models/models_3.d.ts +115 -220
- package/dist-types/models/models_4.d.ts +222 -341
- package/dist-types/models/models_5.d.ts +340 -211
- package/dist-types/models/models_6.d.ts +228 -135
- package/dist-types/models/models_7.d.ts +126 -5
- package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +22 -45
- package/dist-types/ts3.4/models/models_2.d.ts +46 -25
- package/dist-types/ts3.4/models/models_3.d.ts +25 -48
- package/dist-types/ts3.4/models/models_4.d.ts +49 -43
- package/dist-types/ts3.4/models/models_5.d.ts +41 -40
- package/dist-types/ts3.4/models/models_6.d.ts +39 -36
- package/dist-types/ts3.4/models/models_7.d.ts +41 -8
- package/package.json +1 -1
|
@@ -1,8 +1,345 @@
|
|
|
1
|
-
import { ActiveInstance, ActivityStatus, AddressTransfer, AllocationStrategy, AllowedPrincipal, AsnAssociation, AssociationStatus, BatchState, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, NatGatewayAddress, ResourceType, SecurityGroupVpcAssociationState, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, TransitGatewayAssociation, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, VpcPeeringConnection } from "./models_0";
|
|
2
|
-
import { _InstanceType, BlockDeviceMapping, ConnectionTrackingSpecificationRequest,
|
|
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";
|
|
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,
|
|
4
|
+
import { EventInformation, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PermissionGroup, ProductCode, StatisticType } from "./models_3";
|
|
5
5
|
import { AttributeBooleanValue, RIProductDescription } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface DescribeSecurityGroupsRequest {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The IDs of the security groups. Required for security groups in a nondefault VPC.</p>
|
|
12
|
+
* <p>Default: Describes all of your security groups.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
GroupIds?: string[] | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>[Default VPC] The names of the security groups. You can specify either
|
|
18
|
+
* the security group name or the security group ID.</p>
|
|
19
|
+
* <p>Default: Describes all of your security groups.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
GroupNames?: string[] | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The token returned from a previous paginated request.
|
|
25
|
+
* Pagination continues from the end of the items returned by the previous request.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
NextToken?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The maximum number of items to return for this request. To get the next page of items,
|
|
31
|
+
* make another request with the token returned in the output. This value can be between 5 and 1000.
|
|
32
|
+
* If this parameter is not specified, then all items are returned. For more information, see
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
MaxResults?: number | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
39
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
40
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
DryRun?: boolean | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.</p>
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>description</code> - The description of the security group.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>egress.ip-permission.cidr</code> - An IPv4 CIDR block for an outbound
|
|
54
|
+
* security group rule.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>egress.ip-permission.from-port</code> - For an outbound rule, the
|
|
59
|
+
* start of port range for the TCP and UDP protocols, or an ICMP type
|
|
60
|
+
* number.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>
|
|
64
|
+
* <code>egress.ip-permission.group-id</code> - The ID of a security group
|
|
65
|
+
* that has been referenced in an outbound security group rule.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>
|
|
69
|
+
* <code>egress.ip-permission.group-name</code> - The name of a security group
|
|
70
|
+
* that is referenced in an outbound security group rule.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>egress.ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an
|
|
75
|
+
* outbound security group rule.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>egress.ip-permission.prefix-list-id</code> - The ID of a prefix list to which a security group rule allows outbound access.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>
|
|
83
|
+
* <code>egress.ip-permission.protocol</code> - The IP protocol for an
|
|
84
|
+
* outbound security group rule (<code>tcp</code> | <code>udp</code> |
|
|
85
|
+
* <code>icmp</code>, a protocol number, or -1 for all protocols).</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* <li>
|
|
88
|
+
* <p>
|
|
89
|
+
* <code>egress.ip-permission.to-port</code> - For an outbound rule, the end
|
|
90
|
+
* of port range for the TCP and UDP protocols, or an ICMP code.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* <li>
|
|
93
|
+
* <p>
|
|
94
|
+
* <code>egress.ip-permission.user-id</code> - The ID of an Amazon Web Services account that
|
|
95
|
+
* has been referenced in an outbound security group rule.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>
|
|
99
|
+
* <code>group-id</code> - The ID of the security group. </p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>
|
|
103
|
+
* <code>group-name</code> - The name of the security group.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>
|
|
107
|
+
* <code>ip-permission.cidr</code> - An IPv4 CIDR block for an inbound security
|
|
108
|
+
* group rule.</p>
|
|
109
|
+
* </li>
|
|
110
|
+
* <li>
|
|
111
|
+
* <p>
|
|
112
|
+
* <code>ip-permission.from-port</code> - For an inbound rule, the start of port
|
|
113
|
+
* range for the TCP and UDP protocols, or an ICMP type number.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* <li>
|
|
116
|
+
* <p>
|
|
117
|
+
* <code>ip-permission.group-id</code> - The ID of a security group that has been
|
|
118
|
+
* referenced in an inbound security group rule.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* <li>
|
|
121
|
+
* <p>
|
|
122
|
+
* <code>ip-permission.group-name</code> - The name of a security group that is
|
|
123
|
+
* referenced in an inbound security group rule.</p>
|
|
124
|
+
* </li>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>
|
|
127
|
+
* <code>ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an inbound security
|
|
128
|
+
* group rule.</p>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>
|
|
132
|
+
* <code>ip-permission.prefix-list-id</code> - The ID of a prefix list from which a security group rule allows inbound access.</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p>
|
|
136
|
+
* <code>ip-permission.protocol</code> - The IP protocol for an inbound security
|
|
137
|
+
* group rule (<code>tcp</code> | <code>udp</code> | <code>icmp</code>, a
|
|
138
|
+
* protocol number, or -1 for all protocols).</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>
|
|
142
|
+
* <code>ip-permission.to-port</code> - For an inbound rule, the end of port range
|
|
143
|
+
* for the TCP and UDP protocols, or an ICMP code.</p>
|
|
144
|
+
* </li>
|
|
145
|
+
* <li>
|
|
146
|
+
* <p>
|
|
147
|
+
* <code>ip-permission.user-id</code> - The ID of an Amazon Web Services account that has been
|
|
148
|
+
* referenced in an inbound security group rule.</p>
|
|
149
|
+
* </li>
|
|
150
|
+
* <li>
|
|
151
|
+
* <p>
|
|
152
|
+
* <code>owner-id</code> - The Amazon Web Services account ID of the owner of the security group.</p>
|
|
153
|
+
* </li>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>
|
|
156
|
+
* <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.
|
|
157
|
+
* 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>
|
|
158
|
+
* </li>
|
|
159
|
+
* <li>
|
|
160
|
+
* <p>
|
|
161
|
+
* <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>
|
|
165
|
+
* <code>vpc-id</code> - The ID of the VPC specified when the security group was created.</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* </ul>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
Filters?: Filter[] | undefined;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>Describes a security group.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export interface SecurityGroup {
|
|
177
|
+
/**
|
|
178
|
+
* <p>The ID of the security group.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
GroupId?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>The outbound rules associated with the security group.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
IpPermissionsEgress?: IpPermission[] | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* <p>Any tags assigned to the security group.</p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
Tags?: Tag[] | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* <p>The ID of the VPC for the security group.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
VpcId?: string | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* <p>The ARN of the security group.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
SecurityGroupArn?: string | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* <p>The Amazon Web Services account ID of the owner of the security group.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
OwnerId?: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* <p>The name of the security group.</p>
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
GroupName?: string | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* <p>A description of the security group.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
Description?: string | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* <p>The inbound rules associated with the security group.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
IpPermissions?: IpPermission[] | undefined;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
export interface DescribeSecurityGroupsResult {
|
|
227
|
+
/**
|
|
228
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
NextToken?: string | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* <p>Information about the security groups.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
SecurityGroups?: SecurityGroup[] | undefined;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface DescribeSecurityGroupVpcAssociationsRequest {
|
|
242
|
+
/**
|
|
243
|
+
* <p>Security group VPC association filters.</p>
|
|
244
|
+
* <ul>
|
|
245
|
+
* <li>
|
|
246
|
+
* <p>
|
|
247
|
+
* <code>group-id</code>: The security group ID.</p>
|
|
248
|
+
* </li>
|
|
249
|
+
* <li>
|
|
250
|
+
* <p>
|
|
251
|
+
* <code>vpc-id</code>: The ID of the associated VPC.</p>
|
|
252
|
+
* </li>
|
|
253
|
+
* <li>
|
|
254
|
+
* <p>
|
|
255
|
+
* <code>vpc-owner-id</code>: The account ID of the VPC owner.</p>
|
|
256
|
+
* </li>
|
|
257
|
+
* <li>
|
|
258
|
+
* <p>
|
|
259
|
+
* <code>state</code>: The state of the association.</p>
|
|
260
|
+
* </li>
|
|
261
|
+
* <li>
|
|
262
|
+
* <p>
|
|
263
|
+
* <code>tag:<key></code>: The key/value combination of a tag assigned to the resource. Use
|
|
264
|
+
* the tag key in the filter name and the tag value as the filter value. For
|
|
265
|
+
* example, to find all resources that have a tag with the key <code>Owner</code>
|
|
266
|
+
* and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter
|
|
267
|
+
* name and <code>TeamA</code> for the filter value.</p>
|
|
268
|
+
* </li>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>
|
|
271
|
+
* <code>tag-key</code>: The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
|
|
272
|
+
* </li>
|
|
273
|
+
* </ul>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
Filters?: Filter[] | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
NextToken?: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The maximum number of items to return for this request.
|
|
284
|
+
* To get the next page of items, make another request with the token returned in the output.
|
|
285
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
MaxResults?: number | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
291
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
292
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
DryRun?: boolean | undefined;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* <p>A security group association with a VPC that you made with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html">AssociateSecurityGroupVpc</a>.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
export interface SecurityGroupVpcAssociation {
|
|
302
|
+
/**
|
|
303
|
+
* <p>The association's security group ID.</p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
GroupId?: string | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* <p>The association's VPC ID.</p>
|
|
309
|
+
* @public
|
|
310
|
+
*/
|
|
311
|
+
VpcId?: string | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* <p>The Amazon Web Services account ID of the owner of the VPC.</p>
|
|
314
|
+
* @public
|
|
315
|
+
*/
|
|
316
|
+
VpcOwnerId?: string | undefined;
|
|
317
|
+
/**
|
|
318
|
+
* <p>The association's state.</p>
|
|
319
|
+
* @public
|
|
320
|
+
*/
|
|
321
|
+
State?: SecurityGroupVpcAssociationState | undefined;
|
|
322
|
+
/**
|
|
323
|
+
* <p>The association's state reason.</p>
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
StateReason?: string | undefined;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
export interface DescribeSecurityGroupVpcAssociationsResult {
|
|
332
|
+
/**
|
|
333
|
+
* <p>The security group VPC associations.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
NextToken?: string | undefined;
|
|
342
|
+
}
|
|
6
343
|
/**
|
|
7
344
|
* @public
|
|
8
345
|
* @enum
|
|
@@ -8601,214 +8938,6 @@ export interface ExportClientVpnClientConfigurationRequest {
|
|
|
8601
8938
|
*/
|
|
8602
8939
|
DryRun?: boolean | undefined;
|
|
8603
8940
|
}
|
|
8604
|
-
/**
|
|
8605
|
-
* @public
|
|
8606
|
-
*/
|
|
8607
|
-
export interface ExportClientVpnClientConfigurationResult {
|
|
8608
|
-
/**
|
|
8609
|
-
* <p>The contents of the Client VPN endpoint configuration file.</p>
|
|
8610
|
-
* @public
|
|
8611
|
-
*/
|
|
8612
|
-
ClientConfiguration?: string | undefined;
|
|
8613
|
-
}
|
|
8614
|
-
/**
|
|
8615
|
-
* <p>Describes the destination for an export image task.</p>
|
|
8616
|
-
* @public
|
|
8617
|
-
*/
|
|
8618
|
-
export interface ExportTaskS3LocationRequest {
|
|
8619
|
-
/**
|
|
8620
|
-
* <p>The destination Amazon S3 bucket.</p>
|
|
8621
|
-
* @public
|
|
8622
|
-
*/
|
|
8623
|
-
S3Bucket: string | undefined;
|
|
8624
|
-
/**
|
|
8625
|
-
* <p>The prefix (logical hierarchy) in the bucket.</p>
|
|
8626
|
-
* @public
|
|
8627
|
-
*/
|
|
8628
|
-
S3Prefix?: string | undefined;
|
|
8629
|
-
}
|
|
8630
|
-
/**
|
|
8631
|
-
* @public
|
|
8632
|
-
*/
|
|
8633
|
-
export interface ExportImageRequest {
|
|
8634
|
-
/**
|
|
8635
|
-
* <p>Token to enable idempotency for export image requests.</p>
|
|
8636
|
-
* @public
|
|
8637
|
-
*/
|
|
8638
|
-
ClientToken?: string | undefined;
|
|
8639
|
-
/**
|
|
8640
|
-
* <p>A description of the image being exported. The maximum length is 255 characters.</p>
|
|
8641
|
-
* @public
|
|
8642
|
-
*/
|
|
8643
|
-
Description?: string | undefined;
|
|
8644
|
-
/**
|
|
8645
|
-
* <p>The disk image format.</p>
|
|
8646
|
-
* @public
|
|
8647
|
-
*/
|
|
8648
|
-
DiskImageFormat: DiskImageFormat | undefined;
|
|
8649
|
-
/**
|
|
8650
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8651
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8652
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8653
|
-
* @public
|
|
8654
|
-
*/
|
|
8655
|
-
DryRun?: boolean | undefined;
|
|
8656
|
-
/**
|
|
8657
|
-
* <p>The ID of the image.</p>
|
|
8658
|
-
* @public
|
|
8659
|
-
*/
|
|
8660
|
-
ImageId: string | undefined;
|
|
8661
|
-
/**
|
|
8662
|
-
* <p>The Amazon S3 bucket for the destination image. The destination bucket must exist.</p>
|
|
8663
|
-
* @public
|
|
8664
|
-
*/
|
|
8665
|
-
S3ExportLocation: ExportTaskS3LocationRequest | undefined;
|
|
8666
|
-
/**
|
|
8667
|
-
* <p>The name of the role that grants VM Import/Export permission to export images to your Amazon
|
|
8668
|
-
* S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.</p>
|
|
8669
|
-
* @public
|
|
8670
|
-
*/
|
|
8671
|
-
RoleName?: string | undefined;
|
|
8672
|
-
/**
|
|
8673
|
-
* <p>The tags to apply to the export image task during creation.</p>
|
|
8674
|
-
* @public
|
|
8675
|
-
*/
|
|
8676
|
-
TagSpecifications?: TagSpecification[] | undefined;
|
|
8677
|
-
}
|
|
8678
|
-
/**
|
|
8679
|
-
* @public
|
|
8680
|
-
*/
|
|
8681
|
-
export interface ExportImageResult {
|
|
8682
|
-
/**
|
|
8683
|
-
* <p>A description of the image being exported.</p>
|
|
8684
|
-
* @public
|
|
8685
|
-
*/
|
|
8686
|
-
Description?: string | undefined;
|
|
8687
|
-
/**
|
|
8688
|
-
* <p>The disk image format for the exported image.</p>
|
|
8689
|
-
* @public
|
|
8690
|
-
*/
|
|
8691
|
-
DiskImageFormat?: DiskImageFormat | undefined;
|
|
8692
|
-
/**
|
|
8693
|
-
* <p>The ID of the export image task.</p>
|
|
8694
|
-
* @public
|
|
8695
|
-
*/
|
|
8696
|
-
ExportImageTaskId?: string | undefined;
|
|
8697
|
-
/**
|
|
8698
|
-
* <p>The ID of the image.</p>
|
|
8699
|
-
* @public
|
|
8700
|
-
*/
|
|
8701
|
-
ImageId?: string | undefined;
|
|
8702
|
-
/**
|
|
8703
|
-
* <p>The name of the role that grants VM Import/Export permission to export images to your Amazon
|
|
8704
|
-
* S3 bucket.</p>
|
|
8705
|
-
* @public
|
|
8706
|
-
*/
|
|
8707
|
-
RoleName?: string | undefined;
|
|
8708
|
-
/**
|
|
8709
|
-
* <p>The percent complete of the export image task.</p>
|
|
8710
|
-
* @public
|
|
8711
|
-
*/
|
|
8712
|
-
Progress?: string | undefined;
|
|
8713
|
-
/**
|
|
8714
|
-
* <p>Information about the destination Amazon S3 bucket.</p>
|
|
8715
|
-
* @public
|
|
8716
|
-
*/
|
|
8717
|
-
S3ExportLocation?: ExportTaskS3Location | undefined;
|
|
8718
|
-
/**
|
|
8719
|
-
* <p>The status of the export image task. The possible values are <code>active</code>, <code>completed</code>,
|
|
8720
|
-
* <code>deleting</code>, and <code>deleted</code>.</p>
|
|
8721
|
-
* @public
|
|
8722
|
-
*/
|
|
8723
|
-
Status?: string | undefined;
|
|
8724
|
-
/**
|
|
8725
|
-
* <p>The status message for the export image task.</p>
|
|
8726
|
-
* @public
|
|
8727
|
-
*/
|
|
8728
|
-
StatusMessage?: string | undefined;
|
|
8729
|
-
/**
|
|
8730
|
-
* <p>Any tags assigned to the export image task.</p>
|
|
8731
|
-
* @public
|
|
8732
|
-
*/
|
|
8733
|
-
Tags?: Tag[] | undefined;
|
|
8734
|
-
}
|
|
8735
|
-
/**
|
|
8736
|
-
* @public
|
|
8737
|
-
*/
|
|
8738
|
-
export interface ExportTransitGatewayRoutesRequest {
|
|
8739
|
-
/**
|
|
8740
|
-
* <p>The ID of the route table.</p>
|
|
8741
|
-
* @public
|
|
8742
|
-
*/
|
|
8743
|
-
TransitGatewayRouteTableId: string | undefined;
|
|
8744
|
-
/**
|
|
8745
|
-
* <p>One or more filters. The possible values are:</p>
|
|
8746
|
-
* <ul>
|
|
8747
|
-
* <li>
|
|
8748
|
-
* <p>
|
|
8749
|
-
* <code>attachment.transit-gateway-attachment-id</code> - The id of the transit gateway attachment.</p>
|
|
8750
|
-
* </li>
|
|
8751
|
-
* <li>
|
|
8752
|
-
* <p>
|
|
8753
|
-
* <code>attachment.resource-id</code> - The resource id of the transit gateway attachment.</p>
|
|
8754
|
-
* </li>
|
|
8755
|
-
* <li>
|
|
8756
|
-
* <p>
|
|
8757
|
-
* <code>route-search.exact-match</code> - The exact match of the specified filter.</p>
|
|
8758
|
-
* </li>
|
|
8759
|
-
* <li>
|
|
8760
|
-
* <p>
|
|
8761
|
-
* <code>route-search.longest-prefix-match</code> - The longest prefix that matches the route.</p>
|
|
8762
|
-
* </li>
|
|
8763
|
-
* <li>
|
|
8764
|
-
* <p>
|
|
8765
|
-
* <code>route-search.subnet-of-match</code> - The routes with a subnet that match the specified CIDR filter.</p>
|
|
8766
|
-
* </li>
|
|
8767
|
-
* <li>
|
|
8768
|
-
* <p>
|
|
8769
|
-
* <code>route-search.supernet-of-match</code> - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.</p>
|
|
8770
|
-
* </li>
|
|
8771
|
-
* <li>
|
|
8772
|
-
* <p>
|
|
8773
|
-
* <code>state</code> - The state of the route (<code>active</code> | <code>blackhole</code>).</p>
|
|
8774
|
-
* </li>
|
|
8775
|
-
* <li>
|
|
8776
|
-
* <p>
|
|
8777
|
-
* <code>transit-gateway-route-destination-cidr-block</code> - The CIDR range.</p>
|
|
8778
|
-
* </li>
|
|
8779
|
-
* <li>
|
|
8780
|
-
* <p>
|
|
8781
|
-
* <code>type</code> - The type of route (<code>propagated</code> |
|
|
8782
|
-
* <code>static</code>).</p>
|
|
8783
|
-
* </li>
|
|
8784
|
-
* </ul>
|
|
8785
|
-
* @public
|
|
8786
|
-
*/
|
|
8787
|
-
Filters?: Filter[] | undefined;
|
|
8788
|
-
/**
|
|
8789
|
-
* <p>The name of the S3 bucket.</p>
|
|
8790
|
-
* @public
|
|
8791
|
-
*/
|
|
8792
|
-
S3Bucket: string | undefined;
|
|
8793
|
-
/**
|
|
8794
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8795
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8796
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8797
|
-
* @public
|
|
8798
|
-
*/
|
|
8799
|
-
DryRun?: boolean | undefined;
|
|
8800
|
-
}
|
|
8801
|
-
/**
|
|
8802
|
-
* @public
|
|
8803
|
-
*/
|
|
8804
|
-
export interface ExportTransitGatewayRoutesResult {
|
|
8805
|
-
/**
|
|
8806
|
-
* <p>The URL of the exported file in Amazon S3. For example,
|
|
8807
|
-
* s3://<i>bucket_name</i>/VPCTransitGateway/TransitGatewayRouteTables/<i>file_name</i>.</p>
|
|
8808
|
-
* @public
|
|
8809
|
-
*/
|
|
8810
|
-
S3Location?: string | undefined;
|
|
8811
|
-
}
|
|
8812
8941
|
/**
|
|
8813
8942
|
* @internal
|
|
8814
8943
|
*/
|