@aws-sdk/client-ec2 3.937.0 → 3.938.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +357 -52
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/CreateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  5. package/dist-es/commands/UpdateInterruptibleCapacityReservationAllocationCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +13 -0
  8. package/dist-es/schemas/schemas_0.js +314 -52
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +4 -2
  11. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +24 -0
  12. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +12 -0
  13. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -2
  14. package/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +93 -0
  15. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  17. package/dist-types/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +12 -0
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +7 -0
  24. package/dist-types/commands/DescribeInstancesCommand.d.ts +3 -1
  25. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -1
  27. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +12 -0
  28. package/dist-types/commands/GetIpamAddressHistoryCommand.d.ts +2 -1
  29. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -2
  30. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -1
  32. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  33. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  34. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +24 -0
  35. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +12 -0
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +83 -0
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/enums.d.ts +29 -0
  40. package/dist-types/models/models_0.d.ts +90 -37
  41. package/dist-types/models/models_1.d.ts +108 -74
  42. package/dist-types/models/models_2.d.ts +73 -65
  43. package/dist-types/models/models_3.d.ts +68 -182
  44. package/dist-types/models/models_4.d.ts +182 -97
  45. package/dist-types/models/models_5.d.ts +117 -158
  46. package/dist-types/models/models_6.d.ts +160 -151
  47. package/dist-types/models/models_7.d.ts +222 -3
  48. package/dist-types/schemas/schemas_0.d.ts +8 -0
  49. package/dist-types/ts3.4/EC2.d.ts +46 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/CreateDhcpOptionsCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/CreateSpotDatafeedSubscriptionCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteTransitGatewayPrefixListReferenceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/GetIpamAddressHistoryCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/GetIpamDiscoveredAccountsCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +2 -4
  61. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/UpdateInterruptibleCapacityReservationAllocationCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  65. package/dist-types/ts3.4/models/enums.d.ts +17 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +16 -8
  67. package/dist-types/ts3.4/models/models_1.d.ts +24 -17
  68. package/dist-types/ts3.4/models/models_2.d.ts +17 -18
  69. package/dist-types/ts3.4/models/models_3.d.ts +21 -43
  70. package/dist-types/ts3.4/models/models_4.d.ts +47 -30
  71. package/dist-types/ts3.4/models/models_5.d.ts +37 -34
  72. package/dist-types/ts3.4/models/models_6.d.ts +33 -25
  73. package/dist-types/ts3.4/models/models_7.d.ts +42 -1
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  75. package/package.json +1 -1
@@ -1,10 +1,165 @@
1
- import { _InstanceType, Affinity, AnalysisStatus, ApplianceModeSupportValue, ArchitectureType, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationPreference, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamComplianceStatus, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, Ipv6SupportValue, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, OperationType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerifiedAccessEndpointProtocol, VirtualizationType, VolumeState, VolumeType, VpnEcmpSupportValue } from "./enums";
2
- import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, AttributeValue, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, EnaSrdSpecification, InstanceEventWindow, IpamPoolAllocation, OperatorResponse, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
3
- import { CapacityReservationTarget, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, RouteServer, TargetCapacitySpecificationRequest } from "./models_1";
1
+ import { _InstanceType, Affinity, AnalysisStatus, ApplianceModeSupportValue, ArchitectureType, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationPreference, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, IpAddressType, IpamAddressHistoryResourceType, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamMeteredAccount, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamTier, Ipv6SupportValue, LockMode, LockState, ManagedBy, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, OperationType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, SnapshotBlockPublicAccessState, TargetCapacityUnitType, TargetStorageTier, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerifiedAccessEndpointProtocol, VirtualizationType, VolumeState, VolumeType, VpnEcmpSupportValue } from "./enums";
2
+ import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, EnaSrdSpecification, InstanceEventWindow, IpamPoolAllocation, OperatorResponse, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse } from "./models_0";
3
+ import { AttributeValue, CapacityReservationTarget, ConnectionTrackingSpecificationRequest, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamResourceTag, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, NetworkInsightsAccessScopeContent, Placement, RequestIpamResourceTag, ResponseLaunchTemplateData, RouteServer, TargetCapacitySpecificationRequest } from "./models_1";
4
4
  import { SubnetCidrReservation, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayMeteringPolicyEntry, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest } from "./models_2";
5
5
  import { AttributeBooleanValue, ConversionTask, Filter, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, InstanceMetadataOptionsResponse, IpamPoolCidr, LaunchPermission, SnapshotDetail, SnapshotTaskDetail } from "./models_3";
6
- import { CreateVolumePermission, InstanceStatusEvent, LaunchTemplateConfig, ReservedInstancesConfiguration, VerifiedAccessInstanceLoggingConfiguration } from "./models_4";
7
- import { InstanceFamilyCreditSpecification, IpamDiscoveryFailureReason, RouteServerPropagation, VolumeModification } from "./models_5";
6
+ import { CreateVolumePermission, InstanceStatusEvent, LaunchTemplateConfig, ReservedInstancesConfiguration } from "./models_4";
7
+ import { InstanceFamilyCreditSpecification, RouteServerPropagation, VerifiedAccessInstanceLoggingConfiguration } from "./models_5";
8
+ /**
9
+ * <p>The historical record of a CIDR within an IPAM scope. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/view-history-cidr-ipam.html">View the history of IP addresses</a> in the <i>Amazon VPC IPAM User Guide</i>.
10
+ * </p>
11
+ * @public
12
+ */
13
+ export interface IpamAddressHistoryRecord {
14
+ /**
15
+ * <p>The ID of the resource owner.</p>
16
+ * @public
17
+ */
18
+ ResourceOwnerId?: string | undefined;
19
+ /**
20
+ * <p>The Amazon Web Services Region of the resource.</p>
21
+ * @public
22
+ */
23
+ ResourceRegion?: string | undefined;
24
+ /**
25
+ * <p>The type of the resource.</p>
26
+ * @public
27
+ */
28
+ ResourceType?: IpamAddressHistoryResourceType | undefined;
29
+ /**
30
+ * <p>The ID of the resource.</p>
31
+ * @public
32
+ */
33
+ ResourceId?: string | undefined;
34
+ /**
35
+ * <p>The CIDR of the resource.</p>
36
+ * @public
37
+ */
38
+ ResourceCidr?: string | undefined;
39
+ /**
40
+ * <p>The name of the resource.</p>
41
+ * @public
42
+ */
43
+ ResourceName?: string | undefined;
44
+ /**
45
+ * <p>The compliance status of a resource. For more information on compliance statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
46
+ * @public
47
+ */
48
+ ResourceComplianceStatus?: IpamComplianceStatus | undefined;
49
+ /**
50
+ * <p>The overlap status of an IPAM resource. The overlap status tells you if the CIDR for a resource overlaps with another CIDR in the scope. For more information on overlap statuses, see <a href="https://docs.aws.amazon.com/vpc/latest/ipam/monitor-cidr-compliance-ipam.html">Monitor CIDR usage by resource</a> in the <i>Amazon VPC IPAM User Guide</i>.</p>
51
+ * @public
52
+ */
53
+ ResourceOverlapStatus?: IpamOverlapStatus | undefined;
54
+ /**
55
+ * <p>The VPC ID of the resource.</p>
56
+ * @public
57
+ */
58
+ VpcId?: string | undefined;
59
+ /**
60
+ * <p>Sampled start time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the start time may have occurred before this specific time.</p>
61
+ * @public
62
+ */
63
+ SampledStartTime?: Date | undefined;
64
+ /**
65
+ * <p>Sampled end time of the resource-to-CIDR association within the IPAM scope. Changes are picked up in periodic snapshots, so the end time may have occurred before this specific time.</p>
66
+ * @public
67
+ */
68
+ SampledEndTime?: Date | undefined;
69
+ }
70
+ /**
71
+ * @public
72
+ */
73
+ export interface GetIpamAddressHistoryResult {
74
+ /**
75
+ * <p>A historical record for a CIDR within an IPAM scope. If the CIDR is associated with an EC2 instance, you will see an object in the response for the instance and one for the network interface.</p>
76
+ * @public
77
+ */
78
+ HistoryRecords?: IpamAddressHistoryRecord[] | undefined;
79
+ /**
80
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
81
+ * @public
82
+ */
83
+ NextToken?: string | undefined;
84
+ }
85
+ /**
86
+ * @public
87
+ */
88
+ export interface GetIpamDiscoveredAccountsRequest {
89
+ /**
90
+ * <p>A check for whether you have the required permissions for the action without actually making the request
91
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
92
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
93
+ * @public
94
+ */
95
+ DryRun?: boolean | undefined;
96
+ /**
97
+ * <p>A resource discovery ID.</p>
98
+ * @public
99
+ */
100
+ IpamResourceDiscoveryId: string | undefined;
101
+ /**
102
+ * <p>The Amazon Web Services Region that the account information is returned from.</p>
103
+ * @public
104
+ */
105
+ DiscoveryRegion: string | undefined;
106
+ /**
107
+ * <p>Discovered account filters.</p>
108
+ * @public
109
+ */
110
+ Filters?: Filter[] | undefined;
111
+ /**
112
+ * <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
113
+ * @public
114
+ */
115
+ NextToken?: string | undefined;
116
+ /**
117
+ * <p>The maximum number of discovered accounts to return in one page of results.</p>
118
+ * @public
119
+ */
120
+ MaxResults?: number | undefined;
121
+ }
122
+ /**
123
+ * <p>The discovery failure reason.</p>
124
+ * @public
125
+ */
126
+ export interface IpamDiscoveryFailureReason {
127
+ /**
128
+ * <p>The discovery failure code.</p>
129
+ * <ul>
130
+ * <li>
131
+ * <p>
132
+ * <code>assume-role-failure</code> - IPAM could not assume the Amazon Web Services IAM service-linked role. This could be because of any of the following:</p>
133
+ * <ul>
134
+ * <li>
135
+ * <p>SLR has not been created yet and IPAM is still creating it.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>You have opted-out of the IPAM home Region.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>Account you are using as your IPAM account has been suspended.</p>
142
+ * </li>
143
+ * </ul>
144
+ * </li>
145
+ * <li>
146
+ * <p>
147
+ * <code>throttling-failure</code> - IPAM account is already using the allotted transactions per second and IPAM is receiving a throttling error when assuming the Amazon Web Services IAM SLR.</p>
148
+ * </li>
149
+ * <li>
150
+ * <p>
151
+ * <code>unauthorized-failure</code> - Amazon Web Services account making the request is not authorized. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">AuthFailure</a> in the <i>Amazon Elastic Compute Cloud API Reference</i>.</p>
152
+ * </li>
153
+ * </ul>
154
+ * @public
155
+ */
156
+ Code?: IpamDiscoveryFailureCode | undefined;
157
+ /**
158
+ * <p>The discovery failure message.</p>
159
+ * @public
160
+ */
161
+ Message?: string | undefined;
162
+ }
8
163
  /**
9
164
  * <p>An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.</p>
10
165
  * @public
@@ -8724,149 +8879,3 @@ export interface ModifyVerifiedAccessTrustProviderRequest {
8724
8879
  */
8725
8880
  NativeApplicationOidcOptions?: ModifyVerifiedAccessNativeApplicationOidcOptions | undefined;
8726
8881
  }
8727
- /**
8728
- * @public
8729
- */
8730
- export interface ModifyVerifiedAccessTrustProviderResult {
8731
- /**
8732
- * <p>Details about the Verified Access trust provider.</p>
8733
- * @public
8734
- */
8735
- VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider | undefined;
8736
- }
8737
- /**
8738
- * @public
8739
- */
8740
- export interface ModifyVolumeRequest {
8741
- /**
8742
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8743
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8744
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8745
- * @public
8746
- */
8747
- DryRun?: boolean | undefined;
8748
- /**
8749
- * <p>The ID of the volume.</p>
8750
- * @public
8751
- */
8752
- VolumeId: string | undefined;
8753
- /**
8754
- * <p>The target size of the volume, in GiB. The target volume size must be greater than or
8755
- * equal to the existing size of the volume.</p>
8756
- * <p>The following are the supported volumes sizes for each volume type:</p>
8757
- * <ul>
8758
- * <li>
8759
- * <p>
8760
- * <code>gp2</code>: 1 - 16,384 GiB</p>
8761
- * </li>
8762
- * <li>
8763
- * <p>
8764
- * <code>gp3</code>: 1 - 65,536 GiB</p>
8765
- * </li>
8766
- * <li>
8767
- * <p>
8768
- * <code>io1</code>: 4 - 16,384 GiB</p>
8769
- * </li>
8770
- * <li>
8771
- * <p>
8772
- * <code>io2</code>: 4 - 65,536 GiB</p>
8773
- * </li>
8774
- * <li>
8775
- * <p>
8776
- * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
8777
- * </li>
8778
- * <li>
8779
- * <p>
8780
- * <code>standard</code>: 1 - 1024 GiB</p>
8781
- * </li>
8782
- * </ul>
8783
- * <p>Default: The existing size is retained.</p>
8784
- * @public
8785
- */
8786
- Size?: number | undefined;
8787
- /**
8788
- * <p>The target EBS volume type of the volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the <i>Amazon EBS User Guide</i>.</p>
8789
- * <p>Default: The existing type is retained.</p>
8790
- * @public
8791
- */
8792
- VolumeType?: VolumeType | undefined;
8793
- /**
8794
- * <p>The target IOPS rate of the volume. This parameter is valid only for <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes.</p>
8795
- * <p>The following are the supported values for each volume type:</p>
8796
- * <ul>
8797
- * <li>
8798
- * <p>
8799
- * <code>gp3</code>: 3,000 - 80,000 IOPS</p>
8800
- * </li>
8801
- * <li>
8802
- * <p>
8803
- * <code>io1</code>: 100 - 64,000 IOPS</p>
8804
- * </li>
8805
- * <li>
8806
- * <p>
8807
- * <code>io2</code>: 100 - 256,000 IOPS</p>
8808
- * </li>
8809
- * </ul>
8810
- * <note>
8811
- * <p>
8812
- * <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">
8813
- * Instances built on the Nitro System</a> can support up to 256,000 IOPS. Other instances can support up to 32,000
8814
- * IOPS.</p>
8815
- * </note>
8816
- * <p>Default: The existing value is retained if you keep the same volume type. If you change
8817
- * the volume type to <code>io1</code>, <code>io2</code>, or <code>gp3</code>, the default is 3,000.</p>
8818
- * @public
8819
- */
8820
- Iops?: number | undefined;
8821
- /**
8822
- * <p>The target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes.
8823
- * The maximum value is 2,000.</p>
8824
- * <p>Default: The existing value is retained if the source and target volume type is <code>gp3</code>.
8825
- * Otherwise, the default value is 125.</p>
8826
- * <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
8827
- * @public
8828
- */
8829
- Throughput?: number | undefined;
8830
- /**
8831
- * <p>Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the
8832
- * volume to up to 16 <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">
8833
- * Nitro-based instances</a> in the same Availability Zone. This parameter is
8834
- * supported with <code>io1</code> and <code>io2</code> volumes only. For more information, see
8835
- * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html">
8836
- * Amazon EBS Multi-Attach</a> in the <i>Amazon EBS User Guide</i>.</p>
8837
- * @public
8838
- */
8839
- MultiAttachEnabled?: boolean | undefined;
8840
- }
8841
- /**
8842
- * @public
8843
- */
8844
- export interface ModifyVolumeResult {
8845
- /**
8846
- * <p>Information about the volume modification.</p>
8847
- * @public
8848
- */
8849
- VolumeModification?: VolumeModification | undefined;
8850
- }
8851
- /**
8852
- * @public
8853
- */
8854
- export interface ModifyVolumeAttributeRequest {
8855
- /**
8856
- * <p>Indicates whether the volume should be auto-enabled for I/O operations.</p>
8857
- * @public
8858
- */
8859
- AutoEnableIO?: AttributeBooleanValue | undefined;
8860
- /**
8861
- * <p>The ID of the volume.</p>
8862
- * @public
8863
- */
8864
- VolumeId: string | undefined;
8865
- /**
8866
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8867
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8868
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8869
- * @public
8870
- */
8871
- DryRun?: boolean | undefined;
8872
- }
@@ -1,11 +1,157 @@
1
- import { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ArchitectureValues, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, MarketType, MembershipType, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TransitGatewayAttachmentResourceType, VerificationMethod, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy } from "./enums";
2
- import { AddedPrincipal, AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VpcEncryptionControl } from "./models_0";
1
+ import { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ArchitectureValues, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, MarketType, MembershipType, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TransitGatewayAttachmentResourceType, VerificationMethod, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy } from "./enums";
2
+ import { AddedPrincipal, AddressAttribute, ByoipCidr, CapacityReservation, ClientVpnAuthorizationRuleStatus, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessTrustProvider, VpcEncryptionControl } from "./models_0";
3
3
  import { BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, IcmpTypeCode, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, OperatorRequest, Placement } from "./models_1";
4
4
  import { DnsOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TransitGatewayRoute, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import { AttributeBooleanValue, Byoasn, CapacityBlock, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceState, InstanceTagNotificationAttribute, IpamPoolCidr, Monitoring } from "./models_3";
6
6
  import { InstanceNetworkInterfaceSpecification, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, RunInstancesMonitoringEnabled, ScheduledInstance, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_4";
7
- import { Purchase, VpcBlockPublicAccessOptions } from "./models_5";
7
+ import { Purchase, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
8
  import { CapacityReservationSpecification } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface ModifyVerifiedAccessTrustProviderResult {
13
+ /**
14
+ * <p>Details about the Verified Access trust provider.</p>
15
+ * @public
16
+ */
17
+ VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface ModifyVolumeRequest {
23
+ /**
24
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
25
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
26
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
27
+ * @public
28
+ */
29
+ DryRun?: boolean | undefined;
30
+ /**
31
+ * <p>The ID of the volume.</p>
32
+ * @public
33
+ */
34
+ VolumeId: string | undefined;
35
+ /**
36
+ * <p>The target size of the volume, in GiB. The target volume size must be greater than or
37
+ * equal to the existing size of the volume.</p>
38
+ * <p>The following are the supported volumes sizes for each volume type:</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>
42
+ * <code>gp2</code>: 1 - 16,384 GiB</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>gp3</code>: 1 - 65,536 GiB</p>
47
+ * </li>
48
+ * <li>
49
+ * <p>
50
+ * <code>io1</code>: 4 - 16,384 GiB</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>
54
+ * <code>io2</code>: 4 - 65,536 GiB</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>
58
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>
62
+ * <code>standard</code>: 1 - 1024 GiB</p>
63
+ * </li>
64
+ * </ul>
65
+ * <p>Default: The existing size is retained.</p>
66
+ * @public
67
+ */
68
+ Size?: number | undefined;
69
+ /**
70
+ * <p>The target EBS volume type of the volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the <i>Amazon EBS User Guide</i>.</p>
71
+ * <p>Default: The existing type is retained.</p>
72
+ * @public
73
+ */
74
+ VolumeType?: VolumeType | undefined;
75
+ /**
76
+ * <p>The target IOPS rate of the volume. This parameter is valid only for <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes.</p>
77
+ * <p>The following are the supported values for each volume type:</p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>
81
+ * <code>gp3</code>: 3,000 - 80,000 IOPS</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>
85
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>
89
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
90
+ * </li>
91
+ * </ul>
92
+ * <note>
93
+ * <p>
94
+ * <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">
95
+ * Instances built on the Nitro System</a> can support up to 256,000 IOPS. Other instances can support up to 32,000
96
+ * IOPS.</p>
97
+ * </note>
98
+ * <p>Default: The existing value is retained if you keep the same volume type. If you change
99
+ * the volume type to <code>io1</code>, <code>io2</code>, or <code>gp3</code>, the default is 3,000.</p>
100
+ * @public
101
+ */
102
+ Iops?: number | undefined;
103
+ /**
104
+ * <p>The target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes.
105
+ * The maximum value is 2,000.</p>
106
+ * <p>Default: The existing value is retained if the source and target volume type is <code>gp3</code>.
107
+ * Otherwise, the default value is 125.</p>
108
+ * <p>Valid Range: Minimum value of 125. Maximum value of 2,000.</p>
109
+ * @public
110
+ */
111
+ Throughput?: number | undefined;
112
+ /**
113
+ * <p>Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the
114
+ * volume to up to 16 <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">
115
+ * Nitro-based instances</a> in the same Availability Zone. This parameter is
116
+ * supported with <code>io1</code> and <code>io2</code> volumes only. For more information, see
117
+ * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html">
118
+ * Amazon EBS Multi-Attach</a> in the <i>Amazon EBS User Guide</i>.</p>
119
+ * @public
120
+ */
121
+ MultiAttachEnabled?: boolean | undefined;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export interface ModifyVolumeResult {
127
+ /**
128
+ * <p>Information about the volume modification.</p>
129
+ * @public
130
+ */
131
+ VolumeModification?: VolumeModification | undefined;
132
+ }
133
+ /**
134
+ * @public
135
+ */
136
+ export interface ModifyVolumeAttributeRequest {
137
+ /**
138
+ * <p>Indicates whether the volume should be auto-enabled for I/O operations.</p>
139
+ * @public
140
+ */
141
+ AutoEnableIO?: AttributeBooleanValue | undefined;
142
+ /**
143
+ * <p>The ID of the volume.</p>
144
+ * @public
145
+ */
146
+ VolumeId: string | undefined;
147
+ /**
148
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
149
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
150
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
151
+ * @public
152
+ */
153
+ DryRun?: boolean | undefined;
154
+ }
9
155
  /**
10
156
  * @public
11
157
  */
@@ -5865,6 +6011,79 @@ export interface UpdateCapacityManagerOrganizationsAccessResult {
5865
6011
  */
5866
6012
  OrganizationsAccess?: boolean | undefined;
5867
6013
  }
6014
+ /**
6015
+ * @public
6016
+ */
6017
+ export interface UpdateInterruptibleCapacityReservationAllocationRequest {
6018
+ /**
6019
+ * <p>
6020
+ * The ID of the source Capacity Reservation containing the interruptible allocation to modify.
6021
+ * </p>
6022
+ * @public
6023
+ */
6024
+ CapacityReservationId: string | undefined;
6025
+ /**
6026
+ * <p>
6027
+ * The new number of instances to allocate. Enter a higher number to add more capacity to share, or a lower number to reclaim capacity to your source Capacity Reservation.
6028
+ * </p>
6029
+ * @public
6030
+ */
6031
+ TargetInstanceCount: number | undefined;
6032
+ /**
6033
+ * <p>
6034
+ * Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
6035
+ * </p>
6036
+ * @public
6037
+ */
6038
+ DryRun?: boolean | undefined;
6039
+ }
6040
+ /**
6041
+ * @public
6042
+ */
6043
+ export interface UpdateInterruptibleCapacityReservationAllocationResult {
6044
+ /**
6045
+ * <p>
6046
+ * The ID of the interruptible Capacity Reservation that was modified.
6047
+ * </p>
6048
+ * @public
6049
+ */
6050
+ InterruptibleCapacityReservationId?: string | undefined;
6051
+ /**
6052
+ * <p>
6053
+ * The ID of the source Capacity Reservation to which capacity was reclaimed or from which capacity was allocated.
6054
+ * </p>
6055
+ * @public
6056
+ */
6057
+ SourceCapacityReservationId?: string | undefined;
6058
+ /**
6059
+ * <p>
6060
+ * The current number of instances allocated to the interruptible reservation.
6061
+ * </p>
6062
+ * @public
6063
+ */
6064
+ InstanceCount?: number | undefined;
6065
+ /**
6066
+ * <p>
6067
+ * The requested number of instances for the interruptible Capacity Reservation.
6068
+ * </p>
6069
+ * @public
6070
+ */
6071
+ TargetInstanceCount?: number | undefined;
6072
+ /**
6073
+ * <p>
6074
+ * The current status of the allocation (updating during reclamation, active when complete).
6075
+ * </p>
6076
+ * @public
6077
+ */
6078
+ Status?: InterruptibleCapacityReservationAllocationStatus | undefined;
6079
+ /**
6080
+ * <p>
6081
+ * The interruption type for the interruptible reservation.
6082
+ * </p>
6083
+ * @public
6084
+ */
6085
+ InterruptionType?: InterruptionType | undefined;
6086
+ }
5868
6087
  /**
5869
6088
  * <p>Describes the description of a security group rule.</p>
5870
6089
  * <p>You can use this when you want to update the security group rule description for either an inbound or outbound rule.</p>
@@ -310,6 +310,8 @@ export declare var CreateInstanceExportTaskRequest: StaticStructureSchema;
310
310
  export declare var CreateInstanceExportTaskResult: StaticStructureSchema;
311
311
  export declare var CreateInternetGatewayRequest: StaticStructureSchema;
312
312
  export declare var CreateInternetGatewayResult: StaticStructureSchema;
313
+ export declare var CreateInterruptibleCapacityReservationAllocationRequest: StaticStructureSchema;
314
+ export declare var CreateInterruptibleCapacityReservationAllocationResult: StaticStructureSchema;
313
315
  export declare var CreateIpamExternalResourceVerificationTokenRequest: StaticStructureSchema;
314
316
  export declare var CreateIpamExternalResourceVerificationTokenResult: StaticStructureSchema;
315
317
  export declare var CreateIpamPolicyRequest: StaticStructureSchema;
@@ -1518,6 +1520,8 @@ export declare var InstanceUsage: StaticStructureSchema;
1518
1520
  export declare var IntegrateServices: StaticStructureSchema;
1519
1521
  export declare var InternetGateway: StaticStructureSchema;
1520
1522
  export declare var InternetGatewayAttachment: StaticStructureSchema;
1523
+ export declare var InterruptibleCapacityAllocation: StaticStructureSchema;
1524
+ export declare var InterruptionInfo: StaticStructureSchema;
1521
1525
  export declare var Ipam: StaticStructureSchema;
1522
1526
  export declare var IpamAddressHistoryRecord: StaticStructureSchema;
1523
1527
  export declare var IpamCidrAuthorizationContext: StaticStructureSchema;
@@ -2241,6 +2245,8 @@ export declare var UnsuccessfulItem: StaticStructureSchema;
2241
2245
  export declare var UnsuccessfulItemError: StaticStructureSchema;
2242
2246
  export declare var UpdateCapacityManagerOrganizationsAccessRequest: StaticStructureSchema;
2243
2247
  export declare var UpdateCapacityManagerOrganizationsAccessResult: StaticStructureSchema;
2248
+ export declare var UpdateInterruptibleCapacityReservationAllocationRequest: StaticStructureSchema;
2249
+ export declare var UpdateInterruptibleCapacityReservationAllocationResult: StaticStructureSchema;
2244
2250
  export declare var UpdateSecurityGroupRuleDescriptionsEgressRequest: StaticStructureSchema;
2245
2251
  export declare var UpdateSecurityGroupRuleDescriptionsEgressResult: StaticStructureSchema;
2246
2252
  export declare var UpdateSecurityGroupRuleDescriptionsIngressRequest: StaticStructureSchema;
@@ -3121,6 +3127,7 @@ export declare var CreateInstanceConnectEndpoint: StaticOperationSchema;
3121
3127
  export declare var CreateInstanceEventWindow: StaticOperationSchema;
3122
3128
  export declare var CreateInstanceExportTask: StaticOperationSchema;
3123
3129
  export declare var CreateInternetGateway: StaticOperationSchema;
3130
+ export declare var CreateInterruptibleCapacityReservationAllocation: StaticOperationSchema;
3124
3131
  export declare var CreateIpam: StaticOperationSchema;
3125
3132
  export declare var CreateIpamExternalResourceVerificationToken: StaticOperationSchema;
3126
3133
  export declare var CreateIpamPolicy: StaticOperationSchema;
@@ -3780,6 +3787,7 @@ export declare var UnassignPrivateNatGatewayAddress: StaticOperationSchema;
3780
3787
  export declare var UnlockSnapshot: StaticOperationSchema;
3781
3788
  export declare var UnmonitorInstances: StaticOperationSchema;
3782
3789
  export declare var UpdateCapacityManagerOrganizationsAccess: StaticOperationSchema;
3790
+ export declare var UpdateInterruptibleCapacityReservationAllocation: StaticOperationSchema;
3783
3791
  export declare var UpdateSecurityGroupRuleDescriptionsEgress: StaticOperationSchema;
3784
3792
  export declare var UpdateSecurityGroupRuleDescriptionsIngress: StaticOperationSchema;
3785
3793
  export declare var WithdrawByoipCidr: StaticOperationSchema;