amazonka-route53-domains-2.0: Amazon Route 53 Domains SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Domains.ViewBilling

Description

Returns all the domain-related billing records for the current Amazon Web Services 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

  • 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 Amazon Web Services 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

  • 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).

Instances

Instances details
ToJSON ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.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

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 #

Generic ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Associated Types

type Rep ViewBilling :: Type -> Type #

Read ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Show ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

NFData ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Methods

rnf :: ViewBilling -> () #

Eq ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Hashable ViewBilling Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type AWSResponse 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" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "ViewBilling'" 'PrefixI 'True) ((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)) :*: S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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: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 Amazon Web Services 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

$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).

Request Lenses

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 Amazon Web Services 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

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).

Destructuring the Response

data ViewBillingResponse Source #

The ViewBilling response includes the following elements.

See: newViewBillingResponse smart constructor.

Constructors

ViewBillingResponse' 

Fields

Instances

Instances details
Generic ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Associated Types

type Rep ViewBillingResponse :: Type -> Type #

Read ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Show ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

NFData ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

Methods

rnf :: ViewBillingResponse -> () #

Eq ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type Rep ViewBillingResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.ViewBilling

type Rep ViewBillingResponse = D1 ('MetaData "ViewBillingResponse" "Amazonka.Route53Domains.ViewBilling" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "ViewBillingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "billingRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BillingRecord])) :*: (S1 ('MetaSel ('Just "nextPageMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:billingRecords:ViewBillingResponse', viewBillingResponse_billingRecords - A summary of billing records.

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