amazonka-cur-2.0: Amazon Cost and Usage Report Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CostAndUsageReport.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-01-06 of the Amazon Cost and Usage Report Service SDK configuration.

Errors

_DuplicateReportNameException :: AsError a => Fold a ServiceError Source #

A report with the specified name already exists in the account. Specify a different report name.

_InternalErrorException :: AsError a => Fold a ServiceError Source #

An error on the server occurred during the processing of your request. Try again later.

_ReportLimitReachedException :: AsError a => Fold a ServiceError Source #

This account already has five reports defined. To define a new report, you must delete an existing report.

_ValidationException :: AsError a => Fold a ServiceError Source #

The input fails to satisfy the constraints specified by an AWS service.

AWSRegion

newtype AWSRegion Source #

The region of the S3 bucket that AWS delivers the report into.

Constructors

AWSRegion' 

Fields

Instances

Instances details
FromJSON AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

FromJSONKey AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToJSON AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToJSONKey AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToByteString AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Methods

toBS :: AWSRegion -> ByteString #

ToHeader AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToLog AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToQuery AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

FromText AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToText AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Methods

toText :: AWSRegion -> Text #

FromXML AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

ToXML AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Methods

toXML :: AWSRegion -> XML #

Generic AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Associated Types

type Rep AWSRegion :: Type -> Type #

Read AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Show AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

NFData AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Methods

rnf :: AWSRegion -> () #

Eq AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Ord AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

Hashable AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

type Rep AWSRegion Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AWSRegion

type Rep AWSRegion = D1 ('MetaData "AWSRegion" "Amazonka.CostAndUsageReport.Types.AWSRegion" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "AWSRegion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAWSRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AdditionalArtifact

newtype AdditionalArtifact Source #

The types of manifest that you want AWS to create for this report.

Instances

Instances details
FromJSON AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

FromJSONKey AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToJSON AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToJSONKey AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToByteString AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToHeader AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToLog AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToQuery AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

FromText AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToText AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

FromXML AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

ToXML AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Generic AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Associated Types

type Rep AdditionalArtifact :: Type -> Type #

Read AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Show AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

NFData AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Methods

rnf :: AdditionalArtifact -> () #

Eq AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Ord AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

Hashable AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

type Rep AdditionalArtifact Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.AdditionalArtifact

type Rep AdditionalArtifact = D1 ('MetaData "AdditionalArtifact" "Amazonka.CostAndUsageReport.Types.AdditionalArtifact" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "AdditionalArtifact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAdditionalArtifact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CompressionFormat

newtype CompressionFormat Source #

The compression format that AWS uses for the report.

Instances

Instances details
FromJSON CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

FromJSONKey CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToJSON CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToJSONKey CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToByteString CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToHeader CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToLog CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToQuery CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

FromText CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToText CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

FromXML CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

ToXML CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Generic CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Associated Types

type Rep CompressionFormat :: Type -> Type #

Read CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Show CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

NFData CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Methods

rnf :: CompressionFormat -> () #

Eq CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Ord CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

Hashable CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

type Rep CompressionFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.CompressionFormat

type Rep CompressionFormat = D1 ('MetaData "CompressionFormat" "Amazonka.CostAndUsageReport.Types.CompressionFormat" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "CompressionFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCompressionFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReportFormat

newtype ReportFormat Source #

The format that AWS saves the report in.

Constructors

ReportFormat' 

Bundled Patterns

pattern ReportFormat_Parquet :: ReportFormat 
pattern ReportFormat_TextORcsv :: ReportFormat 

Instances

Instances details
FromJSON ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

FromJSONKey ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToJSON ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToJSONKey ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToByteString ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToHeader ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToLog ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToQuery ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

FromText ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToText ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Methods

toText :: ReportFormat -> Text #

FromXML ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

ToXML ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Methods

toXML :: ReportFormat -> XML #

Generic ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Associated Types

type Rep ReportFormat :: Type -> Type #

Read ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Show ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

NFData ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Methods

rnf :: ReportFormat -> () #

Eq ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Ord ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

Hashable ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

type Rep ReportFormat Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportFormat

type Rep ReportFormat = D1 ('MetaData "ReportFormat" "Amazonka.CostAndUsageReport.Types.ReportFormat" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "ReportFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReportFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReportVersioning

newtype ReportVersioning Source #

Instances

Instances details
FromJSON ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

FromJSONKey ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToJSON ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToJSONKey ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToByteString ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToHeader ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToLog ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToQuery ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

FromText ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToText ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

FromXML ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

ToXML ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Generic ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Associated Types

type Rep ReportVersioning :: Type -> Type #

Read ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Show ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

NFData ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Methods

rnf :: ReportVersioning -> () #

Eq ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Ord ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

Hashable ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

type Rep ReportVersioning Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportVersioning

type Rep ReportVersioning = D1 ('MetaData "ReportVersioning" "Amazonka.CostAndUsageReport.Types.ReportVersioning" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "ReportVersioning'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReportVersioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SchemaElement

newtype SchemaElement Source #

Whether or not AWS includes resource IDs in the report.

Constructors

SchemaElement' 

Bundled Patterns

pattern SchemaElement_RESOURCES :: SchemaElement 

Instances

Instances details
FromJSON SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

FromJSONKey SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToJSON SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToJSONKey SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToByteString SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToHeader SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToLog SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToQuery SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

FromText SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToText SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Methods

toText :: SchemaElement -> Text #

FromXML SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

ToXML SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Methods

toXML :: SchemaElement -> XML #

Generic SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Associated Types

type Rep SchemaElement :: Type -> Type #

Read SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Show SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

NFData SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Methods

rnf :: SchemaElement -> () #

Eq SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Ord SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

Hashable SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

type Rep SchemaElement Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.SchemaElement

type Rep SchemaElement = D1 ('MetaData "SchemaElement" "Amazonka.CostAndUsageReport.Types.SchemaElement" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "SchemaElement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSchemaElement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TimeUnit

newtype TimeUnit Source #

The length of time covered by the report.

Constructors

TimeUnit' 

Fields

Bundled Patterns

pattern TimeUnit_DAILY :: TimeUnit 
pattern TimeUnit_HOURLY :: TimeUnit 
pattern TimeUnit_MONTHLY :: TimeUnit 

Instances

Instances details
FromJSON TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

FromJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToJSON TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToByteString TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

toBS :: TimeUnit -> ByteString #

ToHeader TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

toHeader :: HeaderName -> TimeUnit -> [Header] #

ToLog TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToQuery TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

FromText TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToText TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

toText :: TimeUnit -> Text #

FromXML TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

ToXML TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

toXML :: TimeUnit -> XML #

Generic TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Associated Types

type Rep TimeUnit :: Type -> Type #

Methods

from :: TimeUnit -> Rep TimeUnit x #

to :: Rep TimeUnit x -> TimeUnit #

Read TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Show TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

NFData TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

rnf :: TimeUnit -> () #

Eq TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Ord TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Hashable TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

Methods

hashWithSalt :: Int -> TimeUnit -> Int #

hash :: TimeUnit -> Int #

type Rep TimeUnit Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.TimeUnit

type Rep TimeUnit = D1 ('MetaData "TimeUnit" "Amazonka.CostAndUsageReport.Types.TimeUnit" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'True) (C1 ('MetaCons "TimeUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTimeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReportDefinition

data ReportDefinition Source #

The definition of AWS Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.

See: newReportDefinition smart constructor.

Constructors

ReportDefinition' 

Fields

Instances

Instances details
FromJSON ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

ToJSON ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Generic ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Associated Types

type Rep ReportDefinition :: Type -> Type #

Read ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Show ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

NFData ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Methods

rnf :: ReportDefinition -> () #

Eq ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Hashable ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

type Rep ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

type Rep ReportDefinition = D1 ('MetaData "ReportDefinition" "Amazonka.CostAndUsageReport.Types.ReportDefinition" "amazonka-cur-2.0-Ar4XU2SgG5LIUbbRiyuqiu" 'False) (C1 ('MetaCons "ReportDefinition'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "additionalArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdditionalArtifact])) :*: (S1 ('MetaSel ('Just "billingViewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "refreshClosedReports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "reportVersioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportVersioning)) :*: (S1 ('MetaSel ('Just "reportName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "timeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimeUnit)))) :*: ((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportFormat) :*: (S1 ('MetaSel ('Just "compression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CompressionFormat) :*: S1 ('MetaSel ('Just "additionalSchemaElements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SchemaElement]))) :*: (S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3Prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "s3Region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AWSRegion))))))

newReportDefinition Source #

Create a value of ReportDefinition 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:additionalArtifacts:ReportDefinition', reportDefinition_additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.

$sel:billingViewArn:ReportDefinition', reportDefinition_billingViewArn - The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs.

$sel:refreshClosedReports:ReportDefinition', reportDefinition_refreshClosedReports - Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.

$sel:reportVersioning:ReportDefinition', reportDefinition_reportVersioning - Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

$sel:reportName:ReportDefinition', reportDefinition_reportName - Undocumented member.

$sel:timeUnit:ReportDefinition', reportDefinition_timeUnit - Undocumented member.

$sel:format:ReportDefinition', reportDefinition_format - Undocumented member.

$sel:compression:ReportDefinition', reportDefinition_compression - Undocumented member.

$sel:additionalSchemaElements:ReportDefinition', reportDefinition_additionalSchemaElements - A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.

$sel:s3Bucket:ReportDefinition', reportDefinition_s3Bucket - Undocumented member.

$sel:s3Prefix:ReportDefinition', reportDefinition_s3Prefix - Undocumented member.

$sel:s3Region:ReportDefinition', reportDefinition_s3Region - Undocumented member.

reportDefinition_additionalArtifacts :: Lens' ReportDefinition (Maybe [AdditionalArtifact]) Source #

A list of manifests that you want Amazon Web Services to create for this report.

reportDefinition_billingViewArn :: Lens' ReportDefinition (Maybe Text) Source #

The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs.

reportDefinition_refreshClosedReports :: Lens' ReportDefinition (Maybe Bool) Source #

Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees.

reportDefinition_reportVersioning :: Lens' ReportDefinition (Maybe ReportVersioning) Source #

Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

reportDefinition_additionalSchemaElements :: Lens' ReportDefinition [SchemaElement] Source #

A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs.