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

Amazonka.Route53Domains.ViewBilling

Description

Returns all the domain-related billing records for the current AWS account for a specified period

This operation returns paginated results.

Synopsis

Creating a Request

data ViewBilling Source #

The ViewBilling request includes the following elements.

See: newViewBilling smart constructor.

Constructors

ViewBilling' 

Fields

  • start :: Maybe POSIX

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

  • end :: Maybe POSIX

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

  • marker :: Maybe Text

    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.

  • maxItems :: Maybe Int

    The number of billing records to be returned.

    Default: 20

Instances

Instances details
Eq ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Read ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Show ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Generic ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Associated Types

type Rep ViewBilling :: Type -> Type #

NFData ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Methods

rnf :: ViewBilling -> () #

Hashable ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

ToJSON ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

AWSPager ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

AWSRequest ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Associated Types

type AWSResponse ViewBilling #

ToHeaders ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Methods

toHeaders :: ViewBilling -> [Header] #

ToPath ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

ToQuery ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type Rep ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type Rep ViewBilling = D1 ('MetaData "ViewBilling" "Amazonka.Route53Domains.ViewBilling" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "ViewBilling'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

newViewBilling :: ViewBilling Source #

Create a value of ViewBilling with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:start:ViewBilling', viewBilling_start - The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).

$sel:end:ViewBilling', viewBilling_end - The end date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).

$sel:marker:ViewBilling', viewBilling_marker - 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.

$sel:maxItems:ViewBilling', viewBilling_maxItems - The number of billing records to be returned.

Default: 20

Request Lenses

viewBilling_start :: 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 Unix time format and Coordinated Universal time (UTC).

viewBilling_end :: 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 Unix time format and Coordinated Universal time (UTC).

viewBilling_marker :: 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.

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

The number of billing records to be returned.

Default: 20

Destructuring the Response

data ViewBillingResponse Source #

The ViewBilling response includes the following elements.

See: newViewBillingResponse smart constructor.

Constructors

ViewBillingResponse' 

Fields

Instances

Instances details
Eq ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Read ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Show ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Generic ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Associated Types

type Rep ViewBillingResponse :: Type -> Type #

NFData ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Methods

rnf :: ViewBillingResponse -> () #

type Rep ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type Rep ViewBillingResponse = D1 ('MetaData "ViewBillingResponse" "Amazonka.Route53Domains.ViewBilling" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "ViewBillingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "billingRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BillingRecord])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newViewBillingResponse Source #

Create a value of ViewBillingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextPageMarker:ViewBillingResponse', viewBillingResponse_nextPageMarker - 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.

$sel:billingRecords:ViewBillingResponse', viewBillingResponse_billingRecords - A summary of billing records.

$sel:httpStatus:ViewBillingResponse', viewBillingResponse_httpStatus - The response's http status code.

Response Lenses

viewBillingResponse_nextPageMarker :: 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.