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

Description

Creates the report definition for a report in Application Cost Profiler.

Synopsis

Creating a Request

data PutReportDefinition Source #

See: newPutReportDefinition smart constructor.

Constructors

PutReportDefinition' 

Fields

Instances

Instances details
Eq PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Read PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Show PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Generic PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Associated Types

type Rep PutReportDefinition :: Type -> Type #

NFData PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Methods

rnf :: PutReportDefinition -> () #

Hashable PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

ToJSON PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

AWSRequest PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Associated Types

type AWSResponse PutReportDefinition #

ToHeaders PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

ToPath PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

ToQuery PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

type Rep PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

type Rep PutReportDefinition = D1 ('MetaData "PutReportDefinition" "Amazonka.ApplicationCostProfiler.PutReportDefinition" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" 'False) (C1 ('MetaCons "PutReportDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "reportDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "reportFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportFrequency) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Just "destinationS3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3Location)))))
type AWSResponse PutReportDefinition Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

newPutReportDefinition Source #

Create a value of PutReportDefinition 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:reportId:PutReportDefinition', putReportDefinition_reportId - Required. ID of the report. You can choose any valid string matching the pattern for the ID.

$sel:reportDescription:PutReportDefinition', putReportDefinition_reportDescription - Required. Description of the report.

$sel:reportFrequency:PutReportDefinition', putReportDefinition_reportFrequency - Required. The cadence to generate the report.

$sel:format:PutReportDefinition', putReportDefinition_format - Required. The format to use for the generated report.

$sel:destinationS3Location:PutReportDefinition', putReportDefinition_destinationS3Location - Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.

Request Lenses

putReportDefinition_reportId :: Lens' PutReportDefinition Text Source #

Required. ID of the report. You can choose any valid string matching the pattern for the ID.

putReportDefinition_format :: Lens' PutReportDefinition Format Source #

Required. The format to use for the generated report.

putReportDefinition_destinationS3Location :: Lens' PutReportDefinition S3Location Source #

Required. Amazon Simple Storage Service (Amazon S3) location where Application Cost Profiler uploads the report.

Destructuring the Response

data PutReportDefinitionResponse Source #

See: newPutReportDefinitionResponse smart constructor.

Constructors

PutReportDefinitionResponse' 

Fields

Instances

Instances details
Eq PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Read PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Show PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Generic PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

Associated Types

type Rep PutReportDefinitionResponse :: Type -> Type #

NFData PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

type Rep PutReportDefinitionResponse Source # 
Instance details

Defined in Amazonka.ApplicationCostProfiler.PutReportDefinition

type Rep PutReportDefinitionResponse = D1 ('MetaData "PutReportDefinitionResponse" "Amazonka.ApplicationCostProfiler.PutReportDefinition" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" 'False) (C1 ('MetaCons "PutReportDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutReportDefinitionResponse Source #

Create a value of PutReportDefinitionResponse 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:reportId:PutReportDefinition', putReportDefinitionResponse_reportId - ID of the report.

$sel:httpStatus:PutReportDefinitionResponse', putReportDefinitionResponse_httpStatus - The response's http status code.

Response Lenses