Struct aws_sdk_mediaconnect::types::Offering
source · #[non_exhaustive]pub struct Offering {
pub currency_code: Option<String>,
pub duration: Option<i32>,
pub duration_units: Option<DurationUnits>,
pub offering_arn: Option<String>,
pub offering_description: Option<String>,
pub price_per_unit: Option<String>,
pub price_units: Option<PriceUnits>,
pub resource_specification: Option<ResourceSpecification>,
}Expand description
A savings plan that reserves a certain amount of outbound bandwidth usage at a discounted rate each month over a period of time.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.currency_code: Option<String>The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
duration: Option<i32>The length of time that your reservation would be active.
duration_units: Option<DurationUnits>The unit of measurement for the duration of the offering.
offering_arn: Option<String>The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
offering_description: Option<String>A description of the offering.
price_per_unit: Option<String>The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
price_units: Option<PriceUnits>The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
resource_specification: Option<ResourceSpecification>A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.
Implementations§
source§impl Offering
impl Offering
sourcepub fn currency_code(&self) -> Option<&str>
pub fn currency_code(&self) -> Option<&str>
The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.
sourcepub fn duration(&self) -> Option<i32>
pub fn duration(&self) -> Option<i32>
The length of time that your reservation would be active.
sourcepub fn duration_units(&self) -> Option<&DurationUnits>
pub fn duration_units(&self) -> Option<&DurationUnits>
The unit of measurement for the duration of the offering.
sourcepub fn offering_arn(&self) -> Option<&str>
pub fn offering_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.
sourcepub fn offering_description(&self) -> Option<&str>
pub fn offering_description(&self) -> Option<&str>
A description of the offering.
sourcepub fn price_per_unit(&self) -> Option<&str>
pub fn price_per_unit(&self) -> Option<&str>
The cost of a single unit. This value, in combination with priceUnits, makes up the rate.
sourcepub fn price_units(&self) -> Option<&PriceUnits>
pub fn price_units(&self) -> Option<&PriceUnits>
The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.
sourcepub fn resource_specification(&self) -> Option<&ResourceSpecification>
pub fn resource_specification(&self) -> Option<&ResourceSpecification>
A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.