view_billing
async
¶
view_billing(
*,
config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
start: Optional[Timestamp] = None,
end: Optional[Timestamp] = None,
marker: Optional[PageMarker] = None,
max_items: Optional[PageMaxItems] = None,
) -> ViewBillingResponse
Returns all the domain-related billing records for the current Amazon Web Services account for a specified period
Parameters:
-
start(Optional[Timestamp], default:None) –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(Optional[Timestamp], default:None) –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(Optional[PageMarker], default:None) –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 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 of
NextPageMarkerthat was returned in the previous response. -
max_items(Optional[PageMaxItems], default:None) –The number of billing records to be returned.
Default: 20
Raises:
-
InvalidInput–The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For
AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid. -
UnknownServiceError–The service returned an error code this client does not model.