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
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) 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_lastUpdatedAt :: Lens' ReportDefinition (Maybe UTCTime)
- reportDefinition_createdAt :: Lens' ReportDefinition (Maybe UTCTime)
- reportDefinition_reportId :: Lens' ReportDefinition (Maybe Text)
- reportDefinition_format :: Lens' ReportDefinition (Maybe Format)
- reportDefinition_reportFrequency :: Lens' ReportDefinition (Maybe ReportFrequency)
- reportDefinition_reportDescription :: Lens' ReportDefinition (Maybe Text)
- reportDefinition_destinationS3Location :: Lens' ReportDefinition (Maybe S3Location)
- 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
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input fails to satisfy the constraints for the API.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have permission to perform this action.
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your request exceeds one or more of the service quotas.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The calls to AWS Application Cost Profiler API are throttled. The request was denied.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An internal server error occurred. Retry your request.
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:lastUpdatedAt:ReportDefinition'
, reportDefinition_lastUpdatedAt
- Timestamp (milliseconds) when this report definition was last updated.
$sel:createdAt:ReportDefinition'
, reportDefinition_createdAt
- Timestamp (milliseconds) when this report definition was created.
$sel:reportId:ReportDefinition'
, reportDefinition_reportId
- The ID of the report.
$sel:format:ReportDefinition'
, reportDefinition_format
- The format used for the generated reports.
$sel:reportFrequency:ReportDefinition'
, reportDefinition_reportFrequency
- The cadence at which the report is generated.
$sel:reportDescription:ReportDefinition'
, reportDefinition_reportDescription
- Description of the report
$sel:destinationS3Location:ReportDefinition'
, reportDefinition_destinationS3Location
- The location in Amazon Simple Storage Service (Amazon S3) the reports
should be saved to.
reportDefinition_lastUpdatedAt :: Lens' ReportDefinition (Maybe UTCTime) Source #
Timestamp (milliseconds) when this report definition was last updated.
reportDefinition_createdAt :: Lens' ReportDefinition (Maybe UTCTime) Source #
Timestamp (milliseconds) when this report definition was created.
reportDefinition_reportId :: Lens' ReportDefinition (Maybe Text) Source #
The ID of the report.
reportDefinition_format :: Lens' ReportDefinition (Maybe Format) Source #
The format used for the generated reports.
reportDefinition_reportFrequency :: Lens' ReportDefinition (Maybe ReportFrequency) Source #
The cadence at which the report is generated.
reportDefinition_reportDescription :: Lens' ReportDefinition (Maybe Text) Source #
Description of the report
reportDefinition_destinationS3Location :: Lens' ReportDefinition (Maybe S3Location) Source #
The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.
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.