amazonka-cur-1.5.0: Amazon Cost and Usage Report Service SDK.

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

Network.AWS.CostAndUsageReport.Types

Contents

Description

 

Synopsis

Service Configuration

costAndUsageReport :: 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 #

This exception is thrown when providing an invalid input. eg. Put a report preference with an invalid report name, or Delete a report preference with an empty report name.

_InternalErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown on a known dependency failure.

_DuplicateReportNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when putting a report preference with a name that already exists.

_ReportLimitReachedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

This exception is thrown when the number of report preference reaches max limit. The max number is 5.

AWSRegion

data AWSRegion Source #

Region of customer S3 bucket.

Instances

Bounded AWSRegion Source # 
Enum AWSRegion Source # 
Eq AWSRegion Source # 
Data AWSRegion Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AWSRegion -> c AWSRegion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AWSRegion #

toConstr :: AWSRegion -> Constr #

dataTypeOf :: AWSRegion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AWSRegion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AWSRegion) #

gmapT :: (forall b. Data b => b -> b) -> AWSRegion -> AWSRegion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AWSRegion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AWSRegion -> r #

gmapQ :: (forall d. Data d => d -> u) -> AWSRegion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AWSRegion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AWSRegion -> m AWSRegion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AWSRegion -> m AWSRegion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AWSRegion -> m AWSRegion #

Ord AWSRegion Source # 
Read AWSRegion Source # 
Show AWSRegion Source # 
Generic AWSRegion Source # 

Associated Types

type Rep AWSRegion :: * -> * #

Hashable AWSRegion Source # 
FromJSON AWSRegion Source # 
ToJSON AWSRegion Source # 
NFData AWSRegion Source # 

Methods

rnf :: AWSRegion -> () #

ToQuery AWSRegion Source # 
ToHeader AWSRegion Source # 
ToByteString AWSRegion Source # 

Methods

toBS :: AWSRegion -> ByteString #

FromText AWSRegion Source # 
ToText AWSRegion Source # 

Methods

toText :: AWSRegion -> Text #

type Rep AWSRegion Source # 
type Rep AWSRegion = D1 (MetaData "AWSRegion" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ApNortheast1" PrefixI False) U1) (C1 (MetaCons "ApSoutheast1" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ApSoutheast2" PrefixI False) U1) (C1 (MetaCons "EuCentral1" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "EuWest1" PrefixI False) U1) (C1 (MetaCons "UsEast1" PrefixI False) U1)) ((:+:) (C1 (MetaCons "UsWest1" PrefixI False) U1) (C1 (MetaCons "UsWest2" PrefixI False) U1))))

AdditionalArtifact

data AdditionalArtifact Source #

Enable support for Redshift and/or QuickSight.

Constructors

Quicksight 
Redshift 

Instances

Bounded AdditionalArtifact Source # 
Enum AdditionalArtifact Source # 
Eq AdditionalArtifact Source # 
Data AdditionalArtifact Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdditionalArtifact -> c AdditionalArtifact #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdditionalArtifact #

toConstr :: AdditionalArtifact -> Constr #

dataTypeOf :: AdditionalArtifact -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AdditionalArtifact) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdditionalArtifact) #

gmapT :: (forall b. Data b => b -> b) -> AdditionalArtifact -> AdditionalArtifact #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdditionalArtifact -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdditionalArtifact -> r #

gmapQ :: (forall d. Data d => d -> u) -> AdditionalArtifact -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AdditionalArtifact -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdditionalArtifact -> m AdditionalArtifact #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdditionalArtifact -> m AdditionalArtifact #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdditionalArtifact -> m AdditionalArtifact #

Ord AdditionalArtifact Source # 
Read AdditionalArtifact Source # 
Show AdditionalArtifact Source # 
Generic AdditionalArtifact Source # 
Hashable AdditionalArtifact Source # 
FromJSON AdditionalArtifact Source # 
ToJSON AdditionalArtifact Source # 
NFData AdditionalArtifact Source # 

Methods

rnf :: AdditionalArtifact -> () #

ToQuery AdditionalArtifact Source # 
ToHeader AdditionalArtifact Source # 
ToByteString AdditionalArtifact Source # 
FromText AdditionalArtifact Source # 
ToText AdditionalArtifact Source # 
type Rep AdditionalArtifact Source # 
type Rep AdditionalArtifact = D1 (MetaData "AdditionalArtifact" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) ((:+:) (C1 (MetaCons "Quicksight" PrefixI False) U1) (C1 (MetaCons "Redshift" PrefixI False) U1))

CompressionFormat

data CompressionFormat Source #

Preferred compression format for report.

Constructors

Gzip 
Zip 

Instances

Bounded CompressionFormat Source # 
Enum CompressionFormat Source # 
Eq CompressionFormat Source # 
Data CompressionFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CompressionFormat -> c CompressionFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CompressionFormat #

toConstr :: CompressionFormat -> Constr #

dataTypeOf :: CompressionFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CompressionFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CompressionFormat) #

gmapT :: (forall b. Data b => b -> b) -> CompressionFormat -> CompressionFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CompressionFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CompressionFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> CompressionFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CompressionFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CompressionFormat -> m CompressionFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressionFormat -> m CompressionFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CompressionFormat -> m CompressionFormat #

Ord CompressionFormat Source # 
Read CompressionFormat Source # 
Show CompressionFormat Source # 
Generic CompressionFormat Source # 
Hashable CompressionFormat Source # 
FromJSON CompressionFormat Source # 
ToJSON CompressionFormat Source # 
NFData CompressionFormat Source # 

Methods

rnf :: CompressionFormat -> () #

ToQuery CompressionFormat Source # 
ToHeader CompressionFormat Source # 
ToByteString CompressionFormat Source # 
FromText CompressionFormat Source # 
ToText CompressionFormat Source # 
type Rep CompressionFormat Source # 
type Rep CompressionFormat = D1 (MetaData "CompressionFormat" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) ((:+:) (C1 (MetaCons "Gzip" PrefixI False) U1) (C1 (MetaCons "Zip" PrefixI False) U1))

ReportFormat

data ReportFormat Source #

Preferred format for report.

Constructors

TextORcsv 

Instances

Bounded ReportFormat Source # 
Enum ReportFormat Source # 
Eq ReportFormat Source # 
Data ReportFormat Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReportFormat -> c ReportFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReportFormat #

toConstr :: ReportFormat -> Constr #

dataTypeOf :: ReportFormat -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReportFormat) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReportFormat) #

gmapT :: (forall b. Data b => b -> b) -> ReportFormat -> ReportFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReportFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReportFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReportFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReportFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReportFormat -> m ReportFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportFormat -> m ReportFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportFormat -> m ReportFormat #

Ord ReportFormat Source # 
Read ReportFormat Source # 
Show ReportFormat Source # 
Generic ReportFormat Source # 

Associated Types

type Rep ReportFormat :: * -> * #

Hashable ReportFormat Source # 
FromJSON ReportFormat Source # 
ToJSON ReportFormat Source # 
NFData ReportFormat Source # 

Methods

rnf :: ReportFormat -> () #

ToQuery ReportFormat Source # 
ToHeader ReportFormat Source # 
ToByteString ReportFormat Source # 
FromText ReportFormat Source # 
ToText ReportFormat Source # 

Methods

toText :: ReportFormat -> Text #

type Rep ReportFormat Source # 
type Rep ReportFormat = D1 (MetaData "ReportFormat" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) (C1 (MetaCons "TextORcsv" PrefixI False) U1)

SchemaElement

data SchemaElement Source #

Preference of including Resource IDs. You can include additional details about individual resource IDs in your report.

Constructors

Resources 

Instances

Bounded SchemaElement Source # 
Enum SchemaElement Source # 
Eq SchemaElement Source # 
Data SchemaElement Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SchemaElement -> c SchemaElement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SchemaElement #

toConstr :: SchemaElement -> Constr #

dataTypeOf :: SchemaElement -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SchemaElement) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SchemaElement) #

gmapT :: (forall b. Data b => b -> b) -> SchemaElement -> SchemaElement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SchemaElement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SchemaElement -> r #

gmapQ :: (forall d. Data d => d -> u) -> SchemaElement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SchemaElement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SchemaElement -> m SchemaElement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SchemaElement -> m SchemaElement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SchemaElement -> m SchemaElement #

Ord SchemaElement Source # 
Read SchemaElement Source # 
Show SchemaElement Source # 
Generic SchemaElement Source # 

Associated Types

type Rep SchemaElement :: * -> * #

Hashable SchemaElement Source # 
FromJSON SchemaElement Source # 
ToJSON SchemaElement Source # 
NFData SchemaElement Source # 

Methods

rnf :: SchemaElement -> () #

ToQuery SchemaElement Source # 
ToHeader SchemaElement Source # 
ToByteString SchemaElement Source # 
FromText SchemaElement Source # 
ToText SchemaElement Source # 

Methods

toText :: SchemaElement -> Text #

type Rep SchemaElement Source # 
type Rep SchemaElement = D1 (MetaData "SchemaElement" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) (C1 (MetaCons "Resources" PrefixI False) U1)

TimeUnit

data TimeUnit Source #

The frequency on which report data are measured and displayed.

Constructors

Daily 
Hourly 

Instances

Bounded TimeUnit Source # 
Enum TimeUnit Source # 
Eq TimeUnit Source # 
Data TimeUnit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeUnit -> c TimeUnit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeUnit #

toConstr :: TimeUnit -> Constr #

dataTypeOf :: TimeUnit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TimeUnit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeUnit) #

gmapT :: (forall b. Data b => b -> b) -> TimeUnit -> TimeUnit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeUnit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeUnit -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeUnit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeUnit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeUnit -> m TimeUnit #

Ord TimeUnit Source # 
Read TimeUnit Source # 
Show TimeUnit Source # 
Generic TimeUnit Source # 

Associated Types

type Rep TimeUnit :: * -> * #

Methods

from :: TimeUnit -> Rep TimeUnit x #

to :: Rep TimeUnit x -> TimeUnit #

Hashable TimeUnit Source # 

Methods

hashWithSalt :: Int -> TimeUnit -> Int #

hash :: TimeUnit -> Int #

FromJSON TimeUnit Source # 
ToJSON TimeUnit Source # 
NFData TimeUnit Source # 

Methods

rnf :: TimeUnit -> () #

ToQuery TimeUnit Source # 
ToHeader TimeUnit Source # 

Methods

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

ToByteString TimeUnit Source # 

Methods

toBS :: TimeUnit -> ByteString #

FromText TimeUnit Source # 
ToText TimeUnit Source # 

Methods

toText :: TimeUnit -> Text #

type Rep TimeUnit Source # 
type Rep TimeUnit = D1 (MetaData "TimeUnit" "Network.AWS.CostAndUsageReport.Types.Sum" "amazonka-cur-1.5.0-K2sl8RuFX0fFcB2VZN2uYq" False) ((:+:) (C1 (MetaCons "Daily" PrefixI False) U1) (C1 (MetaCons "Hourly" PrefixI False) U1))

ReportDefinition

data ReportDefinition Source #

The definition of AWS Cost and Usage Report. Customer can specify the report name, time unit, report format, compression format, S3 bucket and additional artifacts and schema elements in the definition.

See: reportDefinition smart constructor.

Instances

Eq ReportDefinition Source # 
Data ReportDefinition Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReportDefinition -> c ReportDefinition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReportDefinition #

toConstr :: ReportDefinition -> Constr #

dataTypeOf :: ReportDefinition -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReportDefinition) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReportDefinition) #

gmapT :: (forall b. Data b => b -> b) -> ReportDefinition -> ReportDefinition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReportDefinition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReportDefinition -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReportDefinition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReportDefinition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReportDefinition -> m ReportDefinition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportDefinition -> m ReportDefinition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportDefinition -> m ReportDefinition #

Read ReportDefinition Source # 
Show ReportDefinition Source # 
Generic ReportDefinition Source # 
Hashable ReportDefinition Source # 
FromJSON ReportDefinition Source # 
ToJSON ReportDefinition Source # 
NFData ReportDefinition Source # 

Methods

rnf :: ReportDefinition -> () #

type Rep ReportDefinition Source # 

reportDefinition Source #

Creates a value of ReportDefinition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdS3Bucket :: Lens' ReportDefinition Text Source #

Undocumented member.

rdS3Prefix :: Lens' ReportDefinition Text Source #

Undocumented member.