amazonka-route53-domains-1.6.1: Amazon Route 53 Domains 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.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 and time in Coordinated Universal time (UTC).
  • vbEnd - The end date and time for the time period for which you want a list of billing records. Specify the date and time in Coordinated Universal time (UTC).
  • 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 # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Data ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

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 # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Show ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Generic ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Associated Types

type Rep ViewBilling :: Type -> Type #

Hashable ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

ToJSON ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

AWSRequest ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Associated Types

type Rs ViewBilling :: Type #

ToHeaders ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Methods

toHeaders :: ViewBilling -> [Header] #

ToPath ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

ToQuery ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

NFData ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Methods

rnf :: ViewBilling -> () #

type Rep ViewBilling Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

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

Defined in Network.AWS.Route53Domains.ViewBilling

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 and time in Coordinated Universal time (UTC).

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 and time in Coordinated Universal time (UTC).

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 # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Data ViewBillingResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

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 # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Show ViewBillingResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Generic ViewBillingResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Associated Types

type Rep ViewBillingResponse :: Type -> Type #

NFData ViewBillingResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

Methods

rnf :: ViewBillingResponse -> () #

type Rep ViewBillingResponse Source # 
Instance details

Defined in Network.AWS.Route53Domains.ViewBilling

type Rep ViewBillingResponse = D1 (MetaData "ViewBillingResponse" "Network.AWS.Route53Domains.ViewBilling" "amazonka-route53-domains-1.6.1-1AoNz7bHDzI3lZpMthxnFZ" False) (C1 (MetaCons "ViewBillingResponse'" PrefixI True) (S1 (MetaSel (Just "_vbrsNextPageMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_vbrsBillingRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BillingRecord])) :*: S1 (MetaSel (Just "_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.