Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- costAndUsageReport :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _DuplicateReportNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _ReportLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError
- data AWSRegion
- data AdditionalArtifact
- data CompressionFormat
- data ReportFormat = TextORcsv
- data SchemaElement = Resources
- data TimeUnit
- data ReportDefinition
- reportDefinition :: Text -> TimeUnit -> ReportFormat -> CompressionFormat -> Text -> Text -> AWSRegion -> ReportDefinition
- rdAdditionalArtifacts :: Lens' ReportDefinition [AdditionalArtifact]
- rdReportName :: Lens' ReportDefinition Text
- rdTimeUnit :: Lens' ReportDefinition TimeUnit
- rdFormat :: Lens' ReportDefinition ReportFormat
- rdCompression :: Lens' ReportDefinition CompressionFormat
- rdAdditionalSchemaElements :: Lens' ReportDefinition [SchemaElement]
- rdS3Bucket :: Lens' ReportDefinition Text
- rdS3Prefix :: Lens' ReportDefinition Text
- rdS3Region :: Lens' ReportDefinition AWSRegion
Service Configuration
costAndUsageReport :: Service Source #
API version 2017-01-06
of the Amazon Cost and Usage Report Service SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception is thrown when providing an invalid input. eg. Put a report preference with an invalid report name, or Delete a report preference with an empty report name.
_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception is thrown on a known dependency failure.
_DuplicateReportNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception is thrown when putting a report preference with a name that already exists.
_ReportLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception is thrown when the number of report preference reaches max limit. The max number is 5.
AWSRegion
Region of customer S3 bucket.
AdditionalArtifact
data AdditionalArtifact Source #
Enable support for Redshift and/or QuickSight.
CompressionFormat
data CompressionFormat Source #
Preferred compression format for report.
ReportFormat
data ReportFormat Source #
Preferred format for report.
SchemaElement
data SchemaElement Source #
Preference of including Resource IDs. You can include additional details about individual resource IDs in your report.
TimeUnit
The frequency on which report data are measured and displayed.
ReportDefinition
data ReportDefinition Source #
The definition of AWS Cost and Usage Report. Customer can specify the report name, time unit, report format, compression format, S3 bucket and additional artifacts and schema elements in the definition.
See: reportDefinition
smart constructor.
:: Text | |
-> TimeUnit | |
-> ReportFormat | |
-> CompressionFormat | |
-> Text | |
-> Text | |
-> AWSRegion | |
-> ReportDefinition |
Creates a value of ReportDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rdAdditionalArtifacts
- Undocumented member.rdReportName
- Undocumented member.rdTimeUnit
- Undocumented member.rdFormat
- Undocumented member.rdCompression
- Undocumented member.rdAdditionalSchemaElements
- Undocumented member.rdS3Bucket
- Undocumented member.rdS3Prefix
- Undocumented member.rdS3Region
- Undocumented member.
rdAdditionalArtifacts :: Lens' ReportDefinition [AdditionalArtifact] Source #
Undocumented member.
rdReportName :: Lens' ReportDefinition Text Source #
Undocumented member.
rdTimeUnit :: Lens' ReportDefinition TimeUnit Source #
Undocumented member.
rdFormat :: Lens' ReportDefinition ReportFormat Source #
Undocumented member.
rdCompression :: Lens' ReportDefinition CompressionFormat Source #
Undocumented member.
rdAdditionalSchemaElements :: Lens' ReportDefinition [SchemaElement] Source #
Undocumented member.
rdS3Bucket :: Lens' ReportDefinition Text Source #
Undocumented member.
rdS3Prefix :: Lens' ReportDefinition Text Source #
Undocumented member.
rdS3Region :: Lens' ReportDefinition AWSRegion Source #
Undocumented member.