@aws-sdk/client-ec2 3.1002.0 → 3.1004.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.
Files changed (32) hide show
  1. package/dist-cjs/schemas/schemas_0.js +81 -65
  2. package/dist-es/schemas/schemas_0.js +21 -5
  3. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +12 -0
  4. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +6 -0
  5. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -2
  6. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +6 -0
  7. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -2
  8. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -2
  9. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +12 -0
  10. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +6 -0
  11. package/dist-types/models/models_0.d.ts +22 -16
  12. package/dist-types/models/models_1.d.ts +20 -30
  13. package/dist-types/models/models_2.d.ts +28 -19
  14. package/dist-types/models/models_3.d.ts +18 -58
  15. package/dist-types/models/models_4.d.ts +59 -76
  16. package/dist-types/models/models_5.d.ts +74 -18
  17. package/dist-types/models/models_6.d.ts +19 -28
  18. package/dist-types/models/models_7.d.ts +33 -6
  19. package/dist-types/schemas/schemas_0.d.ts +1 -0
  20. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +4 -2
  21. package/dist-types/ts3.4/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +4 -2
  22. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +4 -2
  23. package/dist-types/ts3.4/models/models_0.d.ts +5 -4
  24. package/dist-types/ts3.4/models/models_1.d.ts +4 -8
  25. package/dist-types/ts3.4/models/models_2.d.ts +7 -5
  26. package/dist-types/ts3.4/models/models_3.d.ts +4 -5
  27. package/dist-types/ts3.4/models/models_4.d.ts +5 -8
  28. package/dist-types/ts3.4/models/models_5.d.ts +7 -4
  29. package/dist-types/ts3.4/models/models_6.d.ts +5 -10
  30. package/dist-types/ts3.4/models/models_7.d.ts +12 -2
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  32. package/package.json +40 -40
@@ -1,8 +1,65 @@
1
- import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
1
+ import { _InstanceType, ActivityStatus, AllocationStrategy, AmdSevSnpSpecification, AnalysisStatus, ArchitectureType, ArchitectureValues, AttachmentLimitType, AttachmentStatus, BandwidthWeightingType, BatchState, BootModeType, BootModeValues, CapacityReservationPreference, CurrencyCodeValues, DeviceType, DiskType, EbsEncryptionSupport, EbsNvmeSupport, EbsOptimizedSupport, EnaSupport, EphemeralNvmeSupport, EventCode, EventType, ExcessCapacityTerminationPolicy, FindingsFound, FleetType, FlexibleEnaQueuesSupport, HaStatus, HostnameType, HttpTokensState, HypervisorType, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceBootModeValues, InstanceInterruptionBehavior, InstanceLifecycleType, InstanceMetadataEndpointState, InstanceMetadataOptionsState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InstanceStateName, InstanceStorageEncryptionSupport, InstanceTypeHypervisor, KeyType, LocationType, LockState, MonitoringState, MoveStatus, NestedVirtualizationSpecification, NetworkInterfaceAttribute, NetworkInterfaceStatus, NitroEnclavesSupport, NitroTpmSupport, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PermissionGroup, PhcSupport, PlacementGroupStrategy, PlatformValues, RebootMigrationSupport, RecurringChargeFrequency, ReplacementStrategy, ReservedInstanceState, ResourceType, RIProductDescription, RootDeviceType, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotState, SpotInstanceState, SpotInstanceType, SqlServerLicenseUsage, StatusName, StatusType, StorageTier, SummaryStatus, SupportedAdditionalProcessorFeature, TargetCapacityUnitType, Tenancy, TieringOperationStatus, UsageClassType, VirtualizationType } from "./enums";
2
2
  import { type IamInstanceProfile, type IamInstanceProfileSpecification, type OperatorResponse, ActiveInstance, AlternatePathHint, Explanation, IpamResourceDiscoveryAssociation, IpPermission, MacModificationTask, PathComponent, ReservedInstancesListing, SecurityGroupRule, Subnet, Tag, TagSpecification, UserIdGroupPair } from "./models_0";
3
3
  import { type AttributeValue, type CapacityReservationTargetResponse, type ConnectionTrackingSpecificationRequest, type EnaSrdSpecificationRequest, type FleetLaunchTemplateSpecification, type InstanceRequirements, type NetworkInterfaceAttachment, type Placement, type StateReason, BlockDeviceMapping, GroupIdentifier, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPolicy, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LocalGatewayVirtualInterface, LocalGatewayVirtualInterfaceGroup, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfacePermission, PlacementGroup, PrivateIpAddressSpecification, ReplaceRootVolumeTask, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, SecondaryNetwork } from "./models_1";
4
4
  import { type SpotDatafeedSubscription, type SpotInstanceStateFault, SecondarySubnet, Snapshot, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget } from "./models_2";
5
- import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation, type ImageMetadata, type InstanceState, Byoasn, Filter, IdFormat, InstanceBlockDeviceMapping, ProductCode } from "./models_3";
5
+ import { type AttributeBooleanValue, type EnclaveOptions, type EventInformation, type ImageMetadata, Byoasn, Filter, IdFormat, InstanceBlockDeviceMapping, ProductCode } from "./models_3";
6
+ /**
7
+ * <p>Describes the current state of an instance.</p>
8
+ * @public
9
+ */
10
+ export interface InstanceState {
11
+ /**
12
+ * <p>The state of the instance as a 16-bit unsigned integer. </p>
13
+ * <p>The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values
14
+ * between 256 and 65,535. These numerical values are used for internal purposes and should
15
+ * be ignored.</p>
16
+ * <p>The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values
17
+ * between 0 and 255. </p>
18
+ * <p>The valid values for instance-state-code will all be in the range of the low byte and
19
+ * they are:</p>
20
+ * <ul>
21
+ * <li>
22
+ * <p>
23
+ * <code>0</code> : <code>pending</code>
24
+ * </p>
25
+ * </li>
26
+ * <li>
27
+ * <p>
28
+ * <code>16</code> : <code>running</code>
29
+ * </p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>32</code> : <code>shutting-down</code>
34
+ * </p>
35
+ * </li>
36
+ * <li>
37
+ * <p>
38
+ * <code>48</code> : <code>terminated</code>
39
+ * </p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <code>64</code> : <code>stopping</code>
44
+ * </p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>80</code> : <code>stopped</code>
49
+ * </p>
50
+ * </li>
51
+ * </ul>
52
+ * <p>You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in
53
+ * decimal.</p>
54
+ * @public
55
+ */
56
+ Code?: number | undefined;
57
+ /**
58
+ * <p>The current state of the instance.</p>
59
+ * @public
60
+ */
61
+ Name?: InstanceStateName | undefined;
62
+ }
6
63
  /**
7
64
  * <p>Information about the instance and the AMI used to launch the instance.</p>
8
65
  * @public
@@ -13175,77 +13232,3 @@ export interface DescribeTrafficMirrorTargetsResult {
13175
13232
  */
13176
13233
  NextToken?: string | undefined;
13177
13234
  }
13178
- /**
13179
- * @public
13180
- */
13181
- export interface DescribeTransitGatewayAttachmentsRequest {
13182
- /**
13183
- * <p>The IDs of the attachments.</p>
13184
- * @public
13185
- */
13186
- TransitGatewayAttachmentIds?: string[] | undefined;
13187
- /**
13188
- * <p>One or more filters. The possible values are:</p>
13189
- * <ul>
13190
- * <li>
13191
- * <p>
13192
- * <code>association.state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
13193
- * <code>disassociating</code>).</p>
13194
- * </li>
13195
- * <li>
13196
- * <p>
13197
- * <code>association.transit-gateway-route-table-id</code> - The ID of the route table for the transit gateway.</p>
13198
- * </li>
13199
- * <li>
13200
- * <p>
13201
- * <code>resource-id</code> - The ID of the resource.</p>
13202
- * </li>
13203
- * <li>
13204
- * <p>
13205
- * <code>resource-owner-id</code> - The ID of the Amazon Web Services account that owns the resource.</p>
13206
- * </li>
13207
- * <li>
13208
- * <p>
13209
- * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
13210
- * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
13211
- * | <code>connect</code>.</p>
13212
- * </li>
13213
- * <li>
13214
- * <p>
13215
- * <code>state</code> - The state of the attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>.</p>
13216
- * </li>
13217
- * <li>
13218
- * <p>
13219
- * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
13220
- * </li>
13221
- * <li>
13222
- * <p>
13223
- * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
13224
- * </li>
13225
- * <li>
13226
- * <p>
13227
- * <code>transit-gateway-owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
13228
- * </li>
13229
- * </ul>
13230
- * @public
13231
- */
13232
- Filters?: Filter[] | undefined;
13233
- /**
13234
- * <p>The maximum number of results to return with a single call.
13235
- * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
13236
- * @public
13237
- */
13238
- MaxResults?: number | undefined;
13239
- /**
13240
- * <p>The token for the next page of results.</p>
13241
- * @public
13242
- */
13243
- NextToken?: string | undefined;
13244
- /**
13245
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
13246
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
13247
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
13248
- * @public
13249
- */
13250
- DryRun?: boolean | undefined;
13251
- }
@@ -3,6 +3,80 @@ import { type ActiveVpnTunnelStatus, type AddressTransfer, type AsnAssociation,
3
3
  import { ConnectionNotification, DnsEntry, ServiceConfiguration, ServiceTypeDetail, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { type AttributeBooleanValue, type ExportTaskS3Location, type FastLaunchLaunchTemplateSpecificationResponse, type FastLaunchSnapshotConfigurationResponse, Filter, ProductCode } from "./models_3";
5
5
  import { RegisteredInstance } from "./models_4";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface DescribeTransitGatewayAttachmentsRequest {
10
+ /**
11
+ * <p>The IDs of the attachments.</p>
12
+ * @public
13
+ */
14
+ TransitGatewayAttachmentIds?: string[] | undefined;
15
+ /**
16
+ * <p>One or more filters. The possible values are:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>
20
+ * <code>association.state</code> - The state of the association (<code>associating</code> | <code>associated</code> |
21
+ * <code>disassociating</code>).</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>
25
+ * <code>association.transit-gateway-route-table-id</code> - The ID of the route table for the transit gateway.</p>
26
+ * </li>
27
+ * <li>
28
+ * <p>
29
+ * <code>resource-id</code> - The ID of the resource.</p>
30
+ * </li>
31
+ * <li>
32
+ * <p>
33
+ * <code>resource-owner-id</code> - The ID of the Amazon Web Services account that owns the resource.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>
37
+ * <code>resource-type</code> - The resource type. Valid values are <code>vpc</code>
38
+ * | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>
39
+ * | <code>connect</code>.</p>
40
+ * </li>
41
+ * <li>
42
+ * <p>
43
+ * <code>state</code> - The state of the attachment. Valid values are <code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>failed</code> | <code>failing</code> | <code>initiatingRequest</code> | <code>modifying</code> | <code>pendingAcceptance</code> | <code>pending</code> | <code>rollingBack</code> | <code>rejected</code> | <code>rejecting</code>.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>transit-gateway-attachment-id</code> - The ID of the attachment.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>transit-gateway-id</code> - The ID of the transit gateway.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>
55
+ * <code>transit-gateway-owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p>
56
+ * </li>
57
+ * </ul>
58
+ * @public
59
+ */
60
+ Filters?: Filter[] | undefined;
61
+ /**
62
+ * <p>The maximum number of results to return with a single call.
63
+ * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
64
+ * @public
65
+ */
66
+ MaxResults?: number | undefined;
67
+ /**
68
+ * <p>The token for the next page of results.</p>
69
+ * @public
70
+ */
71
+ NextToken?: string | undefined;
72
+ /**
73
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
74
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
75
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
76
+ * @public
77
+ */
78
+ DryRun?: boolean | undefined;
79
+ }
6
80
  /**
7
81
  * <p>Describes an association.</p>
8
82
  * @public
@@ -8005,21 +8079,3 @@ export interface GetDefaultCreditSpecificationRequest {
8005
8079
  */
8006
8080
  InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
8007
8081
  }
8008
- /**
8009
- * <p>Describes the default credit option for CPU usage of a burstable performance instance
8010
- * family.</p>
8011
- * @public
8012
- */
8013
- export interface InstanceFamilyCreditSpecification {
8014
- /**
8015
- * <p>The instance family.</p>
8016
- * @public
8017
- */
8018
- InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
8019
- /**
8020
- * <p>The default credit option for CPU usage of the instance family. Valid values are
8021
- * <code>standard</code> and <code>unlimited</code>.</p>
8022
- * @public
8023
- */
8024
- CpuCredits?: string | undefined;
8025
- }
@@ -4,7 +4,25 @@ import { type AttributeValue, type CapacityReservationTarget, type ConnectionTra
4
4
  import { type TrafficMirrorFilter, type TrafficMirrorFilterRule, type TrafficMirrorPortRangeRequest, type TrafficMirrorSession, SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference } from "./models_2";
5
5
  import { type AttributeBooleanValue, type ConversionTask, type FpgaImageAttribute, type SnapshotTaskDetail, Filter, ImportImageLicenseConfigurationResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail } from "./models_3";
6
6
  import { type InstanceMetadataOptionsResponse, type InstanceStatusEvent, CreateVolumePermission, LaunchTemplateConfig, ReservedInstancesConfiguration } from "./models_4";
7
- import { type InstanceFamilyCreditSpecification, RouteServerPropagation } from "./models_5";
7
+ import { RouteServerPropagation } from "./models_5";
8
+ /**
9
+ * <p>Describes the default credit option for CPU usage of a burstable performance instance
10
+ * family.</p>
11
+ * @public
12
+ */
13
+ export interface InstanceFamilyCreditSpecification {
14
+ /**
15
+ * <p>The instance family.</p>
16
+ * @public
17
+ */
18
+ InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
19
+ /**
20
+ * <p>The default credit option for CPU usage of the instance family. Valid values are
21
+ * <code>standard</code> and <code>unlimited</code>.</p>
22
+ * @public
23
+ */
24
+ CpuCredits?: string | undefined;
25
+ }
8
26
  /**
9
27
  * @public
10
28
  */
@@ -8805,30 +8823,3 @@ export interface ModifyTransitGatewayOptions {
8805
8823
  */
8806
8824
  EncryptionSupport?: EncryptionSupportOptionValue | undefined;
8807
8825
  }
8808
- /**
8809
- * @public
8810
- */
8811
- export interface ModifyTransitGatewayRequest {
8812
- /**
8813
- * <p>The ID of the transit gateway.</p>
8814
- * @public
8815
- */
8816
- TransitGatewayId: string | undefined;
8817
- /**
8818
- * <p>The description for the transit gateway.</p>
8819
- * @public
8820
- */
8821
- Description?: string | undefined;
8822
- /**
8823
- * <p>The options to modify.</p>
8824
- * @public
8825
- */
8826
- Options?: ModifyTransitGatewayOptions | undefined;
8827
- /**
8828
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8829
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8830
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8831
- * @public
8832
- */
8833
- DryRun?: boolean | undefined;
8834
- }
@@ -2,10 +2,37 @@ import { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceM
2
2
  import { type AddressAttribute, type ByoipCidr, type CapacityReservation, type ClientVpnAuthorizationRuleStatus, type IamInstanceProfileAssociation, type IamInstanceProfileSpecification, type PortRange, type RouteTableAssociationState, type TransitGatewayMulticastDomainAssociations, type TransitGatewayPeeringAttachment, type TransitGatewayVpcAttachment, type VerifiedAccessInstance, type VerifiedAccessSseSpecificationResponse, type VerifiedAccessTrustProvider, type VpcEncryptionControl, AddedPrincipal, IpPermission, NatGatewayAddress, TagSpecification, UnsuccessfulItem } from "./models_0";
3
3
  import { type CreditSpecificationRequest, type IcmpTypeCode, type ManagedPrefixList, type OperatorRequest, type Placement, BlockDeviceMapping, ElasticGpuSpecification, InstanceIpv6Address, LocalGatewayRoute } from "./models_1";
4
4
  import { type DnsOptionsSpecification, type TransitGateway, type TransitGatewayMeteringPolicy, type TransitGatewayPrefixListReference, type VerifiedAccessEndpoint, type VerifiedAccessGroup, type VerifiedAccessSseSpecificationRequest, type VpcBlockPublicAccessExclusion, type VpnConnection, type VpnTunnelLogOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TransitGatewayRoute } from "./models_2";
5
- import { type AttributeBooleanValue, type Byoasn, type ClientVpnConnectionStatus, type InstanceState, type InstanceTagNotificationAttribute, type IpamPoolCidr, CapacityBlock, CapacityBlockExtension, Filter } from "./models_3";
6
- import { type Monitoring, type NetworkInsightsAccessScopeAnalysis, type NetworkInsightsAnalysis, type PublicIpv4PoolRange, type RunInstancesMonitoringEnabled, type SpotFleetRequestConfigData, type SpotPlacement, InstanceNetworkInterfaceSpecification, ScheduledInstance, SpotInstanceRequest } from "./models_4";
5
+ import { type AttributeBooleanValue, type Byoasn, type ClientVpnConnectionStatus, type InstanceTagNotificationAttribute, type IpamPoolCidr, CapacityBlock, CapacityBlockExtension, Filter } from "./models_3";
6
+ import { type InstanceState, type Monitoring, type NetworkInsightsAccessScopeAnalysis, type NetworkInsightsAnalysis, type PublicIpv4PoolRange, type RunInstancesMonitoringEnabled, type SpotFleetRequestConfigData, type SpotPlacement, InstanceNetworkInterfaceSpecification, ScheduledInstance, SpotInstanceRequest } from "./models_4";
7
7
  import type { VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
- import { type CapacityReservationSpecification, Purchase } from "./models_6";
8
+ import { type CapacityReservationSpecification, type ModifyTransitGatewayOptions, Purchase } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyTransitGatewayRequest {
13
+ /**
14
+ * <p>The ID of the transit gateway.</p>
15
+ * @public
16
+ */
17
+ TransitGatewayId: string | undefined;
18
+ /**
19
+ * <p>The description for the transit gateway.</p>
20
+ * @public
21
+ */
22
+ Description?: string | undefined;
23
+ /**
24
+ * <p>The options to modify.</p>
25
+ * @public
26
+ */
27
+ Options?: ModifyTransitGatewayOptions | undefined;
28
+ /**
29
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
30
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
31
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
32
+ * @public
33
+ */
34
+ DryRun?: boolean | undefined;
35
+ }
9
36
  /**
10
37
  * @public
11
38
  */
@@ -3821,7 +3848,7 @@ export interface ReportInstanceStatusRequest {
3821
3848
  /**
3822
3849
  * <p>Descriptive text about the health state of your instance.</p>
3823
3850
  *
3824
- * @deprecated This member has been deprecated
3851
+ * @deprecated This member has been deprecated.
3825
3852
  * @public
3826
3853
  */
3827
3854
  Description?: string | undefined;
@@ -5364,7 +5391,7 @@ export interface RunInstancesRequest {
5364
5391
  * <p>Amazon Elastic Graphics reached end of life on January 8, 2024.</p>
5365
5392
  * </note>
5366
5393
  *
5367
- * @deprecated Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.
5394
+ * @deprecated (since 2024-01-08) Specifying Elastic Graphics accelerators is no longer supported on the RunInstances API.
5368
5395
  * @public
5369
5396
  */
5370
5397
  ElasticGpuSpecification?: ElasticGpuSpecification[] | undefined;
@@ -5374,7 +5401,7 @@ export interface RunInstancesRequest {
5374
5401
  * <p>Amazon Elastic Inference is no longer available.</p>
5375
5402
  * </note>
5376
5403
  *
5377
- * @deprecated Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.
5404
+ * @deprecated (since 2024-01-08) Specifying Elastic Inference accelerators is no longer supported on the RunInstances API.
5378
5405
  * @public
5379
5406
  */
5380
5407
  ElasticInferenceAccelerators?: ElasticInferenceAccelerator[] | undefined;
@@ -179,6 +179,7 @@ export declare var CancelSpotFleetRequestsSuccessItem$: StaticStructureSchema;
179
179
  export declare var CancelSpotInstanceRequestsRequest$: StaticStructureSchema;
180
180
  export declare var CancelSpotInstanceRequestsResult$: StaticStructureSchema;
181
181
  export declare var CapacityAllocation$: StaticStructureSchema;
182
+ export declare var CapacityAllocationMetadataEntry$: StaticStructureSchema;
182
183
  export declare var CapacityBlock$: StaticStructureSchema;
183
184
  export declare var CapacityBlockExtension$: StaticStructureSchema;
184
185
  export declare var CapacityBlockExtensionOffering$: StaticStructureSchema;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteTrafficMirrorTargetRequest } from "../models/models_2";
9
- import { DeleteTrafficMirrorTargetResult } from "../models/models_3";
8
+ import {
9
+ DeleteTrafficMirrorTargetRequest,
10
+ DeleteTrafficMirrorTargetResult,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteTrafficMirrorTargetCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DescribeTransitGatewayAttachmentsRequest } from "../models/models_4";
9
- import { DescribeTransitGatewayAttachmentsResult } from "../models/models_5";
8
+ import {
9
+ DescribeTransitGatewayAttachmentsRequest,
10
+ DescribeTransitGatewayAttachmentsResult,
11
+ } from "../models/models_5";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DescribeTransitGatewayAttachmentsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyTransitGatewayRequest } from "../models/models_6";
9
- import { ModifyTransitGatewayResult } from "../models/models_7";
8
+ import {
9
+ ModifyTransitGatewayRequest,
10
+ ModifyTransitGatewayResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ModifyTransitGatewayCommandInput
@@ -1593,9 +1593,14 @@ export interface CreateCapacityReservationRequest {
1593
1593
  CommitmentDuration?: number | undefined;
1594
1594
  DeliveryPreference?: CapacityReservationDeliveryPreference | undefined;
1595
1595
  }
1596
+ export interface CapacityAllocationMetadataEntry {
1597
+ Key?: string | undefined;
1598
+ Value?: string | undefined;
1599
+ }
1596
1600
  export interface CapacityAllocation {
1597
1601
  AllocationType?: AllocationType | undefined;
1598
1602
  Count?: number | undefined;
1603
+ AllocationMetadata?: CapacityAllocationMetadataEntry[] | undefined;
1599
1604
  }
1600
1605
  export interface CapacityReservationCommitmentInfo {
1601
1606
  CommittedInstanceCount?: number | undefined;
@@ -1973,7 +1978,3 @@ export interface MacModificationTask {
1973
1978
  export interface CreateDelegateMacVolumeOwnershipTaskResult {
1974
1979
  MacModificationTask?: MacModificationTask | undefined;
1975
1980
  }
1976
- export interface NewDhcpConfiguration {
1977
- Key?: string | undefined;
1978
- Values?: string[] | undefined;
1979
- }
@@ -105,7 +105,6 @@ import {
105
105
  SecondaryNetworkCidrBlockAssociationState,
106
106
  SecondaryNetworkState,
107
107
  SecondaryNetworkType,
108
- SecondarySubnetCidrBlockAssociationState,
109
108
  ShutdownBehavior,
110
109
  SnapshotLocationEnum,
111
110
  SpotAllocationStrategy,
@@ -135,12 +134,15 @@ import {
135
134
  AddPrefixListEntry,
136
135
  Ipv4PrefixSpecification,
137
136
  NatGatewayAddress,
138
- NewDhcpConfiguration,
139
137
  ReservedInstancesListing,
140
138
  Tag,
141
139
  TagSpecification,
142
140
  UnsuccessfulItem,
143
141
  } from "./models_0";
142
+ export interface NewDhcpConfiguration {
143
+ Key?: string | undefined;
144
+ Values?: string[] | undefined;
145
+ }
144
146
  export interface CreateDhcpOptionsRequest {
145
147
  DhcpConfigurations: NewDhcpConfiguration[] | undefined;
146
148
  TagSpecifications?: TagSpecification[] | undefined;
@@ -2275,9 +2277,3 @@ export interface CreateSecondarySubnetRequest {
2275
2277
  SecondaryNetworkId: string | undefined;
2276
2278
  TagSpecifications?: TagSpecification[] | undefined;
2277
2279
  }
2278
- export interface SecondarySubnetIpv4CidrBlockAssociation {
2279
- AssociationId?: string | undefined;
2280
- CidrBlock?: string | undefined;
2281
- State?: SecondarySubnetCidrBlockAssociationState | undefined;
2282
- StateReason?: string | undefined;
2283
- }
@@ -30,6 +30,7 @@ import {
30
30
  PayerResponsibility,
31
31
  ProtocolValue,
32
32
  SecondaryNetworkType,
33
+ SecondarySubnetCidrBlockAssociationState,
33
34
  SecondarySubnetState,
34
35
  SecurityGroupReferencingSupportValue,
35
36
  ServiceConnectivityType,
@@ -125,8 +126,13 @@ import {
125
126
  RouteServerEndpoint,
126
127
  RouteServerPeer,
127
128
  SecondaryNetwork,
128
- SecondarySubnetIpv4CidrBlockAssociation,
129
129
  } from "./models_1";
130
+ export interface SecondarySubnetIpv4CidrBlockAssociation {
131
+ AssociationId?: string | undefined;
132
+ CidrBlock?: string | undefined;
133
+ State?: SecondarySubnetCidrBlockAssociationState | undefined;
134
+ StateReason?: string | undefined;
135
+ }
130
136
  export interface SecondarySubnet {
131
137
  SecondarySubnetId?: string | undefined;
132
138
  SecondarySubnetArn?: string | undefined;
@@ -1913,7 +1919,3 @@ export interface DeleteTrafficMirrorSessionRequest {
1913
1919
  export interface DeleteTrafficMirrorSessionResult {
1914
1920
  TrafficMirrorSessionId?: string | undefined;
1915
1921
  }
1916
- export interface DeleteTrafficMirrorTargetRequest {
1917
- TrafficMirrorTargetId: string | undefined;
1918
- DryRun?: boolean | undefined;
1919
- }
@@ -58,7 +58,6 @@ import {
58
58
  ImdsSupportValues,
59
59
  InstanceAttributeName,
60
60
  InstanceLifecycle,
61
- InstanceStateName,
62
61
  IpamPoolCidrFailureCode,
63
62
  IpamPoolCidrState,
64
63
  LogDestinationType,
@@ -141,6 +140,10 @@ import {
141
140
  VerifiedAccessGroup,
142
141
  VpcBlockPublicAccessExclusion,
143
142
  } from "./models_2";
143
+ export interface DeleteTrafficMirrorTargetRequest {
144
+ TrafficMirrorTargetId: string | undefined;
145
+ DryRun?: boolean | undefined;
146
+ }
144
147
  export interface DeleteTrafficMirrorTargetResult {
145
148
  TrafficMirrorTargetId?: string | undefined;
146
149
  }
@@ -1931,7 +1934,3 @@ export interface ImageMetadata {
1931
1934
  ImageAllowed?: boolean | undefined;
1932
1935
  IsPublic?: boolean | undefined;
1933
1936
  }
1934
- export interface InstanceState {
1935
- Code?: number | undefined;
1936
- Name?: InstanceStateName | undefined;
1937
- }
@@ -41,6 +41,7 @@ import {
41
41
  InstanceMetadataProtocolState,
42
42
  InstanceMetadataTagsState,
43
43
  InstanceRebootMigrationState,
44
+ InstanceStateName,
44
45
  InstanceStorageEncryptionSupport,
45
46
  InstanceTypeHypervisor,
46
47
  KeyType,
@@ -169,13 +170,16 @@ import {
169
170
  EnclaveOptions,
170
171
  EventInformation,
171
172
  ImageMetadata,
172
- InstanceState,
173
173
  Byoasn,
174
174
  Filter,
175
175
  IdFormat,
176
176
  InstanceBlockDeviceMapping,
177
177
  ProductCode,
178
178
  } from "./models_3";
179
+ export interface InstanceState {
180
+ Code?: number | undefined;
181
+ Name?: InstanceStateName | undefined;
182
+ }
179
183
  export interface InstanceImageMetadata {
180
184
  InstanceId?: string | undefined;
181
185
  InstanceType?: _InstanceType | undefined;
@@ -2179,10 +2183,3 @@ export interface DescribeTrafficMirrorTargetsResult {
2179
2183
  TrafficMirrorTargets?: TrafficMirrorTarget[] | undefined;
2180
2184
  NextToken?: string | undefined;
2181
2185
  }
2182
- export interface DescribeTransitGatewayAttachmentsRequest {
2183
- TransitGatewayAttachmentIds?: string[] | undefined;
2184
- Filters?: Filter[] | undefined;
2185
- MaxResults?: number | undefined;
2186
- NextToken?: string | undefined;
2187
- DryRun?: boolean | undefined;
2188
- }
@@ -111,6 +111,13 @@ import {
111
111
  ProductCode,
112
112
  } from "./models_3";
113
113
  import { RegisteredInstance } from "./models_4";
114
+ export interface DescribeTransitGatewayAttachmentsRequest {
115
+ TransitGatewayAttachmentIds?: string[] | undefined;
116
+ Filters?: Filter[] | undefined;
117
+ MaxResults?: number | undefined;
118
+ NextToken?: string | undefined;
119
+ DryRun?: boolean | undefined;
120
+ }
114
121
  export interface TransitGatewayAttachmentAssociation {
115
122
  TransitGatewayRouteTableId?: string | undefined;
116
123
  State?: TransitGatewayAssociationState | undefined;
@@ -1657,7 +1664,3 @@ export interface GetDefaultCreditSpecificationRequest {
1657
1664
  DryRun?: boolean | undefined;
1658
1665
  InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
1659
1666
  }
1660
- export interface InstanceFamilyCreditSpecification {
1661
- InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
1662
- CpuCredits?: string | undefined;
1663
- }
@@ -168,10 +168,11 @@ import {
168
168
  LaunchTemplateConfig,
169
169
  ReservedInstancesConfiguration,
170
170
  } from "./models_4";
171
- import {
172
- InstanceFamilyCreditSpecification,
173
- RouteServerPropagation,
174
- } from "./models_5";
171
+ import { RouteServerPropagation } from "./models_5";
172
+ export interface InstanceFamilyCreditSpecification {
173
+ InstanceFamily?: UnlimitedSupportedInstanceFamily | undefined;
174
+ CpuCredits?: string | undefined;
175
+ }
175
176
  export interface GetDefaultCreditSpecificationResult {
176
177
  InstanceFamilyCreditSpecification?:
177
178
  | InstanceFamilyCreditSpecification
@@ -1923,9 +1924,3 @@ export interface ModifyTransitGatewayOptions {
1923
1924
  AmazonSideAsn?: number | undefined;
1924
1925
  EncryptionSupport?: EncryptionSupportOptionValue | undefined;
1925
1926
  }
1926
- export interface ModifyTransitGatewayRequest {
1927
- TransitGatewayId: string | undefined;
1928
- Description?: string | undefined;
1929
- Options?: ModifyTransitGatewayOptions | undefined;
1930
- DryRun?: boolean | undefined;
1931
- }