view_billing
¶
view_billing(
*,
config_overrides: Optional[Route53DomainsClientConfig] = 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.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 | |