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.

    *
  • * diff --git a/clients/client-ec2/src/models/models_7.ts b/clients/client-ec2/src/models/models_7.ts index 1b6bd8d96339..e97d927fa5e4 100644 --- a/clients/client-ec2/src/models/models_7.ts +++ b/clients/client-ec2/src/models/models_7.ts @@ -71,6 +71,21 @@ export interface HibernationOptionsRequest { /** * @public *

    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:

    + * *

    Default: false *

    */ @@ -129,8 +144,21 @@ export interface SpotMarketOptions { /** * @public - *

    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 ", + "smithy.api#documentation": "

    The filters.

    \n ", "smithy.api#xmlName": "Filter" } }, @@ -51050,7 +51050,7 @@ "target": "com.amazonaws.ec2#SpotPlacementScores", "traits": { "aws.protocols#ec2QueryName": "SpotPlacementScoreSet", - "smithy.api#documentation": "

    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.

    \n

    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.

    \n

    Different
 Regions or Availability Zones might return the same score.

    \n \n

    The Spot placement score serves as a recommendation only. No score guarantees that your\n Spot request will be fully or partially fulfilled.

    \n
    ", + "smithy.api#documentation": "

    The 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.

    \n

    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.

    \n

    Different\u2028 Regions or Availability Zones might return the same score.

    \n \n

    The Spot placement score serves as a recommendation only. No score guarantees that your\n Spot request will be fully or partially fulfilled.

    \n
    ", "smithy.api#xmlName": "spotPlacementScoreSet" } }, @@ -52269,7 +52269,7 @@ "Configured": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#documentation": "

    Set to true to enable your instance for hibernation.

    \n

    Default: false\n

    " + "smithy.api#documentation": "

    Set to true to enable your instance for hibernation.

    \n

    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:

    \n \n

    Default: false\n

    " } } }, @@ -91470,7 +91470,7 @@ "InstanceInterruptionBehavior": { "target": "com.amazonaws.ec2#InstanceInterruptionBehavior", "traits": { - "smithy.api#documentation": "

    The behavior when a Spot Instance is interrupted. The default is\n terminate.

    " + "smithy.api#documentation": "

    The behavior when a Spot Instance is interrupted.

    \n

    If 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.

    \n

    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.

    \n

    For more information, see Interruption\n behavior in the Amazon EC2 User Guide.

    " } } },