CreateLongTermPricing - AWS Snowball

CreateLongTermPricing

Important

End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post.

Creates a job with the long-term usage option for a device. The long-term usage is a 1-year or 3-year long-term pricing type for the device. You are billed upfront, and AWS provides discounts for long-term pricing.

Request Syntax

{ "IsLongTermPricingAutoRenew": boolean, "LongTermPricingType": "string", "SnowballType": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

IsLongTermPricingAutoRenew

Specifies whether the current long-term pricing type for the device should be renewed.

Type: Boolean

Required: No

LongTermPricingType

The type of long-term pricing option you want for the device, either 1-year or 3-year long-term pricing.

Type: String

Valid Values: OneYear | ThreeYear | OneMonth

Required: Yes

SnowballType

The type of Snow Family devices to use for the long-term pricing job.

Type: String

Valid Values: STANDARD | EDGE | EDGE_C | EDGE_CG | EDGE_S | SNC1_HDD | SNC1_SSD | V3_5C | V3_5S | RACK_5U_C

Required: Yes

Response Syntax

{ "LongTermPricingId": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

LongTermPricingId

The ID of the long-term pricing type for the device.

Type: String

Length Constraints: Fixed length of 41.

Pattern: LTPID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidResourceException
Important

End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers. For more information, visit this blog post.

The specified resource can't be found. Check the information you provided in your last request, and try again.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: