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 |
Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.
Synopsis
- data ImportApplicationUsage = ImportApplicationUsage' {}
- newImportApplicationUsage :: SourceS3Location -> ImportApplicationUsage
- importApplicationUsage_sourceS3Location :: Lens' ImportApplicationUsage SourceS3Location
- data ImportApplicationUsageResponse = ImportApplicationUsageResponse' {
- httpStatus :: Int
- importId :: Text
- newImportApplicationUsageResponse :: Int -> Text -> ImportApplicationUsageResponse
- importApplicationUsageResponse_httpStatus :: Lens' ImportApplicationUsageResponse Int
- importApplicationUsageResponse_importId :: Lens' ImportApplicationUsageResponse Text
Creating a Request
data ImportApplicationUsage Source #
See: newImportApplicationUsage
smart constructor.
ImportApplicationUsage' | |
|
Instances
newImportApplicationUsage Source #
Create a value of ImportApplicationUsage
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:sourceS3Location:ImportApplicationUsage'
, importApplicationUsage_sourceS3Location
- Amazon S3 location to import application usage data from.
Request Lenses
importApplicationUsage_sourceS3Location :: Lens' ImportApplicationUsage SourceS3Location Source #
Amazon S3 location to import application usage data from.
Destructuring the Response
data ImportApplicationUsageResponse Source #
See: newImportApplicationUsageResponse
smart constructor.
ImportApplicationUsageResponse' | |
|
Instances
Eq ImportApplicationUsageResponse Source # | |
Read ImportApplicationUsageResponse Source # | |
Show ImportApplicationUsageResponse Source # | |
Generic ImportApplicationUsageResponse Source # | |
NFData ImportApplicationUsageResponse Source # | |
Defined in Amazonka.ApplicationCostProfiler.ImportApplicationUsage rnf :: ImportApplicationUsageResponse -> () # | |
type Rep ImportApplicationUsageResponse Source # | |
Defined in Amazonka.ApplicationCostProfiler.ImportApplicationUsage type Rep ImportApplicationUsageResponse = D1 ('MetaData "ImportApplicationUsageResponse" "Amazonka.ApplicationCostProfiler.ImportApplicationUsage" "libZSservicesZSamazonka-applicationcostprofilerZSamazonka-applicationcostprofiler" 'False) (C1 ('MetaCons "ImportApplicationUsageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newImportApplicationUsageResponse Source #
Create a value of ImportApplicationUsageResponse
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:httpStatus:ImportApplicationUsageResponse'
, importApplicationUsageResponse_httpStatus
- The response's http status code.
$sel:importId:ImportApplicationUsageResponse'
, importApplicationUsageResponse_importId
- ID of the import request.
Response Lenses
importApplicationUsageResponse_httpStatus :: Lens' ImportApplicationUsageResponse Int Source #
The response's http status code.
importApplicationUsageResponse_importId :: Lens' ImportApplicationUsageResponse Text Source #
ID of the import request.