Outposts / Client / create_quote

create_quote

Outposts.Client.create_quote(**kwargs)

Creates a quote for an Outpost. A quote provides pricing and configuration options based on the requested capacity. You can optionally associate the quote with an existing Outpost or create a standalone quote by specifying only the country code and requested capacities.

See also: AWS API Documentation

Request Syntax

response = client.create_quote(
    OutpostIdentifier='string',
    CountryCode='string',
    RequestedCapacities=[
        {
            'QuoteCapacityType': 'EC2'|'EBS'|'S3',
            'Unit': 'string',
            'Quantity': ...
        },
    ],
    RequestedConstraints=[
        {
            'QuoteConstraintType': 'RACK_MAXIMUM'|'RACK_MAX_POWER_KVA'|'RACK_MAX_WEIGHT_LBS',
            'Value': 'string'
        },
    ],
    RequestedPaymentOptions=[
        'ALL_UPFRONT'|'NO_UPFRONT'|'PARTIAL_UPFRONT',
    ],
    RequestedPaymentTerms=[
        'THREE_YEARS'|'ONE_YEAR'|'FIVE_YEARS',
    ],
    Description='string'
)
Parameters:
  • OutpostIdentifier (string) – The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.

  • CountryCode (string) –

    [REQUIRED]

    The country code for the Outpost site location.

  • RequestedCapacities (list) –

    [REQUIRED]

    The capacity requirements for the quote. Each entry specifies a capacity type (such as Amazon EC2), the unit, and the quantity. For Amazon EC2, the quantity is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, the quantity is the total desired end-state capacity of the Outpost.

    • (dict) –

      A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

      • QuoteCapacityType (string) –

        The type of capacity. Valid values are EC2, EBS, and S3.

      • Unit (string) –

        The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

      • Quantity (float) –

        The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

  • RequestedConstraints (list) –

    The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.

    • (dict) –

      A physical constraint for a quote.

      • QuoteConstraintType (string) –

        The type of constraint. Valid values are RACK_MAXIMUM, RACK_MAX_POWER_KVA, and RACK_MAX_WEIGHT_LBS.

      • Value (string) –

        The value of the constraint.

  • RequestedPaymentOptions (list) –

    The payment options to include in the quote pricing. If not specified, all available payment options are returned.

    • (string) –

  • RequestedPaymentTerms (list) –

    The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.

    • (string) –

  • Description (string) – A description for the quote.

Return type:

dict

Returns:

Response Syntax

{
    'Quote': {
        'QuoteId': 'string',
        'AccountId': 'string',
        'QuoteStatus': 'CREATED'|'ORDER_SUBMITTED'|'EXPIRED',
        'StatusMessage': 'string',
        'OutpostArn': 'string',
        'CountryCode': 'string',
        'RequestedCapacities': [
            {
                'QuoteCapacityType': 'EC2'|'EBS'|'S3',
                'Unit': 'string',
                'Quantity': ...
            },
        ],
        'RequestedConstraints': [
            {
                'QuoteConstraintType': 'RACK_MAXIMUM'|'RACK_MAX_POWER_KVA'|'RACK_MAX_WEIGHT_LBS',
                'Value': 'string'
            },
        ],
        'RequestedPaymentOptions': [
            'ALL_UPFRONT'|'NO_UPFRONT'|'PARTIAL_UPFRONT',
        ],
        'RequestedPaymentTerms': [
            'THREE_YEARS'|'ONE_YEAR'|'FIVE_YEARS',
        ],
        'QuoteOptions': [
            {
                'QuoteOptionIdentifier': 'string',
                'Capacities': [
                    {
                        'QuoteCapacityType': 'EC2'|'EBS'|'S3',
                        'Unit': 'string',
                        'Quantity': ...
                    },
                ],
                'CapacitySummary': {
                    'ExistingCapacities': [
                        {
                            'QuoteCapacityType': 'EC2'|'EBS'|'S3',
                            'Unit': 'string',
                            'Quantity': ...
                        },
                    ],
                    'FinalCapacities': [
                        {
                            'QuoteCapacityType': 'EC2'|'EBS'|'S3',
                            'Unit': 'string',
                            'Quantity': ...
                        },
                    ],
                    'CapacityChange': [
                        {
                            'QuoteCapacityType': 'EC2'|'EBS'|'S3',
                            'Unit': 'string',
                            'Quantity': ...
                        },
                    ]
                },
                'Specifications': [
                    {
                        'QuoteSpecificationType': 'UPDATED_RACK'|'NEW_RACK'|'EXISTING_RACK'|'SERVER',
                        'ExistingRackSpecificationDetails': {
                            'RackId': 'string',
                            'RackUse': 'NETWORKING'|'COMPUTE',
                            'RackPowerDrawKva': ...,
                            'RackWeightLbs': ...,
                            'RackHeightInches': ...,
                            'RackWidthInches': ...,
                            'RackDepthInches': ...,
                            'RackUnitHeight': 'HEIGHT_42U'|'HEIGHT_2U'|'HEIGHT_1U',
                            'EC2Capacities': [
                                {
                                    'Family': 'string',
                                    'MaxSize': 'string',
                                    'Quantity': 'string'
                                },
                            ]
                        },
                        'FinalRackSpecificationDetails': {
                            'RackId': 'string',
                            'RackUse': 'NETWORKING'|'COMPUTE',
                            'RackPowerDrawKva': ...,
                            'RackWeightLbs': ...,
                            'RackHeightInches': ...,
                            'RackWidthInches': ...,
                            'RackDepthInches': ...,
                            'RackUnitHeight': 'HEIGHT_42U'|'HEIGHT_2U'|'HEIGHT_1U',
                            'EC2Capacities': [
                                {
                                    'Family': 'string',
                                    'MaxSize': 'string',
                                    'Quantity': 'string'
                                },
                            ]
                        },
                        'ServerSpecificationDetails': {
                            'ServerPowerDrawKva': ...,
                            'ServerWeightLbs': ...,
                            'ServerHeightInches': ...,
                            'ServerWidthInches': ...,
                            'ServerDepthInches': ...,
                            'RackUnitHeight': 'HEIGHT_42U'|'HEIGHT_2U'|'HEIGHT_1U',
                            'EC2Capacities': [
                                {
                                    'Family': 'string',
                                    'MaxSize': 'string',
                                    'Quantity': 'string'
                                },
                            ]
                        }
                    },
                ],
                'PricingOptions': [
                    {
                        'PricingType': 'SUBSCRIPTION',
                        'SubscriptionPricingDetails': {
                            'PaymentOption': 'ALL_UPFRONT'|'NO_UPFRONT'|'PARTIAL_UPFRONT',
                            'PaymentTerm': 'THREE_YEARS'|'ONE_YEAR'|'FIVE_YEARS',
                            'UpfrontPrice': ...,
                            'MonthlyRecurringPrice': ...,
                            'Currency': 'USD'
                        }
                    },
                ]
            },
        ],
        'OrderingRequirements': [
            {
                'StatusMessage': 'string',
                'OrderingRequirementType': 'OUTPOST_ACTIVE_CHECK_ERROR'|'MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR'|'VALID_ZIP_CODE_CHECK_ERROR'|'RACK_PHYSICAL_PROPERTIES_CHECK_ERROR'|'OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR'|'SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR'|'COUNTRY_CODE_MISMATCH_CHECK_ERROR'|'OUTPOST_GENERATION_MISMATCH_ERROR'|'UNSUPPORTED'|'OUTPOST_ID_MISSING_ON_QUOTE_ERROR'|'ENTERPRISE_SUPPORT_ERROR'|'SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR'|'SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR'|'SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR'|'OUTPOST_STATE_CHANGED_ERROR'|'OUTPOST_NOT_FOUND_ERROR'|'OUTPOST_RENEWAL_REQUIRED_ERROR',
                'Status': 'PASS'|'FAIL'|'EXEMPT'
            },
        ],
        'SubmittedOrderId': 'string',
        'CreatedDate': datetime(2015, 1, 1),
        'ExpirationDate': datetime(2015, 1, 1),
        'Description': 'string'
    }
}

Response Structure

  • (dict) –

    • Quote (dict) –

      Information about the quote.

      • QuoteId (string) –

        The ID of the quote.

      • AccountId (string) –

        The ID of the account that owns the quote.

      • QuoteStatus (string) –

        The status of the quote.

        • CREATED - The quote has been created and is available for review.

        • ORDER_SUBMITTED - An order has been submitted for the quote.

        • EXPIRED - The quote has expired and can no longer be used to submit an order.

      • StatusMessage (string) –

        A message about the status of the quote.

      • OutpostArn (string) –

        The ARN of the Outpost associated with the quote.

      • CountryCode (string) –

        The country code for the Outpost site location.

      • RequestedCapacities (list) –

        The capacity requirements specified in the quote request.

        • (dict) –

          A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

          • QuoteCapacityType (string) –

            The type of capacity. Valid values are EC2, EBS, and S3.

          • Unit (string) –

            The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

          • Quantity (float) –

            The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

      • RequestedConstraints (list) –

        The physical constraints specified in the quote request.

        • (dict) –

          A physical constraint for a quote.

          • QuoteConstraintType (string) –

            The type of constraint. Valid values are RACK_MAXIMUM, RACK_MAX_POWER_KVA, and RACK_MAX_WEIGHT_LBS.

          • Value (string) –

            The value of the constraint.

      • RequestedPaymentOptions (list) –

        The payment options specified in the quote request.

        • (string) –

      • RequestedPaymentTerms (list) –

        The payment terms specified in the quote request.

        • (string) –

      • QuoteOptions (list) –

        The configuration and pricing options for the quote. Each option includes capacity details, physical specifications, and pricing information.

        • (dict) –

          A configuration and pricing option for a quote. Each option includes the capacity breakdown, physical specifications for the racks or servers, and pricing details.

          • QuoteOptionIdentifier (string) –

            The ID of the quote option.

          • Capacities (list) –

            The capacities included in this quote option.

            • (dict) –

              A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

              • QuoteCapacityType (string) –

                The type of capacity. Valid values are EC2, EBS, and S3.

              • Unit (string) –

                The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

              • Quantity (float) –

                The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

          • CapacitySummary (dict) –

            A summary of the existing, final, and changed capacity for this quote option.

            • ExistingCapacities (list) –

              The existing capacities on the Outpost before the quote is fulfilled.

              • (dict) –

                A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

                • QuoteCapacityType (string) –

                  The type of capacity. Valid values are EC2, EBS, and S3.

                • Unit (string) –

                  The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

                • Quantity (float) –

                  The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

            • FinalCapacities (list) –

              The final capacities on the Outpost after the quote is fulfilled.

              • (dict) –

                A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

                • QuoteCapacityType (string) –

                  The type of capacity. Valid values are EC2, EBS, and S3.

                • Unit (string) –

                  The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

                • Quantity (float) –

                  The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

            • CapacityChange (list) –

              The change in capacity between the existing and final state.

              • (dict) –

                A capacity requirement for a quote. Specifies the type of capacity, the unit, and the quantity.

                • QuoteCapacityType (string) –

                  The type of capacity. Valid values are EC2, EBS, and S3.

                • Unit (string) –

                  The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes).

                • Quantity (float) –

                  The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost.

          • Specifications (list) –

            The physical specifications for the racks or servers in this quote option.

            • (dict) –

              A physical specification for a quote option. Describes the rack or server configuration that would be deployed.

              • QuoteSpecificationType (string) –

                The type of specification. Valid values are NEW_RACK, UPDATED_RACK, EXISTING_RACK, and SERVER.

              • ExistingRackSpecificationDetails (dict) –

                The existing rack specification details, if the specification type is UPDATED_RACK or EXISTING_RACK.

                • RackId (string) –

                  The ID of the rack.

                • RackUse (string) –

                  The use of the rack. Valid values are COMPUTE and NETWORKING.

                • RackPowerDrawKva (float) –

                  The maximum power draw of the rack in kVA.

                • RackWeightLbs (float) –

                  The weight of the rack in pounds.

                • RackHeightInches (float) –

                  The height of the rack in inches.

                • RackWidthInches (float) –

                  The width of the rack in inches.

                • RackDepthInches (float) –

                  The depth of the rack in inches.

                • RackUnitHeight (string) –

                  The rack unit height.

                  • HEIGHT_42U - 42 rack units.

                  • HEIGHT_2U - 2 rack units.

                  • HEIGHT_1U - 1 rack unit.

                • EC2Capacities (list) –

                  The Amazon EC2 capacities for the rack.

                  • (dict) –

                    Information about EC2 capacity.

                    • Family (string) –

                      The family of the EC2 capacity.

                    • MaxSize (string) –

                      The maximum size of the EC2 capacity.

                    • Quantity (string) –

                      The quantity of the EC2 capacity.

              • FinalRackSpecificationDetails (dict) –

                The final rack specification details after the quote is fulfilled.

                • RackId (string) –

                  The ID of the rack.

                • RackUse (string) –

                  The use of the rack. Valid values are COMPUTE and NETWORKING.

                • RackPowerDrawKva (float) –

                  The maximum power draw of the rack in kVA.

                • RackWeightLbs (float) –

                  The weight of the rack in pounds.

                • RackHeightInches (float) –

                  The height of the rack in inches.

                • RackWidthInches (float) –

                  The width of the rack in inches.

                • RackDepthInches (float) –

                  The depth of the rack in inches.

                • RackUnitHeight (string) –

                  The rack unit height.

                  • HEIGHT_42U - 42 rack units.

                  • HEIGHT_2U - 2 rack units.

                  • HEIGHT_1U - 1 rack unit.

                • EC2Capacities (list) –

                  The Amazon EC2 capacities for the rack.

                  • (dict) –

                    Information about EC2 capacity.

                    • Family (string) –

                      The family of the EC2 capacity.

                    • MaxSize (string) –

                      The maximum size of the EC2 capacity.

                    • Quantity (string) –

                      The quantity of the EC2 capacity.

              • ServerSpecificationDetails (dict) –

                The server specification details, if the specification type is SERVER.

                • ServerPowerDrawKva (float) –

                  The maximum power draw of the server in kVA.

                • ServerWeightLbs (float) –

                  The weight of the server in pounds.

                • ServerHeightInches (float) –

                  The height of the server in inches.

                • ServerWidthInches (float) –

                  The width of the server in inches.

                • ServerDepthInches (float) –

                  The depth of the server in inches.

                • RackUnitHeight (string) –

                  The rack unit height of the server.

                  • HEIGHT_2U - 2 rack units.

                  • HEIGHT_1U - 1 rack unit.

                • EC2Capacities (list) –

                  The Amazon EC2 capacities for the server.

                  • (dict) –

                    Information about EC2 capacity.

                    • Family (string) –

                      The family of the EC2 capacity.

                    • MaxSize (string) –

                      The maximum size of the EC2 capacity.

                    • Quantity (string) –

                      The quantity of the EC2 capacity.

          • PricingOptions (list) –

            The pricing options for this quote option.

            • (dict) –

              A pricing option for the specified Outpost.

              • PricingType (string) –

                The type of pricing model.

              • SubscriptionPricingDetails (dict) –

                The subscription pricing details for this pricing option.

                • PaymentOption (string) –

                  The payment option.

                • PaymentTerm (string) –

                  The payment term.

                • UpfrontPrice (float) –

                  The upfront price.

                • MonthlyRecurringPrice (float) –

                  The monthly recurring price.

                • Currency (string) –

                  The currency of the price. Currently only USD is supported.

      • OrderingRequirements (list) –

        The requirements that must be met before an order can be submitted for the quote.

        • (dict) –

          A requirement that must be met before an order can be submitted for a quote.

          • StatusMessage (string) –

            A message about the ordering requirement.

          • OrderingRequirementType (string) –

            The type of ordering requirement. Indicates which check failed or passed.

            • OUTPOST_ACTIVE_CHECK_ERROR - The Outpost must be in an active state.

            • MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR - The maximum number of allowed orders has been reached.

            • VALID_ZIP_CODE_CHECK_ERROR - The site address must have a valid zip code.

            • RACK_PHYSICAL_PROPERTIES_CHECK_ERROR - The rack physical properties do not meet requirements.

            • OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR - The site must have an operating address.

            • SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR - The site must have a shipping address.

            • COUNTRY_CODE_MISMATCH_CHECK_ERROR - The country code on the quote does not match the Outpost site country.

            • OUTPOST_GENERATION_MISMATCH_ERROR - The Outpost generation does not match the requested configuration.

            • OUTPOST_ID_MISSING_ON_QUOTE_ERROR - The quote must be associated with an Outpost before submitting an order.

            • ENTERPRISE_SUPPORT_ERROR - Enterprise Support is required.

            • SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR - The shipping address must have a contact name.

            • SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR - The shipping address must have a contact phone number.

            • SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR - The shipping address must have contact information.

            • OUTPOST_STATE_CHANGED_ERROR - The Outpost state has changed since the quote was created.

            • OUTPOST_NOT_FOUND_ERROR - The Outpost associated with the quote was not found.

            • OUTPOST_RENEWAL_REQUIRED_ERROR - The Outpost requires a renewal before a new order can be submitted.

            • UNSUPPORTED - The requirement type is not recognized.

          • Status (string) –

            The status of the ordering requirement. Valid values are PASS, FAIL, and EXEMPT.

      • SubmittedOrderId (string) –

        The ID of the order submitted for the quote.

      • CreatedDate (datetime) –

        The date the quote was created.

      • ExpirationDate (datetime) –

        The date the quote expires.

      • Description (string) –

        The description of the quote.

Exceptions

  • Outposts.Client.exceptions.AccessDeniedException

  • Outposts.Client.exceptions.ValidationException

  • Outposts.Client.exceptions.InternalServerException

  • Outposts.Client.exceptions.NotFoundException