Copyright | (c) 2013-2021 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 |
Synopsis
- defaultService :: 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
- newtype AWSRegion where
- AWSRegion' { }
- pattern AWSRegion_Af_south_1 :: AWSRegion
- pattern AWSRegion_Ap_east_1 :: AWSRegion
- pattern AWSRegion_Ap_northeast_1 :: AWSRegion
- pattern AWSRegion_Ap_northeast_2 :: AWSRegion
- pattern AWSRegion_Ap_northeast_3 :: AWSRegion
- pattern AWSRegion_Ap_south_1 :: AWSRegion
- pattern AWSRegion_Ap_southeast_1 :: AWSRegion
- pattern AWSRegion_Ap_southeast_2 :: AWSRegion
- pattern AWSRegion_Ca_central_1 :: AWSRegion
- pattern AWSRegion_Cn_north_1 :: AWSRegion
- pattern AWSRegion_Cn_northwest_1 :: AWSRegion
- pattern AWSRegion_Eu_central_1 :: AWSRegion
- pattern AWSRegion_Eu_north_1 :: AWSRegion
- pattern AWSRegion_Eu_south_1 :: AWSRegion
- pattern AWSRegion_Eu_west_1 :: AWSRegion
- pattern AWSRegion_Eu_west_2 :: AWSRegion
- pattern AWSRegion_Eu_west_3 :: AWSRegion
- pattern AWSRegion_Me_south_1 :: AWSRegion
- pattern AWSRegion_Sa_east_1 :: AWSRegion
- pattern AWSRegion_Us_east_1 :: AWSRegion
- pattern AWSRegion_Us_east_2 :: AWSRegion
- pattern AWSRegion_Us_west_1 :: AWSRegion
- pattern AWSRegion_Us_west_2 :: AWSRegion
- newtype AdditionalArtifact where
- AdditionalArtifact' { }
- pattern AdditionalArtifact_ATHENA :: AdditionalArtifact
- pattern AdditionalArtifact_QUICKSIGHT :: AdditionalArtifact
- pattern AdditionalArtifact_REDSHIFT :: AdditionalArtifact
- newtype CompressionFormat where
- CompressionFormat' { }
- pattern CompressionFormat_GZIP :: CompressionFormat
- pattern CompressionFormat_Parquet :: CompressionFormat
- pattern CompressionFormat_ZIP :: CompressionFormat
- newtype ReportFormat where
- ReportFormat' { }
- pattern ReportFormat_Parquet :: ReportFormat
- pattern ReportFormat_TextORcsv :: ReportFormat
- newtype ReportVersioning where
- newtype SchemaElement where
- SchemaElement' { }
- pattern SchemaElement_RESOURCES :: SchemaElement
- newtype TimeUnit where
- TimeUnit' {
- fromTimeUnit :: Text
- pattern TimeUnit_DAILY :: TimeUnit
- pattern TimeUnit_HOURLY :: TimeUnit
- pattern TimeUnit_MONTHLY :: TimeUnit
- TimeUnit' {
- data ReportDefinition = ReportDefinition' {
- reportVersioning :: Maybe ReportVersioning
- billingViewArn :: Maybe Text
- additionalArtifacts :: Maybe [AdditionalArtifact]
- refreshClosedReports :: Maybe Bool
- reportName :: Text
- timeUnit :: TimeUnit
- format :: ReportFormat
- compression :: CompressionFormat
- additionalSchemaElements :: [SchemaElement]
- s3Bucket :: Text
- s3Prefix :: Text
- s3Region :: AWSRegion
- newReportDefinition :: Text -> TimeUnit -> ReportFormat -> CompressionFormat -> Text -> Text -> AWSRegion -> ReportDefinition
- reportDefinition_reportVersioning :: Lens' ReportDefinition (Maybe ReportVersioning)
- reportDefinition_billingViewArn :: Lens' ReportDefinition (Maybe Text)
- reportDefinition_additionalArtifacts :: Lens' ReportDefinition (Maybe [AdditionalArtifact])
- reportDefinition_refreshClosedReports :: Lens' ReportDefinition (Maybe Bool)
- reportDefinition_reportName :: Lens' ReportDefinition Text
- reportDefinition_timeUnit :: Lens' ReportDefinition TimeUnit
- reportDefinition_format :: Lens' ReportDefinition ReportFormat
- reportDefinition_compression :: Lens' ReportDefinition CompressionFormat
- reportDefinition_additionalSchemaElements :: Lens' ReportDefinition [SchemaElement]
- reportDefinition_s3Bucket :: Lens' ReportDefinition Text
- reportDefinition_s3Prefix :: Lens' ReportDefinition Text
- reportDefinition_s3Region :: Lens' ReportDefinition AWSRegion
Service Configuration
defaultService :: 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 #
The input fails to satisfy the constraints specified by an AWS service.
_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An error on the server occurred during the processing of your request. Try again later.
_DuplicateReportNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A report with the specified name already exists in the account. Specify a different report name.
_ReportLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This account already has five reports defined. To define a new report, you must delete an existing report.
AWSRegion
The region of the S3 bucket that AWS delivers the report into.
pattern AWSRegion_Af_south_1 :: AWSRegion | |
pattern AWSRegion_Ap_east_1 :: AWSRegion | |
pattern AWSRegion_Ap_northeast_1 :: AWSRegion | |
pattern AWSRegion_Ap_northeast_2 :: AWSRegion | |
pattern AWSRegion_Ap_northeast_3 :: AWSRegion | |
pattern AWSRegion_Ap_south_1 :: AWSRegion | |
pattern AWSRegion_Ap_southeast_1 :: AWSRegion | |
pattern AWSRegion_Ap_southeast_2 :: AWSRegion | |
pattern AWSRegion_Ca_central_1 :: AWSRegion | |
pattern AWSRegion_Cn_north_1 :: AWSRegion | |
pattern AWSRegion_Cn_northwest_1 :: AWSRegion | |
pattern AWSRegion_Eu_central_1 :: AWSRegion | |
pattern AWSRegion_Eu_north_1 :: AWSRegion | |
pattern AWSRegion_Eu_south_1 :: AWSRegion | |
pattern AWSRegion_Eu_west_1 :: AWSRegion | |
pattern AWSRegion_Eu_west_2 :: AWSRegion | |
pattern AWSRegion_Eu_west_3 :: AWSRegion | |
pattern AWSRegion_Me_south_1 :: AWSRegion | |
pattern AWSRegion_Sa_east_1 :: AWSRegion | |
pattern AWSRegion_Us_east_1 :: AWSRegion | |
pattern AWSRegion_Us_east_2 :: AWSRegion | |
pattern AWSRegion_Us_west_1 :: AWSRegion | |
pattern AWSRegion_Us_west_2 :: AWSRegion |
Instances
AdditionalArtifact
newtype AdditionalArtifact Source #
The types of manifest that you want AWS to create for this report.
pattern AdditionalArtifact_ATHENA :: AdditionalArtifact | |
pattern AdditionalArtifact_QUICKSIGHT :: AdditionalArtifact | |
pattern AdditionalArtifact_REDSHIFT :: AdditionalArtifact |
Instances
CompressionFormat
newtype CompressionFormat Source #
The compression format that AWS uses for the report.
pattern CompressionFormat_GZIP :: CompressionFormat | |
pattern CompressionFormat_Parquet :: CompressionFormat | |
pattern CompressionFormat_ZIP :: CompressionFormat |
Instances
ReportFormat
newtype ReportFormat Source #
The format that AWS saves the report in.
pattern ReportFormat_Parquet :: ReportFormat | |
pattern ReportFormat_TextORcsv :: ReportFormat |
Instances
ReportVersioning
newtype ReportVersioning Source #
pattern ReportVersioning_CREATE_NEW_REPORT :: ReportVersioning | |
pattern ReportVersioning_OVERWRITE_REPORT :: ReportVersioning |
Instances
SchemaElement
newtype SchemaElement Source #
Whether or not AWS includes resource IDs in the report.
pattern SchemaElement_RESOURCES :: SchemaElement |
Instances
TimeUnit
The length of time covered by the report.
pattern TimeUnit_DAILY :: TimeUnit | |
pattern TimeUnit_HOURLY :: TimeUnit | |
pattern TimeUnit_MONTHLY :: TimeUnit |
Instances
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.
ReportDefinition' | |
|
Instances
:: Text | |
-> TimeUnit | |
-> ReportFormat | |
-> CompressionFormat | |
-> Text | |
-> Text | |
-> AWSRegion | |
-> ReportDefinition |
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_reportName :: Lens' ReportDefinition Text Source #
Undocumented member.
reportDefinition_timeUnit :: Lens' ReportDefinition TimeUnit Source #
Undocumented member.
reportDefinition_format :: Lens' ReportDefinition ReportFormat Source #
Undocumented member.
reportDefinition_compression :: Lens' ReportDefinition CompressionFormat Source #
Undocumented member.
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.
reportDefinition_s3Bucket :: Lens' ReportDefinition Text Source #
Undocumented member.
reportDefinition_s3Prefix :: Lens' ReportDefinition Text Source #
Undocumented member.
reportDefinition_s3Region :: Lens' ReportDefinition AWSRegion Source #
Undocumented member.