purchase_offering
async
¶
purchase_offering(
offering_id: __string,
*,
config_overrides: Optional[AsyncMediaLiveClientConfig] = None,
count: Optional[__integerMin1] = None,
name: Optional[__string] = None,
renewal_settings: Optional[RenewalSettings] = None,
request_id: Optional[__string] = None,
start: Optional[__string] = None,
tags: Optional[Tags] = None,
) -> PurchaseOfferingResponse
Purchase an offering and create a reservation.
Parameters:
-
count(Optional[__integerMin1], default:None) –Number of resources
-
name(Optional[__string], default:None) –Name for the new reservation
-
offering_id(__string) –Offering to purchase, e.g. '87654321'
-
renewal_settings(Optional[RenewalSettings], default:None) –Renewal settings for the reservation
-
request_id(Optional[__string], default:None) –Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
-
start(Optional[__string], default:None) –Requested reservation start time (UTC) in ISO-8601 format. The specified time must be between the first day of the current month and one year from now. If no value is given, the default is now.
-
tags(Optional[Tags], default:None) –A collection of key-value pairs
Raises:
-
BadGatewayException–Placeholder documentation for BadGatewayException
-
BadRequestException–Placeholder documentation for BadRequestException
-
ConflictException–Placeholder documentation for ConflictException
-
ForbiddenException–Placeholder documentation for ForbiddenException
-
GatewayTimeoutException–Placeholder documentation for GatewayTimeoutException
-
InternalServerErrorException–Placeholder documentation for InternalServerErrorException
-
NotFoundException–Placeholder documentation for NotFoundException
-
TooManyRequestsException–Placeholder documentation for TooManyRequestsException
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medialive/_services/async_media_live.py
6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 | |