CreateLongTermPricing
Note
Effective November 7, 2025, AWS Snowball Edge will only be available to existing customers. If you would like to use AWS Snowball Edge, sign up prior to that date. New customers should explore AWS DataSync
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
-
The specified resource can't be found. Check the information you provided in your last request, and try again.
- ResourceType
-
The provided resource value is invalid.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: