// Immediately purchases offerings for an AWS account. Offerings renew with the
// latest total purchased quantity for an offering, unless the renewal was
// overridden. The API returns a NotEligible error if the user is not permitted to
// invoke the operation. If you must be able to invoke this operation, contact
// aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com).
Immediately purchases offerings for an AWS account. Offerings renew with the
latest total purchased quantity for an offering, unless the renewal was
overridden. The API returns a NotEligible error if the user is not permitted to
invoke the operation. If you must be able to invoke this operation, contact
aws-devicefarm-support@amazon.com (mailto:aws-devicefarm-support@amazon.com).
// Immediately purchases offerings for an AWS account . Offerings renew with the // latest total purchased quantity for an offering unless the renewal was // overridden . The API returns a NotEligible error if the user is not permitted to // invoke the operation . If you must be able to invoke this operation contact // aws - devicefarm - support@amazon . com ( mailto : aws - devicefarm - support@amazon . com ) .
func (c *Client) PurchaseOffering(ctx context.Context, params *PurchaseOfferingInput, optFns ...func(*Options)) (*PurchaseOfferingOutput, error) {
	if params == nil {
		params = &PurchaseOfferingInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PurchaseOffering", params, optFns, addOperationPurchaseOfferingMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PurchaseOfferingOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PurchaseOffering ( ctx context . Context , params * PurchaseOfferingInput , optFns ... func ( * Options ) ) ( * PurchaseOfferingOutput , error ) { if params == nil { params = & PurchaseOfferingInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPurchaseOfferingMiddlewares ) if err != nil { return nil , err } out := result . ( * PurchaseOfferingOutput ) out . ResultMetadata = metadata return out , nil }
Immediately purchases offerings for an AWS account.
Immediately purchases offerings for an AWS account .