libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ApplicationCostProfiler.Types

Description

 
Synopsis

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

newtype Format Source #

Constructors

Format' 

Fields

Bundled Patterns

pattern Format_CSV :: Format 
pattern Format_PARQUET :: Format 

Instances

Instances details
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

Read Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Show Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

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 #

NFData Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

rnf :: Format -> () #

Hashable Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

hashWithSalt :: Int -> Format -> Int #

hash :: Format -> Int #

ToJSON Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToJSONKey Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

FromJSON Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

FromJSONKey Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToLog Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

ToHeader Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

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

ToQuery Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

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 #

ToByteString Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

Methods

toBS :: Format -> ByteString #

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 #

type Rep Format Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.Format

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

ReportFrequency

newtype ReportFrequency Source #

Constructors

ReportFrequency' 

Instances

Instances details
Eq ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Ord ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Read ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Show ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Generic ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Associated Types

type Rep ReportFrequency :: Type -> Type #

NFData ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

Methods

rnf :: ReportFrequency -> () #

Hashable 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

FromJSON ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

FromJSONKey ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToLog ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToHeader ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

ToQuery 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 #

ToByteString 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

type Rep ReportFrequency Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportFrequency

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

S3BucketRegion

newtype S3BucketRegion Source #

Constructors

S3BucketRegion' 

Instances

Instances details
Eq S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Ord S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Read S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Show S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Generic S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Associated Types

type Rep S3BucketRegion :: Type -> Type #

NFData S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

Methods

rnf :: S3BucketRegion -> () #

Hashable 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

FromJSON S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

FromJSONKey S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToLog S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToHeader S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

ToQuery 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 #

ToByteString 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

type Rep S3BucketRegion Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3BucketRegion

type Rep S3BucketRegion = D1 ('MetaData "S3BucketRegion" "Amazonka.ApplicationCostProfiler.Types.S3BucketRegion" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" '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
Eq ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Read ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Show 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 #

NFData ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

Methods

rnf :: ReportDefinition -> () #

Hashable ReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.ReportDefinition

FromJSON 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" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" 'False) (C1 ('MetaCons "ReportDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "reportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Format)) :*: S1 ('MetaSel ('Just "reportFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportFrequency))) :*: (S1 ('MetaSel ('Just "reportDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationS3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Location))))))

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_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_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.

Constructors

S3Location' 

Fields

Instances

Instances details
Eq S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Read S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Show 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 #

NFData S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

Methods

rnf :: S3Location -> () #

Hashable S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

ToJSON S3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.S3Location

FromJSON 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" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" '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
Eq SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Read SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Show 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 #

NFData SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

Methods

rnf :: SourceS3Location -> () #

Hashable SourceS3Location Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.Types.SourceS3Location

ToJSON 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" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" '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.