amazonka-applicationcostprofiler-2.0: Amazon Application Cost Profiler SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ApplicationCostProfiler.Types

Description

 
Synopsis

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

newtype Format Source #

Constructors

Format' 

Fields

Bundled Patterns

pattern Format_CSV :: Format 
pattern Format_PARQUET :: Format 

Instances

Instances details
FromJSON Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

FromJSONKey Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToJSON Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToJSONKey Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToByteString Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

toBS :: Format -> ByteString #

ToHeader Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

toHeader :: HeaderName -> Format -> [Header] #

ToLog Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToQuery Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

FromText Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToText Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

toText :: Format -> Text #

FromXML Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToXML Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

toXML :: Format -> XML #

Generic Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Associated Types

type Rep Format :: Type -> Type #

Methods

from :: Format -> Rep Format x #

to :: Rep Format x -> Format #

Read Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Show Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

NFData Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

rnf :: Format -> () #

Eq Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

Ord Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Hashable Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

hashWithSalt :: Int -> Format -> Int #

hash :: Format -> Int #

type Rep Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

type Rep Format = D1 ('MetaData "Format" "Amazonka.ApplicationCostProfiler.Types.Format" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'True) (C1 ('MetaCons "Format'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReportFrequency

newtype ReportFrequency Source #

Constructors

ReportFrequency' 

Instances

Instances details
FromJSON ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

FromJSONKey ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToJSON ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToJSONKey ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToByteString ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToHeader ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToLog ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToQuery ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

FromText ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToText ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

FromXML ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToXML ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Methods

toXML :: ReportFrequency -> XML #

Generic ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Associated Types

type Rep ReportFrequency :: Type -> Type #

Read ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Show ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

NFData ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Methods

rnf :: ReportFrequency -> () #

Eq ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Ord ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Hashable ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

type Rep ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

type Rep ReportFrequency = D1 ('MetaData "ReportFrequency" "Amazonka.ApplicationCostProfiler.Types.ReportFrequency" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'True) (C1 ('MetaCons "ReportFrequency'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReportFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

S3BucketRegion

newtype S3BucketRegion Source #

Constructors

S3BucketRegion' 

Instances

Instances details
FromJSON S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

FromJSONKey S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToJSON S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToJSONKey S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToByteString S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToHeader S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToLog S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToQuery S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

FromText S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToText S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

FromXML S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToXML S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Methods

toXML :: S3BucketRegion -> XML #

Generic S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Associated Types

type Rep S3BucketRegion :: Type -> Type #

Read S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Show S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

NFData S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Methods

rnf :: S3BucketRegion -> () #

Eq S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Ord S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Hashable S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

type Rep S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

type Rep S3BucketRegion = D1 ('MetaData "S3BucketRegion" "Amazonka.ApplicationCostProfiler.Types.S3BucketRegion" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'True) (C1 ('MetaCons "S3BucketRegion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromS3BucketRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ReportDefinition

data ReportDefinition Source #

The configuration of a report in AWS Application Cost Profiler.

See: newReportDefinition smart constructor.

Constructors

ReportDefinition' 

Fields

Instances

Instances details
FromJSON ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Generic ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Associated Types

type Rep ReportDefinition :: Type -> Type #

Read ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Show ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

NFData ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Methods

rnf :: ReportDefinition -> () #

Eq ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Hashable ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

type Rep ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

type Rep ReportDefinition = D1 ('MetaData "ReportDefinition" "Amazonka.ApplicationCostProfiler.Types.ReportDefinition" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'False) (C1 ('MetaCons "ReportDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "destinationS3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Location)) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Format)))) :*: ((S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "reportDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reportFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportFrequency)) :*: S1 ('MetaSel ('Just "reportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_reportFrequency :: Lens' ReportDefinition (Maybe ReportFrequency) Source #

The cadence at which the report is generated.

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.

Constructors

S3Location' 

Fields

Instances

Instances details
FromJSON S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

ToJSON S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Generic S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Associated Types

type Rep S3Location :: Type -> Type #

Read S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Show S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

NFData S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Methods

rnf :: S3Location -> () #

Eq S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Hashable S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

type Rep S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

type Rep S3Location = D1 ('MetaData "S3Location" "Amazonka.ApplicationCostProfiler.Types.S3Location" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'False) (C1 ('MetaCons "S3Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Location Source #

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.

Constructors

SourceS3Location' 

Fields

Instances

Instances details
ToJSON SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Generic SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Associated Types

type Rep SourceS3Location :: Type -> Type #

Read SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Show SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

NFData SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Methods

rnf :: SourceS3Location -> () #

Eq SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Hashable SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

type Rep SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

type Rep SourceS3Location = D1 ('MetaData "SourceS3Location" "Amazonka.ApplicationCostProfiler.Types.SourceS3Location" "amazonka-applicationcostprofiler-2.0-IOnH5WDPj101uC1lRDMQcy" 'False) (C1 ('MetaCons "SourceS3Location'" 'PrefixI 'True) (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3BucketRegion)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSourceS3Location Source #

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.