You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53Domains::Types::ViewBillingRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb

Overview

Note:

When making an API call, you may pass ViewBillingRequest data as a hash:

{
  start: Time.now,
  end: Time.now,
  marker: "PageMarker",
  max_items: 1,
}

The ViewBilling request includes the following elements.

Instance Attribute Summary collapse

Instance Attribute Details

#endTime

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

Returns:

  • (Time)


1934
1935
1936
1937
1938
1939
1940
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1934

class ViewBillingRequest < Struct.new(
  :start,
  :end,
  :marker,
  :max_items)
  include Aws::Structure
end

#markerString

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.

Returns:

  • (String)


1934
1935
1936
1937
1938
1939
1940
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1934

class ViewBillingRequest < Struct.new(
  :start,
  :end,
  :marker,
  :max_items)
  include Aws::Structure
end

#max_itemsInteger

The number of billing records to be returned.

Default: 20

Returns:

  • (Integer)


1934
1935
1936
1937
1938
1939
1940
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1934

class ViewBillingRequest < Struct.new(
  :start,
  :end,
  :marker,
  :max_items)
  include Aws::Structure
end

#startTime

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

Returns:

  • (Time)


1934
1935
1936
1937
1938
1939
1940
# File 'gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/types.rb', line 1934

class ViewBillingRequest < Struct.new(
  :start,
  :end,
  :marker,
  :max_items)
  include Aws::Structure
end