View a markdown version of this page

UpdateQuote - AWS Outposts

UpdateQuote

Updates the specified quote. You can modify the requested capacities, constraints, payment options, payment terms, or Outpost association.

Request Syntax

PATCH /quotes/QuoteIdentifier HTTP/1.1 Content-type: application/json { "CountryCode": "string", "Description": "string", "OutpostIdentifier": "string", "RequestedCapacities": [ { "Quantity": number, "QuoteCapacityType": "string", "Unit": "string" } ], "RequestedConstraints": [ { "QuoteConstraintType": "string", "Value": "string" } ], "RequestedPaymentOptions": [ "string" ], "RequestedPaymentTerms": [ "string" ] }

URI Request Parameters

The request uses the following URI parameters.

QuoteIdentifier

The ID of the quote.

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: ^(arn:aws([a-z-]+)?:outposts:[a-z\d-]+:\d{12}:quote/)?oq-[a-f0-9]{17}$

Required: Yes

Request Body

The request accepts the following data in JSON format.

CountryCode

The country code for the Outpost site location.

Type: String

Length Constraints: Fixed length of 2.

Pattern: ^[A-Z]{2}$

Required: No

Description

A description for the quote.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: ^[\S \n]*$

Required: No

OutpostIdentifier

The ID or ARN of the Outpost to associate with the quote. Specify an empty string to remove the Outpost association.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 180.

Pattern: ^((arn:aws([a-z-]+)?:outposts:[a-z\d-]+:\d{12}:outpost/)?op-[a-f0-9]{17})?$

Required: No

RequestedCapacities

The updated capacity requirements for the quote.

Type: Array of QuoteCapacity objects

Array Members: Maximum number of 2000 items.

Required: No

RequestedConstraints

The updated physical constraints for the quote.

Type: Array of QuoteConstraint objects

Array Members: Maximum number of 10 items.

Required: No

RequestedPaymentOptions

The updated payment options to include in the quote pricing.

Type: Array of strings

Array Members: Maximum number of 3 items.

Valid Values: ALL_UPFRONT | NO_UPFRONT | PARTIAL_UPFRONT

Required: No

RequestedPaymentTerms

The updated payment terms to include in the quote pricing.

Type: Array of strings

Array Members: Maximum number of 3 items.

Valid Values: THREE_YEARS | ONE_YEAR | FIVE_YEARS

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Quote": { "AccountId": "string", "CountryCode": "string", "CreatedDate": number, "Description": "string", "ExpirationDate": number, "OrderingRequirements": [ { "OrderingRequirementType": "string", "Status": "string", "StatusMessage": "string" } ], "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.

Quote

Information about the updated quote.

Type: Quote object

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

NotFoundException

The specified request is not valid.

HTTP Status Code: 404

ValidationException

A parameter is not valid.

HTTP Status Code: 400

Examples

Example

This example updates a quote to associate it with an Outpost and change the requested capacities.

Sample Request

aws outposts update-quote --quote-identifier oq-1234567890abcdef0 --outpost-identifier op-1234567890example --requested-capacities QuoteCapacityType=EC2,Unit=m5.24xlarge,Quantity=8

Sample Response

{ "Quote": { "QuoteId": "oq-1234567890abcdef0", "AccountId": "123456789012", "QuoteStatus": "CREATED", "OutpostArn": "arn:aws:outposts:us-east-1:123456789012:outpost/op-1234567890example", "CountryCode": "US", "RequestedCapacities": [ { "QuoteCapacityType": "EC2", "Unit": "m5.24xlarge", "Quantity": 8.0 } ], "QuoteOptions": [ { "QuoteOptionIdentifier": "oqo-1234567890abcdef0", "Specifications": [ { "QuoteSpecificationType": "NEW_RACK", "FinalRackSpecificationDetails": { "RackUse": "COMPUTE", "RackPowerDrawKva": 12.0, "RackWeightLbs": 2200.0, "RackHeightInches": 80.0, "RackWidthInches": 24.0, "RackDepthInches": 48.0, "RackUnitHeight": "HEIGHT_42U" } } ], "PricingOptions": [ { "PricingType": "SUBSCRIPTION", "SubscriptionPricingDetails": { "PaymentOption": "ALL_UPFRONT", "PaymentTerm": "THREE_YEARS", "UpfrontPrice": 200000.00, "MonthlyRecurringPrice": 0.0, "Currency": "USD" } } ] } ], "CreatedDate": "2026-01-15T10:30:00Z", "ExpirationDate": "2026-02-14T10:30:00Z" } }

See Also

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