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

Copyright(c) 2013-2017 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.Route53Domains.ViewBilling

Contents

Description

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:

  • vbStart - 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.
  • vbEnd - 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.
  • vbMarker - 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. Constraints: The marker must match the value of NextPageMarker that was returned in the previous response.
  • vbMaxItems - The number of billing records to be returned. Default: 20

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 # 
ToJSON ViewBilling Source # 
NFData ViewBilling Source # 

Methods

rnf :: ViewBilling -> () #

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

Methods

toHeaders :: ViewBilling -> [Header] #

type Rep ViewBilling Source # 
type Rep ViewBilling = D1 (MetaData "ViewBilling" "Network.AWS.Route53Domains.ViewBilling" "amazonka-route53-domains-1.5.0-14qZIXXOKueGXvT9nQjzPV" 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.

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.

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. Constraints: The marker must match the value of NextPageMarker that was returned in the previous response.

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

The number of billing records to be returned. Default: 20

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:

  • vbrsNextPageMarker - 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 .
  • vbrsBillingRecords - A summary of billing records.
  • vbrsResponseStatus - -- | The response status code.

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.5.0-14qZIXXOKueGXvT9nQjzPV" 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 DecidedStrict) (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 .

vbrsResponseStatus :: Lens' ViewBillingResponse Int Source #

  • - | The response status code.