aws-sdk 2.1000.0 → 2.1001.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -1
- package/README.md +1 -1
- package/apis/backup-2018-11-15.min.json +54 -42
- package/apis/ec2-2016-11-15.min.json +1212 -879
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/ec2-2016-11-15.waiters2.json +6 -0
- package/apis/glue-2017-03-31.min.json +3 -0
- package/apis/location-2020-11-19.min.json +9 -6
- package/apis/workmail-2017-10-01.min.json +67 -27
- package/clients/applicationautoscaling.d.ts +38 -38
- package/clients/backup.d.ts +22 -10
- package/clients/ec2.d.ts +377 -2
- package/clients/glue.d.ts +7 -0
- package/clients/location.d.ts +37 -24
- package/clients/workmail.d.ts +41 -0
- package/dist/aws-sdk-core-react-native.js +1 -2
- package/dist/aws-sdk-react-native.js +8 -24
- package/dist/aws-sdk.js +1236 -904
- package/dist/aws-sdk.min.js +66 -66
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +0 -1
- package/lib/services/s3.js +0 -15
- package/package.json +1 -1
- package/scripts/region-checker/allowlist.js +7 -7
package/clients/backup.d.ts
CHANGED
|
@@ -36,11 +36,11 @@ declare class Backup extends Service {
|
|
|
36
36
|
*/
|
|
37
37
|
createBackupVault(callback?: (err: AWSError, data: Backup.Types.CreateBackupVaultOutput) => void): Request<Backup.Types.CreateBackupVaultOutput, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies
|
|
39
|
+
* Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
|
|
40
40
|
*/
|
|
41
41
|
createFramework(params: Backup.Types.CreateFrameworkInput, callback?: (err: AWSError, data: Backup.Types.CreateFrameworkOutput) => void): Request<Backup.Types.CreateFrameworkOutput, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies
|
|
43
|
+
* Creates a framework with one or more controls. A framework is a collection of controls that you can use to evaluate your backup practices. By using pre-built customizable controls to define your policies, you can evaluate whether your backup practices comply with your policies and which resources are not yet in compliance.
|
|
44
44
|
*/
|
|
45
45
|
createFramework(callback?: (err: AWSError, data: Backup.Types.CreateFrameworkOutput) => void): Request<Backup.Types.CreateFrameworkOutput, AWSError>;
|
|
46
46
|
/**
|
|
@@ -903,7 +903,7 @@ declare namespace Backup {
|
|
|
903
903
|
export type ControlName = string;
|
|
904
904
|
export interface ControlScope {
|
|
905
905
|
/**
|
|
906
|
-
*
|
|
906
|
+
* The ID of the only Amazon Web Services resource that you want your control scope to contain.
|
|
907
907
|
*/
|
|
908
908
|
ComplianceResourceIds?: ComplianceResourceIdList;
|
|
909
909
|
/**
|
|
@@ -1126,11 +1126,11 @@ declare namespace Backup {
|
|
|
1126
1126
|
*/
|
|
1127
1127
|
ReportDeliveryChannel: ReportDeliveryChannel;
|
|
1128
1128
|
/**
|
|
1129
|
-
* Identifies the report template for the report. Reports are built using a report template. The report templates are: BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
1129
|
+
* Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.
|
|
1130
1130
|
*/
|
|
1131
1131
|
ReportSetting: ReportSetting;
|
|
1132
1132
|
/**
|
|
1133
|
-
* Metadata that you can assign to help organize the
|
|
1133
|
+
* Metadata that you can assign to help organize the report plans that you create. Each tag is a key-value pair.
|
|
1134
1134
|
*/
|
|
1135
1135
|
ReportPlanTags?: stringMap;
|
|
1136
1136
|
/**
|
|
@@ -1147,6 +1147,10 @@ declare namespace Backup {
|
|
|
1147
1147
|
* An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.
|
|
1148
1148
|
*/
|
|
1149
1149
|
ReportPlanArn?: ARN;
|
|
1150
|
+
/**
|
|
1151
|
+
* The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
|
|
1152
|
+
*/
|
|
1153
|
+
CreationTime?: timestamp;
|
|
1150
1154
|
}
|
|
1151
1155
|
export type CronExpression = string;
|
|
1152
1156
|
export interface DeleteBackupPlanInput {
|
|
@@ -1848,7 +1852,7 @@ declare namespace Backup {
|
|
|
1848
1852
|
}
|
|
1849
1853
|
export interface GetSupportedResourceTypesOutput {
|
|
1850
1854
|
/**
|
|
1851
|
-
* Contains a string with the supported Amazon Web Services resource types: DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System RDS for Amazon Relational Database Service
|
|
1855
|
+
* Contains a string with the supported Amazon Web Services resource types: Aurora for Amazon Aurora DynamoDB for Amazon DynamoDB EBS for Amazon Elastic Block Store EC2 for Amazon Elastic Compute Cloud EFS for Amazon Elastic File System FSX for Amazon FSx RDS for Amazon Relational Database Service Storage Gateway for Storage Gateway
|
|
1852
1856
|
*/
|
|
1853
1857
|
ResourceTypes?: ResourceTypes;
|
|
1854
1858
|
}
|
|
@@ -2507,7 +2511,7 @@ declare namespace Backup {
|
|
|
2507
2511
|
*/
|
|
2508
2512
|
ReportPlanArn?: ARN;
|
|
2509
2513
|
/**
|
|
2510
|
-
* Identifies the report template for the report. Reports are built using a report template. The report templates are: BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2514
|
+
* Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2511
2515
|
*/
|
|
2512
2516
|
ReportTemplate?: string;
|
|
2513
2517
|
/**
|
|
@@ -2547,7 +2551,7 @@ declare namespace Backup {
|
|
|
2547
2551
|
*/
|
|
2548
2552
|
ReportPlanDescription?: ReportPlanDescription;
|
|
2549
2553
|
/**
|
|
2550
|
-
* Identifies the report template for the report. Reports are built using a report template. The report templates are: BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2554
|
+
* Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.
|
|
2551
2555
|
*/
|
|
2552
2556
|
ReportSetting?: ReportSetting;
|
|
2553
2557
|
/**
|
|
@@ -2576,9 +2580,17 @@ declare namespace Backup {
|
|
|
2576
2580
|
export type ReportPlanName = string;
|
|
2577
2581
|
export interface ReportSetting {
|
|
2578
2582
|
/**
|
|
2579
|
-
* Identifies the report template for the report. Reports are built using a report template. The report templates are: BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2583
|
+
* Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2580
2584
|
*/
|
|
2581
2585
|
ReportTemplate: string;
|
|
2586
|
+
/**
|
|
2587
|
+
* The Amazon Resource Names (ARNs) of the frameworks a report covers.
|
|
2588
|
+
*/
|
|
2589
|
+
FrameworkArns?: stringList;
|
|
2590
|
+
/**
|
|
2591
|
+
* The number of frameworks a report covers.
|
|
2592
|
+
*/
|
|
2593
|
+
NumberOfFrameworks?: integer;
|
|
2582
2594
|
}
|
|
2583
2595
|
export type ResourceArns = ARN[];
|
|
2584
2596
|
export type ResourceType = string;
|
|
@@ -2924,7 +2936,7 @@ declare namespace Backup {
|
|
|
2924
2936
|
*/
|
|
2925
2937
|
ReportDeliveryChannel?: ReportDeliveryChannel;
|
|
2926
2938
|
/**
|
|
2927
|
-
* Identifies the report template for the report. Reports are built using a report template. The report templates are: BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT
|
|
2939
|
+
* Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.
|
|
2928
2940
|
*/
|
|
2929
2941
|
ReportSetting?: ReportSetting;
|
|
2930
2942
|
/**
|
package/clients/ec2.d.ts
CHANGED
|
@@ -292,6 +292,14 @@ declare class EC2 extends Service {
|
|
|
292
292
|
* Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled. Instances running in the reserved capacity continue running until you stop them. Stopped instances that target the Capacity Reservation can no longer launch. Modify these instances to either target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation that has matching attributes and sufficient capacity.
|
|
293
293
|
*/
|
|
294
294
|
cancelCapacityReservation(callback?: (err: AWSError, data: EC2.Types.CancelCapacityReservationResult) => void): Request<EC2.Types.CancelCapacityReservationResult, AWSError>;
|
|
295
|
+
/**
|
|
296
|
+
* Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following happens: The Capacity Reservation Fleet's status changes to cancelled. The individual Capacity Reservations in the Fleet are cancelled. Instances running in the Capacity Reservations at the time of cancelling the Fleet continue to run in shared capacity. The Fleet stops creating new Capacity Reservations.
|
|
297
|
+
*/
|
|
298
|
+
cancelCapacityReservationFleets(params: EC2.Types.CancelCapacityReservationFleetsRequest, callback?: (err: AWSError, data: EC2.Types.CancelCapacityReservationFleetsResult) => void): Request<EC2.Types.CancelCapacityReservationFleetsResult, AWSError>;
|
|
299
|
+
/**
|
|
300
|
+
* Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following happens: The Capacity Reservation Fleet's status changes to cancelled. The individual Capacity Reservations in the Fleet are cancelled. Instances running in the Capacity Reservations at the time of cancelling the Fleet continue to run in shared capacity. The Fleet stops creating new Capacity Reservations.
|
|
301
|
+
*/
|
|
302
|
+
cancelCapacityReservationFleets(callback?: (err: AWSError, data: EC2.Types.CancelCapacityReservationFleetsResult) => void): Request<EC2.Types.CancelCapacityReservationFleetsResult, AWSError>;
|
|
295
303
|
/**
|
|
296
304
|
* Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI.
|
|
297
305
|
*/
|
|
@@ -380,6 +388,14 @@ declare class EC2 extends Service {
|
|
|
380
388
|
* Creates a new Capacity Reservation with the specified attributes. Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration. This gives you the flexibility to selectively add capacity reservations and still get the Regional RI discounts for that usage. By creating Capacity Reservations, you ensure that you always have access to Amazon EC2 capacity when you need it, for as long as you need it. For more information, see Capacity Reservations in the Amazon EC2 User Guide. Your request to create a Capacity Reservation could fail if Amazon EC2 does not have sufficient capacity to fulfill the request. If your request fails due to Amazon EC2 capacity constraints, either try again at a later time, try in a different Availability Zone, or request a smaller capacity reservation. If your application is flexible across instance types and sizes, try to create a Capacity Reservation with different instance attributes. Your request could also fail if the requested quantity exceeds your On-Demand Instance limit for the selected instance type. If your request fails due to limit constraints, increase your On-Demand Instance limit for the required instance type and try again. For more information about increasing your instance limits, see Amazon EC2 Service Quotas in the Amazon EC2 User Guide.
|
|
381
389
|
*/
|
|
382
390
|
createCapacityReservation(callback?: (err: AWSError, data: EC2.Types.CreateCapacityReservationResult) => void): Request<EC2.Types.CreateCapacityReservationResult, AWSError>;
|
|
391
|
+
/**
|
|
392
|
+
* Creates a Capacity Reservation Fleet. For more information, see Create a Capacity Reservation Fleet in the Amazon EC2 User Guide.
|
|
393
|
+
*/
|
|
394
|
+
createCapacityReservationFleet(params: EC2.Types.CreateCapacityReservationFleetRequest, callback?: (err: AWSError, data: EC2.Types.CreateCapacityReservationFleetResult) => void): Request<EC2.Types.CreateCapacityReservationFleetResult, AWSError>;
|
|
395
|
+
/**
|
|
396
|
+
* Creates a Capacity Reservation Fleet. For more information, see Create a Capacity Reservation Fleet in the Amazon EC2 User Guide.
|
|
397
|
+
*/
|
|
398
|
+
createCapacityReservationFleet(callback?: (err: AWSError, data: EC2.Types.CreateCapacityReservationFleetResult) => void): Request<EC2.Types.CreateCapacityReservationFleetResult, AWSError>;
|
|
383
399
|
/**
|
|
384
400
|
* Creates a carrier gateway. For more information about carrier gateways, see Carrier gateways in the Amazon Web Services Wavelength Developer Guide.
|
|
385
401
|
*/
|
|
@@ -1428,6 +1444,14 @@ declare class EC2 extends Service {
|
|
|
1428
1444
|
* Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
|
|
1429
1445
|
*/
|
|
1430
1446
|
describeByoipCidrs(callback?: (err: AWSError, data: EC2.Types.DescribeByoipCidrsResult) => void): Request<EC2.Types.DescribeByoipCidrsResult, AWSError>;
|
|
1447
|
+
/**
|
|
1448
|
+
* Describes one or more Capacity Reservation Fleets.
|
|
1449
|
+
*/
|
|
1450
|
+
describeCapacityReservationFleets(params: EC2.Types.DescribeCapacityReservationFleetsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCapacityReservationFleetsResult) => void): Request<EC2.Types.DescribeCapacityReservationFleetsResult, AWSError>;
|
|
1451
|
+
/**
|
|
1452
|
+
* Describes one or more Capacity Reservation Fleets.
|
|
1453
|
+
*/
|
|
1454
|
+
describeCapacityReservationFleets(callback?: (err: AWSError, data: EC2.Types.DescribeCapacityReservationFleetsResult) => void): Request<EC2.Types.DescribeCapacityReservationFleetsResult, AWSError>;
|
|
1431
1455
|
/**
|
|
1432
1456
|
* Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the Amazon Web Services Region that you're currently using.
|
|
1433
1457
|
*/
|
|
@@ -2948,6 +2972,14 @@ declare class EC2 extends Service {
|
|
|
2948
2972
|
* Modifies a Capacity Reservation's capacity and the conditions under which it is to be released. You cannot change a Capacity Reservation's instance type, EBS optimization, instance store settings, platform, Availability Zone, or instance eligibility. If you need to modify any of these attributes, we recommend that you cancel the Capacity Reservation, and then create a new one with the required attributes.
|
|
2949
2973
|
*/
|
|
2950
2974
|
modifyCapacityReservation(callback?: (err: AWSError, data: EC2.Types.ModifyCapacityReservationResult) => void): Request<EC2.Types.ModifyCapacityReservationResult, AWSError>;
|
|
2975
|
+
/**
|
|
2976
|
+
* Modifies a Capacity Reservation Fleet. When you modify the total target capacity of a Capacity Reservation Fleet, the Fleet automatically creates new Capacity Reservations, or modifies or cancels existing Capacity Reservations in the Fleet to meet the new total target capacity. When you modify the end date for the Fleet, the end dates for all of the individual Capacity Reservations in the Fleet are updated accordingly.
|
|
2977
|
+
*/
|
|
2978
|
+
modifyCapacityReservationFleet(params: EC2.Types.ModifyCapacityReservationFleetRequest, callback?: (err: AWSError, data: EC2.Types.ModifyCapacityReservationFleetResult) => void): Request<EC2.Types.ModifyCapacityReservationFleetResult, AWSError>;
|
|
2979
|
+
/**
|
|
2980
|
+
* Modifies a Capacity Reservation Fleet. When you modify the total target capacity of a Capacity Reservation Fleet, the Fleet automatically creates new Capacity Reservations, or modifies or cancels existing Capacity Reservations in the Fleet to meet the new total target capacity. When you modify the end date for the Fleet, the end dates for all of the individual Capacity Reservations in the Fleet are updated accordingly.
|
|
2981
|
+
*/
|
|
2982
|
+
modifyCapacityReservationFleet(callback?: (err: AWSError, data: EC2.Types.ModifyCapacityReservationFleetResult) => void): Request<EC2.Types.ModifyCapacityReservationFleetResult, AWSError>;
|
|
2951
2983
|
/**
|
|
2952
2984
|
* Modifies the specified Client VPN endpoint. Modifying the DNS server resets existing client connections.
|
|
2953
2985
|
*/
|
|
@@ -5540,6 +5572,38 @@ declare namespace EC2 {
|
|
|
5540
5572
|
*/
|
|
5541
5573
|
BundleTask?: BundleTask;
|
|
5542
5574
|
}
|
|
5575
|
+
export interface CancelCapacityReservationFleetError {
|
|
5576
|
+
/**
|
|
5577
|
+
* The error code.
|
|
5578
|
+
*/
|
|
5579
|
+
Code?: CancelCapacityReservationFleetErrorCode;
|
|
5580
|
+
/**
|
|
5581
|
+
* The error message.
|
|
5582
|
+
*/
|
|
5583
|
+
Message?: CancelCapacityReservationFleetErrorMessage;
|
|
5584
|
+
}
|
|
5585
|
+
export type CancelCapacityReservationFleetErrorCode = string;
|
|
5586
|
+
export type CancelCapacityReservationFleetErrorMessage = string;
|
|
5587
|
+
export interface CancelCapacityReservationFleetsRequest {
|
|
5588
|
+
/**
|
|
5589
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
5590
|
+
*/
|
|
5591
|
+
DryRun?: Boolean;
|
|
5592
|
+
/**
|
|
5593
|
+
* The IDs of the Capacity Reservation Fleets to cancel.
|
|
5594
|
+
*/
|
|
5595
|
+
CapacityReservationFleetIds: CapacityReservationFleetIdSet;
|
|
5596
|
+
}
|
|
5597
|
+
export interface CancelCapacityReservationFleetsResult {
|
|
5598
|
+
/**
|
|
5599
|
+
* Information about the Capacity Reservation Fleets that were successfully cancelled.
|
|
5600
|
+
*/
|
|
5601
|
+
SuccessfulFleetCancellations?: CapacityReservationFleetCancellationStateSet;
|
|
5602
|
+
/**
|
|
5603
|
+
* Information about the Capacity Reservation Fleets that could not be cancelled.
|
|
5604
|
+
*/
|
|
5605
|
+
FailedFleetCancellations?: FailedCapacityReservationFleetCancellationResultSet;
|
|
5606
|
+
}
|
|
5543
5607
|
export interface CancelCapacityReservationRequest {
|
|
5544
5608
|
/**
|
|
5545
5609
|
* The ID of the Capacity Reservation to be cancelled.
|
|
@@ -5785,7 +5849,80 @@ declare namespace EC2 {
|
|
|
5785
5849
|
* The Amazon Resource Name (ARN) of the Outpost on which the Capacity Reservation was created.
|
|
5786
5850
|
*/
|
|
5787
5851
|
OutpostArn?: OutpostArn;
|
|
5852
|
+
/**
|
|
5853
|
+
* The ID of the Capacity Reservation Fleet to which the Capacity Reservation belongs. Only valid for Capacity Reservations that were created by a Capacity Reservation Fleet.
|
|
5854
|
+
*/
|
|
5855
|
+
CapacityReservationFleetId?: String;
|
|
5788
5856
|
}
|
|
5857
|
+
export interface CapacityReservationFleet {
|
|
5858
|
+
/**
|
|
5859
|
+
* The ID of the Capacity Reservation Fleet.
|
|
5860
|
+
*/
|
|
5861
|
+
CapacityReservationFleetId?: CapacityReservationFleetId;
|
|
5862
|
+
/**
|
|
5863
|
+
* The ARN of the Capacity Reservation Fleet.
|
|
5864
|
+
*/
|
|
5865
|
+
CapacityReservationFleetArn?: String;
|
|
5866
|
+
/**
|
|
5867
|
+
* The state of the Capacity Reservation Fleet. Possible states include: submitted - The Capacity Reservation Fleet request has been submitted and Amazon Elastic Compute Cloud is preparing to create the Capacity Reservations. modifying - The Capacity Reservation Fleet is being modified. The Fleet remains in this state until the modification is complete. active - The Capacity Reservation Fleet has fulfilled its total target capacity and it is attempting to maintain this capacity. The Fleet remains in this state until it is modified or deleted. partially_fulfilled - The Capacity Reservation Fleet has partially fulfilled its total target capacity. There is insufficient Amazon EC2 to fulfill the total target capacity. The Fleet is attempting to asynchronously fulfill its total target capacity. expiring - The Capacity Reservation Fleet has reach its end date and it is in the process of expiring. One or more of its Capacity reservations might still be active. expired - The Capacity Reservation Fleet has reach its end date. The Fleet and its Capacity Reservations are expired. The Fleet can't create new Capacity Reservations. cancelling - The Capacity Reservation Fleet is in the process of being cancelled. One or more of its Capacity reservations might still be active. cancelled - The Capacity Reservation Fleet has been manually cancelled. The Fleet and its Capacity Reservations are cancelled and the Fleet can't create new Capacity Reservations. failed - The Capacity Reservation Fleet failed to reserve capacity for the specified instance types.
|
|
5868
|
+
*/
|
|
5869
|
+
State?: CapacityReservationFleetState;
|
|
5870
|
+
/**
|
|
5871
|
+
* The total number of capacity units for which the Capacity Reservation Fleet reserves capacity. For more information, see Total target capacity in the Amazon EC2 User Guide.
|
|
5872
|
+
*/
|
|
5873
|
+
TotalTargetCapacity?: Integer;
|
|
5874
|
+
/**
|
|
5875
|
+
* The capacity units that have been fulfilled.
|
|
5876
|
+
*/
|
|
5877
|
+
TotalFulfilledCapacity?: Double;
|
|
5878
|
+
/**
|
|
5879
|
+
* The tenancy of the Capacity Reservation Fleet. Tenancies include: default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts. dedicated - The Capacity Reservation Fleet is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
|
|
5880
|
+
*/
|
|
5881
|
+
Tenancy?: FleetCapacityReservationTenancy;
|
|
5882
|
+
/**
|
|
5883
|
+
* The date and time at which the Capacity Reservation Fleet expires.
|
|
5884
|
+
*/
|
|
5885
|
+
EndDate?: MillisecondDateTime;
|
|
5886
|
+
/**
|
|
5887
|
+
* The date and time at which the Capacity Reservation Fleet was created.
|
|
5888
|
+
*/
|
|
5889
|
+
CreateTime?: MillisecondDateTime;
|
|
5890
|
+
/**
|
|
5891
|
+
* Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria. Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.
|
|
5892
|
+
*/
|
|
5893
|
+
InstanceMatchCriteria?: FleetInstanceMatchCriteria;
|
|
5894
|
+
/**
|
|
5895
|
+
* The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. For more information, see For more information, see Allocation strategy in the Amazon EC2 User Guide.
|
|
5896
|
+
*/
|
|
5897
|
+
AllocationStrategy?: String;
|
|
5898
|
+
/**
|
|
5899
|
+
* Information about the instance types for which to reserve the capacity.
|
|
5900
|
+
*/
|
|
5901
|
+
InstanceTypeSpecifications?: FleetCapacityReservationSet;
|
|
5902
|
+
/**
|
|
5903
|
+
* The tags assigned to the Capacity Reservation Fleet.
|
|
5904
|
+
*/
|
|
5905
|
+
Tags?: TagList;
|
|
5906
|
+
}
|
|
5907
|
+
export interface CapacityReservationFleetCancellationState {
|
|
5908
|
+
/**
|
|
5909
|
+
* The current state of the Capacity Reservation Fleet.
|
|
5910
|
+
*/
|
|
5911
|
+
CurrentFleetState?: CapacityReservationFleetState;
|
|
5912
|
+
/**
|
|
5913
|
+
* The previous state of the Capacity Reservation Fleet.
|
|
5914
|
+
*/
|
|
5915
|
+
PreviousFleetState?: CapacityReservationFleetState;
|
|
5916
|
+
/**
|
|
5917
|
+
* The ID of the Capacity Reservation Fleet that was successfully cancelled.
|
|
5918
|
+
*/
|
|
5919
|
+
CapacityReservationFleetId?: CapacityReservationFleetId;
|
|
5920
|
+
}
|
|
5921
|
+
export type CapacityReservationFleetCancellationStateSet = CapacityReservationFleetCancellationState[];
|
|
5922
|
+
export type CapacityReservationFleetId = string;
|
|
5923
|
+
export type CapacityReservationFleetIdSet = CapacityReservationFleetId[];
|
|
5924
|
+
export type CapacityReservationFleetSet = CapacityReservationFleet[];
|
|
5925
|
+
export type CapacityReservationFleetState = "submitted"|"modifying"|"active"|"partially_fulfilled"|"expiring"|"expired"|"cancelling"|"cancelled"|"failed"|string;
|
|
5789
5926
|
export interface CapacityReservationGroup {
|
|
5790
5927
|
/**
|
|
5791
5928
|
* The ARN of the resource group.
|
|
@@ -6600,6 +6737,90 @@ declare namespace EC2 {
|
|
|
6600
6737
|
*/
|
|
6601
6738
|
ThreadsPerCore?: Integer;
|
|
6602
6739
|
}
|
|
6740
|
+
export interface CreateCapacityReservationFleetRequest {
|
|
6741
|
+
/**
|
|
6742
|
+
* The strategy used by the Capacity Reservation Fleet to determine which of the specified instance types to use. Currently, only the prioritized allocation strategy is supported. For more information, see Allocation strategy in the Amazon EC2 User Guide. Valid values: prioritized
|
|
6743
|
+
*/
|
|
6744
|
+
AllocationStrategy?: String;
|
|
6745
|
+
/**
|
|
6746
|
+
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
|
|
6747
|
+
*/
|
|
6748
|
+
ClientToken?: String;
|
|
6749
|
+
/**
|
|
6750
|
+
* Information about the instance types for which to reserve the capacity.
|
|
6751
|
+
*/
|
|
6752
|
+
InstanceTypeSpecifications: ReservationFleetInstanceSpecificationList;
|
|
6753
|
+
/**
|
|
6754
|
+
* Indicates the tenancy of the Capacity Reservation Fleet. All Capacity Reservations in the Fleet inherit this tenancy. The Capacity Reservation Fleet can have one of the following tenancy settings: default - The Capacity Reservation Fleet is created on hardware that is shared with other Amazon Web Services accounts. dedicated - The Capacity Reservations are created on single-tenant hardware that is dedicated to a single Amazon Web Services account.
|
|
6755
|
+
*/
|
|
6756
|
+
Tenancy?: FleetCapacityReservationTenancy;
|
|
6757
|
+
/**
|
|
6758
|
+
* The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
|
|
6759
|
+
*/
|
|
6760
|
+
TotalTargetCapacity: Integer;
|
|
6761
|
+
/**
|
|
6762
|
+
* The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire. The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019.
|
|
6763
|
+
*/
|
|
6764
|
+
EndDate?: MillisecondDateTime;
|
|
6765
|
+
/**
|
|
6766
|
+
* Indicates the type of instance launches that the Capacity Reservation Fleet accepts. All Capacity Reservations in the Fleet inherit this instance matching criteria. Currently, Capacity Reservation Fleets support open instance matching criteria only. This means that instances that have matching attributes (instance type, platform, and Availability Zone) run in the Capacity Reservations automatically. Instances do not need to explicitly target a Capacity Reservation Fleet to use its reserved capacity.
|
|
6767
|
+
*/
|
|
6768
|
+
InstanceMatchCriteria?: FleetInstanceMatchCriteria;
|
|
6769
|
+
/**
|
|
6770
|
+
* The tags to assign to the Capacity Reservation Fleet. The tags are automatically assigned to the Capacity Reservations in the Fleet.
|
|
6771
|
+
*/
|
|
6772
|
+
TagSpecifications?: TagSpecificationList;
|
|
6773
|
+
/**
|
|
6774
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
6775
|
+
*/
|
|
6776
|
+
DryRun?: Boolean;
|
|
6777
|
+
}
|
|
6778
|
+
export interface CreateCapacityReservationFleetResult {
|
|
6779
|
+
/**
|
|
6780
|
+
* The ID of the Capacity Reservation Fleet.
|
|
6781
|
+
*/
|
|
6782
|
+
CapacityReservationFleetId?: CapacityReservationFleetId;
|
|
6783
|
+
/**
|
|
6784
|
+
* The status of the Capacity Reservation Fleet.
|
|
6785
|
+
*/
|
|
6786
|
+
State?: CapacityReservationFleetState;
|
|
6787
|
+
/**
|
|
6788
|
+
* The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.
|
|
6789
|
+
*/
|
|
6790
|
+
TotalTargetCapacity?: Integer;
|
|
6791
|
+
/**
|
|
6792
|
+
* The requested capacity units that have been successfully reserved.
|
|
6793
|
+
*/
|
|
6794
|
+
TotalFulfilledCapacity?: Double;
|
|
6795
|
+
/**
|
|
6796
|
+
* The instance matching criteria for the Capacity Reservation Fleet.
|
|
6797
|
+
*/
|
|
6798
|
+
InstanceMatchCriteria?: FleetInstanceMatchCriteria;
|
|
6799
|
+
/**
|
|
6800
|
+
* The allocation strategy used by the Capacity Reservation Fleet.
|
|
6801
|
+
*/
|
|
6802
|
+
AllocationStrategy?: String;
|
|
6803
|
+
/**
|
|
6804
|
+
* The date and time at which the Capacity Reservation Fleet was created.
|
|
6805
|
+
*/
|
|
6806
|
+
CreateTime?: MillisecondDateTime;
|
|
6807
|
+
/**
|
|
6808
|
+
* The date and time at which the Capacity Reservation Fleet expires.
|
|
6809
|
+
*/
|
|
6810
|
+
EndDate?: MillisecondDateTime;
|
|
6811
|
+
/**
|
|
6812
|
+
* Indicates the tenancy of Capacity Reservation Fleet.
|
|
6813
|
+
*/
|
|
6814
|
+
Tenancy?: FleetCapacityReservationTenancy;
|
|
6815
|
+
/**
|
|
6816
|
+
* Information about the individual Capacity Reservations in the Capacity Reservation Fleet.
|
|
6817
|
+
*/
|
|
6818
|
+
FleetCapacityReservations?: FleetCapacityReservationSet;
|
|
6819
|
+
/**
|
|
6820
|
+
* The tags assigned to the Capacity Reservation Fleet.
|
|
6821
|
+
*/
|
|
6822
|
+
Tags?: TagList;
|
|
6823
|
+
}
|
|
6603
6824
|
export interface CreateCapacityReservationRequest {
|
|
6604
6825
|
/**
|
|
6605
6826
|
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.
|
|
@@ -10153,6 +10374,39 @@ declare namespace EC2 {
|
|
|
10153
10374
|
*/
|
|
10154
10375
|
NextToken?: String;
|
|
10155
10376
|
}
|
|
10377
|
+
export type DescribeCapacityReservationFleetsMaxResults = number;
|
|
10378
|
+
export interface DescribeCapacityReservationFleetsRequest {
|
|
10379
|
+
/**
|
|
10380
|
+
* The IDs of the Capacity Reservation Fleets to describe.
|
|
10381
|
+
*/
|
|
10382
|
+
CapacityReservationFleetIds?: CapacityReservationFleetIdSet;
|
|
10383
|
+
/**
|
|
10384
|
+
* The token to use to retrieve the next page of results.
|
|
10385
|
+
*/
|
|
10386
|
+
NextToken?: String;
|
|
10387
|
+
/**
|
|
10388
|
+
* The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
|
|
10389
|
+
*/
|
|
10390
|
+
MaxResults?: DescribeCapacityReservationFleetsMaxResults;
|
|
10391
|
+
/**
|
|
10392
|
+
* One or more filters. state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed). instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported. tenancy - The tenancy of the Fleet (default | dedicated). allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.
|
|
10393
|
+
*/
|
|
10394
|
+
Filters?: FilterList;
|
|
10395
|
+
/**
|
|
10396
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
10397
|
+
*/
|
|
10398
|
+
DryRun?: Boolean;
|
|
10399
|
+
}
|
|
10400
|
+
export interface DescribeCapacityReservationFleetsResult {
|
|
10401
|
+
/**
|
|
10402
|
+
* Information about the Capacity Reservation Fleets.
|
|
10403
|
+
*/
|
|
10404
|
+
CapacityReservationFleets?: CapacityReservationFleetSet;
|
|
10405
|
+
/**
|
|
10406
|
+
* The token to use to retrieve the next page of results. This value is null when there are no more results to return.
|
|
10407
|
+
*/
|
|
10408
|
+
NextToken?: String;
|
|
10409
|
+
}
|
|
10156
10410
|
export type DescribeCapacityReservationsMaxResults = number;
|
|
10157
10411
|
export interface DescribeCapacityReservationsRequest {
|
|
10158
10412
|
/**
|
|
@@ -14547,6 +14801,7 @@ declare namespace EC2 {
|
|
|
14547
14801
|
export type DnsSupportValue = "enable"|"disable"|string;
|
|
14548
14802
|
export type DomainType = "vpc"|"standard"|string;
|
|
14549
14803
|
export type Double = number;
|
|
14804
|
+
export type DoubleWithConstraints = number;
|
|
14550
14805
|
export interface EbsBlockDevice {
|
|
14551
14806
|
/**
|
|
14552
14807
|
* Indicates whether the EBS volume is deleted on instance termination. For more information, see Preserving Amazon EBS volumes on instance termination in the Amazon EC2 User Guide.
|
|
@@ -15494,6 +15749,17 @@ declare namespace EC2 {
|
|
|
15494
15749
|
S3Location?: String;
|
|
15495
15750
|
}
|
|
15496
15751
|
export type ExportVmTaskId = string;
|
|
15752
|
+
export interface FailedCapacityReservationFleetCancellationResult {
|
|
15753
|
+
/**
|
|
15754
|
+
* The ID of the Capacity Reservation Fleet that could not be cancelled.
|
|
15755
|
+
*/
|
|
15756
|
+
CapacityReservationFleetId?: CapacityReservationFleetId;
|
|
15757
|
+
/**
|
|
15758
|
+
* Information about the Capacity Reservation Fleet cancellation error.
|
|
15759
|
+
*/
|
|
15760
|
+
CancelCapacityReservationFleetError?: CancelCapacityReservationFleetError;
|
|
15761
|
+
}
|
|
15762
|
+
export type FailedCapacityReservationFleetCancellationResultSet = FailedCapacityReservationFleetCancellationResult[];
|
|
15497
15763
|
export interface FailedQueuedPurchaseDeletion {
|
|
15498
15764
|
/**
|
|
15499
15765
|
* The error.
|
|
@@ -15538,6 +15804,54 @@ declare namespace EC2 {
|
|
|
15538
15804
|
}
|
|
15539
15805
|
export type FilterList = Filter[];
|
|
15540
15806
|
export type FleetActivityStatus = "error"|"pending_fulfillment"|"pending_termination"|"fulfilled"|string;
|
|
15807
|
+
export interface FleetCapacityReservation {
|
|
15808
|
+
/**
|
|
15809
|
+
* The ID of the Capacity Reservation.
|
|
15810
|
+
*/
|
|
15811
|
+
CapacityReservationId?: CapacityReservationId;
|
|
15812
|
+
/**
|
|
15813
|
+
* The ID of the Availability Zone in which the Capacity Reservation reserves capacity.
|
|
15814
|
+
*/
|
|
15815
|
+
AvailabilityZoneId?: String;
|
|
15816
|
+
/**
|
|
15817
|
+
* The instance type for which the Capacity Reservation reserves capacity.
|
|
15818
|
+
*/
|
|
15819
|
+
InstanceType?: InstanceType;
|
|
15820
|
+
/**
|
|
15821
|
+
* The type of operating system for which the Capacity Reservation reserves capacity.
|
|
15822
|
+
*/
|
|
15823
|
+
InstancePlatform?: CapacityReservationInstancePlatform;
|
|
15824
|
+
/**
|
|
15825
|
+
* The Availability Zone in which the Capacity Reservation reserves capacity.
|
|
15826
|
+
*/
|
|
15827
|
+
AvailabilityZone?: String;
|
|
15828
|
+
/**
|
|
15829
|
+
* The total number of instances for which the Capacity Reservation reserves capacity.
|
|
15830
|
+
*/
|
|
15831
|
+
TotalInstanceCount?: Integer;
|
|
15832
|
+
/**
|
|
15833
|
+
* The number of capacity units fulfilled by the Capacity Reservation. For more information, see Total target capacity in the Amazon EC2 User Guide.
|
|
15834
|
+
*/
|
|
15835
|
+
FulfilledCapacity?: Double;
|
|
15836
|
+
/**
|
|
15837
|
+
* Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.
|
|
15838
|
+
*/
|
|
15839
|
+
EbsOptimized?: Boolean;
|
|
15840
|
+
/**
|
|
15841
|
+
* The date and time at which the Capacity Reservation was created.
|
|
15842
|
+
*/
|
|
15843
|
+
CreateDate?: MillisecondDateTime;
|
|
15844
|
+
/**
|
|
15845
|
+
* The weight of the instance type in the Capacity Reservation Fleet. For more information, see Instance type weight in the Amazon EC2 User Guide.
|
|
15846
|
+
*/
|
|
15847
|
+
Weight?: DoubleWithConstraints;
|
|
15848
|
+
/**
|
|
15849
|
+
* The priority of the instance type in the Capacity Reservation Fleet. For more information, see Instance type priority in the Amazon EC2 User Guide.
|
|
15850
|
+
*/
|
|
15851
|
+
Priority?: IntegerWithConstraints;
|
|
15852
|
+
}
|
|
15853
|
+
export type FleetCapacityReservationSet = FleetCapacityReservation[];
|
|
15854
|
+
export type FleetCapacityReservationTenancy = "default"|string;
|
|
15541
15855
|
export type FleetCapacityReservationUsageStrategy = "use-capacity-reservations-first"|string;
|
|
15542
15856
|
export interface FleetData {
|
|
15543
15857
|
/**
|
|
@@ -15629,6 +15943,7 @@ declare namespace EC2 {
|
|
|
15629
15943
|
export type FleetExcessCapacityTerminationPolicy = "no-termination"|"termination"|string;
|
|
15630
15944
|
export type FleetId = string;
|
|
15631
15945
|
export type FleetIdSet = FleetId[];
|
|
15946
|
+
export type FleetInstanceMatchCriteria = "open"|string;
|
|
15632
15947
|
export interface FleetLaunchTemplateConfig {
|
|
15633
15948
|
/**
|
|
15634
15949
|
* The launch template.
|
|
@@ -18562,7 +18877,7 @@ declare namespace EC2 {
|
|
|
18562
18877
|
/**
|
|
18563
18878
|
* The ID of the network interface. If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
|
|
18564
18879
|
*/
|
|
18565
|
-
NetworkInterfaceId?:
|
|
18880
|
+
NetworkInterfaceId?: NetworkInterfaceId;
|
|
18566
18881
|
/**
|
|
18567
18882
|
* The private IPv4 address of the network interface. Applies only if creating a network interface when launching an instance. You cannot specify this option if you're launching more than one instance in a RunInstances request.
|
|
18568
18883
|
*/
|
|
@@ -18902,6 +19217,7 @@ declare namespace EC2 {
|
|
|
18902
19217
|
}
|
|
18903
19218
|
export type InstanceUsageSet = InstanceUsage[];
|
|
18904
19219
|
export type Integer = number;
|
|
19220
|
+
export type IntegerWithConstraints = number;
|
|
18905
19221
|
export interface IntegrateServices {
|
|
18906
19222
|
/**
|
|
18907
19223
|
* Information about the integration with Amazon Athena.
|
|
@@ -19746,7 +20062,7 @@ declare namespace EC2 {
|
|
|
19746
20062
|
/**
|
|
19747
20063
|
* The ID of the subnet in which to launch the instances.
|
|
19748
20064
|
*/
|
|
19749
|
-
SubnetId?:
|
|
20065
|
+
SubnetId?: SubnetId;
|
|
19750
20066
|
/**
|
|
19751
20067
|
* The Availability Zone in which to launch the instances.
|
|
19752
20068
|
*/
|
|
@@ -20354,6 +20670,34 @@ declare namespace EC2 {
|
|
|
20354
20670
|
Return?: Boolean;
|
|
20355
20671
|
}
|
|
20356
20672
|
export type ModifyAvailabilityZoneOptInStatus = "opted-in"|"not-opted-in"|string;
|
|
20673
|
+
export interface ModifyCapacityReservationFleetRequest {
|
|
20674
|
+
/**
|
|
20675
|
+
* The ID of the Capacity Reservation Fleet to modify.
|
|
20676
|
+
*/
|
|
20677
|
+
CapacityReservationFleetId: CapacityReservationFleetId;
|
|
20678
|
+
/**
|
|
20679
|
+
* The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, together with the instance type weights that you assign to each instance type used by the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
|
|
20680
|
+
*/
|
|
20681
|
+
TotalTargetCapacity?: Integer;
|
|
20682
|
+
/**
|
|
20683
|
+
* The date and time at which the Capacity Reservation Fleet expires. When the Capacity Reservation Fleet expires, its state changes to expired and all of the Capacity Reservations in the Fleet expire. The Capacity Reservation Fleet expires within an hour after the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation Fleet is guaranteed to expire between 13:30:55 and 14:30:55 on 5/31/2019. You can't specify EndDate and RemoveEndDate in the same request.
|
|
20684
|
+
*/
|
|
20685
|
+
EndDate?: MillisecondDateTime;
|
|
20686
|
+
/**
|
|
20687
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
20688
|
+
*/
|
|
20689
|
+
DryRun?: Boolean;
|
|
20690
|
+
/**
|
|
20691
|
+
* Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the end date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly cancel it using the CancelCapacityReservationFleet action. You can't specify RemoveEndDate and EndDate in the same request.
|
|
20692
|
+
*/
|
|
20693
|
+
RemoveEndDate?: Boolean;
|
|
20694
|
+
}
|
|
20695
|
+
export interface ModifyCapacityReservationFleetResult {
|
|
20696
|
+
/**
|
|
20697
|
+
* Returns true if the request succeeds; otherwise, it returns an error.
|
|
20698
|
+
*/
|
|
20699
|
+
Return?: Boolean;
|
|
20700
|
+
}
|
|
20357
20701
|
export interface ModifyCapacityReservationRequest {
|
|
20358
20702
|
/**
|
|
20359
20703
|
* The ID of the Capacity Reservation.
|
|
@@ -24093,6 +24437,37 @@ declare namespace EC2 {
|
|
|
24093
24437
|
*/
|
|
24094
24438
|
ReservationId?: String;
|
|
24095
24439
|
}
|
|
24440
|
+
export interface ReservationFleetInstanceSpecification {
|
|
24441
|
+
/**
|
|
24442
|
+
* The instance type for which the Capacity Reservation Fleet reserves capacity.
|
|
24443
|
+
*/
|
|
24444
|
+
InstanceType?: InstanceType;
|
|
24445
|
+
/**
|
|
24446
|
+
* The type of operating system for which the Capacity Reservation Fleet reserves capacity.
|
|
24447
|
+
*/
|
|
24448
|
+
InstancePlatform?: CapacityReservationInstancePlatform;
|
|
24449
|
+
/**
|
|
24450
|
+
* The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.
|
|
24451
|
+
*/
|
|
24452
|
+
Weight?: DoubleWithConstraints;
|
|
24453
|
+
/**
|
|
24454
|
+
* The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
|
|
24455
|
+
*/
|
|
24456
|
+
AvailabilityZone?: String;
|
|
24457
|
+
/**
|
|
24458
|
+
* The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.
|
|
24459
|
+
*/
|
|
24460
|
+
AvailabilityZoneId?: String;
|
|
24461
|
+
/**
|
|
24462
|
+
* Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.
|
|
24463
|
+
*/
|
|
24464
|
+
EbsOptimized?: Boolean;
|
|
24465
|
+
/**
|
|
24466
|
+
* The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.
|
|
24467
|
+
*/
|
|
24468
|
+
Priority?: IntegerWithConstraints;
|
|
24469
|
+
}
|
|
24470
|
+
export type ReservationFleetInstanceSpecificationList = ReservationFleetInstanceSpecification[];
|
|
24096
24471
|
export type ReservationId = string;
|
|
24097
24472
|
export type ReservationList = Reservation[];
|
|
24098
24473
|
export type ReservationState = "payment-pending"|"payment-failed"|"active"|"retired"|string;
|
package/clients/glue.d.ts
CHANGED
|
@@ -2499,6 +2499,10 @@ declare namespace Glue {
|
|
|
2499
2499
|
* A ConnectionInput object defining the connection to create.
|
|
2500
2500
|
*/
|
|
2501
2501
|
ConnectionInput: ConnectionInput;
|
|
2502
|
+
/**
|
|
2503
|
+
* The tags you assign to the connection.
|
|
2504
|
+
*/
|
|
2505
|
+
Tags?: TagsMap;
|
|
2502
2506
|
}
|
|
2503
2507
|
export interface CreateConnectionResponse {
|
|
2504
2508
|
}
|
|
@@ -4841,6 +4845,9 @@ declare namespace Glue {
|
|
|
4841
4845
|
* The maximum number of partitions to return in a single response.
|
|
4842
4846
|
*/
|
|
4843
4847
|
MaxResults?: PageSize;
|
|
4848
|
+
/**
|
|
4849
|
+
* When true, specifies not returning the partition column schema. Useful when you are interested only in other partition attributes such as partition values or location. This approach avoids the problem of a large response by not returning duplicate data.
|
|
4850
|
+
*/
|
|
4844
4851
|
ExcludeColumnSchema?: BooleanNullable;
|
|
4845
4852
|
}
|
|
4846
4853
|
export interface GetPartitionsResponse {
|