You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::PurchaseOfferingRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb

Overview

Note:

When making an API call, you may pass PurchaseOfferingRequest data as a hash:

{
  offering_id: "OfferingIdentifier",
  quantity: 1,
  offering_promotion_id: "OfferingPromotionIdentifier",
}

Represents a request for a purchase offering.

Instance Attribute Summary collapse

Instance Attribute Details

#offering_idString

The ID of the offering.

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2964

class PurchaseOfferingRequest < Struct.new(
  :offering_id,
  :quantity,
  :offering_promotion_id)
  include Aws::Structure
end

#offering_promotion_idString

The ID of the offering promotion to be applied to the purchase.

Returns:

  • (String)


2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2964

class PurchaseOfferingRequest < Struct.new(
  :offering_id,
  :quantity,
  :offering_promotion_id)
  include Aws::Structure
end

#quantityInteger

The number of device slots you wish to purchase in an offering request.

Returns:

  • (Integer)


2964
2965
2966
2967
2968
2969
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2964

class PurchaseOfferingRequest < Struct.new(
  :offering_id,
  :quantity,
  :offering_promotion_id)
  include Aws::Structure
end