@aws-sdk/client-ec2 3.696.0 → 3.698.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 +741 -123
- 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 +19 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/models/models_3.js +5 -17
- package/dist-es/models/models_4.js +17 -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 +614 -64
- 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/CreateFleetCommand.d.ts +30 -3
- package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- 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 -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/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/DescribeFleetsCommand.d.ts +30 -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 -1
- package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
- 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/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/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 -1
- package/dist-types/commands/ExportImageCommand.d.ts +1 -1
- package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
- package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
- package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
- package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +5 -4
- package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
- 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 -1
- package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- 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/RequestSpotFleetCommand.d.ts +20 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
- 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 +480 -499
- package/dist-types/models/models_2.d.ts +384 -179
- package/dist-types/models/models_3.d.ts +693 -758
- package/dist-types/models/models_4.d.ts +6178 -6293
- package/dist-types/models/models_5.d.ts +2712 -2367
- package/dist-types/models/models_6.d.ts +4288 -4301
- package/dist-types/models/models_7.d.ts +533 -28
- 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 +1 -1
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- 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 +1 -1
- 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/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 +1 -1
- package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
- 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/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.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 +1 -1
- 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/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 +1 -1
- package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
- 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 +54 -77
- package/dist-types/ts3.4/models/models_2.d.ts +78 -41
- package/dist-types/ts3.4/models/models_3.d.ts +102 -124
- package/dist-types/ts3.4/models/models_4.d.ts +127 -124
- package/dist-types/ts3.4/models/models_5.d.ts +126 -86
- package/dist-types/ts3.4/models/models_6.d.ts +97 -139
- package/dist-types/ts3.4/models/models_7.d.ts +149 -9
- 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 +1 -1
|
@@ -1,5 +1,383 @@
|
|
|
1
|
-
import { AccessScopePath, AccessScopePathRequest, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue,
|
|
2
|
-
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest,
|
|
1
|
+
import { AccessScopePath, AccessScopePathRequest, ApplianceModeSupportValue, AttachmentStatus, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, Ipv4PrefixSpecification, Ipv6SupportValue, NatGatewayAddress, PortRange, Protocol, ReservedInstancesListing, RouteTableAssociationState, SecurityGroupReferencingSupportValue, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
|
|
2
|
+
import { CarrierGateway, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, ConnectionTrackingSpecificationRequest, ConnectivityType, GatewayType, InstanceIpv6Address, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, NatGatewayState, OperatorRequest, OperatorResponse, PrivateIpAddressSpecification, ProvisionedBandwidth, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Describes a NAT gateway.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface NatGateway {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The date and time the NAT gateway was created.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
CreateTime?: Date | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The date and time the NAT gateway was deleted, if applicable.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
DeleteTime?: Date | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>If the NAT gateway could not be created, specifies the error code for the failure.
|
|
20
|
+
* (<code>InsufficientFreeAddressesInSubnet</code> | <code>Gateway.NotAttached</code> |
|
|
21
|
+
* <code>InvalidAllocationID.NotFound</code> | <code>Resource.AlreadyAssociated</code> |
|
|
22
|
+
* <code>InternalError</code> | <code>InvalidSubnetID.NotFound</code>)</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
FailureCode?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* <p>If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code.</p>
|
|
28
|
+
* <ul>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>For InsufficientFreeAddressesInSubnet: "Subnet has insufficient free addresses to create this NAT gateway"</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>For Gateway.NotAttached: "Network vpc-xxxxxxxx has no Internet gateway attached"</p>
|
|
34
|
+
* </li>
|
|
35
|
+
* <li>
|
|
36
|
+
* <p>For InvalidAllocationID.NotFound: "Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway"</p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>For Resource.AlreadyAssociated: "Elastic IP address eipalloc-xxxxxxxx is already associated"</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>For InternalError: "Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again."</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>For InvalidSubnetID.NotFound: "The specified subnet subnet-xxxxxxxx does not exist or could not be found."</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
FailureMessage?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>Information about the IP addresses and network interface associated with the NAT gateway.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
NatGatewayAddresses?: NatGatewayAddress[] | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The ID of the NAT gateway.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
NatGatewayId?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Reserved. If you need to sustain traffic greater than the <a href="https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways">documented limits</a>,
|
|
63
|
+
* contact Amazon Web Services Support.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
ProvisionedBandwidth?: ProvisionedBandwidth | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The state of the NAT gateway.</p>
|
|
69
|
+
* <ul>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>pending</code>: The NAT gateway is being created and is not ready to process
|
|
73
|
+
* traffic.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>
|
|
77
|
+
* <code>failed</code>: The NAT gateway could not be created. Check the
|
|
78
|
+
* <code>failureCode</code> and <code>failureMessage</code> fields for the reason.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>
|
|
82
|
+
* <code>available</code>: The NAT gateway is able to process traffic. This status remains
|
|
83
|
+
* until you delete the NAT gateway, and does not indicate the health of the NAT gateway.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>
|
|
87
|
+
* <code>deleting</code>: The NAT gateway is in the process of being terminated and may
|
|
88
|
+
* still be processing traffic.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>deleted</code>: The NAT gateway has been terminated and is no longer processing
|
|
93
|
+
* traffic.</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* </ul>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
State?: NatGatewayState | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The ID of the subnet in which the NAT gateway is located.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
SubnetId?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The ID of the VPC in which the NAT gateway is located.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
VpcId?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The tags for the NAT gateway.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
Tags?: Tag[] | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>Indicates whether the NAT gateway supports public or private connectivity.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
ConnectivityType?: ConnectivityType | undefined;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export interface CreateNatGatewayResult {
|
|
124
|
+
/**
|
|
125
|
+
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
ClientToken?: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>Information about the NAT gateway.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
NatGateway?: NatGateway | undefined;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export interface CreateNetworkAclRequest {
|
|
139
|
+
/**
|
|
140
|
+
* <p>The tags to assign to the network ACL.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
146
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
ClientToken?: string | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
152
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
153
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
DryRun?: boolean | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* <p>The ID of the VPC.</p>
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
VpcId: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>Describes an association between a network ACL and a subnet.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export interface NetworkAclAssociation {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The ID of the association between a network ACL and a subnet.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
NetworkAclAssociationId?: string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* <p>The ID of the network ACL.</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
NetworkAclId?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* <p>The ID of the subnet.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
SubnetId?: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* <p>Describes the ICMP type and code.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export interface IcmpTypeCode {
|
|
189
|
+
/**
|
|
190
|
+
* <p>The ICMP code. A value of -1 means all codes for the specified ICMP type.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
Code?: number | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* <p>The ICMP type. A value of -1 means all types.</p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
Type?: number | undefined;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* @enum
|
|
203
|
+
*/
|
|
204
|
+
export declare const RuleAction: {
|
|
205
|
+
readonly allow: "allow";
|
|
206
|
+
readonly deny: "deny";
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
211
|
+
export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
|
|
212
|
+
/**
|
|
213
|
+
* <p>Describes an entry in a network ACL.</p>
|
|
214
|
+
* @public
|
|
215
|
+
*/
|
|
216
|
+
export interface NetworkAclEntry {
|
|
217
|
+
/**
|
|
218
|
+
* <p>The IPv4 network range to allow or deny, in CIDR notation.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
CidrBlock?: string | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* <p>Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).</p>
|
|
224
|
+
* @public
|
|
225
|
+
*/
|
|
226
|
+
Egress?: boolean | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* <p>ICMP protocol: The ICMP type and code.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
IcmpTypeCode?: IcmpTypeCode | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* <p>The IPv6 network range to allow or deny, in CIDR notation.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
Ipv6CidrBlock?: string | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* <p>TCP or UDP protocols: The range of ports the rule applies to.</p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
PortRange?: PortRange | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* <p>The protocol number. A value of "-1" means all protocols.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
Protocol?: string | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
RuleAction?: RuleAction | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* <p>The rule number for the entry. ACL entries are processed in ascending order by rule number.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
RuleNumber?: number | undefined;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* <p>Describes a network ACL.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
export interface NetworkAcl {
|
|
263
|
+
/**
|
|
264
|
+
* <p>Any associations between the network ACL and your subnets</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
Associations?: NetworkAclAssociation[] | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>The entries (rules) in the network ACL.</p>
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
Entries?: NetworkAclEntry[] | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* <p>Indicates whether this is the default network ACL for the VPC.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
IsDefault?: boolean | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* <p>The ID of the network ACL.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
NetworkAclId?: string | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>Any tags assigned to the network ACL.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
Tags?: Tag[] | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The ID of the VPC for the network ACL.</p>
|
|
290
|
+
* @public
|
|
291
|
+
*/
|
|
292
|
+
VpcId?: string | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* <p>The ID of the Amazon Web Services account that owns the network ACL.</p>
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
OwnerId?: string | undefined;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export interface CreateNetworkAclResult {
|
|
303
|
+
/**
|
|
304
|
+
* <p>Information about the network ACL.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
NetworkAcl?: NetworkAcl | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* <p>Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
ClientToken?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* @public
|
|
316
|
+
*/
|
|
317
|
+
export interface CreateNetworkAclEntryRequest {
|
|
318
|
+
/**
|
|
319
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
320
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
321
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
DryRun?: boolean | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The ID of the network ACL.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
NetworkAclId: string | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* <p>The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.</p>
|
|
332
|
+
* <p>Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
RuleNumber: number | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>The protocol number. A value of "-1" means all protocols. If you specify "-1" or a
|
|
338
|
+
* protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is
|
|
339
|
+
* allowed, regardless of any ports or ICMP types or codes that you specify. If you specify
|
|
340
|
+
* protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and
|
|
341
|
+
* codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6)
|
|
342
|
+
* and specify an IPv6 CIDR block, you must specify an ICMP type and code.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
Protocol: string | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
RuleAction: RuleAction | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p>Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
Egress: boolean | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* <p>The IPv4 network range to allow or deny, in CIDR notation (for example
|
|
358
|
+
* <code>172.16.0.0/24</code>). We modify the specified CIDR block to its canonical form; for example, if you specify <code>100.68.0.18/18</code>, we modify it to <code>100.68.0.0/18</code>.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
CidrBlock?: string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* <p>The IPv6 network range to allow or deny, in CIDR notation (for example
|
|
364
|
+
* <code>2001:db8:1234:1a00::/64</code>).</p>
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
Ipv6CidrBlock?: string | undefined;
|
|
368
|
+
/**
|
|
369
|
+
* <p>ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol
|
|
370
|
+
* 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
IcmpTypeCode?: IcmpTypeCode | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>TCP or UDP protocols: The range of ports the rule applies to.
|
|
376
|
+
* Required if specifying protocol 6 (TCP) or 17 (UDP).</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
PortRange?: PortRange | undefined;
|
|
380
|
+
}
|
|
3
381
|
/**
|
|
4
382
|
* @public
|
|
5
383
|
*/
|
|
@@ -5803,11 +6181,11 @@ export interface CreateVpcBlockPublicAccessExclusionRequest {
|
|
|
5803
6181
|
* <ul>
|
|
5804
6182
|
* <li>
|
|
5805
6183
|
* <p>
|
|
5806
|
-
* <code>bidirectional
|
|
6184
|
+
* <code>allow-bidirectional</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
|
|
5807
6185
|
* </li>
|
|
5808
6186
|
* <li>
|
|
5809
6187
|
* <p>
|
|
5810
|
-
* <code>egress
|
|
6188
|
+
* <code>allow-egress</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
|
|
5811
6189
|
* </li>
|
|
5812
6190
|
* </ul>
|
|
5813
6191
|
* @public
|
|
@@ -5856,11 +6234,11 @@ export interface VpcBlockPublicAccessExclusion {
|
|
|
5856
6234
|
* <ul>
|
|
5857
6235
|
* <li>
|
|
5858
6236
|
* <p>
|
|
5859
|
-
* <code>bidirectional
|
|
6237
|
+
* <code>allow-bidirectional</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
|
|
5860
6238
|
* </li>
|
|
5861
6239
|
* <li>
|
|
5862
6240
|
* <p>
|
|
5863
|
-
* <code>egress
|
|
6241
|
+
* <code>allow-egress</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
|
|
5864
6242
|
* </li>
|
|
5865
6243
|
* </ul>
|
|
5866
6244
|
* @public
|
|
@@ -8190,179 +8568,6 @@ export interface DeleteFpgaImageRequest {
|
|
|
8190
8568
|
*/
|
|
8191
8569
|
FpgaImageId: string | undefined;
|
|
8192
8570
|
}
|
|
8193
|
-
/**
|
|
8194
|
-
* @public
|
|
8195
|
-
*/
|
|
8196
|
-
export interface DeleteFpgaImageResult {
|
|
8197
|
-
/**
|
|
8198
|
-
* <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
|
|
8199
|
-
* @public
|
|
8200
|
-
*/
|
|
8201
|
-
Return?: boolean | undefined;
|
|
8202
|
-
}
|
|
8203
|
-
/**
|
|
8204
|
-
* @public
|
|
8205
|
-
*/
|
|
8206
|
-
export interface DeleteInstanceConnectEndpointRequest {
|
|
8207
|
-
/**
|
|
8208
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8209
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8210
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8211
|
-
* @public
|
|
8212
|
-
*/
|
|
8213
|
-
DryRun?: boolean | undefined;
|
|
8214
|
-
/**
|
|
8215
|
-
* <p>The ID of the EC2 Instance Connect Endpoint to delete.</p>
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
InstanceConnectEndpointId: string | undefined;
|
|
8219
|
-
}
|
|
8220
|
-
/**
|
|
8221
|
-
* @public
|
|
8222
|
-
*/
|
|
8223
|
-
export interface DeleteInstanceConnectEndpointResult {
|
|
8224
|
-
/**
|
|
8225
|
-
* <p>Information about the EC2 Instance Connect Endpoint.</p>
|
|
8226
|
-
* @public
|
|
8227
|
-
*/
|
|
8228
|
-
InstanceConnectEndpoint?: Ec2InstanceConnectEndpoint | undefined;
|
|
8229
|
-
}
|
|
8230
|
-
/**
|
|
8231
|
-
* @public
|
|
8232
|
-
*/
|
|
8233
|
-
export interface DeleteInstanceEventWindowRequest {
|
|
8234
|
-
/**
|
|
8235
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8236
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8237
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8238
|
-
* @public
|
|
8239
|
-
*/
|
|
8240
|
-
DryRun?: boolean | undefined;
|
|
8241
|
-
/**
|
|
8242
|
-
* <p>Specify <code>true</code> to force delete the event window. Use the force delete parameter
|
|
8243
|
-
* if the event window is currently associated with targets.</p>
|
|
8244
|
-
* @public
|
|
8245
|
-
*/
|
|
8246
|
-
ForceDelete?: boolean | undefined;
|
|
8247
|
-
/**
|
|
8248
|
-
* <p>The ID of the event window.</p>
|
|
8249
|
-
* @public
|
|
8250
|
-
*/
|
|
8251
|
-
InstanceEventWindowId: string | undefined;
|
|
8252
|
-
}
|
|
8253
|
-
/**
|
|
8254
|
-
* <p>The state of the event window.</p>
|
|
8255
|
-
* @public
|
|
8256
|
-
*/
|
|
8257
|
-
export interface InstanceEventWindowStateChange {
|
|
8258
|
-
/**
|
|
8259
|
-
* <p>The ID of the event window.</p>
|
|
8260
|
-
* @public
|
|
8261
|
-
*/
|
|
8262
|
-
InstanceEventWindowId?: string | undefined;
|
|
8263
|
-
/**
|
|
8264
|
-
* <p>The current state of the event window.</p>
|
|
8265
|
-
* @public
|
|
8266
|
-
*/
|
|
8267
|
-
State?: InstanceEventWindowState | undefined;
|
|
8268
|
-
}
|
|
8269
|
-
/**
|
|
8270
|
-
* @public
|
|
8271
|
-
*/
|
|
8272
|
-
export interface DeleteInstanceEventWindowResult {
|
|
8273
|
-
/**
|
|
8274
|
-
* <p>The state of the event window.</p>
|
|
8275
|
-
* @public
|
|
8276
|
-
*/
|
|
8277
|
-
InstanceEventWindowState?: InstanceEventWindowStateChange | undefined;
|
|
8278
|
-
}
|
|
8279
|
-
/**
|
|
8280
|
-
* @public
|
|
8281
|
-
*/
|
|
8282
|
-
export interface DeleteInternetGatewayRequest {
|
|
8283
|
-
/**
|
|
8284
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
8285
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8286
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8287
|
-
* @public
|
|
8288
|
-
*/
|
|
8289
|
-
DryRun?: boolean | undefined;
|
|
8290
|
-
/**
|
|
8291
|
-
* <p>The ID of the internet gateway.</p>
|
|
8292
|
-
* @public
|
|
8293
|
-
*/
|
|
8294
|
-
InternetGatewayId: string | undefined;
|
|
8295
|
-
}
|
|
8296
|
-
/**
|
|
8297
|
-
* @public
|
|
8298
|
-
*/
|
|
8299
|
-
export interface DeleteIpamRequest {
|
|
8300
|
-
/**
|
|
8301
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
8302
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8303
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8304
|
-
* @public
|
|
8305
|
-
*/
|
|
8306
|
-
DryRun?: boolean | undefined;
|
|
8307
|
-
/**
|
|
8308
|
-
* <p>The ID of the IPAM to delete.</p>
|
|
8309
|
-
* @public
|
|
8310
|
-
*/
|
|
8311
|
-
IpamId: string | undefined;
|
|
8312
|
-
/**
|
|
8313
|
-
* <p>Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and
|
|
8314
|
-
* any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:</p>
|
|
8315
|
-
* <ul>
|
|
8316
|
-
* <li>
|
|
8317
|
-
* <p>Deallocates any CIDRs allocated to VPC resources (such as VPCs) in pools in private scopes.</p>
|
|
8318
|
-
* <note>
|
|
8319
|
-
* <p>No VPC resources are deleted as a result of enabling this option. The CIDR associated with the resource will no longer be allocated from an IPAM pool, but the CIDR itself will remain unchanged.</p>
|
|
8320
|
-
* </note>
|
|
8321
|
-
* </li>
|
|
8322
|
-
* <li>
|
|
8323
|
-
* <p>Deprovisions all IPv4 CIDRs provisioned to IPAM pools in private scopes.</p>
|
|
8324
|
-
* </li>
|
|
8325
|
-
* <li>
|
|
8326
|
-
* <p>Deletes all IPAM pools in private scopes.</p>
|
|
8327
|
-
* </li>
|
|
8328
|
-
* <li>
|
|
8329
|
-
* <p>Deletes all non-default private scopes in the IPAM.</p>
|
|
8330
|
-
* </li>
|
|
8331
|
-
* <li>
|
|
8332
|
-
* <p>Deletes the default public and private scopes and the IPAM.</p>
|
|
8333
|
-
* </li>
|
|
8334
|
-
* </ul>
|
|
8335
|
-
* @public
|
|
8336
|
-
*/
|
|
8337
|
-
Cascade?: boolean | undefined;
|
|
8338
|
-
}
|
|
8339
|
-
/**
|
|
8340
|
-
* @public
|
|
8341
|
-
*/
|
|
8342
|
-
export interface DeleteIpamResult {
|
|
8343
|
-
/**
|
|
8344
|
-
* <p>Information about the results of the deletion.</p>
|
|
8345
|
-
* @public
|
|
8346
|
-
*/
|
|
8347
|
-
Ipam?: Ipam | undefined;
|
|
8348
|
-
}
|
|
8349
|
-
/**
|
|
8350
|
-
* @public
|
|
8351
|
-
*/
|
|
8352
|
-
export interface DeleteIpamExternalResourceVerificationTokenRequest {
|
|
8353
|
-
/**
|
|
8354
|
-
* <p>A check for whether you have the required permissions for the action without actually making the request
|
|
8355
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
8356
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
8357
|
-
* @public
|
|
8358
|
-
*/
|
|
8359
|
-
DryRun?: boolean | undefined;
|
|
8360
|
-
/**
|
|
8361
|
-
* <p>The token ID.</p>
|
|
8362
|
-
* @public
|
|
8363
|
-
*/
|
|
8364
|
-
IpamExternalResourceVerificationTokenId: string | undefined;
|
|
8365
|
-
}
|
|
8366
8571
|
/**
|
|
8367
8572
|
* @internal
|
|
8368
8573
|
*/
|