Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PurchaseOfferingCommand

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

example

Use a bare-bones client and the command you need to make an API call.

import { MediaConnectClient, PurchaseOfferingCommand } from "@aws-sdk/client-mediaconnect"; // ES Modules import
// const { MediaConnectClient, PurchaseOfferingCommand } = require("@aws-sdk/client-mediaconnect"); // CommonJS import
const client = new MediaConnectClient(config);
const command = new PurchaseOfferingCommand(input);
const response = await client.send(command);
see

PurchaseOfferingCommandInput for command's input shape.

see

PurchaseOfferingCommandOutput for command's response shape.

see

config for MediaConnectClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PurchaseOfferingCommandInput

Readonly middlewareStack