ListQuotes
Lists the quotes for your AWS account.
Request Syntax
GET /quotes?MaxResults=MaxResults&NextToken=NextToken HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- MaxResults
-
The maximum page size.
Valid Range: Minimum value of 1. Maximum value of 1000.
- NextToken
-
The pagination token.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^(\d+)##(\S+)$
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"NextToken": "string",
"Quotes": [
{
"AccountId": "string",
"CountryCode": "string",
"CreatedDate": number,
"Description": "string",
"ExpirationDate": number,
"OutpostArn": "string",
"QuoteId": "string",
"QuoteOptions": [
{
"Capacities": [
{
"Quantity": number,
"QuoteCapacityType": "string",
"Unit": "string"
}
],
"CapacitySummary": {
"CapacityChange": [
{
"Quantity": number,
"QuoteCapacityType": "string",
"Unit": "string"
}
],
"ExistingCapacities": [
{
"Quantity": number,
"QuoteCapacityType": "string",
"Unit": "string"
}
],
"FinalCapacities": [
{
"Quantity": number,
"QuoteCapacityType": "string",
"Unit": "string"
}
]
},
"PricingOptions": [
{
"PricingType": "string",
"SubscriptionPricingDetails": {
"Currency": "string",
"MonthlyRecurringPrice": number,
"PaymentOption": "string",
"PaymentTerm": "string",
"UpfrontPrice": number
}
}
],
"QuoteOptionIdentifier": "string",
"Specifications": [
{
"ExistingRackSpecificationDetails": {
"EC2Capacities": [
{
"Family": "string",
"MaxSize": "string",
"Quantity": "string"
}
],
"RackDepthInches": number,
"RackHeightInches": number,
"RackId": "string",
"RackPowerDrawKva": number,
"RackUnitHeight": "string",
"RackUse": "string",
"RackWeightLbs": number,
"RackWidthInches": number
},
"FinalRackSpecificationDetails": {
"EC2Capacities": [
{
"Family": "string",
"MaxSize": "string",
"Quantity": "string"
}
],
"RackDepthInches": number,
"RackHeightInches": number,
"RackId": "string",
"RackPowerDrawKva": number,
"RackUnitHeight": "string",
"RackUse": "string",
"RackWeightLbs": number,
"RackWidthInches": number
},
"QuoteSpecificationType": "string",
"ServerSpecificationDetails": {
"EC2Capacities": [
{
"Family": "string",
"MaxSize": "string",
"Quantity": "string"
}
],
"RackUnitHeight": "string",
"ServerDepthInches": number,
"ServerHeightInches": number,
"ServerPowerDrawKva": number,
"ServerWeightLbs": number,
"ServerWidthInches": number
}
}
]
}
],
"QuoteStatus": "string",
"RequestedCapacities": [
{
"Quantity": number,
"QuoteCapacityType": "string",
"Unit": "string"
}
],
"RequestedConstraints": [
{
"QuoteConstraintType": "string",
"Value": "string"
}
],
"RequestedPaymentOptions": [ "string" ],
"RequestedPaymentTerms": [ "string" ],
"StatusMessage": "string",
"SubmittedOrderId": "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.
- NextToken
-
The pagination token.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^(\d+)##(\S+)$ - Quotes
-
Information about the quotes.
Type: Array of QuoteSummary objects
Array Members: Maximum number of 1000 items.
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You do not have permission to perform this operation.
HTTP Status Code: 403
- InternalServerException
-
An internal error has occurred.
HTTP Status Code: 500
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: