Struct aws_sdk_pricing::types::PriceList
source · #[non_exhaustive]pub struct PriceList {
pub price_list_arn: Option<String>,
pub region_code: Option<String>,
pub currency_code: Option<String>,
pub file_formats: Option<Vec<String>>,
}
Expand description
This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (Section 1.10).
This is the type of price list references that match your request.
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.price_list_arn: Option<String>
The unique identifier that maps to where your Price List files are located. PriceListArn
can be obtained from the ListPriceList
response.
region_code: Option<String>
This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the US East (N. Virginia)
Region, use us-east-1
. If nothing is specified, you retrieve price lists for all applicable Regions. The available RegionCode
list can be retrieved from GetAttributeValues
API.
currency_code: Option<String>
The three alphabetical character ISO-4217 currency code the Price List files are denominated in.
file_formats: Option<Vec<String>>
The format you want to retrieve your Price List files. The FileFormat
can be obtained from the ListPriceList
response.
Implementations§
source§impl PriceList
impl PriceList
sourcepub fn price_list_arn(&self) -> Option<&str>
pub fn price_list_arn(&self) -> Option<&str>
The unique identifier that maps to where your Price List files are located. PriceListArn
can be obtained from the ListPriceList
response.
sourcepub fn region_code(&self) -> Option<&str>
pub fn region_code(&self) -> Option<&str>
This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the US East (N. Virginia)
Region, use us-east-1
. If nothing is specified, you retrieve price lists for all applicable Regions. The available RegionCode
list can be retrieved from GetAttributeValues
API.
sourcepub fn currency_code(&self) -> Option<&str>
pub fn currency_code(&self) -> Option<&str>
The three alphabetical character ISO-4217 currency code the Price List files are denominated in.
sourcepub fn file_formats(&self) -> &[String]
pub fn file_formats(&self) -> &[String]
The format you want to retrieve your Price List files. The FileFormat
can be obtained from the ListPriceList
response.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .file_formats.is_none()
.
Trait Implementations§
source§impl PartialEq for PriceList
impl PartialEq for PriceList
impl StructuralPartialEq for PriceList
Auto Trait Implementations§
impl Freeze for PriceList
impl RefUnwindSafe for PriceList
impl Send for PriceList
impl Sync for PriceList
impl Unpin for PriceList
impl UnwindSafe for PriceList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more