describe_offering

describe_offering(**kwargs)

Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).

See also: AWS API Documentation

Request Syntax

response = client.describe_offering(
    OfferingArn='string'
)
Parameters
OfferingArn (string) -- [REQUIRED] The Amazon Resource Name (ARN) of the offering.
Return type
dict
Returns
Response Syntax
{
    'Offering': {
        'CurrencyCode': 'string',
        'Duration': 123,
        'DurationUnits': 'MONTHS',
        'OfferingArn': 'string',
        'OfferingDescription': 'string',
        'PricePerUnit': 'string',
        'PriceUnits': 'HOURLY',
        'ResourceSpecification': {
            'ReservedBitrate': 123,
            'ResourceType': 'Mbps_Outbound_Bandwidth'
        }
    }
}

Response Structure

  • (dict) -- MediaConnect returned the offering details successfully.
    • Offering (dict) -- A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.
      • CurrencyCode (string) -- The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
      • Duration (integer) -- The length of time that your reservation would be active.
      • DurationUnits (string) -- The unit of measurement for the duration of the offering.
      • OfferingArn (string) -- The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
      • OfferingDescription (string) -- A description of the offering.
      • PricePerUnit (string) -- The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
      • PriceUnits (string) -- The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
      • ResourceSpecification (dict) -- A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
        • ReservedBitrate (integer) -- The amount of outbound bandwidth that is discounted in the offering.
        • ResourceType (string) -- The type of resource and the unit that is being billed for.

Exceptions

  • MediaConnect.Client.exceptions.NotFoundException
  • MediaConnect.Client.exceptions.ServiceUnavailableException
  • MediaConnect.Client.exceptions.TooManyRequestsException
  • MediaConnect.Client.exceptions.BadRequestException
  • MediaConnect.Client.exceptions.InternalServerErrorException