purchase_offering
¶
purchase_offering(
offering_arn: str,
*,
config_overrides: Optional[MediaConnectClientConfig] = None,
reservation_name: Optional[str] = None,
start: Optional[str] = None,
) -> PurchaseOfferingResponse
Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
Parameters:
-
offering_arn(str) –The Amazon Resource Name (ARN) of the offering.
-
reservation_name(Optional[str], default:None) –The name that you want to use for the reservation.
-
start(Optional[str], default:None) –The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC).
You can specify any date and time between 12:00am on the first day of the current month to the current time on today's date, inclusive. Specify the start in a 24-hour notation. Use the following format:
YYYY-MM-DDTHH:mm:SSZ, whereTandZare literal characters. For example, to specify 11:30pm on March 5, 2020, enter2020-03-05T23:30:00Z.
Raises:
-
BadRequestException–This exception is thrown if the request contains a semantic error. The precise meaning depends on the API, and is documented in the error message.
-
ForbiddenException–You do not have sufficient access to perform this action.
-
InternalServerErrorException–The server encountered an internal error and is unable to complete the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ServiceUnavailableException–The service is currently unavailable or busy.
-
TooManyRequestsException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.