amazonka-pricing-1.6.1: Amazon Price List Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Pricing.Types

Contents

Description

 
Synopsis

Service Configuration

pricing :: Service Source #

API version 2017-10-15 of the Amazon Price List Service SDK configuration.

Errors

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

One or more parameters had an invalid value.

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An error on the server occurred during the processing of your request. Try again later.

_ExpiredNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The pagination token expired. Try again without a pagination token.

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested resource can't be found.

_InvalidNextTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The pagination token is invalid. Try again without a pagination token.

FilterType

data FilterType Source #

Constructors

TermMatch 
Instances
Bounded FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Enum FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Eq FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Data FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterType -> c FilterType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterType #

toConstr :: FilterType -> Constr #

dataTypeOf :: FilterType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FilterType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterType) #

gmapT :: (forall b. Data b => b -> b) -> FilterType -> FilterType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterType -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterType -> m FilterType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterType -> m FilterType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterType -> m FilterType #

Ord FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Read FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Show FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Generic FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Associated Types

type Rep FilterType :: Type -> Type #

Hashable FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

ToJSON FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

ToHeader FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

ToQuery FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

ToByteString FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

FromText FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

ToText FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Methods

toText :: FilterType -> Text #

NFData FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

Methods

rnf :: FilterType -> () #

type Rep FilterType Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Sum

type Rep FilterType = D1 (MetaData "FilterType" "Network.AWS.Pricing.Types.Sum" "amazonka-pricing-1.6.1-Dyxi59x0Kr282O1nD8KF82" False) (C1 (MetaCons "TermMatch" PrefixI False) (U1 :: Type -> Type))

AttributeValue

data AttributeValue Source #

The values of a given attribute, such as Throughput Optimized HDD or Provisioned IOPS for the Amazon EC2 volumeType attribute.

See: attributeValue smart constructor.

Instances
Eq AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Data AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttributeValue -> c AttributeValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttributeValue #

toConstr :: AttributeValue -> Constr #

dataTypeOf :: AttributeValue -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AttributeValue) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AttributeValue) #

gmapT :: (forall b. Data b => b -> b) -> AttributeValue -> AttributeValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AttributeValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AttributeValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> AttributeValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AttributeValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AttributeValue -> m AttributeValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeValue -> m AttributeValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeValue -> m AttributeValue #

Read AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Show AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Generic AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Associated Types

type Rep AttributeValue :: Type -> Type #

Hashable AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

FromJSON AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

NFData AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

rnf :: AttributeValue -> () #

type Rep AttributeValue Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

type Rep AttributeValue = D1 (MetaData "AttributeValue" "Network.AWS.Pricing.Types.Product" "amazonka-pricing-1.6.1-Dyxi59x0Kr282O1nD8KF82" True) (C1 (MetaCons "AttributeValue'" PrefixI True) (S1 (MetaSel (Just "_avValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

attributeValue :: AttributeValue Source #

Creates a value of AttributeValue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • avValue - The specific value of an attributeName .

avValue :: Lens' AttributeValue (Maybe Text) Source #

The specific value of an attributeName .

Filter

data Filter Source #

The constraints that you want all returned products to match.

See: filter' smart constructor.

Instances
Eq Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

Data Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Filter -> c Filter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Filter #

toConstr :: Filter -> Constr #

dataTypeOf :: Filter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Filter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Filter) #

gmapT :: (forall b. Data b => b -> b) -> Filter -> Filter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r #

gmapQ :: (forall d. Data d => d -> u) -> Filter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Filter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter #

Read Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Show Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Generic Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Hashable Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

ToJSON Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

NFData Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

rnf :: Filter -> () #

type Rep Filter Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

type Rep Filter = D1 (MetaData "Filter" "Network.AWS.Pricing.Types.Product" "amazonka-pricing-1.6.1-Dyxi59x0Kr282O1nD8KF82" False) (C1 (MetaCons "Filter'" PrefixI True) (S1 (MetaSel (Just "_fType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FilterType) :*: (S1 (MetaSel (Just "_fField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_fValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

filter' Source #

Creates a value of Filter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • fType - The type of filter that you want to use. Valid values are: TERM_MATCH . TERM_MATCH returns only products that match both the given filter field and the given value.
  • fField - The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields. Valid values include: ServiceCode , and all attribute names For example, you can filter by the AmazonEC2 service code and the volumeType attribute name to get the prices for only Amazon EC2 volumes.
  • fValue - The service code or attribute value that you want to filter by. If you are filtering by service code this is the actual service code, such as AmazonEC2 . If you are filtering by attribute name, this is the attribute value that you want the returned products to match, such as a Provisioned IOPS volume.

fType :: Lens' Filter FilterType Source #

The type of filter that you want to use. Valid values are: TERM_MATCH . TERM_MATCH returns only products that match both the given filter field and the given value.

fField :: Lens' Filter Text Source #

The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields. Valid values include: ServiceCode , and all attribute names For example, you can filter by the AmazonEC2 service code and the volumeType attribute name to get the prices for only Amazon EC2 volumes.

fValue :: Lens' Filter Text Source #

The service code or attribute value that you want to filter by. If you are filtering by service code this is the actual service code, such as AmazonEC2 . If you are filtering by attribute name, this is the attribute value that you want the returned products to match, such as a Provisioned IOPS volume.

PricingService

data PricingService Source #

The metadata for a service, such as the service code and available attribute names.

See: pricingService smart constructor.

Instances
Eq PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Data PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PricingService -> c PricingService #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PricingService #

toConstr :: PricingService -> Constr #

dataTypeOf :: PricingService -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PricingService) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PricingService) #

gmapT :: (forall b. Data b => b -> b) -> PricingService -> PricingService #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PricingService -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PricingService -> r #

gmapQ :: (forall d. Data d => d -> u) -> PricingService -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PricingService -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PricingService -> m PricingService #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PricingService -> m PricingService #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PricingService -> m PricingService #

Read PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Show PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Generic PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Associated Types

type Rep PricingService :: Type -> Type #

Hashable PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

FromJSON PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

NFData PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

Methods

rnf :: PricingService -> () #

type Rep PricingService Source # 
Instance details

Defined in Network.AWS.Pricing.Types.Product

type Rep PricingService = D1 (MetaData "PricingService" "Network.AWS.Pricing.Types.Product" "amazonka-pricing-1.6.1-Dyxi59x0Kr282O1nD8KF82" False) (C1 (MetaCons "PricingService'" PrefixI True) (S1 (MetaSel (Just "_psAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_psServiceCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

pricingService :: PricingService Source #

Creates a value of PricingService with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psAttributeNames :: Lens' PricingService [Text] Source #

The attributes that are available for this service.

psServiceCode :: Lens' PricingService (Maybe Text) Source #

The code for the AWS service.