Class: Aws::Lightsail::Types::GetCostEstimateRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lightsail/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeTime

The cost estimate end time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use an end time of October 1, 2018, at 9 PM UTC, specify ‘1538427600` as the end time.

You can convert a human-friendly time to Unix time format using a converter like [Epoch converter].

[1]: www.epochconverter.com/

Returns:

  • (Time)


7365
7366
7367
7368
7369
7370
7371
# File 'lib/aws-sdk-lightsail/types.rb', line 7365

class GetCostEstimateRequest < Struct.new(
  :resource_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#resource_nameString

The resource name.

Returns:

  • (String)


7365
7366
7367
7368
7369
7370
7371
# File 'lib/aws-sdk-lightsail/types.rb', line 7365

class GetCostEstimateRequest < Struct.new(
  :resource_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The cost estimate start time.

Constraints:

  • Specified in Coordinated Universal Time (UTC).

  • Specified in the Unix time format.

    For example, if you want to use a start time of October 1, 2018, at 8 PM UTC, specify ‘1538424000` as the start time.

You can convert a human-friendly time to Unix time format using a converter like [Epoch converter].

[1]: www.epochconverter.com/

Returns:

  • (Time)


7365
7366
7367
7368
7369
7370
7371
# File 'lib/aws-sdk-lightsail/types.rb', line 7365

class GetCostEstimateRequest < Struct.new(
  :resource_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end