AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to PurchaseOfferingAsync.

Namespace: Amazon.MediaConnect
Assembly: AWSSDK.MediaConnect.dll
Version: 3.x.y.z

Syntax

C#
public abstract PurchaseOfferingResponse PurchaseOffering(
         PurchaseOfferingRequest request
)

Parameters

request
Type: Amazon.MediaConnect.Model.PurchaseOfferingRequest

Container for the necessary parameters to execute the PurchaseOffering service method.

Return Value


The response from the PurchaseOffering service method, as returned by MediaConnect.

Exceptions

ExceptionCondition
BadRequestException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
ForbiddenException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
InternalServerErrorException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
NotFoundException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
ServiceUnavailableException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
TooManyRequestsException Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also