@aws-sdk/client-ec2 3.1170.0 → 3.1171.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 +7 -0
- package/dist-cjs/index.js +245 -32
- package/dist-es/EC2.js +2 -0
- package/dist-es/commands/ModifyTransitGatewayPeeringAttachmentCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +20 -0
- package/dist-es/schemas/schemas_0.js +202 -31
- package/dist-types/EC2.d.ts +7 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/AcceptTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +10 -0
- package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +1 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +7 -0
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +11 -0
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +44 -0
- 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/DeleteTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +5 -0
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +22 -0
- package/dist-types/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +1 -2
- package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +12 -0
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -1
- package/dist-types/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +1 -2
- package/dist-types/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +119 -0
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +14 -0
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +23 -1
- package/dist-types/commands/ModifyVpnTunnelOptionsCommand.d.ts +45 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +76 -0
- package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +187 -161
- package/dist-types/models/models_1.d.ts +162 -156
- package/dist-types/models/models_2.d.ts +246 -125
- package/dist-types/models/models_3.d.ts +211 -264
- package/dist-types/models/models_4.d.ts +266 -367
- package/dist-types/models/models_5.d.ts +366 -129
- package/dist-types/models/models_6.d.ts +129 -178
- package/dist-types/models/models_7.d.ts +275 -446
- package/dist-types/models/models_8.d.ts +469 -5
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/EC2.d.ts +17 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.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/DescribeConversionTasksCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInsightsPathsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisableRouteServerPropagationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSerialConsoleAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetRouteServerAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyTransitGatewayPeeringAttachmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyVpcTenancyCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyVpnTunnelOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -32
- package/dist-types/ts3.4/models/models_1.d.ts +32 -33
- package/dist-types/ts3.4/models/models_2.d.ts +48 -29
- package/dist-types/ts3.4/models/models_3.d.ts +45 -54
- package/dist-types/ts3.4/models/models_4.d.ts +62 -72
- package/dist-types/ts3.4/models/models_5.d.ts +71 -33
- package/dist-types/ts3.4/models/models_6.d.ts +38 -44
- package/dist-types/ts3.4/models/models_7.d.ts +65 -85
- package/dist-types/ts3.4/models/models_8.d.ts +90 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +1 -1
|
@@ -1,5 +1,164 @@
|
|
|
1
|
-
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationPreference, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMatchCriteria, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType,
|
|
2
|
-
import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AddIpamOperatingRegion, AddPrefixListEntry,
|
|
1
|
+
import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationModificationQuoteState, CapacityReservationPreference, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMatchCriteria, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, PlatformValues, PrefixListState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
|
|
2
|
+
import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AddIpamOperatingRegion, AddPrefixListEntry, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface CreateCapacityReservationDateChangeQuoteRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ID of the Capacity Reservation.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
CapacityReservationId: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The requested new start date for the Capacity Reservation, in the ISO8601 format in the
|
|
14
|
+
* UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>). The new start date must be later
|
|
15
|
+
* than the current start date and within the cumulative 30-day pushout limit.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
NewStartDate: Date | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensure Idempotency</a>.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
ClientToken?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The tags to apply to the date change quote.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <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>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
DryRun?: boolean | undefined;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* <p>Describes the configuration that a Capacity Reservation has at the time a modification
|
|
37
|
+
* quote is generated.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface ModificationQuoteCurrentConfiguration {
|
|
41
|
+
/**
|
|
42
|
+
* <p>The number of instances in the Capacity Reservation.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
InstanceCount?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The current state of the Capacity Reservation.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
ReservationState?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The start date that the Capacity Reservation has before the quoted modification is
|
|
53
|
+
* applied.</p>
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
StartDate?: Date | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The start date that the Capacity Reservation was originally requested with. This value
|
|
59
|
+
* does not change when you push out the start date.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
OriginalStartDate?: Date | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Describes the changes that a Capacity Reservation modification quote will apply to a
|
|
66
|
+
* Capacity Reservation.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface ModificationReservationUpdate {
|
|
70
|
+
/**
|
|
71
|
+
* <p>The date and time at which the commitment duration will expire after the modification,
|
|
72
|
+
* in the ISO8601 format in the UTC time zone
|
|
73
|
+
* (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
NewCommitmentEndDate?: Date | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The start date that the Capacity Reservation will have after the modification, in the
|
|
79
|
+
* ISO8601 format in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>).</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
NewStartDate?: Date | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>The commitment duration, in seconds, that the Capacity Reservation will have after the
|
|
85
|
+
* modification.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
NewCommitmentDuration?: number | undefined;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* <p>Describes the terms of a Capacity Reservation modification quote.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export interface ModificationTerms {
|
|
95
|
+
/**
|
|
96
|
+
* <p>The changes that will be applied to the Capacity Reservation if you accept the
|
|
97
|
+
* modification terms.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
ReservationUpdate?: ModificationReservationUpdate | undefined;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>Describes a Capacity Reservation modification quote, which provides the terms for
|
|
104
|
+
* changing the start date or the commitment of a future-dated Capacity Reservation.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export interface CapacityReservationModificationQuote {
|
|
108
|
+
/**
|
|
109
|
+
* <p>The ID of the modification quote.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
CapacityReservationModificationQuoteId?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The ID of the Capacity Reservation associated with the modification quote.</p>
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
CapacityReservationId?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The date and time at which the modification quote was created.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
CreateTime?: Date | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The date and time at which the modification quote expires.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
ExpirationTime?: Date | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The state of the modification quote itself. Possible values are:</p>
|
|
130
|
+
* <ul>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>
|
|
133
|
+
* <code>active</code> - The quote can still be used.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>
|
|
137
|
+
* <code>expired</code> - The quote can no longer be used. A quote becomes
|
|
138
|
+
* <code>expired</code> at its <code>expirationTime</code>.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* </ul>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
QuoteState?: CapacityReservationModificationQuoteState | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>The configuration that the Capacity Reservation has at the time the quote was
|
|
146
|
+
* generated.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
CurrentConfiguration?: ModificationQuoteCurrentConfiguration | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The terms of the modification, including the configuration that the Capacity Reservation
|
|
152
|
+
* will have if you accept them by using <code>ModifyCapacityReservation</code>.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
ModificationTerms?: ModificationTerms | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* <p>The tags assigned to the modification quote.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
Tags?: Tag[] | undefined;
|
|
161
|
+
}
|
|
3
162
|
/**
|
|
4
163
|
* @public
|
|
5
164
|
*/
|
|
@@ -2196,7 +2355,7 @@ export interface VpcEncryptionControlExclusions {
|
|
|
2196
2355
|
*/
|
|
2197
2356
|
ElasticFileSystem?: VpcEncryptionControlExclusion | undefined;
|
|
2198
2357
|
/**
|
|
2199
|
-
* <p>The exclusion configuration for
|
|
2358
|
+
* <p>The exclusion configuration for Amazon Web Services Global Accelerator traffic.</p>
|
|
2200
2359
|
* @public
|
|
2201
2360
|
*/
|
|
2202
2361
|
GlobalAccelerator?: VpcEncryptionControlExclusion | undefined;
|
|
@@ -12419,156 +12578,3 @@ export interface CreateNetworkAclResult {
|
|
|
12419
12578
|
*/
|
|
12420
12579
|
ClientToken?: string | undefined;
|
|
12421
12580
|
}
|
|
12422
|
-
/**
|
|
12423
|
-
* @public
|
|
12424
|
-
*/
|
|
12425
|
-
export interface CreateNetworkAclEntryRequest {
|
|
12426
|
-
/**
|
|
12427
|
-
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
12428
|
-
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
12429
|
-
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
12430
|
-
* @public
|
|
12431
|
-
*/
|
|
12432
|
-
DryRun?: boolean | undefined;
|
|
12433
|
-
/**
|
|
12434
|
-
* <p>The ID of the network ACL.</p>
|
|
12435
|
-
* @public
|
|
12436
|
-
*/
|
|
12437
|
-
NetworkAclId: string | undefined;
|
|
12438
|
-
/**
|
|
12439
|
-
* <p>The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.</p>
|
|
12440
|
-
* <p>Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.</p>
|
|
12441
|
-
* @public
|
|
12442
|
-
*/
|
|
12443
|
-
RuleNumber: number | undefined;
|
|
12444
|
-
/**
|
|
12445
|
-
* <p>The protocol number. A value of "-1" means all protocols. If you specify "-1" or a
|
|
12446
|
-
* protocol number other than "6" (TCP), "17" (UDP), or "1" (ICMP), traffic on all ports is
|
|
12447
|
-
* allowed, regardless of any ports or ICMP types or codes that you specify. If you specify
|
|
12448
|
-
* protocol "58" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and
|
|
12449
|
-
* codes allowed, regardless of any that you specify. If you specify protocol "58" (ICMPv6)
|
|
12450
|
-
* and specify an IPv6 CIDR block, you must specify an ICMP type and code.</p>
|
|
12451
|
-
* @public
|
|
12452
|
-
*/
|
|
12453
|
-
Protocol: string | undefined;
|
|
12454
|
-
/**
|
|
12455
|
-
* <p>Indicates whether to allow or deny the traffic that matches the rule.</p>
|
|
12456
|
-
* @public
|
|
12457
|
-
*/
|
|
12458
|
-
RuleAction: RuleAction | undefined;
|
|
12459
|
-
/**
|
|
12460
|
-
* <p>Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).</p>
|
|
12461
|
-
* @public
|
|
12462
|
-
*/
|
|
12463
|
-
Egress: boolean | undefined;
|
|
12464
|
-
/**
|
|
12465
|
-
* <p>The IPv4 network range to allow or deny, in CIDR notation (for example
|
|
12466
|
-
* <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>
|
|
12467
|
-
* @public
|
|
12468
|
-
*/
|
|
12469
|
-
CidrBlock?: string | undefined;
|
|
12470
|
-
/**
|
|
12471
|
-
* <p>The IPv6 network range to allow or deny, in CIDR notation (for example
|
|
12472
|
-
* <code>2001:db8:1234:1a00::/64</code>).</p>
|
|
12473
|
-
* @public
|
|
12474
|
-
*/
|
|
12475
|
-
Ipv6CidrBlock?: string | undefined;
|
|
12476
|
-
/**
|
|
12477
|
-
* <p>ICMP protocol: The ICMP or ICMPv6 type and code. Required if specifying protocol
|
|
12478
|
-
* 1 (ICMP) or protocol 58 (ICMPv6) with an IPv6 CIDR block.</p>
|
|
12479
|
-
* @public
|
|
12480
|
-
*/
|
|
12481
|
-
IcmpTypeCode?: IcmpTypeCode | undefined;
|
|
12482
|
-
/**
|
|
12483
|
-
* <p>TCP or UDP protocols: The range of ports the rule applies to.
|
|
12484
|
-
* Required if specifying protocol 6 (TCP) or 17 (UDP).</p>
|
|
12485
|
-
* @public
|
|
12486
|
-
*/
|
|
12487
|
-
PortRange?: PortRange | undefined;
|
|
12488
|
-
}
|
|
12489
|
-
/**
|
|
12490
|
-
* <p>Maps a CIDR range to a label for cost allocation reporting.</p>
|
|
12491
|
-
* @public
|
|
12492
|
-
*/
|
|
12493
|
-
export interface FlexCostAllocationCidrMapping {
|
|
12494
|
-
/**
|
|
12495
|
-
* <p>The CIDR range. This parameter is required.</p>
|
|
12496
|
-
* @public
|
|
12497
|
-
*/
|
|
12498
|
-
CidrRange: string | undefined;
|
|
12499
|
-
/**
|
|
12500
|
-
* <p>The label to assign to the CIDR range. The label can be up to 64 characters long. It can
|
|
12501
|
-
* contain letters, numbers, hyphens (<code>-</code>), and underscores (<code>_</code>), and must
|
|
12502
|
-
* start with a letter or a number. This parameter is required.</p>
|
|
12503
|
-
* @public
|
|
12504
|
-
*/
|
|
12505
|
-
CidrLabel: string | undefined;
|
|
12506
|
-
}
|
|
12507
|
-
/**
|
|
12508
|
-
* <p>Specifies the CIDR ranges and labels to use for cost allocation when the reporting granularity is
|
|
12509
|
-
* <code>cidr</code>.</p>
|
|
12510
|
-
* @public
|
|
12511
|
-
*/
|
|
12512
|
-
export interface FlexCostAllocationCidrRangeSpecifications {
|
|
12513
|
-
/**
|
|
12514
|
-
* <p>The type of prefixes to use. This parameter is required. Valid values are
|
|
12515
|
-
* <code>source-prefixes</code> and <code>destination-prefixes</code>.</p>
|
|
12516
|
-
* @public
|
|
12517
|
-
*/
|
|
12518
|
-
PrefixesType: string | undefined;
|
|
12519
|
-
/**
|
|
12520
|
-
* <p>The CIDR range to label mappings. You can specify from 1 to 100 mappings. This parameter is required.</p>
|
|
12521
|
-
* @public
|
|
12522
|
-
*/
|
|
12523
|
-
Prefixes: FlexCostAllocationCidrMapping[] | undefined;
|
|
12524
|
-
}
|
|
12525
|
-
/**
|
|
12526
|
-
* <p>Describes the cost allocation policy document for EC2 instances.</p>
|
|
12527
|
-
* @public
|
|
12528
|
-
*/
|
|
12529
|
-
export interface InstanceFlexCostAllocationPolicyDocument {
|
|
12530
|
-
/**
|
|
12531
|
-
* <p>The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly
|
|
12532
|
-
* one value. Valid values are <code>eni</code>, <code>ec2</code>, <code>subnet</code>, <code>vpc</code>,
|
|
12533
|
-
* <code>account</code>, and <code>cidr</code>.</p>
|
|
12534
|
-
* @public
|
|
12535
|
-
*/
|
|
12536
|
-
ReportingGranularity: FlexCostAllocationReportingGranularity[] | undefined;
|
|
12537
|
-
/**
|
|
12538
|
-
* <p>The cost dimensions to report. This parameter is required. The only valid value is
|
|
12539
|
-
* <code>data-transfer</code>.</p>
|
|
12540
|
-
* @public
|
|
12541
|
-
*/
|
|
12542
|
-
Dimensions: FlexCostAllocationCostDimension[] | undefined;
|
|
12543
|
-
/**
|
|
12544
|
-
* <p>The CIDR range mappings to use for cost allocation. Specify this value when
|
|
12545
|
-
* <code>ReportingGranularity</code> is <code>cidr</code>, and omit it otherwise.</p>
|
|
12546
|
-
* @public
|
|
12547
|
-
*/
|
|
12548
|
-
CidrRangeSpecifications?: FlexCostAllocationCidrRangeSpecifications | undefined;
|
|
12549
|
-
}
|
|
12550
|
-
/**
|
|
12551
|
-
* <p>Describes the cost allocation policy document for NAT gateways.</p>
|
|
12552
|
-
* @public
|
|
12553
|
-
*/
|
|
12554
|
-
export interface NatFlexCostAllocationPolicyDocument {
|
|
12555
|
-
/**
|
|
12556
|
-
* <p>The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly
|
|
12557
|
-
* one value. Valid values are <code>eni</code>, <code>ec2</code>, <code>subnet</code>, <code>vpc</code>,
|
|
12558
|
-
* <code>account</code>, and <code>cidr</code>.</p>
|
|
12559
|
-
* @public
|
|
12560
|
-
*/
|
|
12561
|
-
ReportingGranularity: FlexCostAllocationReportingGranularity[] | undefined;
|
|
12562
|
-
/**
|
|
12563
|
-
* <p>The cost dimensions to report. This parameter is required. Valid values are <code>data-transfer</code>
|
|
12564
|
-
* and <code>data-processing</code>.</p>
|
|
12565
|
-
* @public
|
|
12566
|
-
*/
|
|
12567
|
-
Dimensions: FlexCostAllocationCostDimension[] | undefined;
|
|
12568
|
-
/**
|
|
12569
|
-
* <p>The CIDR range mappings to use for cost allocation. Specify this value when
|
|
12570
|
-
* <code>ReportingGranularity</code> is <code>cidr</code>, and omit it otherwise.</p>
|
|
12571
|
-
* @public
|
|
12572
|
-
*/
|
|
12573
|
-
CidrRangeSpecifications?: FlexCostAllocationCidrRangeSpecifications | undefined;
|
|
12574
|
-
}
|