create_order
async
¶
create_order(
outpost_identifier: OutpostIdentifier,
payment_option: PaymentOption,
*,
config_overrides: Optional[AsyncOutpostsClientConfig] = None,
quote_identifier: Optional[QuoteIdentifier] = None,
quote_option_identifier: Optional[QuoteOptionIdentifier] = None,
line_items: Optional[LineItemRequestListDefinition] = None,
payment_term: Optional[PaymentTerm] = None,
) -> CreateOrderOutput
Creates an order for an Outpost.
Parameters:
-
outpost_identifier(OutpostIdentifier) –The ID or the Amazon Resource Name (ARN) of the Outpost.
-
quote_identifier(Optional[QuoteIdentifier], default:None) –The ID of the quote to use for the order.
-
quote_option_identifier(Optional[QuoteOptionIdentifier], default:None) –The ID of the quote option to use for the order.
-
line_items(Optional[LineItemRequestListDefinition], default:None) –The line items that make up the order.
-
payment_option(PaymentOption) –The payment option.
-
payment_term(Optional[PaymentTerm], default:None) –The payment terms.
Raises:
-
AccessDeniedException–You do not have permission to perform this operation.
-
ConflictException–Updating or deleting this resource can cause an inconsistent state.
-
InternalServerException–An internal error has occurred.
-
NotFoundException–The specified request is not valid.
-
ServiceQuotaExceededException–You have exceeded a service quota.
-
ValidationException–A parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.