libZSservicesZSamazonka-curZSamazonka-cur
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.CostAndUsageReport.Types.ReportDefinition

Description

 
Synopsis

Documentation

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
Eq ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Read ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Show 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 #

NFData ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

Methods

rnf :: ReportDefinition -> () #

Hashable ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

ToJSON ReportDefinition Source # 
Instance details

Defined in Amazonka.CostAndUsageReport.Types.ReportDefinition

FromJSON 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" "libZSservicesZSamazonka-curZSamazonka-cur" 'False) (C1 ('MetaCons "ReportDefinition'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reportVersioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportVersioning)) :*: (S1 ('MetaSel ('Just "billingViewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "additionalArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdditionalArtifact])))) :*: (S1 ('MetaSel ('Just "refreshClosedReports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (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: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: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:additionalArtifacts:ReportDefinition', reportDefinition_additionalArtifacts - A list of manifests that you want Amazon Web Services to create for this report.

$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: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_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_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_additionalArtifacts :: Lens' ReportDefinition (Maybe [AdditionalArtifact]) Source #

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

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_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.