@aws-sdk/client-ec2 3.438.0 → 3.441.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 (90) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/EC2.js +4 -0
  3. package/dist-cjs/commands/DescribeCapacityBlockOfferingsCommand.js +51 -0
  4. package/dist-cjs/commands/PurchaseCapacityBlockCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +8 -1
  7. package/dist-cjs/models/models_1.js +2 -0
  8. package/dist-cjs/models/models_3.js +2 -6
  9. package/dist-cjs/models/models_4.js +8 -2
  10. package/dist-cjs/pagination/DescribeCapacityBlockOfferingsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +2 -1
  12. package/dist-cjs/protocols/Aws_ec2.js +213 -20
  13. package/dist-es/EC2.js +4 -0
  14. package/dist-es/commands/DescribeCapacityBlockOfferingsCommand.js +47 -0
  15. package/dist-es/commands/PurchaseCapacityBlockCommand.js +47 -0
  16. package/dist-es/commands/index.js +2 -0
  17. package/dist-es/models/models_0.js +7 -0
  18. package/dist-es/models/models_1.js +2 -0
  19. package/dist-es/models/models_3.js +0 -4
  20. package/dist-es/models/models_4.js +6 -0
  21. package/dist-es/pagination/DescribeCapacityBlockOfferingsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +2 -1
  23. package/dist-es/protocols/Aws_ec2.js +188 -0
  24. package/dist-types/EC2.d.ts +14 -0
  25. package/dist-types/EC2Client.d.ts +4 -2
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  30. package/dist-types/commands/DeletePublicIpv4PoolCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +94 -0
  32. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeFleetsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -3
  36. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  40. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  41. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -1
  42. package/dist-types/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  43. package/dist-types/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +1 -2
  44. package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
  45. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +122 -0
  46. package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +2 -1
  47. package/dist-types/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  48. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  49. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -2
  50. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  51. package/dist-types/commands/index.d.ts +2 -0
  52. package/dist-types/models/models_0.d.ts +20 -16
  53. package/dist-types/models/models_1.d.ts +22 -51
  54. package/dist-types/models/models_2.d.ts +49 -18
  55. package/dist-types/models/models_3.d.ts +135 -788
  56. package/dist-types/models/models_4.d.ts +792 -120
  57. package/dist-types/models/models_5.d.ts +118 -141
  58. package/dist-types/models/models_6.d.ts +176 -217
  59. package/dist-types/models/models_7.d.ts +216 -1
  60. package/dist-types/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +7 -0
  61. package/dist-types/pagination/index.d.ts +2 -1
  62. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  63. package/dist-types/ts3.4/EC2.d.ts +34 -0
  64. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  65. package/dist-types/ts3.4/commands/DeletePublicIpv4PoolCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/DescribeCapacityBlockOfferingsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeVerifiedAccessEndpointsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/GetTransitGatewayPrefixListReferencesCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/GetTransitGatewayRouteTableAssociationsCommand.d.ts +4 -2
  73. package/dist-types/ts3.4/commands/PurchaseCapacityBlockCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/RestoreSnapshotTierCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/RevokeClientVpnIngressCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/RevokeSecurityGroupEgressCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/RevokeSecurityGroupIngressCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  79. package/dist-types/ts3.4/models/models_0.d.ts +10 -4
  80. package/dist-types/ts3.4/models/models_1.d.ts +6 -11
  81. package/dist-types/ts3.4/models/models_2.d.ts +13 -5
  82. package/dist-types/ts3.4/models/models_3.d.ts +31 -25
  83. package/dist-types/ts3.4/models/models_4.d.ts +28 -30
  84. package/dist-types/ts3.4/models/models_5.d.ts +26 -22
  85. package/dist-types/ts3.4/models/models_6.d.ts +33 -47
  86. package/dist-types/ts3.4/models/models_7.d.ts +46 -0
  87. package/dist-types/ts3.4/pagination/DescribeCapacityBlockOfferingsPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  89. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  90. package/package.json +4 -4
@@ -0,0 +1,122 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
+ import { PurchaseCapacityBlockRequest, PurchaseCapacityBlockResult } from "../models/models_6";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PurchaseCapacityBlockCommand}.
14
+ */
15
+ export interface PurchaseCapacityBlockCommandInput extends PurchaseCapacityBlockRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PurchaseCapacityBlockCommand}.
21
+ */
22
+ export interface PurchaseCapacityBlockCommandOutput extends PurchaseCapacityBlockResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Purchase the Capacity Block for use with your account.
27
+ * With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EC2Client, PurchaseCapacityBlockCommand } from "@aws-sdk/client-ec2"; // ES Modules import
32
+ * // const { EC2Client, PurchaseCapacityBlockCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
33
+ * const client = new EC2Client(config);
34
+ * const input = { // PurchaseCapacityBlockRequest
35
+ * DryRun: true || false,
36
+ * TagSpecifications: [ // TagSpecificationList
37
+ * { // TagSpecification
38
+ * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "dedicated-host" || "dhcp-options" || "egress-only-internet-gateway" || "elastic-ip" || "elastic-gpu" || "export-image-task" || "export-instance-task" || "fleet" || "fpga-image" || "host-reservation" || "image" || "import-image-task" || "import-snapshot-task" || "instance" || "instance-event-window" || "internet-gateway" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint",
39
+ * Tags: [ // TagList
40
+ * { // Tag
41
+ * Key: "STRING_VALUE",
42
+ * Value: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * },
46
+ * ],
47
+ * CapacityBlockOfferingId: "STRING_VALUE", // required
48
+ * InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro", // required
49
+ * };
50
+ * const command = new PurchaseCapacityBlockCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // PurchaseCapacityBlockResult
53
+ * // CapacityReservation: { // CapacityReservation
54
+ * // CapacityReservationId: "STRING_VALUE",
55
+ * // OwnerId: "STRING_VALUE",
56
+ * // CapacityReservationArn: "STRING_VALUE",
57
+ * // AvailabilityZoneId: "STRING_VALUE",
58
+ * // InstanceType: "STRING_VALUE",
59
+ * // InstancePlatform: "Linux/UNIX" || "Red Hat Enterprise Linux" || "SUSE Linux" || "Windows" || "Windows with SQL Server" || "Windows with SQL Server Enterprise" || "Windows with SQL Server Standard" || "Windows with SQL Server Web" || "Linux with SQL Server Standard" || "Linux with SQL Server Web" || "Linux with SQL Server Enterprise" || "RHEL with SQL Server Standard" || "RHEL with SQL Server Enterprise" || "RHEL with SQL Server Web" || "RHEL with HA" || "RHEL with HA and SQL Server Standard" || "RHEL with HA and SQL Server Enterprise" || "Ubuntu Pro",
60
+ * // AvailabilityZone: "STRING_VALUE",
61
+ * // Tenancy: "default" || "dedicated",
62
+ * // TotalInstanceCount: Number("int"),
63
+ * // AvailableInstanceCount: Number("int"),
64
+ * // EbsOptimized: true || false,
65
+ * // EphemeralStorage: true || false,
66
+ * // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "scheduled" || "payment-pending" || "payment-failed",
67
+ * // StartDate: new Date("TIMESTAMP"),
68
+ * // EndDate: new Date("TIMESTAMP"),
69
+ * // EndDateType: "unlimited" || "limited",
70
+ * // InstanceMatchCriteria: "open" || "targeted",
71
+ * // CreateDate: new Date("TIMESTAMP"),
72
+ * // Tags: [ // TagList
73
+ * // { // Tag
74
+ * // Key: "STRING_VALUE",
75
+ * // Value: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // OutpostArn: "STRING_VALUE",
79
+ * // CapacityReservationFleetId: "STRING_VALUE",
80
+ * // PlacementGroupArn: "STRING_VALUE",
81
+ * // CapacityAllocations: [ // CapacityAllocations
82
+ * // { // CapacityAllocation
83
+ * // AllocationType: "used",
84
+ * // Count: Number("int"),
85
+ * // },
86
+ * // ],
87
+ * // ReservationType: "default" || "capacity-block",
88
+ * // },
89
+ * // };
90
+ *
91
+ * ```
92
+ *
93
+ * @param PurchaseCapacityBlockCommandInput - {@link PurchaseCapacityBlockCommandInput}
94
+ * @returns {@link PurchaseCapacityBlockCommandOutput}
95
+ * @see {@link PurchaseCapacityBlockCommandInput} for command's `input` shape.
96
+ * @see {@link PurchaseCapacityBlockCommandOutput} for command's `response` shape.
97
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
98
+ *
99
+ * @throws {@link EC2ServiceException}
100
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
101
+ *
102
+ */
103
+ export declare class PurchaseCapacityBlockCommand extends $Command<PurchaseCapacityBlockCommandInput, PurchaseCapacityBlockCommandOutput, EC2ClientResolvedConfig> {
104
+ readonly input: PurchaseCapacityBlockCommandInput;
105
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
+ /**
107
+ * @public
108
+ */
109
+ constructor(input: PurchaseCapacityBlockCommandInput);
110
+ /**
111
+ * @internal
112
+ */
113
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EC2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PurchaseCapacityBlockCommandInput, PurchaseCapacityBlockCommandOutput>;
114
+ /**
115
+ * @internal
116
+ */
117
+ private serialize;
118
+ /**
119
+ * @internal
120
+ */
121
+ private deserialize;
122
+ }
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { RestoreSnapshotTierRequest, RestoreSnapshotTierResult } from "../models/models_6";
5
+ import { RestoreSnapshotTierRequest } from "../models/models_6";
6
+ import { RestoreSnapshotTierResult } from "../models/models_7";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { RevokeClientVpnIngressRequest, RevokeClientVpnIngressResult } from "../models/models_6";
5
+ import { RevokeClientVpnIngressRequest, RevokeClientVpnIngressResult } from "../models/models_7";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { RevokeSecurityGroupEgressRequest, RevokeSecurityGroupEgressResult } from "../models/models_6";
5
+ import { RevokeSecurityGroupEgressRequest, RevokeSecurityGroupEgressResult } from "../models/models_7";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
5
- import { RevokeSecurityGroupIngressRequest } from "../models/models_6";
6
- import { RevokeSecurityGroupIngressResult } from "../models/models_7";
5
+ import { RevokeSecurityGroupIngressRequest, RevokeSecurityGroupIngressResult } from "../models/models_7";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -216,7 +216,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
216
216
  * Version: "STRING_VALUE",
217
217
  * },
218
218
  * InstanceMarketOptions: { // InstanceMarketOptionsRequest
219
- * MarketType: "spot",
219
+ * MarketType: "spot" || "capacity-block",
220
220
  * SpotOptions: { // SpotMarketOptions
221
221
  * MaxPrice: "STRING_VALUE",
222
222
  * SpotInstanceType: "one-time" || "persistent",
@@ -340,7 +340,7 @@ export interface RunInstancesCommandOutput extends Reservation, __MetadataBearer
340
340
  * // Arn: "STRING_VALUE",
341
341
  * // Id: "STRING_VALUE",
342
342
  * // },
343
- * // InstanceLifecycle: "spot" || "scheduled",
343
+ * // InstanceLifecycle: "spot" || "scheduled" || "capacity-block",
344
344
  * // ElasticGpuAssociations: [ // ElasticGpuAssociationList
345
345
  * // { // ElasticGpuAssociation
346
346
  * // ElasticGpuId: "STRING_VALUE",
@@ -224,6 +224,7 @@ export * from "./DescribeAvailabilityZonesCommand";
224
224
  export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
225
225
  export * from "./DescribeBundleTasksCommand";
226
226
  export * from "./DescribeByoipCidrsCommand";
227
+ export * from "./DescribeCapacityBlockOfferingsCommand";
227
228
  export * from "./DescribeCapacityReservationFleetsCommand";
228
229
  export * from "./DescribeCapacityReservationsCommand";
229
230
  export * from "./DescribeCarrierGatewaysCommand";
@@ -537,6 +538,7 @@ export * from "./MoveByoipCidrToIpamCommand";
537
538
  export * from "./ProvisionByoipCidrCommand";
538
539
  export * from "./ProvisionIpamPoolCidrCommand";
539
540
  export * from "./ProvisionPublicIpv4PoolCidrCommand";
541
+ export * from "./PurchaseCapacityBlockCommand";
540
542
  export * from "./PurchaseHostReservationCommand";
541
543
  export * from "./PurchaseReservedInstancesOfferingCommand";
542
544
  export * from "./PurchaseScheduledInstancesCommand";
@@ -7134,6 +7134,18 @@ export interface CapacityAllocation {
7134
7134
  */
7135
7135
  Count?: number;
7136
7136
  }
7137
+ /**
7138
+ * @public
7139
+ * @enum
7140
+ */
7141
+ export declare const CapacityReservationType: {
7142
+ readonly CAPACITY_BLOCK: "capacity-block";
7143
+ readonly DEFAULT: "default";
7144
+ };
7145
+ /**
7146
+ * @public
7147
+ */
7148
+ export type CapacityReservationType = (typeof CapacityReservationType)[keyof typeof CapacityReservationType];
7137
7149
  /**
7138
7150
  * @public
7139
7151
  * @enum
@@ -7143,7 +7155,10 @@ export declare const CapacityReservationState: {
7143
7155
  readonly cancelled: "cancelled";
7144
7156
  readonly expired: "expired";
7145
7157
  readonly failed: "failed";
7158
+ readonly payment_failed: "payment-failed";
7159
+ readonly payment_pending: "payment-pending";
7146
7160
  readonly pending: "pending";
7161
+ readonly scheduled: "scheduled";
7147
7162
  };
7148
7163
  /**
7149
7164
  * @public
@@ -7345,6 +7360,11 @@ export interface CapacityReservation {
7345
7360
  * <p>Information about instance capacity usage.</p>
7346
7361
  */
7347
7362
  CapacityAllocations?: CapacityAllocation[];
7363
+ /**
7364
+ * @public
7365
+ * <p>The type of Capacity Reservation.</p>
7366
+ */
7367
+ ReservationType?: CapacityReservationType;
7348
7368
  }
7349
7369
  /**
7350
7370
  * @public
@@ -8522,22 +8542,6 @@ export interface DirectoryServiceAuthenticationRequest {
8522
8542
  */
8523
8543
  DirectoryId?: string;
8524
8544
  }
8525
- /**
8526
- * @public
8527
- * <p>The IAM SAML identity provider used for federated authentication.</p>
8528
- */
8529
- export interface FederatedAuthenticationRequest {
8530
- /**
8531
- * @public
8532
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
8533
- */
8534
- SAMLProviderArn?: string;
8535
- /**
8536
- * @public
8537
- * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
8538
- */
8539
- SelfServiceSAMLProviderArn?: string;
8540
- }
8541
8545
  /**
8542
8546
  * @internal
8543
8547
  */
@@ -1,4 +1,20 @@
1
- import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, DirectoryServiceAuthenticationRequest, FederatedAuthenticationRequest, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, PortRange, Protocol, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
1
+ import { _InstanceType, AcceleratorCount, AcceleratorCountRequest, AcceleratorManufacturer, AcceleratorName, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AcceleratorType, AccessScopePath, AccessScopePathRequest, AddIpamOperatingRegion, AddPrefixListEntry, AddressFamily, AttachmentStatus, DirectoryServiceAuthenticationRequest, InstanceEventWindow, Ipv4PrefixSpecification, NatGatewayAddress, PortRange, Protocol, ResourceType, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation, WeekDay } from "./models_0";
2
+ /**
3
+ * @public
4
+ * <p>The IAM SAML identity provider used for federated authentication.</p>
5
+ */
6
+ export interface FederatedAuthenticationRequest {
7
+ /**
8
+ * @public
9
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider.</p>
10
+ */
11
+ SAMLProviderArn?: string;
12
+ /**
13
+ * @public
14
+ * <p>The Amazon Resource Name (ARN) of the IAM SAML identity provider for the self-service portal.</p>
15
+ */
16
+ SelfServiceSAMLProviderArn?: string;
17
+ }
2
18
  /**
3
19
  * @public
4
20
  * <p>Information about the client certificate to be used for authentication.</p>
@@ -2282,6 +2298,7 @@ export interface SpotOptionsRequest {
2282
2298
  * @enum
2283
2299
  */
2284
2300
  export declare const DefaultTargetCapacityType: {
2301
+ readonly CAPACITY_BLOCK: "capacity-block";
2285
2302
  readonly ON_DEMAND: "on-demand";
2286
2303
  readonly SPOT: "spot";
2287
2304
  };
@@ -2676,8 +2693,9 @@ export interface VCpuCountRange {
2676
2693
  * wizard</a> or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances API</a>, you
2677
2694
  * can't specify <code>InstanceRequirements</code>.</p>
2678
2695
  * </note>
2679
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
2680
- * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
2696
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create a mixed instances group using attribute-based instance type selection</a> in
2697
+ * the <i>Amazon EC2 Auto Scaling User Guide</i>, and also <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
2698
+ * placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
2681
2699
  */
2682
2700
  export interface InstanceRequirements {
2683
2701
  /**
@@ -5539,6 +5557,7 @@ export type ShutdownBehavior = (typeof ShutdownBehavior)[keyof typeof ShutdownBe
5539
5557
  * @enum
5540
5558
  */
5541
5559
  export declare const MarketType: {
5560
+ readonly capacity_block: "capacity-block";
5542
5561
  readonly spot: "spot";
5543
5562
  };
5544
5563
  /**
@@ -9725,54 +9744,6 @@ export declare const PlacementGroupState: {
9725
9744
  * @public
9726
9745
  */
9727
9746
  export type PlacementGroupState = (typeof PlacementGroupState)[keyof typeof PlacementGroupState];
9728
- /**
9729
- * @public
9730
- * <p>Describes a placement group.</p>
9731
- */
9732
- export interface PlacementGroup {
9733
- /**
9734
- * @public
9735
- * <p>The name of the placement group.</p>
9736
- */
9737
- GroupName?: string;
9738
- /**
9739
- * @public
9740
- * <p>The state of the placement group.</p>
9741
- */
9742
- State?: PlacementGroupState;
9743
- /**
9744
- * @public
9745
- * <p>The placement strategy.</p>
9746
- */
9747
- Strategy?: PlacementStrategy;
9748
- /**
9749
- * @public
9750
- * <p>The number of partitions. Valid only if <b>strategy</b> is
9751
- * set to <code>partition</code>.</p>
9752
- */
9753
- PartitionCount?: number;
9754
- /**
9755
- * @public
9756
- * <p>The ID of the placement group.</p>
9757
- */
9758
- GroupId?: string;
9759
- /**
9760
- * @public
9761
- * <p>Any tags applied to the placement group.</p>
9762
- */
9763
- Tags?: Tag[];
9764
- /**
9765
- * @public
9766
- * <p>The Amazon Resource Name (ARN) of the placement group.</p>
9767
- */
9768
- GroupArn?: string;
9769
- /**
9770
- * @public
9771
- * <p>The spread level for the placement group. <i>Only</i> Outpost placement
9772
- * groups can be spread across hosts.</p>
9773
- */
9774
- SpreadLevel?: SpreadLevel;
9775
- }
9776
9747
  /**
9777
9748
  * @internal
9778
9749
  */
@@ -1,5 +1,53 @@
1
1
  import { ApplianceModeSupportValue, CarrierGateway, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DynamicRoutingValue, InstanceEventWindowState, Ipv6SupportValue, ReservedInstancesListing, RouteTableAssociationState, Tag, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrustProviderType, UnsuccessfulItem, UserTrustProviderType, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider, VolumeAttachment, VpcAttachment, VpcPeeringConnection } from "./models_0";
2
- import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlacementGroup, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
2
+ import { ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipCidr, CoipPool, Ec2InstanceConnectEndpoint, GatewayType, Ipam, IpamPool, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, PlacementGroupState, PlacementStrategy, SpreadLevel, Subnet, Tenancy, VolumeType, Vpc } from "./models_1";
3
+ /**
4
+ * @public
5
+ * <p>Describes a placement group.</p>
6
+ */
7
+ export interface PlacementGroup {
8
+ /**
9
+ * @public
10
+ * <p>The name of the placement group.</p>
11
+ */
12
+ GroupName?: string;
13
+ /**
14
+ * @public
15
+ * <p>The state of the placement group.</p>
16
+ */
17
+ State?: PlacementGroupState;
18
+ /**
19
+ * @public
20
+ * <p>The placement strategy.</p>
21
+ */
22
+ Strategy?: PlacementStrategy;
23
+ /**
24
+ * @public
25
+ * <p>The number of partitions. Valid only if <b>strategy</b> is
26
+ * set to <code>partition</code>.</p>
27
+ */
28
+ PartitionCount?: number;
29
+ /**
30
+ * @public
31
+ * <p>The ID of the placement group.</p>
32
+ */
33
+ GroupId?: string;
34
+ /**
35
+ * @public
36
+ * <p>Any tags applied to the placement group.</p>
37
+ */
38
+ Tags?: Tag[];
39
+ /**
40
+ * @public
41
+ * <p>The Amazon Resource Name (ARN) of the placement group.</p>
42
+ */
43
+ GroupArn?: string;
44
+ /**
45
+ * @public
46
+ * <p>The spread level for the placement group. <i>Only</i> Outpost placement
47
+ * groups can be spread across hosts.</p>
48
+ */
49
+ SpreadLevel?: SpreadLevel;
50
+ }
3
51
  /**
4
52
  * @public
5
53
  */
@@ -7590,23 +7638,6 @@ export interface DeletePlacementGroupRequest {
7590
7638
  */
7591
7639
  GroupName: string | undefined;
7592
7640
  }
7593
- /**
7594
- * @public
7595
- */
7596
- export interface DeletePublicIpv4PoolRequest {
7597
- /**
7598
- * @public
7599
- * <p>A check for whether you have the required permissions for the action without actually making the request
7600
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7601
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7602
- */
7603
- DryRun?: boolean;
7604
- /**
7605
- * @public
7606
- * <p>The ID of the public IPv4 pool you want to delete.</p>
7607
- */
7608
- PoolId: string | undefined;
7609
- }
7610
7641
  /**
7611
7642
  * @internal
7612
7643
  */