| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Route53Domains.ViewBilling
Description
Returns all the domain-related billing records for the current AWS account for a specified period
- viewBilling :: ViewBilling
- data ViewBilling
- vbStart :: Lens' ViewBilling (Maybe UTCTime)
- vbEnd :: Lens' ViewBilling (Maybe UTCTime)
- vbMarker :: Lens' ViewBilling (Maybe Text)
- vbMaxItems :: Lens' ViewBilling (Maybe Int)
- viewBillingResponse :: Int -> ViewBillingResponse
- data ViewBillingResponse
- vbrsNextPageMarker :: Lens' ViewBillingResponse (Maybe Text)
- vbrsBillingRecords :: Lens' ViewBillingResponse [BillingRecord]
- vbrsResponseStatus :: Lens' ViewBillingResponse Int
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 forMaxItems, you can useMarkerto return additional billing records. Get the value ofNextPageMarkerfrom the previous response, and submit another request that includes the value ofNextPageMarkerin theMarkerelement. Constraints: The marker must match the value ofNextPageMarkerthat 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
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
Arguments
| :: Int | |
| -> ViewBillingResponse |
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 forMaxItemsin the request, submit another request and include the value ofNextPageMarkerin the value ofMarker.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.
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 .
vbrsBillingRecords :: Lens' ViewBillingResponse [BillingRecord] Source #
A summary of billing records.
vbrsResponseStatus :: Lens' ViewBillingResponse Int Source #
- - | The response status code.