ListLongTermPricing
Note
Effective November 7, 2025, Amazon Snowball Edge will only be available to existing customers. If you would like to use Amazon Snowball Edge, sign up prior to that date. New customers should explore Amazon DataSync
Lists all long-term pricing types.
Request Syntax
{
"MaxResults": number,
"NextToken": "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.
- MaxResults
-
The maximum number of
ListLongTermPricingobjects to return.Type: Integer
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- NextToken
-
Because HTTP requests are stateless, this is the starting point for your next list of
ListLongTermPricingto return.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*Required: No
Response Syntax
{
"LongTermPricingEntries": [
{
"CurrentActiveJob": "string",
"IsLongTermPricingAutoRenew": boolean,
"JobIds": [ "string" ],
"LongTermPricingEndDate": number,
"LongTermPricingId": "string",
"LongTermPricingStartDate": number,
"LongTermPricingStatus": "string",
"LongTermPricingType": "string",
"ReplacementJob": "string",
"SnowballType": "string"
}
],
"NextToken": "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.
- LongTermPricingEntries
-
Each
LongTermPricingEntryobject contains a status, ID, and other information about theLongTermPricingtype.Type: Array of LongTermPricingListEntry objects
- NextToken
-
Because HTTP requests are stateless, this is the starting point for your next list of returned
ListLongTermPricinglist.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidNextTokenException
-
The
NextTokenstring was altered unexpectedly, and the operation has stopped. Run the operation without changing theNextTokenstring, and try again.HTTP Status Code: 400
- 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 Amazon SDKs, see the following: