From a54ada9d453c8efc443e0aaeb726bc5b51905249 Mon Sep 17 00:00:00 2001 From: Alex Wood Date: Tue, 6 Oct 2015 16:25:07 -0700 Subject: [PATCH] API Update for Aws::EC2 Adds "Spot Blocks" for Amazon Elastic Compute Cloud. --- CHANGELOG.md | 2 ++ aws-sdk-core/apis/ec2/2015-10-01/api-2.json | 12 ++++++++++++ aws-sdk-core/apis/ec2/2015-10-01/docs-2.json | 11 +++++++---- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b08dc32c4da..120f6e4583a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ Unreleased Changes ------------------ +* Feature - Aws::EC2 - Adds "Spot Blocks" for Amazon Elastic Compute Cloud. + * Feature - Aws::CloudFront - Adds support for adding WebACLIds to CloudFront distributions. diff --git a/aws-sdk-core/apis/ec2/2015-10-01/api-2.json b/aws-sdk-core/apis/ec2/2015-10-01/api-2.json index 484756d42e4..04568f451f1 100644 --- a/aws-sdk-core/apis/ec2/2015-10-01/api-2.json +++ b/aws-sdk-core/apis/ec2/2015-10-01/api-2.json @@ -9416,6 +9416,10 @@ "shape":"String", "locationName":"availabilityZoneGroup" }, + "BlockDurationMinutes":{ + "shape":"Integer", + "locationName":"blockDurationMinutes" + }, "LaunchSpecification":{"shape":"RequestSpotLaunchSpecification"} } }, @@ -10737,6 +10741,14 @@ "shape":"RIProductDescription", "locationName":"productDescription" }, + "BlockDurationMinutes":{ + "shape":"Integer", + "locationName":"blockDurationMinutes" + }, + "ActualBlockHourlyPrice":{ + "shape":"String", + "locationName":"actualBlockHourlyPrice" + }, "Tags":{ "shape":"TagList", "locationName":"tagSet" diff --git a/aws-sdk-core/apis/ec2/2015-10-01/docs-2.json b/aws-sdk-core/apis/ec2/2015-10-01/docs-2.json index 5094a3a8bf5..b1489e04a53 100644 --- a/aws-sdk-core/apis/ec2/2015-10-01/docs-2.json +++ b/aws-sdk-core/apis/ec2/2015-10-01/docs-2.json @@ -1271,8 +1271,8 @@ "SpotFleetRequestConfig$CreateTime": "

The creation date and time of the request.

", "SpotFleetRequestConfigData$ValidFrom": "

The start date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The default is to start fulfilling the request immediately.

", "SpotFleetRequestConfigData$ValidUntil": "

The end date and time of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). At this point, no new Spot instance requests are placed or enabled to fulfill the request.

", - "SpotInstanceRequest$ValidFrom": "

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request becomes active at this date and time and remains active until all instances launch, the request expires, or the request is canceled. If the request is persistent, the request becomes active at this date and time and remains active until it expires or is canceled.

", - "SpotInstanceRequest$ValidUntil": "

The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached.

", + "SpotInstanceRequest$ValidFrom": "

The start date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). The request becomes active at this date and time.

", + "SpotInstanceRequest$ValidUntil": "

The end date of the request, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). If this is a one-time request, it remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date is reached.

", "SpotInstanceRequest$CreateTime": "

The date and time when the Spot instance request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

", "SpotInstanceStatus$UpdateTime": "

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

", "SpotPrice$Timestamp": "

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

", @@ -2871,6 +2871,7 @@ "PurchaseReservedInstancesOfferingRequest$InstanceCount": "

The number of Reserved Instances to purchase.

", "ReplaceNetworkAclEntryRequest$RuleNumber": "

The rule number of the entry to replace.

", "RequestSpotInstancesRequest$InstanceCount": "

The maximum number of Spot instances to launch.

Default: 1

", + "RequestSpotInstancesRequest$BlockDurationMinutes": "

The required duration for the Spot instances, in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

The duration period starts as soon as your Spot instance receives its instance ID. At the end of the duration period, Amazon EC2 marks the Spot instance for termination and provides a Spot instance termination notice, which gives the instance a two-minute warning before it terminates.

Note that you can't specify an Availability Zone group or a launch group if you specify a required duration.

", "ReservedInstances$InstanceCount": "

The number of Reserved Instances purchased.

", "ReservedInstancesConfiguration$InstanceCount": "

The number of modified Reserved Instances.

", "RevokeSecurityGroupEgressRequest$FromPort": "

The start of port range for the TCP and UDP protocols, or an ICMP type number. For the ICMP type number, use -1 to specify all ICMP types.

", @@ -2881,6 +2882,7 @@ "RunInstancesRequest$MaxCount": "

The maximum number of instances to launch. If you specify more instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible number of instances above MinCount.

Constraints: Between 1 and the maximum number you're allowed for the specified instance type. For more information about the default limits, and how to request an increase, see How many instances can I run in Amazon EC2 in the Amazon EC2 General FAQ.

", "Snapshot$VolumeSize": "

The size of the volume, in GiB.

", "SpotFleetRequestConfigData$TargetCapacity": "

The number of units to request. You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O.

", + "SpotInstanceRequest$BlockDurationMinutes": "

The required duration for the Spot instance, in minutes.

", "Subnet$AvailableIpAddressCount": "

The number of unused IP addresses in the subnet. Note that the IP addresses for any stopped instances are considered unavailable.

", "VgwTelemetry$AcceptedRouteCount": "

The number of accepted routes.

", "Volume$Size": "

The size of the volume, in GiBs.

", @@ -4025,7 +4027,7 @@ } }, "SpotInstanceRequest": { - "base": "

Describe a Spot instance request.

", + "base": "

Describes a Spot instance request.

", "refs": { "SpotInstanceRequestList$member": null } @@ -4817,10 +4819,11 @@ "SpotFleetRequestConfigData$SpotPrice": "

The bid price per unit hour.

", "SpotFleetRequestConfigData$IamFleetRole": "

Grants the Spot fleet permission to terminate Spot instances on your behalf when you cancel its Spot fleet request using CancelSpotFleetRequests or when the Spot fleet request expires, if you set terminateInstancesWithExpiration.

", "SpotInstanceRequest$SpotInstanceRequestId": "

The ID of the Spot instance request.

", - "SpotInstanceRequest$SpotPrice": "

The maximum hourly price (bid) for any Spot instance launched to fulfill the request.

", + "SpotInstanceRequest$SpotPrice": "

The maximum hourly price (bid) for the Spot instance launched to fulfill the request.

", "SpotInstanceRequest$LaunchGroup": "

The instance launch group. Launch groups are Spot instances that launch together and terminate together.

", "SpotInstanceRequest$AvailabilityZoneGroup": "

The Availability Zone group. If you specify the same Availability Zone group for all Spot instance requests, all Spot instances are launched in the same Availability Zone.

", "SpotInstanceRequest$InstanceId": "

The instance ID, if an instance has been launched to fulfill the Spot instance request.

", + "SpotInstanceRequest$ActualBlockHourlyPrice": "

If you specified a required duration and your request was fulfilled, this is the fixed hourly price in effect for the Spot instance while it runs.

", "SpotInstanceRequest$LaunchedAvailabilityZone": "

The Availability Zone in which the bid is launched.

", "SpotInstanceRequestIdList$member": null, "SpotInstanceStateFault$Code": "

The reason code for the Spot instance state change.

",