@aws-sdk/client-ec2 3.36.1 → 3.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/dist-cjs/EC2.js +30 -0
- package/dist-cjs/commands/CreateFleetCommand.js +2 -1
- package/dist-cjs/commands/CreateFlowLogsCommand.js +3 -3
- package/dist-cjs/commands/CreateFpgaImageCommand.js +3 -3
- package/dist-cjs/commands/CreateImageCommand.js +3 -3
- package/dist-cjs/commands/CreateInstanceEventWindowCommand.js +1 -2
- package/dist-cjs/commands/CreateVpcEndpointServiceConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CreateVpcPeeringConnectionCommand.js +3 -3
- package/dist-cjs/commands/CreateVpnConnectionCommand.js +1 -2
- package/dist-cjs/commands/DescribeHostsCommand.js +2 -1
- package/dist-cjs/commands/DescribeIamInstanceProfileAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeIdFormatCommand.js +3 -3
- package/dist-cjs/commands/DescribeIdentityIdFormatCommand.js +3 -3
- package/dist-cjs/commands/DescribeImageAttributeCommand.js +3 -3
- package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeImportImageTasksCommand.js +1 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorFiltersCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorSessionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrafficMirrorTargetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayConnectPeersCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayConnectsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayMulticastDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayRouteTablesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTransitGatewaysCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrunkInterfaceAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeVolumeAttributeCommand.js +3 -3
- package/dist-cjs/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +36 -0
- package/dist-cjs/commands/GetSpotPlacementScoresCommand.js +36 -0
- package/dist-cjs/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
- package/dist-cjs/commands/ModifyInstanceEventStartTimeCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceEventWindowCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstanceMetadataOptionsCommand.js +3 -3
- package/dist-cjs/commands/ModifyInstancePlacementCommand.js +3 -3
- package/dist-cjs/commands/ModifyLaunchTemplateCommand.js +3 -3
- package/dist-cjs/commands/ModifyManagedPrefixListCommand.js +3 -3
- package/dist-cjs/commands/ModifyNetworkInterfaceAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyReservedInstancesCommand.js +3 -3
- package/dist-cjs/commands/ModifySecurityGroupRulesCommand.js +3 -3
- package/dist-cjs/commands/ModifySnapshotAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifySpotFleetRequestCommand.js +3 -3
- package/dist-cjs/commands/ModifySubnetAttributeCommand.js +2 -2
- package/dist-cjs/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorFilterRuleCommand.js +3 -3
- package/dist-cjs/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
- package/dist-cjs/commands/index.js +476 -0
- package/dist-cjs/endpoints.js +187 -23
- package/dist-cjs/index.js +5 -609
- package/dist-cjs/models/models_0.js +144 -108
- package/dist-cjs/models/models_1.js +153 -181
- package/dist-cjs/models/models_2.js +188 -144
- package/dist-cjs/models/models_3.js +150 -192
- package/dist-cjs/models/models_4.js +234 -223
- package/dist-cjs/models/models_5.js +222 -4
- package/dist-cjs/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +35 -0
- package/dist-cjs/pagination/GetSpotPlacementScoresPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +109 -0
- package/dist-cjs/protocols/Aws_ec2.js +2226 -915
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +35 -0
- package/dist-es/EC2.js +30 -0
- package/dist-es/commands/CreateFleetCommand.js +2 -1
- package/dist-es/commands/CreateFlowLogsCommand.js +1 -1
- package/dist-es/commands/CreateFpgaImageCommand.js +1 -1
- package/dist-es/commands/CreateImageCommand.js +1 -1
- package/dist-es/commands/CreateInstanceEventWindowCommand.js +1 -2
- package/dist-es/commands/CreateVpcEndpointServiceConfigurationCommand.js +1 -1
- package/dist-es/commands/CreateVpcPeeringConnectionCommand.js +1 -1
- package/dist-es/commands/CreateVpnConnectionCommand.js +1 -2
- package/dist-es/commands/DescribeHostsCommand.js +2 -1
- package/dist-es/commands/DescribeIamInstanceProfileAssociationsCommand.js +1 -1
- package/dist-es/commands/DescribeIdFormatCommand.js +1 -1
- package/dist-es/commands/DescribeIdentityIdFormatCommand.js +1 -1
- package/dist-es/commands/DescribeImageAttributeCommand.js +1 -1
- package/dist-es/commands/DescribeImagesCommand.js +1 -1
- package/dist-es/commands/DescribeImportImageTasksCommand.js +1 -2
- package/dist-es/commands/DescribeTagsCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorFiltersCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorSessionsCommand.js +1 -1
- package/dist-es/commands/DescribeTrafficMirrorTargetsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayConnectPeersCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayConnectsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayMulticastDomainsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayPeeringAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayRouteTablesCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewayVpcAttachmentsCommand.js +1 -1
- package/dist-es/commands/DescribeTransitGatewaysCommand.js +1 -1
- package/dist-es/commands/DescribeTrunkInterfaceAssociationsCommand.js +1 -1
- package/dist-es/commands/DescribeVolumeAttributeCommand.js +1 -1
- package/dist-es/commands/GetInstanceTypesFromInstanceRequirementsCommand.js +39 -0
- package/dist-es/commands/GetSpotPlacementScoresCommand.js +39 -0
- package/dist-es/commands/ModifyInstanceCreditSpecificationCommand.js +2 -1
- package/dist-es/commands/ModifyInstanceEventStartTimeCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceEventWindowCommand.js +1 -1
- package/dist-es/commands/ModifyInstanceMetadataOptionsCommand.js +1 -1
- package/dist-es/commands/ModifyInstancePlacementCommand.js +1 -1
- package/dist-es/commands/ModifyLaunchTemplateCommand.js +1 -1
- package/dist-es/commands/ModifyManagedPrefixListCommand.js +1 -1
- package/dist-es/commands/ModifyNetworkInterfaceAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyReservedInstancesCommand.js +1 -1
- package/dist-es/commands/ModifySecurityGroupRulesCommand.js +1 -1
- package/dist-es/commands/ModifySnapshotAttributeCommand.js +1 -1
- package/dist-es/commands/ModifySpotFleetRequestCommand.js +1 -1
- package/dist-es/commands/ModifySubnetAttributeCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorFilterRuleCommand.js +1 -1
- package/dist-es/commands/ModifyTrafficMirrorSessionCommand.js +1 -2
- package/dist-es/commands/index.js +473 -0
- package/dist-es/endpoints.js +187 -23
- package/dist-es/index.js +5 -609
- package/dist-es/models/models_0.js +116 -73
- package/dist-es/models/models_1.js +102 -124
- package/dist-es/models/models_2.js +128 -92
- package/dist-es/models/models_3.js +98 -124
- package/dist-es/models/models_4.js +152 -147
- package/dist-es/models/models_5.js +147 -0
- package/dist-es/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.js +74 -0
- package/dist-es/pagination/GetSpotPlacementScoresPaginator.js +74 -0
- package/dist-es/pagination/index.js +106 -0
- package/dist-es/protocols/Aws_ec2.js +3652 -2148
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +32 -0
- package/dist-types/EC2.d.ts +54 -22
- package/dist-types/EC2Client.d.ts +12 -2
- package/dist-types/commands/CreateFleetCommand.d.ts +2 -1
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFpgaImageCommand.d.ts +2 -2
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +6 -5
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAvailabilityZonesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdFormatCommand.d.ts +2 -2
- package/dist-types/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportImageTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeRegionsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +44 -0
- package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +42 -0
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -3
- package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -2
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +473 -0
- package/dist-types/index.d.ts +5 -609
- package/dist-types/models/models_0.d.ts +610 -699
- package/dist-types/models/models_1.d.ts +4710 -4496
- package/dist-types/models/models_2.d.ts +4647 -4707
- package/dist-types/models/models_3.d.ts +6978 -6938
- package/dist-types/models/models_4.d.ts +4834 -4487
- package/dist-types/models/models_5.d.ts +974 -20
- package/dist-types/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +106 -0
- package/dist-types/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/EC2.d.ts +10 -0
- package/dist-types/ts3.4/EC2Client.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateFlowLogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateFpgaImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateInstanceEventWindowCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVpnConnectionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImageAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeImportImageTasksCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectPeersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayMulticastDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayPeeringAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayRouteTablesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewayVpcAttachmentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransitGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeVolumeAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ModifyInstanceCreditSpecificationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventStartTimeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceEventWindowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstanceMetadataOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyInstancePlacementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySecurityGroupRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySnapshotAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySpotFleetRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifySubnetAttributeCommand.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 -2
- package/dist-types/ts3.4/commands/index.d.ts +473 -0
- package/dist-types/ts3.4/index.d.ts +5 -609
- package/dist-types/ts3.4/models/models_0.d.ts +231 -266
- package/dist-types/ts3.4/models/models_1.d.ts +401 -417
- package/dist-types/ts3.4/models/models_2.d.ts +439 -413
- package/dist-types/ts3.4/models/models_3.d.ts +2348 -2330
- package/dist-types/ts3.4/models/models_4.d.ts +2003 -1964
- package/dist-types/ts3.4/models/models_5.d.ts +485 -7
- package/dist-types/ts3.4/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetSpotPlacementScoresPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +106 -0
- package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +32 -0
- package/dist-types/waiters/index.d.ts +32 -0
- package/package.json +34 -34
|
@@ -1,8 +1,965 @@
|
|
|
1
|
-
import { _InstanceType, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue,
|
|
2
|
-
import { AutoAcceptSharedAttachmentsValue, CreditSpecificationRequest, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, ElasticGpuSpecification, IcmpTypeCode,
|
|
3
|
-
import {
|
|
4
|
-
import { AttributeBooleanValue, HttpTokensState, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceNetworkInterfaceSpecification, InstanceState, Monitoring, NetworkInsightsAnalysis, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_3";
|
|
5
|
-
import { CapacityReservationSpecification, Purchase, VolumeModification } from "./models_4";
|
|
1
|
+
import { _InstanceType, AddPrefixListEntry, AddressAttribute, AddressAttributeName, Affinity, ApplianceModeSupportValue, AttributeValue, ByoipCidr, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpPermission, Ipv6SupportValue, Placement, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
|
|
2
|
+
import { AutoAcceptSharedAttachmentsValue, BlockDeviceMapping, CreditSpecificationRequest, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, ElasticGpuSpecification, IcmpTypeCode, InstanceEventWindowTimeRangeRequest, InstanceInterruptionBehavior, InstanceIpv6Address, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, MarketType, PortRange, RuleAction, ShutdownBehavior, SpotInstanceType, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VolumeType, VpnEcmpSupportValue } from "./models_1";
|
|
3
|
+
import { ClientVpnConnectionStatus, Filter, IKEVersionsRequestListValue, InstanceTagNotificationAttribute, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, VpnConnection } from "./models_2";
|
|
4
|
+
import { ArchitectureValues, AttributeBooleanValue, BootModeValues, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceAttributeName, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceNetworkInterfaceSpecification, InstanceState, InstanceStatusEvent, LaunchTemplateConfig, Monitoring, NetworkInsightsAnalysis, ReservedInstancesConfiguration, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_3";
|
|
5
|
+
import { CapacityReservationSpecification, OperationType, Purchase, VolumeModification } from "./models_4";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Describes the burstable performance instance whose credit option for CPU usage was
|
|
8
|
+
* successfully modified.</p>
|
|
9
|
+
*/
|
|
10
|
+
export interface SuccessfulInstanceCreditSpecificationItem {
|
|
11
|
+
/**
|
|
12
|
+
* <p>The ID of the instance.</p>
|
|
13
|
+
*/
|
|
14
|
+
InstanceId?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SuccessfulInstanceCreditSpecificationItem {
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
const filterSensitiveLog: (obj: SuccessfulInstanceCreditSpecificationItem) => any;
|
|
21
|
+
}
|
|
22
|
+
export declare enum UnsuccessfulInstanceCreditSpecificationErrorCode {
|
|
23
|
+
INCORRECT_INSTANCE_STATE = "IncorrectInstanceState",
|
|
24
|
+
INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED = "InstanceCreditSpecification.NotSupported",
|
|
25
|
+
INSTANCE_NOT_FOUND = "InvalidInstanceID.NotFound",
|
|
26
|
+
INVALID_INSTANCE_ID = "InvalidInstanceID.Malformed"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>Information about the error for the burstable performance instance whose credit option
|
|
30
|
+
* for CPU usage was not modified.</p>
|
|
31
|
+
*/
|
|
32
|
+
export interface UnsuccessfulInstanceCreditSpecificationItemError {
|
|
33
|
+
/**
|
|
34
|
+
* <p>The error code.</p>
|
|
35
|
+
*/
|
|
36
|
+
Code?: UnsuccessfulInstanceCreditSpecificationErrorCode | string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The applicable error message.</p>
|
|
39
|
+
*/
|
|
40
|
+
Message?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace UnsuccessfulInstanceCreditSpecificationItemError {
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
const filterSensitiveLog: (obj: UnsuccessfulInstanceCreditSpecificationItemError) => any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>Describes the burstable performance instance whose credit option for CPU usage was not
|
|
50
|
+
* modified.</p>
|
|
51
|
+
*/
|
|
52
|
+
export interface UnsuccessfulInstanceCreditSpecificationItem {
|
|
53
|
+
/**
|
|
54
|
+
* <p>The ID of the instance.</p>
|
|
55
|
+
*/
|
|
56
|
+
InstanceId?: string;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The applicable error for the burstable performance instance whose credit option for
|
|
59
|
+
* CPU usage was not modified.</p>
|
|
60
|
+
*/
|
|
61
|
+
Error?: UnsuccessfulInstanceCreditSpecificationItemError;
|
|
62
|
+
}
|
|
63
|
+
export declare namespace UnsuccessfulInstanceCreditSpecificationItem {
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
const filterSensitiveLog: (obj: UnsuccessfulInstanceCreditSpecificationItem) => any;
|
|
68
|
+
}
|
|
69
|
+
export interface ModifyInstanceCreditSpecificationResult {
|
|
70
|
+
/**
|
|
71
|
+
* <p>Information about the instances whose credit option for CPU usage was successfully
|
|
72
|
+
* modified.</p>
|
|
73
|
+
*/
|
|
74
|
+
SuccessfulInstanceCreditSpecifications?: SuccessfulInstanceCreditSpecificationItem[];
|
|
75
|
+
/**
|
|
76
|
+
* <p>Information about the instances whose credit option for CPU usage was not
|
|
77
|
+
* modified.</p>
|
|
78
|
+
*/
|
|
79
|
+
UnsuccessfulInstanceCreditSpecifications?: UnsuccessfulInstanceCreditSpecificationItem[];
|
|
80
|
+
}
|
|
81
|
+
export declare namespace ModifyInstanceCreditSpecificationResult {
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
const filterSensitiveLog: (obj: ModifyInstanceCreditSpecificationResult) => any;
|
|
86
|
+
}
|
|
87
|
+
export interface ModifyInstanceEventStartTimeRequest {
|
|
88
|
+
/**
|
|
89
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
90
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
91
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
92
|
+
*/
|
|
93
|
+
DryRun?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The ID of the instance with the scheduled event.</p>
|
|
96
|
+
*/
|
|
97
|
+
InstanceId: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The ID of the event whose date and time you are modifying.</p>
|
|
100
|
+
*/
|
|
101
|
+
InstanceEventId: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* <p>The new date and time when the event will take place.</p>
|
|
104
|
+
*/
|
|
105
|
+
NotBefore: Date | undefined;
|
|
106
|
+
}
|
|
107
|
+
export declare namespace ModifyInstanceEventStartTimeRequest {
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
const filterSensitiveLog: (obj: ModifyInstanceEventStartTimeRequest) => any;
|
|
112
|
+
}
|
|
113
|
+
export interface ModifyInstanceEventStartTimeResult {
|
|
114
|
+
/**
|
|
115
|
+
* <p>Describes a scheduled event for an instance.</p>
|
|
116
|
+
*/
|
|
117
|
+
Event?: InstanceStatusEvent;
|
|
118
|
+
}
|
|
119
|
+
export declare namespace ModifyInstanceEventStartTimeResult {
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
const filterSensitiveLog: (obj: ModifyInstanceEventStartTimeResult) => any;
|
|
124
|
+
}
|
|
125
|
+
export interface ModifyInstanceEventWindowRequest {
|
|
126
|
+
/**
|
|
127
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
128
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
129
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
130
|
+
*/
|
|
131
|
+
DryRun?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* <p>The name of the event window.</p>
|
|
134
|
+
*/
|
|
135
|
+
Name?: string;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The ID of the event window.</p>
|
|
138
|
+
*/
|
|
139
|
+
InstanceEventWindowId: string | undefined;
|
|
140
|
+
/**
|
|
141
|
+
* <p>The time ranges of the event window.</p>
|
|
142
|
+
*/
|
|
143
|
+
TimeRanges?: InstanceEventWindowTimeRangeRequest[];
|
|
144
|
+
/**
|
|
145
|
+
* <p>The cron expression of the event window, for example, <code>* 0-4,20-23 * * 1,5</code>.</p>
|
|
146
|
+
* <p>Constraints:</p>
|
|
147
|
+
* <ul>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>Only hour and day of the week values are supported.</p>
|
|
150
|
+
* </li>
|
|
151
|
+
* <li>
|
|
152
|
+
* <p>For day of the week values, you can specify either integers <code>0</code> through
|
|
153
|
+
* <code>6</code>, or alternative single values <code>SUN</code> through
|
|
154
|
+
* <code>SAT</code>.</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* <li>
|
|
157
|
+
* <p>The minute, month, and year must be specified by <code>*</code>.</p>
|
|
158
|
+
* </li>
|
|
159
|
+
* <li>
|
|
160
|
+
* <p>The hour value must be one or a multiple range, for example, <code>0-4</code> or
|
|
161
|
+
* <code>0-4,20-23</code>.</p>
|
|
162
|
+
* </li>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>Each hour range must be >= 2 hours, for example, <code>0-2</code> or
|
|
165
|
+
* <code>20-23</code>.</p>
|
|
166
|
+
* </li>
|
|
167
|
+
* <li>
|
|
168
|
+
* <p>The event window must be >= 4 hours. The combined total time ranges in the event
|
|
169
|
+
* window must be >= 4 hours.</p>
|
|
170
|
+
* </li>
|
|
171
|
+
* </ul>
|
|
172
|
+
* <p>For more information about cron expressions, see <a href="https://en.wikipedia.org/wiki/Cron">cron</a> on the <i>Wikipedia
|
|
173
|
+
* website</i>.</p>
|
|
174
|
+
*/
|
|
175
|
+
CronExpression?: string;
|
|
176
|
+
}
|
|
177
|
+
export declare namespace ModifyInstanceEventWindowRequest {
|
|
178
|
+
/**
|
|
179
|
+
* @internal
|
|
180
|
+
*/
|
|
181
|
+
const filterSensitiveLog: (obj: ModifyInstanceEventWindowRequest) => any;
|
|
182
|
+
}
|
|
183
|
+
export interface ModifyInstanceEventWindowResult {
|
|
184
|
+
/**
|
|
185
|
+
* <p>Information about the event window.</p>
|
|
186
|
+
*/
|
|
187
|
+
InstanceEventWindow?: InstanceEventWindow;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace ModifyInstanceEventWindowResult {
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
const filterSensitiveLog: (obj: ModifyInstanceEventWindowResult) => any;
|
|
194
|
+
}
|
|
195
|
+
export interface ModifyInstanceMetadataOptionsRequest {
|
|
196
|
+
/**
|
|
197
|
+
* <p>The ID of the instance.</p>
|
|
198
|
+
*/
|
|
199
|
+
InstanceId: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* <p>The state of token usage for your instance metadata requests. If the parameter is not
|
|
202
|
+
* specified in the request, the default state is <code>optional</code>.</p>
|
|
203
|
+
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
204
|
+
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
205
|
+
* credentials without a token, the version 1.0 role credentials are returned. If you
|
|
206
|
+
* retrieve the IAM role credentials using a valid signed token, the version 2.0 role
|
|
207
|
+
* credentials are returned.</p>
|
|
208
|
+
* <p>If the state is <code>required</code>, you must send a signed token header with any
|
|
209
|
+
* instance metadata retrieval requests. In this state, retrieving the IAM role credential
|
|
210
|
+
* always returns the version 2.0 credentials; the version 1.0 credentials are not
|
|
211
|
+
* available.</p>
|
|
212
|
+
*/
|
|
213
|
+
HttpTokens?: HttpTokensState | string;
|
|
214
|
+
/**
|
|
215
|
+
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
216
|
+
* number, the further instance metadata requests can travel. If no parameter is specified, the existing state is maintained.</p>
|
|
217
|
+
* <p>Possible values: Integers from 1 to 64</p>
|
|
218
|
+
*/
|
|
219
|
+
HttpPutResponseHopLimit?: number;
|
|
220
|
+
/**
|
|
221
|
+
* <p>This parameter enables or disables the HTTP metadata endpoint on your instances. If
|
|
222
|
+
* the parameter is not specified, the existing state is maintained.</p>
|
|
223
|
+
* <note>
|
|
224
|
+
* <p>If you specify a value of <code>disabled</code>, you will not be able to access your
|
|
225
|
+
* instance metadata.</p>
|
|
226
|
+
* </note>
|
|
227
|
+
*/
|
|
228
|
+
HttpEndpoint?: InstanceMetadataEndpointState | string;
|
|
229
|
+
/**
|
|
230
|
+
* <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>
|
|
231
|
+
*/
|
|
232
|
+
DryRun?: boolean;
|
|
233
|
+
/**
|
|
234
|
+
* <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
|
|
235
|
+
*/
|
|
236
|
+
HttpProtocolIpv6?: InstanceMetadataProtocolState | string;
|
|
237
|
+
}
|
|
238
|
+
export declare namespace ModifyInstanceMetadataOptionsRequest {
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
const filterSensitiveLog: (obj: ModifyInstanceMetadataOptionsRequest) => any;
|
|
243
|
+
}
|
|
244
|
+
export interface ModifyInstanceMetadataOptionsResult {
|
|
245
|
+
/**
|
|
246
|
+
* <p>The ID of the instance.</p>
|
|
247
|
+
*/
|
|
248
|
+
InstanceId?: string;
|
|
249
|
+
/**
|
|
250
|
+
* <p>The metadata options for the instance.</p>
|
|
251
|
+
*/
|
|
252
|
+
InstanceMetadataOptions?: InstanceMetadataOptionsResponse;
|
|
253
|
+
}
|
|
254
|
+
export declare namespace ModifyInstanceMetadataOptionsResult {
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
const filterSensitiveLog: (obj: ModifyInstanceMetadataOptionsResult) => any;
|
|
259
|
+
}
|
|
260
|
+
export declare type HostTenancy = "dedicated" | "host";
|
|
261
|
+
export interface ModifyInstancePlacementRequest {
|
|
262
|
+
/**
|
|
263
|
+
* <p>The affinity setting for the instance.</p>
|
|
264
|
+
*/
|
|
265
|
+
Affinity?: Affinity | string;
|
|
266
|
+
/**
|
|
267
|
+
* <p>The name of the placement group in which to place the instance. For spread placement
|
|
268
|
+
* groups, the instance must have a tenancy of <code>default</code>. For cluster and
|
|
269
|
+
* partition placement groups, the instance must have a tenancy of <code>default</code> or
|
|
270
|
+
* <code>dedicated</code>.</p>
|
|
271
|
+
* <p>To remove an instance from a placement group, specify an empty string
|
|
272
|
+
* ("").</p>
|
|
273
|
+
*/
|
|
274
|
+
GroupName?: string;
|
|
275
|
+
/**
|
|
276
|
+
* <p>The ID of the Dedicated Host with which to associate the instance.</p>
|
|
277
|
+
*/
|
|
278
|
+
HostId?: string;
|
|
279
|
+
/**
|
|
280
|
+
* <p>The ID of the instance that you are modifying.</p>
|
|
281
|
+
*/
|
|
282
|
+
InstanceId: string | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The tenancy for the instance.</p>
|
|
285
|
+
*
|
|
286
|
+
* <note>
|
|
287
|
+
* <p>For T3 instances, you can't change the tenancy from <code>dedicated</code>
|
|
288
|
+
* to <code>host</code>, or from <code>host</code> to <code>dedicated</code>.
|
|
289
|
+
* Attempting to make one of these unsupported tenancy changes results in the
|
|
290
|
+
* <code>InvalidTenancy</code> error code.</p>
|
|
291
|
+
* </note>
|
|
292
|
+
*/
|
|
293
|
+
Tenancy?: HostTenancy | string;
|
|
294
|
+
/**
|
|
295
|
+
* <p>Reserved for future use.</p>
|
|
296
|
+
*/
|
|
297
|
+
PartitionNumber?: number;
|
|
298
|
+
/**
|
|
299
|
+
* <p>The ARN of the host resource group in which to place the instance.</p>
|
|
300
|
+
*/
|
|
301
|
+
HostResourceGroupArn?: string;
|
|
302
|
+
}
|
|
303
|
+
export declare namespace ModifyInstancePlacementRequest {
|
|
304
|
+
/**
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
const filterSensitiveLog: (obj: ModifyInstancePlacementRequest) => any;
|
|
308
|
+
}
|
|
309
|
+
export interface ModifyInstancePlacementResult {
|
|
310
|
+
/**
|
|
311
|
+
* <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
|
|
312
|
+
*/
|
|
313
|
+
Return?: boolean;
|
|
314
|
+
}
|
|
315
|
+
export declare namespace ModifyInstancePlacementResult {
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
const filterSensitiveLog: (obj: ModifyInstancePlacementResult) => any;
|
|
320
|
+
}
|
|
321
|
+
export interface ModifyLaunchTemplateRequest {
|
|
322
|
+
/**
|
|
323
|
+
* <p>Checks whether you have the required permissions for the action, without actually
|
|
324
|
+
* making the request, and provides an error response. If you have the required
|
|
325
|
+
* permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
|
|
326
|
+
* <code>UnauthorizedOperation</code>.</p>
|
|
327
|
+
*/
|
|
328
|
+
DryRun?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
331
|
+
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
332
|
+
* Idempotency</a>.</p>
|
|
333
|
+
* <p>Constraint: Maximum 128 ASCII characters.</p>
|
|
334
|
+
*/
|
|
335
|
+
ClientToken?: string;
|
|
336
|
+
/**
|
|
337
|
+
* <p>The ID of the launch template. You must specify either the launch template ID or
|
|
338
|
+
* launch template name in the request.</p>
|
|
339
|
+
*/
|
|
340
|
+
LaunchTemplateId?: string;
|
|
341
|
+
/**
|
|
342
|
+
* <p>The name of the launch template. You must specify either the launch template ID or
|
|
343
|
+
* launch template name in the request.</p>
|
|
344
|
+
*/
|
|
345
|
+
LaunchTemplateName?: string;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The version number of the launch template to set as the default version.</p>
|
|
348
|
+
*/
|
|
349
|
+
DefaultVersion?: string;
|
|
350
|
+
}
|
|
351
|
+
export declare namespace ModifyLaunchTemplateRequest {
|
|
352
|
+
/**
|
|
353
|
+
* @internal
|
|
354
|
+
*/
|
|
355
|
+
const filterSensitiveLog: (obj: ModifyLaunchTemplateRequest) => any;
|
|
356
|
+
}
|
|
357
|
+
export interface ModifyLaunchTemplateResult {
|
|
358
|
+
/**
|
|
359
|
+
* <p>Information about the launch template.</p>
|
|
360
|
+
*/
|
|
361
|
+
LaunchTemplate?: LaunchTemplate;
|
|
362
|
+
}
|
|
363
|
+
export declare namespace ModifyLaunchTemplateResult {
|
|
364
|
+
/**
|
|
365
|
+
* @internal
|
|
366
|
+
*/
|
|
367
|
+
const filterSensitiveLog: (obj: ModifyLaunchTemplateResult) => any;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* <p>An entry for a prefix list.</p>
|
|
371
|
+
*/
|
|
372
|
+
export interface RemovePrefixListEntry {
|
|
373
|
+
/**
|
|
374
|
+
* <p>The CIDR block.</p>
|
|
375
|
+
*/
|
|
376
|
+
Cidr: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export declare namespace RemovePrefixListEntry {
|
|
379
|
+
/**
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
const filterSensitiveLog: (obj: RemovePrefixListEntry) => any;
|
|
383
|
+
}
|
|
384
|
+
export interface ModifyManagedPrefixListRequest {
|
|
385
|
+
/**
|
|
386
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
387
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
388
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
389
|
+
*/
|
|
390
|
+
DryRun?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* <p>The ID of the prefix list.</p>
|
|
393
|
+
*/
|
|
394
|
+
PrefixListId: string | undefined;
|
|
395
|
+
/**
|
|
396
|
+
* <p>The current version of the prefix list.</p>
|
|
397
|
+
*/
|
|
398
|
+
CurrentVersion?: number;
|
|
399
|
+
/**
|
|
400
|
+
* <p>A name for the prefix list.</p>
|
|
401
|
+
*/
|
|
402
|
+
PrefixListName?: string;
|
|
403
|
+
/**
|
|
404
|
+
* <p>One or more entries to add to the prefix list.</p>
|
|
405
|
+
*/
|
|
406
|
+
AddEntries?: AddPrefixListEntry[];
|
|
407
|
+
/**
|
|
408
|
+
* <p>One or more entries to remove from the prefix list.</p>
|
|
409
|
+
*/
|
|
410
|
+
RemoveEntries?: RemovePrefixListEntry[];
|
|
411
|
+
/**
|
|
412
|
+
* <p>The maximum number of entries for the prefix list. You cannot modify the entries
|
|
413
|
+
* of a prefix list and modify the size of a prefix list at the same time.</p>
|
|
414
|
+
* <p>If any of the resources that reference the prefix list cannot support the new
|
|
415
|
+
* maximum size, the modify operation fails. Check the state message for the IDs of
|
|
416
|
+
* the first ten resources that do not support the new maximum size.</p>
|
|
417
|
+
*/
|
|
418
|
+
MaxEntries?: number;
|
|
419
|
+
}
|
|
420
|
+
export declare namespace ModifyManagedPrefixListRequest {
|
|
421
|
+
/**
|
|
422
|
+
* @internal
|
|
423
|
+
*/
|
|
424
|
+
const filterSensitiveLog: (obj: ModifyManagedPrefixListRequest) => any;
|
|
425
|
+
}
|
|
426
|
+
export interface ModifyManagedPrefixListResult {
|
|
427
|
+
/**
|
|
428
|
+
* <p>Information about the prefix list.</p>
|
|
429
|
+
*/
|
|
430
|
+
PrefixList?: ManagedPrefixList;
|
|
431
|
+
}
|
|
432
|
+
export declare namespace ModifyManagedPrefixListResult {
|
|
433
|
+
/**
|
|
434
|
+
* @internal
|
|
435
|
+
*/
|
|
436
|
+
const filterSensitiveLog: (obj: ModifyManagedPrefixListResult) => any;
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* <p>Describes an attachment change.</p>
|
|
440
|
+
*/
|
|
441
|
+
export interface NetworkInterfaceAttachmentChanges {
|
|
442
|
+
/**
|
|
443
|
+
* <p>The ID of the network interface attachment.</p>
|
|
444
|
+
*/
|
|
445
|
+
AttachmentId?: string;
|
|
446
|
+
/**
|
|
447
|
+
* <p>Indicates whether the network interface is deleted when the instance is terminated.</p>
|
|
448
|
+
*/
|
|
449
|
+
DeleteOnTermination?: boolean;
|
|
450
|
+
}
|
|
451
|
+
export declare namespace NetworkInterfaceAttachmentChanges {
|
|
452
|
+
/**
|
|
453
|
+
* @internal
|
|
454
|
+
*/
|
|
455
|
+
const filterSensitiveLog: (obj: NetworkInterfaceAttachmentChanges) => any;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* <p>Contains the parameters for ModifyNetworkInterfaceAttribute.</p>
|
|
459
|
+
*/
|
|
460
|
+
export interface ModifyNetworkInterfaceAttributeRequest {
|
|
461
|
+
/**
|
|
462
|
+
* <p>Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.</p>
|
|
463
|
+
*/
|
|
464
|
+
Attachment?: NetworkInterfaceAttachmentChanges;
|
|
465
|
+
/**
|
|
466
|
+
* <p>A description for the network interface.</p>
|
|
467
|
+
*/
|
|
468
|
+
Description?: AttributeValue;
|
|
469
|
+
/**
|
|
470
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
471
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
472
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
473
|
+
*/
|
|
474
|
+
DryRun?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* <p>Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.</p>
|
|
477
|
+
*/
|
|
478
|
+
Groups?: string[];
|
|
479
|
+
/**
|
|
480
|
+
* <p>The ID of the network interface.</p>
|
|
481
|
+
*/
|
|
482
|
+
NetworkInterfaceId: string | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* <p>Enable or disable source/destination checks, which ensure that the instance
|
|
485
|
+
* is either the source or the destination of any traffic that it receives.
|
|
486
|
+
* If the value is <code>true</code>, source/destination checks are enabled;
|
|
487
|
+
* otherwise, they are disabled. The default value is <code>true</code>.
|
|
488
|
+
* You must disable source/destination checks if the instance runs services
|
|
489
|
+
* such as network address translation, routing, or firewalls.</p>
|
|
490
|
+
*/
|
|
491
|
+
SourceDestCheck?: AttributeBooleanValue;
|
|
492
|
+
}
|
|
493
|
+
export declare namespace ModifyNetworkInterfaceAttributeRequest {
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
*/
|
|
497
|
+
const filterSensitiveLog: (obj: ModifyNetworkInterfaceAttributeRequest) => any;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* <p>Contains the parameters for ModifyReservedInstances.</p>
|
|
501
|
+
*/
|
|
502
|
+
export interface ModifyReservedInstancesRequest {
|
|
503
|
+
/**
|
|
504
|
+
* <p>The IDs of the Reserved Instances to modify.</p>
|
|
505
|
+
*/
|
|
506
|
+
ReservedInstancesIds: string[] | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* <p>A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see
|
|
509
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>
|
|
510
|
+
*/
|
|
511
|
+
ClientToken?: string;
|
|
512
|
+
/**
|
|
513
|
+
* <p>The configuration settings for the Reserved Instances to modify.</p>
|
|
514
|
+
*/
|
|
515
|
+
TargetConfigurations: ReservedInstancesConfiguration[] | undefined;
|
|
516
|
+
}
|
|
517
|
+
export declare namespace ModifyReservedInstancesRequest {
|
|
518
|
+
/**
|
|
519
|
+
* @internal
|
|
520
|
+
*/
|
|
521
|
+
const filterSensitiveLog: (obj: ModifyReservedInstancesRequest) => any;
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* <p>Contains the output of ModifyReservedInstances.</p>
|
|
525
|
+
*/
|
|
526
|
+
export interface ModifyReservedInstancesResult {
|
|
527
|
+
/**
|
|
528
|
+
* <p>The ID for the modification.</p>
|
|
529
|
+
*/
|
|
530
|
+
ReservedInstancesModificationId?: string;
|
|
531
|
+
}
|
|
532
|
+
export declare namespace ModifyReservedInstancesResult {
|
|
533
|
+
/**
|
|
534
|
+
* @internal
|
|
535
|
+
*/
|
|
536
|
+
const filterSensitiveLog: (obj: ModifyReservedInstancesResult) => any;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* <p>Describes a security group rule.</p>
|
|
540
|
+
* <p>You must specify exactly one of the following parameters, based on the rule type:</p>
|
|
541
|
+
* <ul>
|
|
542
|
+
* <li>
|
|
543
|
+
* <p>CidrIpv4</p>
|
|
544
|
+
* </li>
|
|
545
|
+
* <li>
|
|
546
|
+
* <p>CidrIpv6</p>
|
|
547
|
+
* </li>
|
|
548
|
+
* <li>
|
|
549
|
+
* <p>PrefixListId</p>
|
|
550
|
+
* </li>
|
|
551
|
+
* <li>
|
|
552
|
+
* <p>ReferencedGroupId</p>
|
|
553
|
+
* </li>
|
|
554
|
+
* </ul>
|
|
555
|
+
* <p>When you modify a rule, you cannot change the rule type. For example, if the rule
|
|
556
|
+
* uses an IPv4 address range, you must use <code>CidrIpv4</code> to specify a new IPv4
|
|
557
|
+
* address range.</p>
|
|
558
|
+
*/
|
|
559
|
+
export interface SecurityGroupRuleRequest {
|
|
560
|
+
/**
|
|
561
|
+
* <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>,
|
|
562
|
+
* <code>icmpv6</code>) or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). </p>
|
|
563
|
+
* <p>Use <code>-1</code> to specify all protocols.</p>
|
|
564
|
+
*/
|
|
565
|
+
IpProtocol?: string;
|
|
566
|
+
/**
|
|
567
|
+
* <p>The start of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all codes.</p>
|
|
568
|
+
*/
|
|
569
|
+
FromPort?: number;
|
|
570
|
+
/**
|
|
571
|
+
* <p>The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code. A value of <code>-1</code> indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all codes. </p>
|
|
572
|
+
*/
|
|
573
|
+
ToPort?: number;
|
|
574
|
+
/**
|
|
575
|
+
* <p>The IPv4 CIDR range. To specify a single IPv4 address, use the /32 prefix length. </p>
|
|
576
|
+
*/
|
|
577
|
+
CidrIpv4?: string;
|
|
578
|
+
/**
|
|
579
|
+
* <p>The IPv6 CIDR range. To specify a single IPv6 address, use the /128 prefix length.</p>
|
|
580
|
+
*/
|
|
581
|
+
CidrIpv6?: string;
|
|
582
|
+
/**
|
|
583
|
+
* <p>The ID of the prefix list.</p>
|
|
584
|
+
*/
|
|
585
|
+
PrefixListId?: string;
|
|
586
|
+
/**
|
|
587
|
+
* <p>The ID of the security group that is referenced in the security group rule.</p>
|
|
588
|
+
*/
|
|
589
|
+
ReferencedGroupId?: string;
|
|
590
|
+
/**
|
|
591
|
+
* <p>The description of the security group rule.</p>
|
|
592
|
+
*/
|
|
593
|
+
Description?: string;
|
|
594
|
+
}
|
|
595
|
+
export declare namespace SecurityGroupRuleRequest {
|
|
596
|
+
/**
|
|
597
|
+
* @internal
|
|
598
|
+
*/
|
|
599
|
+
const filterSensitiveLog: (obj: SecurityGroupRuleRequest) => any;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* <p>Describes an update to a security group rule.</p>
|
|
603
|
+
*/
|
|
604
|
+
export interface SecurityGroupRuleUpdate {
|
|
605
|
+
/**
|
|
606
|
+
* <p>The ID of the security group rule.</p>
|
|
607
|
+
*/
|
|
608
|
+
SecurityGroupRuleId?: string;
|
|
609
|
+
/**
|
|
610
|
+
* <p>Information about the security group rule.</p>
|
|
611
|
+
*/
|
|
612
|
+
SecurityGroupRule?: SecurityGroupRuleRequest;
|
|
613
|
+
}
|
|
614
|
+
export declare namespace SecurityGroupRuleUpdate {
|
|
615
|
+
/**
|
|
616
|
+
* @internal
|
|
617
|
+
*/
|
|
618
|
+
const filterSensitiveLog: (obj: SecurityGroupRuleUpdate) => any;
|
|
619
|
+
}
|
|
620
|
+
export interface ModifySecurityGroupRulesRequest {
|
|
621
|
+
/**
|
|
622
|
+
* <p>The ID of the security group.</p>
|
|
623
|
+
*/
|
|
624
|
+
GroupId: string | undefined;
|
|
625
|
+
/**
|
|
626
|
+
* <p>Information about the security group properties to update.</p>
|
|
627
|
+
*/
|
|
628
|
+
SecurityGroupRules: SecurityGroupRuleUpdate[] | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
631
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
632
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
633
|
+
*/
|
|
634
|
+
DryRun?: boolean;
|
|
635
|
+
}
|
|
636
|
+
export declare namespace ModifySecurityGroupRulesRequest {
|
|
637
|
+
/**
|
|
638
|
+
* @internal
|
|
639
|
+
*/
|
|
640
|
+
const filterSensitiveLog: (obj: ModifySecurityGroupRulesRequest) => any;
|
|
641
|
+
}
|
|
642
|
+
export interface ModifySecurityGroupRulesResult {
|
|
643
|
+
/**
|
|
644
|
+
* <p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>
|
|
645
|
+
*/
|
|
646
|
+
Return?: boolean;
|
|
647
|
+
}
|
|
648
|
+
export declare namespace ModifySecurityGroupRulesResult {
|
|
649
|
+
/**
|
|
650
|
+
* @internal
|
|
651
|
+
*/
|
|
652
|
+
const filterSensitiveLog: (obj: ModifySecurityGroupRulesResult) => any;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* <p>Describes modifications to the list of create volume permissions for a volume.</p>
|
|
656
|
+
*/
|
|
657
|
+
export interface CreateVolumePermissionModifications {
|
|
658
|
+
/**
|
|
659
|
+
* <p>Adds the specified Amazon Web Services account ID or group to the list.</p>
|
|
660
|
+
*/
|
|
661
|
+
Add?: CreateVolumePermission[];
|
|
662
|
+
/**
|
|
663
|
+
* <p>Removes the specified Amazon Web Services account ID or group from the list.</p>
|
|
664
|
+
*/
|
|
665
|
+
Remove?: CreateVolumePermission[];
|
|
666
|
+
}
|
|
667
|
+
export declare namespace CreateVolumePermissionModifications {
|
|
668
|
+
/**
|
|
669
|
+
* @internal
|
|
670
|
+
*/
|
|
671
|
+
const filterSensitiveLog: (obj: CreateVolumePermissionModifications) => any;
|
|
672
|
+
}
|
|
673
|
+
export interface ModifySnapshotAttributeRequest {
|
|
674
|
+
/**
|
|
675
|
+
* <p>The snapshot attribute to modify. Only volume creation permissions can be modified.</p>
|
|
676
|
+
*/
|
|
677
|
+
Attribute?: SnapshotAttributeName | string;
|
|
678
|
+
/**
|
|
679
|
+
* <p>A JSON representation of the snapshot attribute modification.</p>
|
|
680
|
+
*/
|
|
681
|
+
CreateVolumePermission?: CreateVolumePermissionModifications;
|
|
682
|
+
/**
|
|
683
|
+
* <p>The group to modify for the snapshot.</p>
|
|
684
|
+
*/
|
|
685
|
+
GroupNames?: string[];
|
|
686
|
+
/**
|
|
687
|
+
* <p>The type of operation to perform to the attribute.</p>
|
|
688
|
+
*/
|
|
689
|
+
OperationType?: OperationType | string;
|
|
690
|
+
/**
|
|
691
|
+
* <p>The ID of the snapshot.</p>
|
|
692
|
+
*/
|
|
693
|
+
SnapshotId: string | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* <p>The account ID to modify for the snapshot.</p>
|
|
696
|
+
*/
|
|
697
|
+
UserIds?: string[];
|
|
698
|
+
/**
|
|
699
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
700
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
701
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
702
|
+
*/
|
|
703
|
+
DryRun?: boolean;
|
|
704
|
+
}
|
|
705
|
+
export declare namespace ModifySnapshotAttributeRequest {
|
|
706
|
+
/**
|
|
707
|
+
* @internal
|
|
708
|
+
*/
|
|
709
|
+
const filterSensitiveLog: (obj: ModifySnapshotAttributeRequest) => any;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* <p>Contains the parameters for ModifySpotFleetRequest.</p>
|
|
713
|
+
*/
|
|
714
|
+
export interface ModifySpotFleetRequestRequest {
|
|
715
|
+
/**
|
|
716
|
+
* <p>Indicates whether running Spot Instances should be terminated if the target capacity
|
|
717
|
+
* of the Spot Fleet request is decreased below the current size of the Spot Fleet.</p>
|
|
718
|
+
*/
|
|
719
|
+
ExcessCapacityTerminationPolicy?: ExcessCapacityTerminationPolicy | string;
|
|
720
|
+
/**
|
|
721
|
+
* <p>The launch template and overrides. You can only use this parameter if you specified a
|
|
722
|
+
* launch template (<code>LaunchTemplateConfigs</code>) in your Spot Fleet request. If you
|
|
723
|
+
* specified <code>LaunchSpecifications</code> in your Spot Fleet request, then omit this
|
|
724
|
+
* parameter.</p>
|
|
725
|
+
*/
|
|
726
|
+
LaunchTemplateConfigs?: LaunchTemplateConfig[];
|
|
727
|
+
/**
|
|
728
|
+
* <p>The ID of the Spot Fleet request.</p>
|
|
729
|
+
*/
|
|
730
|
+
SpotFleetRequestId: string | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* <p>The size of the fleet.</p>
|
|
733
|
+
*/
|
|
734
|
+
TargetCapacity?: number;
|
|
735
|
+
/**
|
|
736
|
+
* <p>The number of On-Demand Instances in the fleet.</p>
|
|
737
|
+
*/
|
|
738
|
+
OnDemandTargetCapacity?: number;
|
|
739
|
+
/**
|
|
740
|
+
* <p>Reserved.</p>
|
|
741
|
+
*/
|
|
742
|
+
Context?: string;
|
|
743
|
+
}
|
|
744
|
+
export declare namespace ModifySpotFleetRequestRequest {
|
|
745
|
+
/**
|
|
746
|
+
* @internal
|
|
747
|
+
*/
|
|
748
|
+
const filterSensitiveLog: (obj: ModifySpotFleetRequestRequest) => any;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* <p>Contains the output of ModifySpotFleetRequest.</p>
|
|
752
|
+
*/
|
|
753
|
+
export interface ModifySpotFleetRequestResponse {
|
|
754
|
+
/**
|
|
755
|
+
* <p>Is <code>true</code> if the request succeeds, and an error otherwise.</p>
|
|
756
|
+
*/
|
|
757
|
+
Return?: boolean;
|
|
758
|
+
}
|
|
759
|
+
export declare namespace ModifySpotFleetRequestResponse {
|
|
760
|
+
/**
|
|
761
|
+
* @internal
|
|
762
|
+
*/
|
|
763
|
+
const filterSensitiveLog: (obj: ModifySpotFleetRequestResponse) => any;
|
|
764
|
+
}
|
|
765
|
+
export interface ModifySubnetAttributeRequest {
|
|
766
|
+
/**
|
|
767
|
+
* <p>Specify <code>true</code> to indicate that network interfaces created in the
|
|
768
|
+
* specified subnet should be assigned an IPv6 address. This includes a network interface
|
|
769
|
+
* that's created when launching an instance into the subnet (the instance therefore
|
|
770
|
+
* receives an IPv6 address). </p>
|
|
771
|
+
* <p>If you enable the IPv6 addressing feature for your subnet, your network interface
|
|
772
|
+
* or instance only receives an IPv6 address if it's created using version
|
|
773
|
+
* <code>2016-11-15</code> or later of the Amazon EC2 API.</p>
|
|
774
|
+
*/
|
|
775
|
+
AssignIpv6AddressOnCreation?: AttributeBooleanValue;
|
|
776
|
+
/**
|
|
777
|
+
* <p>Specify <code>true</code> to indicate that network interfaces attached to instances created in the
|
|
778
|
+
* specified subnet should be assigned a public IPv4 address.</p>
|
|
779
|
+
*/
|
|
780
|
+
MapPublicIpOnLaunch?: AttributeBooleanValue;
|
|
781
|
+
/**
|
|
782
|
+
* <p>The ID of the subnet.</p>
|
|
783
|
+
*/
|
|
784
|
+
SubnetId: string | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* <p>Specify <code>true</code> to indicate that network interfaces attached to instances created in the
|
|
787
|
+
* specified subnet should be assigned a customer-owned IPv4 address.</p>
|
|
788
|
+
* <p>When this value is <code>true</code>, you must specify the customer-owned IP pool using <code>CustomerOwnedIpv4Pool</code>.</p>
|
|
789
|
+
*/
|
|
790
|
+
MapCustomerOwnedIpOnLaunch?: AttributeBooleanValue;
|
|
791
|
+
/**
|
|
792
|
+
* <p>The customer-owned IPv4 address pool associated with the subnet.</p>
|
|
793
|
+
* <p>You must set this value when you specify <code>true</code> for <code>MapCustomerOwnedIpOnLaunch</code>.</p>
|
|
794
|
+
*/
|
|
795
|
+
CustomerOwnedIpv4Pool?: string;
|
|
796
|
+
}
|
|
797
|
+
export declare namespace ModifySubnetAttributeRequest {
|
|
798
|
+
/**
|
|
799
|
+
* @internal
|
|
800
|
+
*/
|
|
801
|
+
const filterSensitiveLog: (obj: ModifySubnetAttributeRequest) => any;
|
|
802
|
+
}
|
|
803
|
+
export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
|
|
804
|
+
/**
|
|
805
|
+
* <p>The ID of the Traffic Mirror filter.</p>
|
|
806
|
+
*/
|
|
807
|
+
TrafficMirrorFilterId: string | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>The network service, for example Amazon DNS, that you want to mirror.</p>
|
|
810
|
+
*/
|
|
811
|
+
AddNetworkServices?: (TrafficMirrorNetworkService | string)[];
|
|
812
|
+
/**
|
|
813
|
+
* <p>The network service, for example Amazon DNS, that you no longer want to mirror.</p>
|
|
814
|
+
*/
|
|
815
|
+
RemoveNetworkServices?: (TrafficMirrorNetworkService | string)[];
|
|
816
|
+
/**
|
|
817
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
818
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
819
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
820
|
+
*/
|
|
821
|
+
DryRun?: boolean;
|
|
822
|
+
}
|
|
823
|
+
export declare namespace ModifyTrafficMirrorFilterNetworkServicesRequest {
|
|
824
|
+
/**
|
|
825
|
+
* @internal
|
|
826
|
+
*/
|
|
827
|
+
const filterSensitiveLog: (obj: ModifyTrafficMirrorFilterNetworkServicesRequest) => any;
|
|
828
|
+
}
|
|
829
|
+
export interface ModifyTrafficMirrorFilterNetworkServicesResult {
|
|
830
|
+
/**
|
|
831
|
+
* <p>The Traffic Mirror filter that the network service is associated with.</p>
|
|
832
|
+
*/
|
|
833
|
+
TrafficMirrorFilter?: TrafficMirrorFilter;
|
|
834
|
+
}
|
|
835
|
+
export declare namespace ModifyTrafficMirrorFilterNetworkServicesResult {
|
|
836
|
+
/**
|
|
837
|
+
* @internal
|
|
838
|
+
*/
|
|
839
|
+
const filterSensitiveLog: (obj: ModifyTrafficMirrorFilterNetworkServicesResult) => any;
|
|
840
|
+
}
|
|
841
|
+
export declare type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range";
|
|
842
|
+
export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
843
|
+
/**
|
|
844
|
+
* <p>The ID of the Traffic Mirror rule.</p>
|
|
845
|
+
*/
|
|
846
|
+
TrafficMirrorFilterRuleId: string | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* <p>The type of traffic to assign to the rule.</p>
|
|
849
|
+
*/
|
|
850
|
+
TrafficDirection?: TrafficDirection | string;
|
|
851
|
+
/**
|
|
852
|
+
* <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
|
|
853
|
+
* direction. The rules are processed in ascending order by rule number.</p>
|
|
854
|
+
*/
|
|
855
|
+
RuleNumber?: number;
|
|
856
|
+
/**
|
|
857
|
+
* <p>The action to assign to the rule.</p>
|
|
858
|
+
*/
|
|
859
|
+
RuleAction?: TrafficMirrorRuleAction | string;
|
|
860
|
+
/**
|
|
861
|
+
* <p>The destination ports that are associated with the Traffic Mirror rule.</p>
|
|
862
|
+
*/
|
|
863
|
+
DestinationPortRange?: TrafficMirrorPortRangeRequest;
|
|
864
|
+
/**
|
|
865
|
+
* <p>The port range to assign to the Traffic Mirror rule.</p>
|
|
866
|
+
*/
|
|
867
|
+
SourcePortRange?: TrafficMirrorPortRangeRequest;
|
|
868
|
+
/**
|
|
869
|
+
* <p>The protocol, for example TCP, to assign to the Traffic Mirror rule.</p>
|
|
870
|
+
*/
|
|
871
|
+
Protocol?: number;
|
|
872
|
+
/**
|
|
873
|
+
* <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
|
|
874
|
+
*/
|
|
875
|
+
DestinationCidrBlock?: string;
|
|
876
|
+
/**
|
|
877
|
+
* <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
|
|
878
|
+
*/
|
|
879
|
+
SourceCidrBlock?: string;
|
|
880
|
+
/**
|
|
881
|
+
* <p>The description to assign to the Traffic Mirror rule.</p>
|
|
882
|
+
*/
|
|
883
|
+
Description?: string;
|
|
884
|
+
/**
|
|
885
|
+
* <p>The properties that you want to remove from the Traffic Mirror filter rule.</p>
|
|
886
|
+
* <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
|
|
887
|
+
*/
|
|
888
|
+
RemoveFields?: (TrafficMirrorFilterRuleField | string)[];
|
|
889
|
+
/**
|
|
890
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
891
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
892
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
893
|
+
*/
|
|
894
|
+
DryRun?: boolean;
|
|
895
|
+
}
|
|
896
|
+
export declare namespace ModifyTrafficMirrorFilterRuleRequest {
|
|
897
|
+
/**
|
|
898
|
+
* @internal
|
|
899
|
+
*/
|
|
900
|
+
const filterSensitiveLog: (obj: ModifyTrafficMirrorFilterRuleRequest) => any;
|
|
901
|
+
}
|
|
902
|
+
export interface ModifyTrafficMirrorFilterRuleResult {
|
|
903
|
+
/**
|
|
904
|
+
* <p>Modifies a Traffic Mirror rule.</p>
|
|
905
|
+
*/
|
|
906
|
+
TrafficMirrorFilterRule?: TrafficMirrorFilterRule;
|
|
907
|
+
}
|
|
908
|
+
export declare namespace ModifyTrafficMirrorFilterRuleResult {
|
|
909
|
+
/**
|
|
910
|
+
* @internal
|
|
911
|
+
*/
|
|
912
|
+
const filterSensitiveLog: (obj: ModifyTrafficMirrorFilterRuleResult) => any;
|
|
913
|
+
}
|
|
914
|
+
export declare type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id";
|
|
915
|
+
export interface ModifyTrafficMirrorSessionRequest {
|
|
916
|
+
/**
|
|
917
|
+
* <p>The ID of the Traffic Mirror session.</p>
|
|
918
|
+
*/
|
|
919
|
+
TrafficMirrorSessionId: string | undefined;
|
|
920
|
+
/**
|
|
921
|
+
* <p>The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.</p>
|
|
922
|
+
*/
|
|
923
|
+
TrafficMirrorTargetId?: string;
|
|
924
|
+
/**
|
|
925
|
+
* <p>The ID of the Traffic Mirror filter.</p>
|
|
926
|
+
*/
|
|
927
|
+
TrafficMirrorFilterId?: string;
|
|
928
|
+
/**
|
|
929
|
+
* <p>The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.</p>
|
|
930
|
+
*/
|
|
931
|
+
PacketLength?: number;
|
|
932
|
+
/**
|
|
933
|
+
* <p>The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.</p>
|
|
934
|
+
* <p>Valid values are 1-32766.</p>
|
|
935
|
+
*/
|
|
936
|
+
SessionNumber?: number;
|
|
937
|
+
/**
|
|
938
|
+
* <p>The virtual network ID of the Traffic Mirror session.</p>
|
|
939
|
+
*/
|
|
940
|
+
VirtualNetworkId?: number;
|
|
941
|
+
/**
|
|
942
|
+
* <p>The description to assign to the Traffic Mirror session.</p>
|
|
943
|
+
*/
|
|
944
|
+
Description?: string;
|
|
945
|
+
/**
|
|
946
|
+
* <p>The properties that you want to remove from the Traffic Mirror session.</p>
|
|
947
|
+
* <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
|
|
948
|
+
*/
|
|
949
|
+
RemoveFields?: (TrafficMirrorSessionField | string)[];
|
|
950
|
+
/**
|
|
951
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
952
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
953
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
954
|
+
*/
|
|
955
|
+
DryRun?: boolean;
|
|
956
|
+
}
|
|
957
|
+
export declare namespace ModifyTrafficMirrorSessionRequest {
|
|
958
|
+
/**
|
|
959
|
+
* @internal
|
|
960
|
+
*/
|
|
961
|
+
const filterSensitiveLog: (obj: ModifyTrafficMirrorSessionRequest) => any;
|
|
962
|
+
}
|
|
6
963
|
export interface ModifyTrafficMirrorSessionResult {
|
|
7
964
|
/**
|
|
8
965
|
* <p>Information about the Traffic Mirror session.</p>
|
|
@@ -1887,12 +2844,11 @@ export interface ReleaseAddressRequest {
|
|
|
1887
2844
|
*/
|
|
1888
2845
|
PublicIp?: string;
|
|
1889
2846
|
/**
|
|
1890
|
-
* <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which
|
|
2847
|
+
* <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
|
|
1891
2848
|
* IP addresses.</p>
|
|
1892
|
-
* <p>If you provide an incorrect network border group, you
|
|
1893
|
-
* <
|
|
1894
|
-
*
|
|
1895
|
-
* </note>
|
|
2849
|
+
* <p>If you provide an incorrect network border group, you receive an <code>InvalidAddress.NotFound</code> error.</p>
|
|
2850
|
+
* <p>You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
|
|
2851
|
+
* receive an <code>InvalidParameterCombination</code> error.</p>
|
|
1896
2852
|
*/
|
|
1897
2853
|
NetworkBorderGroup?: string;
|
|
1898
2854
|
/**
|
|
@@ -3220,12 +4176,10 @@ export interface InstanceMetadataOptionsRequest {
|
|
|
3220
4176
|
*/
|
|
3221
4177
|
HttpPutResponseHopLimit?: number;
|
|
3222
4178
|
/**
|
|
3223
|
-
* <p>
|
|
3224
|
-
*
|
|
3225
|
-
* <
|
|
3226
|
-
*
|
|
3227
|
-
* instance metadata.</p>
|
|
3228
|
-
* </note>
|
|
4179
|
+
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not
|
|
4180
|
+
* specified, the default state is <code>enabled</code>.</p>
|
|
4181
|
+
* <p>If you specify a value of <code>disabled</code>, you will not be able to access your
|
|
4182
|
+
* instance metadata.</p>
|
|
3229
4183
|
*/
|
|
3230
4184
|
HttpEndpoint?: InstanceMetadataEndpointState | string;
|
|
3231
4185
|
/**
|
|
@@ -3872,6 +4826,10 @@ export interface SearchLocalGatewayRoutesRequest {
|
|
|
3872
4826
|
* <p>The ID of the local gateway route table.</p>
|
|
3873
4827
|
*/
|
|
3874
4828
|
LocalGatewayRouteTableId: string | undefined;
|
|
4829
|
+
/**
|
|
4830
|
+
* <p>One or more filters.</p>
|
|
4831
|
+
*/
|
|
4832
|
+
Filters?: Filter[];
|
|
3875
4833
|
/**
|
|
3876
4834
|
* <p>The maximum number of results to return with a single call.
|
|
3877
4835
|
* To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
|
|
@@ -3887,10 +4845,6 @@ export interface SearchLocalGatewayRoutesRequest {
|
|
|
3887
4845
|
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
3888
4846
|
*/
|
|
3889
4847
|
DryRun?: boolean;
|
|
3890
|
-
/**
|
|
3891
|
-
* <p>One or more filters.</p>
|
|
3892
|
-
*/
|
|
3893
|
-
Filters: Filter[] | undefined;
|
|
3894
4848
|
}
|
|
3895
4849
|
export declare namespace SearchLocalGatewayRoutesRequest {
|
|
3896
4850
|
/**
|