Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype Format where
- Format' {
- fromFormat :: Text
- pattern Format_CSV :: Format
- pattern Format_PARQUET :: Format
- Format' {
- newtype ReportFrequency where
- ReportFrequency' { }
- pattern ReportFrequency_ALL :: ReportFrequency
- pattern ReportFrequency_DAILY :: ReportFrequency
- pattern ReportFrequency_MONTHLY :: ReportFrequency
- newtype S3BucketRegion where
- S3BucketRegion' { }
- pattern S3BucketRegion_Af_south_1 :: S3BucketRegion
- pattern S3BucketRegion_Ap_east_1 :: S3BucketRegion
- pattern S3BucketRegion_Eu_south_1 :: S3BucketRegion
- pattern S3BucketRegion_Me_south_1 :: S3BucketRegion
- data ReportDefinition = ReportDefinition' {}
- newReportDefinition :: ReportDefinition
- reportDefinition_createdAt :: Lens' ReportDefinition (Maybe UTCTime)
- reportDefinition_destinationS3Location :: Lens' ReportDefinition (Maybe S3Location)
- reportDefinition_format :: Lens' ReportDefinition (Maybe Format)
- reportDefinition_lastUpdatedAt :: Lens' ReportDefinition (Maybe UTCTime)
- reportDefinition_reportDescription :: Lens' ReportDefinition (Maybe Text)
- reportDefinition_reportFrequency :: Lens' ReportDefinition (Maybe ReportFrequency)
- reportDefinition_reportId :: Lens' ReportDefinition (Maybe Text)
- data S3Location = S3Location' {}
- newS3Location :: Text -> Text -> S3Location
- s3Location_bucket :: Lens' S3Location Text
- s3Location_prefix :: Lens' S3Location Text
- data SourceS3Location = SourceS3Location' {}
- newSourceS3Location :: Text -> Text -> SourceS3Location
- sourceS3Location_region :: Lens' SourceS3Location (Maybe S3BucketRegion)
- sourceS3Location_bucket :: Lens' SourceS3Location Text
- sourceS3Location_key :: Lens' SourceS3Location Text
Service Configuration
defaultService :: Service Source #
API version 2020-09-10
of the Amazon Application Cost Profiler SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have permission to perform this action.
_InternalServerException :: AsError a => Fold a ServiceError Source #
An internal server error occurred. Retry your request.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
Your request exceeds one or more of the service quotas.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The calls to AWS Application Cost Profiler API are throttled. The request was denied.
_ValidationException :: AsError a => Fold a ServiceError Source #
The input fails to satisfy the constraints for the API.
Format
pattern Format_CSV :: Format | |
pattern Format_PARQUET :: Format |
Instances
ReportFrequency
newtype ReportFrequency Source #
pattern ReportFrequency_ALL :: ReportFrequency | |
pattern ReportFrequency_DAILY :: ReportFrequency | |
pattern ReportFrequency_MONTHLY :: ReportFrequency |
Instances
S3BucketRegion
newtype S3BucketRegion Source #
pattern S3BucketRegion_Af_south_1 :: S3BucketRegion | |
pattern S3BucketRegion_Ap_east_1 :: S3BucketRegion | |
pattern S3BucketRegion_Eu_south_1 :: S3BucketRegion | |
pattern S3BucketRegion_Me_south_1 :: S3BucketRegion |
Instances
ReportDefinition
data ReportDefinition Source #
The configuration of a report in AWS Application Cost Profiler.
See: newReportDefinition
smart constructor.
ReportDefinition' | |
|
Instances
newReportDefinition :: ReportDefinition 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:createdAt:ReportDefinition'
, reportDefinition_createdAt
- Timestamp (milliseconds) when this report definition was created.
$sel:destinationS3Location:ReportDefinition'
, reportDefinition_destinationS3Location
- The location in Amazon Simple Storage Service (Amazon S3) the reports
should be saved to.
$sel:format:ReportDefinition'
, reportDefinition_format
- The format used for the generated reports.
$sel:lastUpdatedAt:ReportDefinition'
, reportDefinition_lastUpdatedAt
- Timestamp (milliseconds) when this report definition was last updated.
$sel:reportDescription:ReportDefinition'
, reportDefinition_reportDescription
- Description of the report
$sel:reportFrequency:ReportDefinition'
, reportDefinition_reportFrequency
- The cadence at which the report is generated.
$sel:reportId:ReportDefinition'
, reportDefinition_reportId
- The ID of the report.
reportDefinition_createdAt :: Lens' ReportDefinition (Maybe UTCTime) Source #
Timestamp (milliseconds) when this report definition was created.
reportDefinition_destinationS3Location :: Lens' ReportDefinition (Maybe S3Location) Source #
The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
reportDefinition_format :: Lens' ReportDefinition (Maybe Format) Source #
The format used for the generated reports.
reportDefinition_lastUpdatedAt :: Lens' ReportDefinition (Maybe UTCTime) Source #
Timestamp (milliseconds) when this report definition was last updated.
reportDefinition_reportDescription :: Lens' ReportDefinition (Maybe Text) Source #
Description of the report
reportDefinition_reportFrequency :: Lens' ReportDefinition (Maybe ReportFrequency) Source #
The cadence at which the report is generated.
reportDefinition_reportId :: Lens' ReportDefinition (Maybe Text) Source #
The ID of the report.
S3Location
data S3Location Source #
Represents the Amazon Simple Storage Service (Amazon S3) location where AWS Application Cost Profiler reports are generated and then written to.
See: newS3Location
smart constructor.
Instances
Create a value of S3Location
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:bucket:S3Location'
, s3Location_bucket
- Name of the S3 bucket.
$sel:prefix:S3Location'
, s3Location_prefix
- Prefix for the location to write to.
s3Location_bucket :: Lens' S3Location Text Source #
Name of the S3 bucket.
s3Location_prefix :: Lens' S3Location Text Source #
Prefix for the location to write to.
SourceS3Location
data SourceS3Location Source #
Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from.
See: newSourceS3Location
smart constructor.
SourceS3Location' | |
|
Instances
Create a value of SourceS3Location
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:region:SourceS3Location'
, sourceS3Location_region
- Region of the bucket. Only required for Regions that are disabled by
default. For more infomration about Regions that are disabled by
default, see
Enabling a Region
in the AWS General Reference guide.
$sel:bucket:SourceS3Location'
, sourceS3Location_bucket
- Name of the bucket.
$sel:key:SourceS3Location'
, sourceS3Location_key
- Key of the object.
sourceS3Location_region :: Lens' SourceS3Location (Maybe S3BucketRegion) Source #
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
sourceS3Location_bucket :: Lens' SourceS3Location Text Source #
Name of the bucket.
sourceS3Location_key :: Lens' SourceS3Location Text Source #
Key of the object.