Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ApplicationCostProfiler.ImportApplicationUsage
Description
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.
Constructors
ImportApplicationUsage' | |
Fields
|
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.
Constructors
ImportApplicationUsageResponse' | |
Fields
|
Instances
newImportApplicationUsageResponse Source #
Arguments
:: Int | |
-> Text | |
-> ImportApplicationUsageResponse |
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.