diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index f3d7a2b9fc1f..20d06bae0d3b 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -10400,9 +10400,10 @@ export interface DescribeSpotPriceHistoryRequest { *
* timestamp
- The time stamp of the Spot price history, in UTC format
- * (for example,
- * YYYY-MM-DDTHH:MM:SSZ).
- * You can use wildcards (* and ?). Greater than or less than comparison is not
+ * (for example, ddd MMM dd
+ * HH:mm:ss UTC
+ * YYYY). You can use wildcards (*
and
+ * ?
). Greater than or less than comparison is not
* supported.
Set to true
to enable your instance for hibernation.
For Spot Instances, if you set Configured
to true
, either
+ * omit the InstanceInterruptionBehavior
parameter (for
+ * SpotMarketOptions
+ * ), or set it to
+ * hibernate
. When Configured
is true:
If you omit InstanceInterruptionBehavior
, it defaults to
+ * hibernate
.
If you set InstanceInterruptionBehavior
to a value other than
+ * hibernate
, you'll get an error.
Default: false
*
The behavior when a Spot Instance is interrupted. The default is
- * terminate
.
The behavior when a Spot Instance is interrupted.
+ *If Configured
(for
+ * HibernationOptions
+ * ) is set to true
, the
+ * InstanceInterruptionBehavior
parameter is automatically set to
+ * hibernate
. If you set it to stop
or
+ * terminate
, you'll get an error.
If Configured
(for
+ * HibernationOptions
+ * ) is set to false
or
+ * null
, the InstanceInterruptionBehavior
parameter is
+ * automatically set to terminate
. You can also set it to stop
or
+ * hibernate
.
For more information, see Interruption + * behavior in the Amazon EC2 User Guide.
*/ InstanceInterruptionBehavior?: InstanceInterruptionBehavior; } diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 02ce4dc49f3a..52d05d200496 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -36359,7 +36359,7 @@ "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "The filters.
\n\n availability-zone
- The Availability Zone for which prices should\n be returned.
\n instance-type
- The type of instance (for example,\n m3.medium
).
\n product-description
- The product description for the Spot price\n (Linux/UNIX
| Red Hat Enterprise Linux
|\n SUSE Linux
| Windows
| Linux/UNIX (Amazon\n VPC)
| Red Hat Enterprise Linux (Amazon VPC)
|\n SUSE Linux (Amazon VPC)
| Windows (Amazon\n VPC)
).
\n spot-price
- The Spot price. The value must match exactly (or use\n wildcards; greater than or less than comparison is not supported).
\n timestamp
- The time stamp of the Spot price history, in UTC format\n (for example,\n YYYY-MM-DDTHH:MM:SSZ).\n You can use wildcards (* and ?). Greater than or less than comparison is not\n supported.
The filters.
\n\n availability-zone
- The Availability Zone for which prices should\n be returned.
\n instance-type
- The type of instance (for example,\n m3.medium
).
\n product-description
- The product description for the Spot price\n (Linux/UNIX
| Red Hat Enterprise Linux
|\n SUSE Linux
| Windows
| Linux/UNIX (Amazon\n VPC)
| Red Hat Enterprise Linux (Amazon VPC)
|\n SUSE Linux (Amazon VPC)
| Windows (Amazon\n VPC)
).
\n spot-price
- The Spot price. The value must match exactly (or use\n wildcards; greater than or less than comparison is not supported).
\n timestamp
- The time stamp of the Spot price history, in UTC format\n (for example, ddd MMM dd\n HH:mm:ss UTC\n YYYY). You can use wildcards (*
and\n ?
). Greater than or less than comparison is not\n supported.
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale\n from 1 to 10. Each score
reflects how likely it is that each Region or Availability Zone\n will succeed at fulfilling the specified target capacity
at the time of the Spot\n placement score request. A score of 10
means that your Spot\n capacity request is highly likely to succeed in that Region or Availability Zone.
If you request a Spot placement score for Regions, a high score assumes that your fleet\n request will be configured to use all Availability Zones and the\n capacity-optimized
allocation strategy. If you request a Spot placement\n score for Availability Zones, a high score assumes that your fleet request will be\n configured to use a single Availability Zone and the capacity-optimized
\n allocation strategy.
Different Regions or Availability Zones might return the same score.
\nThe Spot placement score serves as a recommendation only. No score guarantees that your\n Spot request will be fully or partially fulfilled.
\nThe Spot placement score for the top 10 Regions or Availability Zones, scored on a scale\n from 1 to 10. Each score\u2028 reflects how likely it is that each Region or Availability Zone\n will succeed at fulfilling the specified target capacity\u2028 at the time of the Spot\n placement score request. A score of 10
means that your Spot\n capacity request is highly likely to succeed in that Region or Availability Zone.
If you request a Spot placement score for Regions, a high score assumes that your fleet\n request will be configured to use all Availability Zones and the\n capacity-optimized
allocation strategy. If you request a Spot placement\n score for Availability Zones, a high score assumes that your fleet request will be\n configured to use a single Availability Zone and the capacity-optimized
\n allocation strategy.
Different\u2028 Regions or Availability Zones might return the same score.
\nThe Spot placement score serves as a recommendation only. No score guarantees that your\n Spot request will be fully or partially fulfilled.
\nSet to true
to enable your instance for hibernation.
Default: false
\n
Set to true
to enable your instance for hibernation.
For Spot Instances, if you set Configured
to true
, either\n omit the InstanceInterruptionBehavior
parameter (for \n SpotMarketOptions
\n ), or set it to\n hibernate
. When Configured
is true:
If you omit InstanceInterruptionBehavior
, it defaults to\n hibernate
.
If you set InstanceInterruptionBehavior
to a value other than\n hibernate
, you'll get an error.
Default: false
\n
The behavior when a Spot Instance is interrupted. The default is\n terminate
.
The behavior when a Spot Instance is interrupted.
\nIf Configured
(for \n HibernationOptions
\n ) is set to true
, the\n InstanceInterruptionBehavior
parameter is automatically set to\n hibernate
. If you set it to stop
or\n terminate
, you'll get an error.
If Configured
(for \n HibernationOptions
\n ) is set to false
or\n null
, the InstanceInterruptionBehavior
parameter is\n automatically set to terminate
. You can also set it to stop
or\n hibernate
.
For more information, see Interruption\n behavior in the Amazon EC2 User Guide.
" } } },