libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CostExplorer.Types.DateInterval

Description

 
Synopsis

Documentation

data DateInterval Source #

The time period of the request.

See: newDateInterval smart constructor.

Constructors

DateInterval' 

Fields

  • start :: Text

    The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon Web Services retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

  • end :: Text

    The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, 2017-05-01.

Instances

Instances details
Eq DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

Read DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

Show DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

Generic DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

Associated Types

type Rep DateInterval :: Type -> Type #

NFData DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

Methods

rnf :: DateInterval -> () #

Hashable DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

ToJSON DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

FromJSON DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

type Rep DateInterval Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.DateInterval

type Rep DateInterval = D1 ('MetaData "DateInterval" "Amazonka.CostExplorer.Types.DateInterval" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "DateInterval'" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDateInterval Source #

Create a value of DateInterval 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:start:DateInterval', dateInterval_start - The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon Web Services retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

$sel:end:DateInterval', dateInterval_end - The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, 2017-05-01.

dateInterval_start :: Lens' DateInterval Text Source #

The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Amazon Web Services retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

dateInterval_end :: Lens' DateInterval Text Source #

The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, 2017-05-01.