amazonka-route53-domains-1.4.4: Amazon Route 53 Domains SDK.

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

Network.AWS.Route53Domains.ViewBilling

Contents

Description

This operation returns all the domain-related billing records for the current AWS account for a specified period

Synopsis

Creating a Request

viewBilling :: ViewBilling Source #

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

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

data ViewBilling Source #

The ViewBilling request includes the following elements.

See: viewBilling smart constructor.

Instances

Eq ViewBilling Source # 
Data ViewBilling Source # 

Methods

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

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

toConstr :: ViewBilling -> Constr #

dataTypeOf :: ViewBilling -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ViewBilling Source # 
Show ViewBilling Source # 
Generic ViewBilling Source # 

Associated Types

type Rep ViewBilling :: * -> * #

Hashable ViewBilling Source # 
NFData ViewBilling Source # 

Methods

rnf :: ViewBilling -> () #

AWSRequest ViewBilling Source # 
ToPath ViewBilling Source # 
ToHeaders ViewBilling Source # 

Methods

toHeaders :: ViewBilling -> [Header] #

ToQuery ViewBilling Source # 
ToJSON ViewBilling Source # 

Methods

toJSON :: ViewBilling -> Value #

toEncoding :: ViewBilling -> Encoding #

type Rep ViewBilling Source # 
type Rep ViewBilling = D1 (MetaData "ViewBilling" "Network.AWS.Route53Domains.ViewBilling" "amazonka-route53-domains-1.4.4-7gX3OlThZKiIFGIY11fL8" False) (C1 (MetaCons "ViewBilling'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_vbStart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_vbEnd") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))) ((:*:) (S1 (MetaSel (Just Symbol "_vbMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vbMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ViewBilling Source # 

Request Lenses

vbStart :: Lens' ViewBilling (Maybe UTCTime) Source #

The beginning date and time for the time period for which you want a list of billing records. Specify the date in Unix time format.

Type: Double

Default: None

Required: Yes

vbEnd :: Lens' ViewBilling (Maybe UTCTime) Source #

The end date and time for the time period for which you want a list of billing records. Specify the date in Unix time format.

Type: Double

Default: None

Required: Yes

vbMarker :: Lens' ViewBilling (Maybe Text) Source #

For an initial request for a list of billing records, omit this element. If the number of billing records that are associated with the current AWS account during the specified period is greater than the value that you specified for MaxItems, you can use Marker to return additional billing records. Get the value of NextPageMarker from the previous response, and submit another request that includes the value of NextPageMarker in the Marker element.

Type: String

Default: None

Constraints: The marker must match the value of NextPageMarker that was returned in the previous response.

Required: No

vbMaxItems :: Lens' ViewBilling (Maybe Int) Source #

The number of billing records to be returned.

Type: Integer

Default: 20

Constraints: A value between 1 and 100.

Required: No

Destructuring the Response

viewBillingResponse Source #

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

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

data ViewBillingResponse Source #

The ViewBilling response includes the following elements.

See: viewBillingResponse smart constructor.

Instances

Eq ViewBillingResponse Source # 
Data ViewBillingResponse Source # 

Methods

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

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

toConstr :: ViewBillingResponse -> Constr #

dataTypeOf :: ViewBillingResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ViewBillingResponse Source # 
Show ViewBillingResponse Source # 
Generic ViewBillingResponse Source # 
NFData ViewBillingResponse Source # 

Methods

rnf :: ViewBillingResponse -> () #

type Rep ViewBillingResponse Source # 
type Rep ViewBillingResponse = D1 (MetaData "ViewBillingResponse" "Network.AWS.Route53Domains.ViewBilling" "amazonka-route53-domains-1.4.4-7gX3OlThZKiIFGIY11fL8" False) (C1 (MetaCons "ViewBillingResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vbrsNextPageMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_vbrsBillingRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BillingRecord]))) (S1 (MetaSel (Just Symbol "_vbrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

vbrsNextPageMarker :: Lens' ViewBillingResponse (Maybe Text) Source #

If there are more billing records than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker.

Type: String

Parent: BillingRecords

vbrsBillingRecords :: Lens' ViewBillingResponse [BillingRecord] Source #

A summary of billing records.

Type: Complex type containing a list of billing record summaries.

Children: DomainName, Operation, InvoiceId, BillDate and Price