create_quote
¶
create_quote(
country_code: CountryCode,
requested_capacities: QuoteCapacityList,
*,
config_overrides: Optional[OutpostsClientConfig] = None,
outpost_identifier: Optional[OutpostIdentifier] = None,
requested_constraints: Optional[QuoteConstraintList] = None,
requested_payment_options: Optional[PaymentOptionList] = None,
requested_payment_terms: Optional[PaymentTermList] = None,
description: Optional[QuoteDescription] = None,
) -> CreateQuoteOutput
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.
Parameters:
-
outpost_identifier(Optional[OutpostIdentifier], default:None) –The ID or ARN of the Outpost to associate with the quote. If not specified, the quote is created without an Outpost association.
-
country_code(CountryCode) –The country code for the Outpost site location.
-
requested_capacities(QuoteCapacityList) –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.
-
requested_constraints(Optional[QuoteConstraintList], default:None) –The physical constraints for the quote, such as maximum number of racks, maximum power draw per rack, or maximum weight per rack.
-
requested_payment_options(Optional[PaymentOptionList], default:None) –The payment options to include in the quote pricing. If not specified, all available payment options are returned.
-
requested_payment_terms(Optional[PaymentTermList], default:None) –The payment terms to include in the quote pricing. If not specified, all available payment terms are returned.
-
description(Optional[QuoteDescription], default:None) –A description for the quote.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
InternalServerException–An internal error has occurred.
-
NotFoundException–The specified request is not valid.
-
ValidationException–A parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_outposts/_services/outposts.py
627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 | |